diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmvwimp.cxx | 2 | ||||
-rw-r--r-- | svx/source/inc/fmvwimp.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/fmvwimp.cxx b/svx/source/form/fmvwimp.cxx index c9e2af6a4ce2..5bcb4ecb49d6 100644 --- a/svx/source/form/fmvwimp.cxx +++ b/svx/source/form/fmvwimp.cxx @@ -1010,7 +1010,7 @@ void FmXFormView::breakCreateFormObject() m_xLastCreatedControlModel.clear(); } -Reference<XWindow> FmXFormView::GetParentWindow() +Reference<XWindow> FmXFormView::GetParentWindow() const { const vcl::Window* pCurrentWindow = m_pView ? dynamic_cast<const vcl::Window*>(m_pView->GetActualOutDev()) : nullptr; return VCLUnoHelper::GetInterface(const_cast<vcl::Window*>(pCurrentWindow)); diff --git a/svx/source/inc/fmvwimp.hxx b/svx/source/inc/fmvwimp.hxx index 62291ad8b195..dc56630c6ef3 100644 --- a/svx/source/inc/fmvwimp.hxx +++ b/svx/source/inc/fmvwimp.hxx @@ -172,7 +172,7 @@ class FmXFormView : public ::cppu::WeakImplHelper< FmFormShell* GetFormShell() const; - css::uno::Reference<css::awt::XWindow> GetParentWindow(); + css::uno::Reference<css::awt::XWindow> GetParentWindow() const; protected: FmXFormView( FmFormView* _pView ); |