diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-10-22 23:48:51 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-22 23:49:06 +0200 |
commit | 5040ad523e0e4ad336e2449030516f5a90ea5656 (patch) | |
tree | 8d64b892214397af5018c32d14f3555e863ad878 /sd | |
parent | bcc31e249fde6536ab96ffcf2a8e542275efa69b (diff) |
Remove unnecessary component_getProcessComponentContext C wrapper
Change-Id: I9d9f1a542dbbfc461dd27c32b57e4cad5532fab0
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/annotations/Annotation.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<XComponentContext> xContext (comphelper_getProcessComponentContext()); - xAnnotation.set( new Annotation(xContext, pPage) ); + xAnnotation.set( + new Annotation(comphelper::getProcessComponentContext(), pPage)); pPage->addAnnotation(xAnnotation); } |