summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-04-13 10:34:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-04-13 13:24:01 +0200
commit9baf9a80ac267a2382aac2b6fe7e7a61528231c5 (patch)
tree93af94f383aef3af1d0fd35d9f6620fc50e19bb9 /reportdesign
parent4bf1bf9dd4598f34e43c7c8a69f3665175c3cae5 (diff)
-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@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/api/ReportDefinition.cxx2
1 files changed, 1 insertions, 1 deletions
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