summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objmisc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objmisc.cxx')
-rw-r--r--sfx2/source/doc/objmisc.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 4947999969dc..cfccb7d7fc41 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -928,14 +928,12 @@ void SfxObjectShell::PostActivateEvent_Impl( SfxViewFrame* pFrame )
void SfxObjectShell::SetActivateEvent_Impl(SfxEventHintId nId )
{
- if ( GetFactory().GetFlags() & SfxObjectShellFlags::HASOPENDOC )
- pImpl->nEventId = nId;
+ pImpl->nEventId = nId;
}
void SfxObjectShell::PrepareReload( )
-/* [Description]
-
- Is called before the Reload and gives the opportunity to clear any caches.
+/*
+ Is called before the Reload and gives the opportunity to clear any caches.
*/
{
}