reportdesign/source/core/api/ReportDefinition.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9baf9a80ac267a2382aac2b6fe7e7a61528231c5
Author: Stephan Bergmann <sberg...@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 <c...@libreoffice.org>
    Reviewed-by: Stephan Bergmann <sberg...@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
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to