summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-06-04 17:16:58 +0200
committerNoel Grandin <noel@peralex.com>2013-06-05 08:13:23 +0200
commit95c0d568fdcd0da939c891d861bb470b28079170 (patch)
treeca4e4108178ec1176fd1a976df6f31a08d590210 /sd/source/ui/annotations
parenta1afcae81ca3c4b6bb240263b3259090d48c7715 (diff)
use uno::Reference#clear() method...
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
Diffstat (limited to 'sd/source/ui/annotations')
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index 20233f2c9038..f0b3d388c7bc 100644
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -942,7 +942,7 @@ IMPL_LINK(AnnotationManagerImpl,EventMultiplexerListener,
break;
case tools::EventMultiplexerEvent::EID_MAIN_VIEW_REMOVED:
- mxView = Reference<XDrawView>();
+ mxView.clear();
onSelectionChanged();
break;