diff options
author | Noel Grandin <noel@peralex.com> | 2013-06-03 08:34:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-06-03 10:00:03 +0200 |
commit | d209e133191853f12557d879d1dcda7a0309dac6 (patch) | |
tree | f49624949123d6ae5486b817daafaf7fb7778a4b /forms/source/component/Columns.hxx | |
parent | fdo#46808, Convert ComponentContext in connectivity,extension.. (diff) | |
download | core-d209e133191853f12557d879d1dcda7a0309dac6.tar.gz core-d209e133191853f12557d879d1dcda7a0309dac6.zip |
fdo#46808, Convert comphelper::ComponentContext in forms module
Change-Id: I8a9913d964633381f00c0a4885cc655805fa1974
Diffstat (limited to 'forms/source/component/Columns.hxx')
-rw-r--r-- | forms/source/component/Columns.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/forms/source/component/Columns.hxx b/forms/source/component/Columns.hxx index ed2a1054d82f..8313daddc6ef 100644 --- a/forms/source/component/Columns.hxx +++ b/forms/source/component/Columns.hxx @@ -29,7 +29,6 @@ #include <com/sun/star/util/XCloneable.hpp> #include <comphelper/broadcasthelper.hxx> -#include <comphelper/componentcontext.hxx> #include <comphelper/propagg.hxx> #include <comphelper/proparrhlp.hxx> #include <comphelper/uno3.hxx> @@ -60,7 +59,6 @@ protected: ::com::sun::star::uno::Any m_aHidden; // column hidden? // [properties] - ::comphelper::ComponentContext m_aContext; OUString m_aModelName; // [properties] @@ -68,7 +66,7 @@ protected: // [properties] public: - OGridColumn(const ::comphelper::ComponentContext& _rContext, const OUString& _sModelName = OUString()); + OGridColumn(const css::uno::Reference<css::uno::XComponentContext>& _rContext, const OUString& _sModelName = OUString()); OGridColumn(const OGridColumn* _pOriginal ); virtual ~OGridColumn(); @@ -125,7 +123,7 @@ class ClassName ,public OAggregationArrayUsageHelper< ClassName > \ { \ public: \ - ClassName(const ::comphelper::ComponentContext& _rContext ); \ + ClassName(const css::uno::Reference<css::uno::XComponentContext>& _rContext ); \ ClassName(const ClassName* _pCloneFrom); \ \ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException); \ @@ -141,7 +139,7 @@ public: #define IMPL_COLUMN(ClassName, Model, bAllowDropDown) \ - ClassName::ClassName( const ::comphelper::ComponentContext& _rContext ) \ + ClassName::ClassName( const css::uno::Reference<css::uno::XComponentContext>& _rContext ) \ :OGridColumn(_rContext, Model) \ { \ } \ |