[Libreoffice-commits] core.git: sd/source

Markus Mohrhard markus.mohrhard at googlemail.com
Fri Aug 4 01:32:56 UTC 2017


 sd/source/filter/sdpptwrp.cxx |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 80095665bfcb8dd22b7cfe4fcc7d7a3023712385
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Fri Aug 4 02:45:32 2017 +0200

    fix regression from dafae0fe31353a8092334328d499bc108d39e44c
    
    Found by the UBSAN tinderbox.
    
    Change-Id: I0c23f316713bb6c8abc331a1a2d131a068962812
    Reviewed-on: https://gerrit.libreoffice.org/40752
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/sd/source/filter/sdpptwrp.cxx b/sd/source/filter/sdpptwrp.cxx
index ef9b8fe607eb..a25a8e0bc4b4 100644
--- a/sd/source/filter/sdpptwrp.cxx
+++ b/sd/source/filter/sdpptwrp.cxx
@@ -38,9 +38,9 @@ using namespace ::com::sun::star::beans;
 using namespace ::com::sun::star::task;
 using namespace ::com::sun::star::frame;
 
-typedef sal_Bool ( SAL_CALL *ExportPPTPointer )( const std::vector< css::beans::PropertyValue >&, tools::SvRef<SotStorage>&,
-                                             Reference< XModel > &,
-                                             Reference< XStatusIndicator > &,
+typedef sal_Bool ( SAL_CALL *ExportPPTPointer )( const std::vector< css::beans::PropertyValue >&, tools::SvRef<SotStorage> const&,
+                                             Reference< XModel > const &,
+                                             Reference< XStatusIndicator > const &,
                                              SvMemoryStream*, sal_uInt32 nCnvrtFlags );
 
 typedef sal_Bool ( SAL_CALL *ImportPPTPointer )( SdDrawDocument*, SvStream&, SotStorage&, SfxMedium& );
@@ -49,9 +49,9 @@ typedef sal_Bool ( SAL_CALL *SaveVBAPointer )( SfxObjectShell&, SvMemoryStream*&
 
 #ifdef DISABLE_DYNLOADING
 
-extern "C" sal_Bool ExportPPT( const std::vector< css::beans::PropertyValue >&, tools::SvRef<SotStorage>&,
-                               Reference< XModel > &,
-                               Reference< XStatusIndicator > &,
+extern "C" sal_Bool ExportPPT( const std::vector< css::beans::PropertyValue >&, tools::SvRef<SotStorage> const&,
+                               Reference< XModel > const &,
+                               Reference< XStatusIndicator > const &,
                                SvMemoryStream*, sal_uInt32 nCnvrtFlags );
 
 extern "C" sal_Bool ImportPPT( SdDrawDocument*, SvStream&, SotStorage&, SfxMedium& );


More information about the Libreoffice-commits mailing list