diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-07-15 13:11:45 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-07-15 13:12:55 +0300 |
commit | 8474e8260ad18cf83c79bd64a63e6344b4ce24d2 (patch) | |
tree | 613e4f8021f0cca74f58ff31921128edf54604d4 /sal | |
parent | 8a60e78769ebf6fc73ddc8ed7e43991fcb30fff4 (diff) |
Log the actual string, not the rtl_uString pointer value
Change-Id: I51938f4801436aff31b51fd36c89582062f83b9a
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/file_url.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sal/osl/w32/file_url.cxx b/sal/osl/w32/file_url.cxx index 0aaa7ebb3025..1581544f203d 100644 --- a/sal/osl/w32/file_url.cxx +++ b/sal/osl/w32/file_url.cxx @@ -26,6 +26,7 @@ #include "file_error.h" #include "rtl/alloc.h" +#include <rtl/ustring.hxx> #include "osl/diagnose.h" #include "osl/file.h" #include "osl/mutex.h" @@ -699,7 +700,7 @@ oslFileError _osl_getSystemPathFromFileURL( rtl_uString *strURL, rtl_uString **p strUTF8->length != strURL->length && 0 == rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLength( strURL->buffer, strURL->length, "file:\\\\", 7 ) , "sal.osl" - ,"osl_getSystemPathFromFileURL: \"" << strURL << "\" is not encoded !!!"); + ,"osl_getSystemPathFromFileURL: \"" << rtl::OUString(strURL) << "\" is not encoded !!!"); bValidEncoded = _osl_decodeURL( strUTF8, &strDecodedURL ); @@ -796,7 +797,7 @@ oslFileError _osl_getSystemPathFromFileURL( rtl_uString *strURL, rtl_uString **p } else SAL_INFO_IF(nError, "sal.osl", - "osl_getSystemPathFromFileURL: \"" << strURL << "\" is not an absolute FileURL"); + "osl_getSystemPathFromFileURL: \"" << rtl::OUString(strURL) << "\" is not an absolute FileURL"); } @@ -810,7 +811,7 @@ oslFileError _osl_getSystemPathFromFileURL( rtl_uString *strURL, rtl_uString **p rtl_uString_release( strTempPath ); SAL_INFO_IF(nError, "sal.osl", - "osl_getSystemPathFromFileURL: \"" << strURL << "\" is not a FileURL"); + "osl_getSystemPathFromFileURL: \"" << rtl::OUString(strURL) << "\" is not a FileURL"); return nError; } @@ -916,7 +917,7 @@ oslFileError _osl_getFileURLFromSystemPath( rtl_uString* strPath, rtl_uString** rtl_uString_release( strTempURL ); SAL_INFO_IF(nError, "sal.osl", - "osl_getFileURLFromSystemPath: \"" << strPath << "\" is not a systemPath"); + "osl_getFileURLFromSystemPath: \"" << rtl::OUString(strPath) << "\" is not a systemPath"); return nError; } |