diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2016-12-29 21:39:30 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2016-12-30 01:36:52 +0200 |
commit | bd26052f4b07e2fb7aa2a6996cfdb7777134c043 (patch) | |
tree | 82eb782f5e490752b098885d465b49d8074de79d /vcl/unx/generic/fontmanager/helper.cxx | |
parent | 4323d81598db774050ffc45bfa96803f747b5729 (diff) |
Use SAL_INFO
Change-Id: Iac57a7e9afe476fc27eddaf123a3ca4a293a7034
Diffstat (limited to 'vcl/unx/generic/fontmanager/helper.cxx')
-rw-r--r-- | vcl/unx/generic/fontmanager/helper.cxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/vcl/unx/generic/fontmanager/helper.cxx b/vcl/unx/generic/fontmanager/helper.cxx index 2a130f40cef7..d79c0bcab557 100644 --- a/vcl/unx/generic/fontmanager/helper.cxx +++ b/vcl/unx/generic/fontmanager/helper.cxx @@ -76,13 +76,8 @@ OUString const & getOfficePath( whichOfficePath ePath ) } // ensure user path exists aUPath += "/user/psprint"; - #if OSL_DEBUG_LEVEL > 1 - oslFileError eErr = - #endif + SAL_INFO("vcl.fonts", "Trying to create: " << aUPath); osl_createDirectoryPath( aUPath.pData, nullptr, nullptr ); - #if OSL_DEBUG_LEVEL > 1 - fprintf( stderr, "try to create \"%s\" = %d\n", OUStringToOString( aUPath, RTL_TEXTENCODING_UTF8 ).getStr(), eErr ); - #endif } switch( ePath ) @@ -228,9 +223,7 @@ OUString const & psp::getFontPath() } aPath = aPathBuffer.makeStringAndClear(); -#if OSL_DEBUG_LEVEL > 1 - fprintf( stderr, "initializing font path to \"%s\"\n", OUStringToOString( aPath, RTL_TEXTENCODING_ISO_8859_1 ).getStr() ); -#endif + SAL_INFO("vcl.fonts", "Initializing font path to: " << aPath); } return aPath; } |