From 9baf9a80ac267a2382aac2b6fe7e7a61528231c5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 13 Apr 2018 10:34:15 +0200 Subject: -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 Reviewed-by: Stephan Bergmann --- reportdesign/source/core/api/ReportDefinition.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reportdesign') 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 -- cgit