summaryrefslogtreecommitdiff
path: root/svtools/source/misc/embedhlp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/misc/embedhlp.cxx')
-rw-r--r--svtools/source/misc/embedhlp.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/svtools/source/misc/embedhlp.cxx b/svtools/source/misc/embedhlp.cxx
index 9e6ad0b00e0b..59639f860e91 100644
--- a/svtools/source/misc/embedhlp.cxx
+++ b/svtools/source/misc/embedhlp.cxx
@@ -192,15 +192,6 @@ void SAL_CALL EmbedEventListener_Impl::notifyEvent( const document::EventObject&
{
::vos::OGuard aGuard( Application::GetSolarMutex() );
-#if 0
- if ( pObject && aEvent.EventName.equalsAscii("OnSaveDone") || aEvent.EventName.equalsAscii("OnSaveAsDone") )
- {
- // TODO/LATER: container must be set before!
- // When is this event created? Who sets the new container when it changed?
- pObject->UpdateReplacement();
- }
- else
-#endif
if ( pObject && aEvent.EventName.equalsAscii("OnVisAreaChanged") && pObject->GetViewAspect() != embed::Aspects::MSOLE_ICON && !pObject->IsChart() )
{
pObject->UpdateReplacement();