summaryrefslogtreecommitdiff
path: root/svl/source/items/whassert.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-11-23 15:45:43 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-11-23 15:50:58 +0100
commit0c7bff02710f8ad7915e215f723b6abad0079221 (patch)
tree30ddfb6fedcd954f91bfa24f36df1dd7413804c4 /svl/source/items/whassert.hxx
parentf4573ceb2965ccc8abc1f5165b0fa63f5d63649f (diff)
Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
A compile time check ensures the common case of streaming just a plain C-style string literal still produces reasonably compact call-site code. The format-string variants are still available in sal/detail/log.h, but only to be used in obsolete osl/diagnose.h etc., and going to be removed again eventually.
Diffstat (limited to 'svl/source/items/whassert.hxx')
-rw-r--r--svl/source/items/whassert.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/whassert.hxx b/svl/source/items/whassert.hxx
index d994f0d33f66..290b2f06bca8 100644
--- a/svl/source/items/whassert.hxx
+++ b/svl/source/items/whassert.hxx
@@ -30,9 +30,9 @@
#include "sal/config.h"
-#include "sal/log.h"
+#include "sal/log.hxx"
-#define SFX_ASSERT( bCondition, nId, sMessage ) SAL_WARN_IF_S( \
+#define SFX_ASSERT( bCondition, nId, sMessage ) SAL_WARN_IF( \
!(bCondition), "svl", (sMessage) << ", with ID/pos " << (nId));
#endif