summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/unotools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/utlui/unotools.cxx')
-rw-r--r--sw/source/uibase/utlui/unotools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index 24c7069b95c3..f6ad9b7ce0c9 100644
--- a/sw/source/uibase/utlui/unotools.cxx
+++ b/sw/source/uibase/utlui/unotools.cxx
@@ -134,7 +134,7 @@ bool SwOneExampleFrame::Command(const CommandEvent& rCEvt)
case CommandEventId::ContextMenu:
{
//#125881# quickly clicking crashes because the control is not fully initialized
- if (GetController().is())
+ if (m_xController.is())
return CreatePopup(rCEvt.GetMousePosPixel());
}
break;