summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-04 02:45:32 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-08-04 03:32:20 +0200
commit80095665bfcb8dd22b7cfe4fcc7d7a3023712385 (patch)
tree88b4bbdfbb762415099e3a8786ef56b136665576
parentc8e3633a352c2fda3aebb9781288a926e7a88c42 (diff)
Found by the UBSAN tinderbox. Change-Id: I0c23f316713bb6c8abc331a1a2d131a068962812 Reviewed-on: https://gerrit.libreoffice.org/40752 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sd/source/filter/sdpptwrp.cxx12
1 files changed, 6 insertions, 6 deletions
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& );