summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/animations/CustomAnimationCreateDialog.cxx3
-rw-r--r--sd/source/ui/dlg/docprev.cxx3
-rw-r--r--sd/source/ui/tools/SlotStateListener.cxx3
3 files changed, 3 insertions, 6 deletions
diff --git a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
index 1a2e538caac6..ee0435ecf8eb 100644
--- a/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
+++ b/sd/source/ui/animations/CustomAnimationCreateDialog.cxx
@@ -147,8 +147,7 @@ void CategoryListBox::MouseButtonUp( const MouseEvent& rMEvt )
ReleaseMouse();
if( rMEvt.IsLeft() && (rMEvt.GetClicks() == 2) )
{
- if( maDoubleClickHdl.IsSet() )
- maDoubleClickHdl.Call( *this );
+ maDoubleClickHdl.Call( *this );
}
else
{
diff --git a/sd/source/ui/dlg/docprev.cxx b/sd/source/ui/dlg/docprev.cxx
index 7540fa7a1946..38ded5a9b710 100644
--- a/sd/source/ui/dlg/docprev.cxx
+++ b/sd/source/ui/dlg/docprev.cxx
@@ -203,8 +203,7 @@ bool SdDocPreviewWin::Notify( NotifyEvent& rNEvt )
{
if( rNEvt.GetWindow() == this )
{
- if(aClickHdl.IsSet())
- aClickHdl.Call(*this);
+ aClickHdl.Call(*this);
}
}
}
diff --git a/sd/source/ui/tools/SlotStateListener.cxx b/sd/source/ui/tools/SlotStateListener.cxx
index a3d1be1c462b..c3fc2275fcff 100644
--- a/sd/source/ui/tools/SlotStateListener.cxx
+++ b/sd/source/ui/tools/SlotStateListener.cxx
@@ -122,8 +122,7 @@ void SlotStateListener::statusChanged (
{
ThrowIfDisposed();
OUString sSlotName (rState.FeatureURL.Complete);
- if (maCallback.IsSet())
- maCallback.Call(sSlotName);
+ maCallback.Call(sSlotName);
}
void SlotStateListener::ReleaseListeners()