[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Thu Mar 7 01:50:37 PST 2013
vcl/source/gdi/impimagetree.cxx | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
New commits:
commit 4514f9bb1380f980094f2c58c1bc7279a0c8e6ac
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Mar 7 08:07:44 2013 +0000
OSL_TRACE->SAL_INFO
Change-Id: I889a32bce4f3c0eab5d3d5ef199dd321755cb177
diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx
index 4e68ddd..4b4cc07 100644
--- a/vcl/source/gdi/impimagetree.cxx
+++ b/vcl/source/gdi/impimagetree.cxx
@@ -203,9 +203,9 @@ bool ImplImageTree::loadImage(
if (found || !loadMissing)
return found;
- OSL_TRACE(
- "ImplImageTree::loadImage exception couldn't load \"%s\", fetching default image",
- rtl::OUStringToOString(name, RTL_TEXTENCODING_UTF8).getStr());
+ SAL_INFO("vcl", "ImplImageTree::loadImage exception couldn't load \""
+ << name << "\", fetching default image");
+
return loadDefaultImage(style, bitmap);
}
@@ -261,9 +261,7 @@ bool ImplImageTree::doLoadImage(
} catch (css::uno::RuntimeException &) {
throw;
} catch (const css::uno::Exception & e) {
- OSL_TRACE(
- "ImplImageTree::loadImage exception \"%s\"",
- rtl::OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8).getStr());
+ SAL_INFO("vcl", "ImplImageTree::doLoadImage exception " << e.Message);
}
if (m_cacheIcons && found) {
m_iconCache[name.intern()] = std::make_pair(localized, bitmap);
@@ -407,10 +405,8 @@ bool ImplImageTree::find(
} catch (css::uno::RuntimeException &) {
throw;
} catch (const css::uno::Exception & e) {
- OSL_TRACE(
- "ImplImageTree::find exception \"%s\"",
- rtl::OUStringToOString(
- e.Message, RTL_TEXTENCODING_UTF8).getStr());
+ SAL_INFO("vcl", "ImplImageTree::find exception "
+ << e.Message << " for " << i->first);
i = m_paths.erase(i);
continue;
}
More information about the Libreoffice-commits
mailing list