summaryrefslogtreecommitdiff
path: root/sal/rtl/source/string.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-03-30 18:27:58 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-04-02 13:51:55 +0100
commit1426d4432c59ef42f28642ec63e57517223eb32d (patch)
tree75b6d769d309b2564e6a730a278e9c1c126ce777 /sal/rtl/source/string.cxx
parent0f330ea25840690d05516adc20cfb3d1a9d33317 (diff)
sal: expose more stringbuffer related instrumentation points
Avoid ref/unref pair in makeStringAndClear, hook into the stringbuffer-like 'String' class to expose it's conversion to immutable strings, and fixup misc. missing instrumentation.
Diffstat (limited to 'sal/rtl/source/string.cxx')
-rw-r--r--sal/rtl/source/string.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sal/rtl/source/string.cxx b/sal/rtl/source/string.cxx
index 9c5393f32779..42c8ae2a3fdc 100644
--- a/sal/rtl/source/string.cxx
+++ b/sal/rtl/source/string.cxx
@@ -71,6 +71,11 @@ static rtl_String const aImplEmpty_rtl_String =
#define IMPL_RTL_STRINGDATA rtl_String
#define IMPL_RTL_EMPTYSTRING aImplEmpty_rtl_String
+#undef RTL_LOG_STRING_NEW
+#define RTL_LOG_STRING_NEW(s)
+#undef RTL_LOG_STRING_DELETE
+#define RTL_LOG_STRING_DELETE(s)
+
/* ======================================================================= */
/* Include String/UString template code */