From 80095665bfcb8dd22b7cfe4fcc7d7a3023712385 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Fri, 4 Aug 2017 02:45:32 +0200 Subject: fix regression from dafae0fe31353a8092334328d499bc108d39e44c Found by the UBSAN tinderbox. Change-Id: I0c23f316713bb6c8abc331a1a2d131a068962812 Reviewed-on: https://gerrit.libreoffice.org/40752 Tested-by: Jenkins Reviewed-by: Markus Mohrhard --- sd/source/filter/sdpptwrp.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sd') 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&, - Reference< XModel > &, - Reference< XStatusIndicator > &, +typedef sal_Bool ( SAL_CALL *ExportPPTPointer )( const std::vector< css::beans::PropertyValue >&, tools::SvRef 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&, - Reference< XModel > &, - Reference< XStatusIndicator > &, +extern "C" sal_Bool ExportPPT( const std::vector< css::beans::PropertyValue >&, tools::SvRef const&, + Reference< XModel > const &, + Reference< XStatusIndicator > const &, SvMemoryStream*, sal_uInt32 nCnvrtFlags ); extern "C" sal_Bool ImportPPT( SdDrawDocument*, SvStream&, SotStorage&, SfxMedium& ); -- cgit v1.2.3