diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-06-30 08:10:39 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2014-06-30 14:56:30 +0200 |
commit | c75ef234530a8a77eb3a70324cb505c5dfaaa5aa (patch) | |
tree | d41e9c4149ffd5aedebd3bb96d8e1af9c1d07b75 | |
parent | 09d2b090864e01ce6f9b61d925b6545120e9d9b9 (diff) |
It is useful to know what macros are we expanding, and to what.feature/gsoc14-draw-text-background-color
Change-Id: If7704edc5baa9759abc680b8d2040b9cdfe92317
-rw-r--r-- | include/sal/log-areas.dox | 1 | ||||
-rw-r--r-- | sal/rtl/bootstrap.cxx | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index 1627ad2ce860..c5d11969f18a 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -20,6 +20,7 @@ certain functionality. @section SAL +@li @c sal.bootstrap - SAL bootstrap @li @c sal.debug - SAL debugging functionality @li @c sal.file @li @c sal.osl - SAL OSL library diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index c93aa0c5ace9..cf5b9caf4e09 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -895,6 +895,7 @@ rtl::OUString expandMacros( Bootstrap_Impl const * file, rtl::OUString const & text, LookupMode mode, ExpandRequestLink const * requestStack) { + SAL_INFO("sal.bootstrap", "expandMacros called with: " << text); rtl::OUStringBuffer buf; for (sal_Int32 i = 0; i < text.getLength();) { bool escaped; @@ -1020,7 +1021,9 @@ rtl::OUString expandMacros( } } } - return buf.makeStringAndClear(); + OUString result(buf.makeStringAndClear()); + SAL_INFO("sal.bootstrap", "expandMacros result: " << result); + return result; } } |