Kaydet (Commit) f4841c9a authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl

more refactorings in starmath dialogs..

Change-Id: I24b6584a72b4a8db031d9bf8906d8682e32e4545
üst 5b4408da
......@@ -100,14 +100,12 @@ class SmFontDialog : public ModalDialog
VclPtr<CheckBox> m_pItalicCheckBox;
VclPtr<SmShowFont> m_pShowFont;
vcl::Font Face;
vcl::Font maFont;
DECL_LINK(FontSelectHdl, ComboBox *);
DECL_LINK(FontModifyHdl, ComboBox *);
DECL_LINK(AttrChangeHdl, CheckBox *);
void InitColor_Impl();
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
public:
......@@ -115,7 +113,10 @@ public:
virtual ~SmFontDialog();
virtual void dispose() SAL_OVERRIDE;
const vcl::Font& GetFont() const { return Face; }
const vcl::Font& GetFont() const
{
return maFont;
}
void SetFont(const vcl::Font &rFont);
};
......@@ -372,7 +373,6 @@ class SmSymbolDialog : public ModalDialog
void FillSymbolSets(bool bDeleteText = true);
void SetSymbolSetManager(SmSymbolManager &rMgr);
const SmSym *GetSymbol() const;
void InitColor_Impl();
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
......@@ -467,8 +467,6 @@ class SmSymDefineDialog : public ModalDialog
return const_cast<SmSymDefineDialog *>(this)->GetSymbol(rComboBox);
}
void InitColor_Impl();
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
public:
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment