summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objmisc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-04 16:35:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-05 06:49:56 +0000
commite3eadc96cc05135880b72c42358eb3fe51ea94c4 (patch)
tree6478330637b3d6b12882fcb4ca60790b5800a87c /sfx2/source/doc/objmisc.cxx
parentff339c89b51ed571d55c762e43aa1a6ee9ada1cb (diff)
teach constantparam plugin to find always on and always off bitmask values
Change-Id: If56a483494bd3d7feb3fa67c01000dddd0d34421 Reviewed-on: https://gerrit.libreoffice.org/36085 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
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.
*/
{
}