summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/view.hxx4
-rw-r--r--starmath/source/view.cxx8
2 files changed, 6 insertions, 6 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index 3f77dd76c29c..e0a939478d2d 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -166,7 +166,7 @@ class SmGraphicController final : public SfxControllerItem
SmGraphicWidget &rGraphic;
public:
SmGraphicController(SmGraphicWidget &, sal_uInt16, SfxBindings & );
- virtual void StateChanged(sal_uInt16 nSID,
+ virtual void StateChangedAtToolBoxControl(sal_uInt16 nSID,
SfxItemState eState,
const SfxPoolItem* pState) override;
};
@@ -178,7 +178,7 @@ class SmEditController final : public SfxControllerItem
public:
SmEditController(SmEditWindow &, sal_uInt16, SfxBindings & );
- virtual void StateChanged(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState) override;
+ virtual void StateChangedAtToolBoxControl(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState) override;
};
class SmCmdBoxWindow : public SfxDockingWindow
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index e0b79fc42d07..338c667cdbd7 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -782,11 +782,11 @@ SmGraphicController::SmGraphicController(SmGraphicWidget &rSmGraphic,
{
}
-void SmGraphicController::StateChanged(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState)
+void SmGraphicController::StateChangedAtToolBoxControl(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState)
{
rGraphic.SetTotalSize();
rGraphic.Invalidate();
- SfxControllerItem::StateChanged (nSID, eState, pState);
+ SfxControllerItem::StateChangedAtToolBoxControl (nSID, eState, pState);
}
/**************************************************************************/
@@ -798,13 +798,13 @@ SmEditController::SmEditController(SmEditWindow &rSmEdit,
{
}
-void SmEditController::StateChanged(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState)
+void SmEditController::StateChangedAtToolBoxControl(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState)
{
const SfxStringItem *pItem = dynamic_cast<const SfxStringItem*>( pState);
if ((pItem != nullptr) && (rEdit.GetText() != pItem->GetValue()))
rEdit.SetText(pItem->GetValue());
- SfxControllerItem::StateChanged (nSID, eState, pState);
+ SfxControllerItem::StateChangedAtToolBoxControl (nSID, eState, pState);
}
/**************************************************************************/