summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/ole/ndole.cxx4
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& )
{