summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterPaneContainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterPaneContainer.cxx')
-rw-r--r--sdext/source/presenter/PresenterPaneContainer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterPaneContainer.cxx b/sdext/source/presenter/PresenterPaneContainer.cxx
index 74dfb1c288f2..6d0d59571717 100644
--- a/sdext/source/presenter/PresenterPaneContainer.cxx
+++ b/sdext/source/presenter/PresenterPaneContainer.cxx
@@ -196,11 +196,11 @@ PresenterPaneContainer::SharedPaneDescriptor
pDescriptor->mxPane->SetBackground(rpViewBackground);
try
{
- if ( ! pDescriptor->maViewInitialization.empty())
+ if (pDescriptor->maViewInitialization)
pDescriptor->maViewInitialization(rxView);
// Activate or deactivate the pane/view.
- if ( ! pDescriptor->maActivator.empty())
+ if (pDescriptor->maActivator)
pDescriptor->maActivator(pDescriptor->mbIsActive);
}
catch (RuntimeException&)
@@ -376,7 +376,7 @@ void SAL_CALL PresenterPaneContainer::disposing (
void PresenterPaneContainer::PaneDescriptor::SetActivationState (const bool bIsActive)
{
mbIsActive = bIsActive;
- if ( ! maActivator.empty())
+ if (maActivator)
maActivator(mbIsActive);
}