summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-11 09:52:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-11 18:35:27 +0100
commit3f66a801aeab257705922998e518398d27e4d698 (patch)
tree6743501be5aba32f49ab7283cc01036916175ab4 /include
parent3dfb8552eb84eaf831c4c3eb59c398afc87e9174 (diff)
keep SfxObjectShell::GetDialogParent ret as an awt::XWindow
instead of extracting the vcl::Window impl details from it Change-Id: Ia13c1559861ab2a65a2108c8ccd704cba711916c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112329 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/objsh.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index b21f7bf4bb69..40715f29e6ac 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -88,7 +88,7 @@ namespace sfx2
class StyleManager;
}
-namespace vcl { class Window; }
+namespace com::sun::star::awt { class XWindow; }
namespace com::sun::star::beans { struct PropertyValue; }
namespace com::sun::star::document { struct CmisVersion; }
namespace com::sun::star::document { class XDocumentProperties; }
@@ -574,7 +574,7 @@ public:
virtual css::uno::Sequence< OUString > GetEventNames();
- vcl::Window* GetDialogParent( SfxMedium const * pMedium=nullptr );
+ css::uno::Reference<css::awt::XWindow> GetDialogParent(SfxMedium const* pMedium = nullptr);
static SfxObjectShell* CreateObject( const OUString& rServiceName, SfxObjectCreateMode = SfxObjectCreateMode::STANDARD );
static SfxObjectShell* CreateObjectByFactoryName( const OUString& rURL, SfxObjectCreateMode = SfxObjectCreateMode::STANDARD );
static css::uno::Reference< css::lang::XComponent >