summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sal/log.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/sal/log.hxx b/include/sal/log.hxx
index 80721d0a0aaa..ca3bb5ecd6c7 100644
--- a/include/sal/log.hxx
+++ b/include/sal/log.hxx
@@ -158,8 +158,7 @@ inline char const * unwrapStream(SAL_UNUSED_PARAMETER StreamIgnore const &) {
@since LibreOffice 3.5
*/
#define SAL_STREAM(stream) \
- (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream). \
- str())
+ (::std::ostringstream() << stream).str()
/**
@page sal_log Basic logging functionality.