summaryrefslogtreecommitdiff
path: root/starmath/source/uiobject.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/uiobject.cxx')
-rw-r--r--starmath/source/uiobject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/uiobject.cxx b/starmath/source/uiobject.cxx
index 33c7ba705602..ffa1c9cec109 100644
--- a/starmath/source/uiobject.cxx
+++ b/starmath/source/uiobject.cxx
@@ -62,7 +62,7 @@ StringMap ElementSelectorUIObject::get_state()
{
StringMap aMap = WindowUIObject::get_state();
- SmElement* pElement = mxElementsSelector->mpCurrentElement;
+ SmElement* pElement = mxElementsSelector->current();
if (pElement)
aMap["CurrentEntry"] = pElement->getText();