diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-04 15:01:55 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-05 06:26:22 +0000 |
commit | b9372f0e909c32d143540bf0ce7b79003d9b26e9 (patch) | |
tree | 9c8ecd561d296b66427974d0daebe726ab0f4f20 /sw | |
parent | 50bb5eddaac2b16f387ba610cdcfd934269dc73c (diff) |
loplugin:constantparam in comphelper
Change-Id: I81e6af1ee869caa3b40d2d00604e8e22517d92d7
Reviewed-on: https://gerrit.libreoffice.org/23808
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/ole/ndole.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx index 7358a69e8590..83ca26989316 100644 --- a/sw/source/core/ole/ndole.cxx +++ b/sw/source/core/ole/ndole.cxx @@ -347,7 +347,7 @@ bool SwOLENode::SavePersistentData() } } - pCnt->RemoveEmbeddedObject( aOLEObj.aName, false, bKeepObjectToTempStorage ); + pCnt->RemoveEmbeddedObject( aOLEObj.aName, bKeepObjectToTempStorage ); // TODO/LATER: aOLEObj.aName has no meaning here, since the undo container contains the object // by different name, in future it might makes sense that the name is transported here. @@ -701,7 +701,7 @@ SwOLEObj::~SwOLEObj() try { // remove object from container but don't close it - pCnt->RemoveEmbeddedObject( aName, false); + pCnt->RemoveEmbeddedObject( aName ); } catch ( uno::Exception& ) { |