summaryrefslogtreecommitdiff
path: root/svx/source/form
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-05 14:20:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-05 18:50:51 +0200
commite859bf8c4da78698b820d13af1a2fdee3602f5b4 (patch)
treeb2ead4e992f283c2e1dfcdabfa99f013f1506918 /svx/source/form
parentae1d21ae69b0522cbbe67abeb2f5c5ba7ca2c33b (diff)
loplugin:constmethod
Change-Id: I7913fd8144d521b8293ac43036d0fad82e457cd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115145 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/form')
-rw-r--r--svx/source/form/fmvwimp.cxx2
1 files changed, 1 insertions, 1 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));