Commits

Anonymous committed b8203dc

sb140: #i116915# remove private debug code accidentally included in commit

Comments (0)

Files changed (1)

sal/osl/unx/file_url.cxx

             (*p1 == '%' && end - p1 >= 3 && p1[1] == '2' &&
              (p1[2] == 'F' || p1[2] == 'f')))
         {
-//*SB*/fprintf(stderr,"E1\n");
             return osl_File_E_INVAL;
         }
     }
                 p, p1 - p, RTL_CONSTASCII_STRINGPARAM("file")) !=
             0)
         {
-//*SB*/fprintf(stderr,"E2\n");
             return osl_File_E_INVAL;
         }
         p = p1 + 1;
              0) &&
             rtl_ustr_ascii_compare_WithLength(p, p1 - p, "127.0.0.1") != 0)
         {
-//*SB*/fprintf(stderr,"E3\n");
             return osl_File_E_INVAL;
         }
         p = p1;
         if (p1 == p) {
             rtl::OUString home;
             if (!osl::Security().getHomeDir(home)) {
-//*SB*/fprintf(stderr,"E4\n");
                 return osl_File_E_INVAL;
             }
             oslFileError e = getSystemPathFromFileUrl(home, path, false);
             if (e != osl_File_E_None) {
-//*SB*/fprintf(stderr,"E5\n");
                 return e;
             }
         } else {
-//*SB*/fprintf(stderr,"E6\n");
             return osl_File_E_INVAL; //TODO
         }
         p = p1;
     rtl::OUString p;
     oslFileError e = getSystemPathFromFileUrl(
         rtl::OUString(pustrFileURL), &p, true);
-//*SB*/fprintf(stderr,"getSystemPathFromFileUrl <%s> <%s> %d\n",rtl::OUStringToOString(rtl::OUString(pustrFileURL),RTL_TEXTENCODING_UTF8).getStr(),rtl::OUStringToOString(p,RTL_TEXTENCODING_UTF8).getStr(),(int)e);
     if (e == osl_File_E_None) {
         rtl_uString_assign(ppustrSystemPath, p.pData);
     }