summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/propertyhandler.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-06-03 15:34:00 +0200
committerNoel Grandin <noel@peralex.com>2013-06-05 08:13:22 +0200
commitcee55a2c5463134c3a394bf6eda22998bc6cb2c9 (patch)
treeb3a065a8d3670d2a2b63616b61c514b65b220248 /extensions/source/propctrlr/propertyhandler.hxx
parentdcbaf7c253031a8f7b568c57397c663edfa26e5b (diff)
fdo#46808, Convert a copy of ComponentContext to XComponentContext
Looks like this extensions had a modified copy of comphelper::ComponentContext in it. Change-Id: I7e29aea4e6480a619f3148530fe6d784efe260e1
Diffstat (limited to 'extensions/source/propctrlr/propertyhandler.hxx')
-rw-r--r--extensions/source/propctrlr/propertyhandler.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/propertyhandler.hxx b/extensions/source/propctrlr/propertyhandler.hxx
index cfdee15f9b7a..35a7c0c1dbba 100644
--- a/extensions/source/propctrlr/propertyhandler.hxx
+++ b/extensions/source/propctrlr/propertyhandler.hxx
@@ -20,7 +20,6 @@
#ifndef EXTENSIONS_SOURCE_PROPCTRLR_PROPERTYHANDLER_HXX
#define EXTENSIONS_SOURCE_PROPCTRLR_PROPERTYHANDLER_HXX
-#include "pcrcomponentcontext.hxx"
#include "pcrcommon.hxx"
#include "modulepcr.hxx"
@@ -87,7 +86,7 @@ namespace pcr
protected:
mutable ::osl::Mutex m_aMutex;
/// the context in which the instance was created
- ComponentContext m_aContext;
+ ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
/// the component we're inspecting
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > m_xComponent;
/// info about our component's properties
@@ -271,7 +270,7 @@ namespace pcr
impl_getContextDocument_nothrow() const
{
return ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >(
- m_aContext.getContextValueByAsciiName( "ContextDocument" ), ::com::sun::star::uno::UNO_QUERY );
+ m_xContext->getValueByName( "ContextDocument" ), ::com::sun::star::uno::UNO_QUERY );
}
/** marks the context document as modified