diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-06-30 08:10:39 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-06-30 14:48:05 +0200 |
commit | 547135c0dcd5cd5335e625c24e78986529f9a94b (patch) | |
tree | aee4152203464233bf35f6a7db3ad4e92398b927 /sal | |
parent | cd77f78755a9aeee0237eaefe06483182e447908 (diff) |
It is useful to know what macros are we expanding, and to what.
Change-Id: If7704edc5baa9759abc680b8d2040b9cdfe92317
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/bootstrap.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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; } } |