[Libreoffice-commits] core.git: reportdesign/source
Stephan Bergmann
sbergman at redhat.com
Fri Apr 13 11:25:21 UTC 2018
reportdesign/source/core/api/ReportDefinition.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9baf9a80ac267a2382aac2b6fe7e7a61528231c5
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Apr 13 10:34:15 2018 +0200
-Werror,-Wself-assign
Looks like this was a typo ever since the code's introduction in
77cc7cfa1c76b3669791f4c77cc837035c378217 "INTEGRATION: CWS rptwizard01" (and
then changed again in d1ea6ecda68bf65b8d90e9ea17fa0a218a92b016 "replace <<= with
assign for <<= with rhs Any").
Change-Id: I8c4fa3ddb651400b9bf65395e8b6ff946c74abf5
Reviewed-on: https://gerrit.libreoffice.org/52813
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx
index 7226f9a1e5ab..0df0186fee5b 100644
--- a/reportdesign/source/core/api/ReportDefinition.cxx
+++ b/reportdesign/source/core/api/ReportDefinition.cxx
@@ -1607,7 +1607,7 @@ void SAL_CALL OReportDefinition::load( const uno::Sequence< beans::PropertyValue
uno::Any aStorageSource;
if ( xStream.is() )
- aStorageSource = aStorageSource;
+ aStorageSource <<= xStream;
else if ( !sURL.isEmpty() )
aStorageSource <<= sURL;
else
More information about the Libreoffice-commits
mailing list