libreoffice/gcc11-fix-error.patch
Martin Schreiner f606878396 Accepting request 1189287 from home:bmwiedemann:branches:LibreOffice:Factory
Add reproducible-clucene.patch to use new clucene function
  to make index files reproducible (boo#boo#1047218)
- Normalize .jar and .zip mtimes with strip-nondeterminism

OBS-URL: https://build.opensuse.org/request/show/1189287
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=1179
2024-07-24 21:29:33 +00:00

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
/**