Markéta Machová
97c368dbc5
- Add gcc11-fix-error.patch as fix for boo#1186110. OBS-URL: https://build.opensuse.org/request/show/893914 OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=959
14 lines
506 B
Diff
14 lines
506 B
Diff
diff --git a/include/sal/log.hxx b/include/sal/log.hxx
|
|
index 6bb0d1b..5691888 100644
|
|
--- a/include/sal/log.hxx
|
|
+++ b/include/sal/log.hxx
|
|
@@ -191,7 +191,7 @@ inline char const * unwrapStream(SAL_UNUSED_PARAMETER StreamIgnore const &) {
|
|
(::std::ostringstream() << stream).str()
|
|
#else
|
|
#define SAL_STREAM(stream) \
|
|
- (dynamic_cast< ::std::ostringstream & >(::std::ostringstream() << stream).str())
|
|
+ (dynamic_cast< ::std::ostringstream && >(::std::ostringstream() << stream).str())
|
|
#endif
|
|
|
|
/**
|