diff options
Diffstat (limited to 'extensions/source/propctrlr/handlerhelper.hxx')
| -rw-r--r-- | extensions/source/propctrlr/handlerhelper.hxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/handlerhelper.hxx b/extensions/source/propctrlr/handlerhelper.hxx index b9a1d1aff5c9..30182fa1ea9e 100644 --- a/extensions/source/propctrlr/handlerhelper.hxx +++ b/extensions/source/propctrlr/handlerhelper.hxx @@ -41,8 +41,6 @@ namespace pcr { //........................................................................ - class ComponentContext; - //==================================================================== //= PropertyHandlerHelper //==================================================================== @@ -166,9 +164,13 @@ namespace pcr the component context which was used to create the component calling this method */ static void setContextDocumentModified( - const ComponentContext& _rContext + const css::uno::Reference< css::uno::XComponentContext > & _rContext ); + static css::uno::Reference< css::uno::XInterface > getContextDocument( const css::uno::Reference<css::uno::XComponentContext> & _rContext ); + + static css::uno::Reference< css::uno::XInterface > getContextDocument_throw( const css::uno::Reference<css::uno::XComponentContext> & _rContext ) throw (css::uno::RuntimeException); + /** gets the window of the ObjectInspector in which an property handler lives The method looks up a value called "DialogParentWindow" in the given UNO copmonent context, @@ -178,7 +180,7 @@ namespace pcr @param _rContext the component context which was used to create the component calling this method */ - static Window* getDialogParentWindow( const ComponentContext& _rContext ); + static Window* getDialogParentWindow( const css::uno::Reference< css::uno::XComponentContext > & _rContext ); /** determines whether given PropertyAttributes require a to-be-created |
