summaryrefslogtreecommitdiff
path: root/cui/source/inc/SpellDialog.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/inc/SpellDialog.hxx')
-rw-r--r--cui/source/inc/SpellDialog.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx
index 5bbe67ab91de..7b8646fee38b 100644
--- a/cui/source/inc/SpellDialog.hxx
+++ b/cui/source/inc/SpellDialog.hxx
@@ -70,7 +70,7 @@ private:
void CallModifyLink() {m_aModifyLink.Call(this);}
- SpellDialog* GetSpellDialog() const {return (SpellDialog*)GetParentDialog();}
+ inline SpellDialog* GetSpellDialog() const;
protected:
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
@@ -226,6 +226,9 @@ public:
void InvalidateDialog();
};
+
+SpellDialog* SentenceEditWindow_Impl::GetSpellDialog() const {return static_cast<SpellDialog*>(GetParentDialog());}
+
} //namespace svx
#endif