summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations/annotationtag.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/annotations/annotationtag.cxx')
-rw-r--r--sd/source/ui/annotations/annotationtag.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx
index 098a2a816cd7..67d6366de7db 100644
--- a/sd/source/ui/annotations/annotationtag.cxx
+++ b/sd/source/ui/annotations/annotationtag.cxx
@@ -553,7 +553,7 @@ void AnnotationTag::OpenPopup( bool bEdit )
if( !mxAnnotation.is() )
return;
- if( !mpAnnotationWindow.get() )
+ if( !mpAnnotationWindow )
{
vcl::Window* pWindow = dynamic_cast< vcl::Window* >( getView().GetFirstOutputDevice() );
if( pWindow )
@@ -583,13 +583,13 @@ void AnnotationTag::OpenPopup( bool bEdit )
}
}
- if( bEdit && mpAnnotationWindow.get() )
+ if( bEdit && mpAnnotationWindow )
mpAnnotationWindow->StartEdit();
}
void AnnotationTag::ClosePopup()
{
- if( mpAnnotationWindow.get())
+ if( mpAnnotationWindow )
{
mpAnnotationWindow->RemoveEventListener( LINK(this, AnnotationTag, WindowEventHandler));
mpAnnotationWindow->Deactivate();