summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-01 12:54:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-03 09:08:42 +0000
commitf3c1d240bd4f32d014db00a9864c56f77b7cb127 (patch)
treeff952e1002ed98d1a0d537193f7bd15aac64b1c9 /sd
parent643b70006fd5f6762561696421808f20d4e1e86f (diff)
loplugin:constantparams
Change-Id: Ib162ba9297b9d900ea42c7e5216e152d3e58a361 Reviewed-on: https://gerrit.libreoffice.org/25769 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/epptso.cxx2
-rw-r--r--sd/source/filter/ppt/pptin.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index 97c02fcfc49a..b12239b6986c 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -438,7 +438,7 @@ bool PPTWriter::ImplCloseDocument()
nBytesToInsert += ImplDocumentListContainer();
// insert nBytes into stream and adjust depending container
- mpPptEscherEx->InsertAtCurrentPos( nBytesToInsert, false );
+ mpPptEscherEx->InsertAtCurrentPos( nBytesToInsert );
// CREATE HYPERLINK CONTAINER
if ( nExEmbedSize )
diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 8eac912e254c..f8d2d04fb562 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -764,7 +764,7 @@ bool ImplSdPPTImport::Import()
break;
}
}
- SdrObject* pObj = ImportPageBackgroundObject( *pMPage, pE->nBackgroundOffset, true ); // import background
+ SdrObject* pObj = ImportPageBackgroundObject( *pMPage, pE->nBackgroundOffset ); // import background
if ( pObj )
pMPage->NbcInsertObject( pObj );