From 5040ad523e0e4ad336e2449030516f5a90ea5656 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 22 Oct 2013 23:48:51 +0200 Subject: Remove unnecessary component_getProcessComponentContext C wrapper Change-Id: I9d9f1a542dbbfc461dd27c32b57e4cad5532fab0 --- sd/source/core/annotations/Annotation.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd') diff --git a/sd/source/core/annotations/Annotation.cxx b/sd/source/core/annotations/Annotation.cxx index 3904447fa0b5..4b2184bde70f 100644 --- a/sd/source/core/annotations/Annotation.cxx +++ b/sd/source/core/annotations/Annotation.cxx @@ -162,8 +162,8 @@ protected: void createAnnotation( Reference< XAnnotation >& xAnnotation, SdPage* pPage ) { - Reference xContext (comphelper_getProcessComponentContext()); - xAnnotation.set( new Annotation(xContext, pPage) ); + xAnnotation.set( + new Annotation(comphelper::getProcessComponentContext(), pPage)); pPage->addAnnotation(xAnnotation); } -- cgit