diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-08 16:27:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-08 18:40:11 +0100 |
commit | d0e65716347377628635c053ccb425d6284e3533 (patch) | |
tree | 02b9e186282577a295a9fefaa35dd1fdb8ea1f82 /cui/source/options | |
parent | 94956b3b29ae761a793363ec9e9e27fb612d7444 (diff) |
add degrees and pixels as known spin field units
Change-Id: I5937843a5c5485f469ef1fb6b5844aa15c33a14d
Diffstat (limited to 'cui/source/options')
-rw-r--r-- | cui/source/options/optgdlg.cxx | 3 | ||||
-rw-r--r-- | cui/source/options/optgdlg.hxx | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index e11eef5e6608..a0f628469701 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -543,7 +543,6 @@ OfaViewTabPage::OfaViewTabPage(Window* pParent, const SfxItemSet& rSet) get(m_pFontAntiAliasing, "aafont"); get(m_pAAPointLimitLabel, "aafrom"); get(m_pAAPointLimit, "aanf"); - get(m_pAAPointLimitUnits, "aaunits"); get(m_pMenuIconsLB, "menuicons"); get(m_pFontShowCB, "showfontpreview"); get(m_pFontHistoryCB, "showfonthistory"); @@ -562,7 +561,6 @@ OfaViewTabPage::OfaViewTabPage(Window* pParent, const SfxItemSet& rSet) m_pFontAntiAliasing->Hide(); m_pAAPointLimitLabel->Hide(); m_pAAPointLimit->Hide(); - m_pAAPointLimitUnits->Hide(); #endif @@ -637,7 +635,6 @@ IMPL_LINK( OfaViewTabPage, OnAntialiasingToggled, void*, NOTINTERESTEDIN ) m_pAAPointLimitLabel->Enable( bAAEnabled ); m_pAAPointLimit->Enable( bAAEnabled ); - m_pAAPointLimitUnits->Enable( bAAEnabled ); return 0L; } diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx index 49c7fdf304a0..56057e4bcd11 100644 --- a/cui/source/options/optgdlg.hxx +++ b/cui/source/options/optgdlg.hxx @@ -84,8 +84,7 @@ private: CheckBox* m_pFontAntiAliasing; FixedText* m_pAAPointLimitLabel; - NumericField* m_pAAPointLimit; - FixedText* m_pAAPointLimitUnits; + MetricField* m_pAAPointLimit; ListBox* m_pMenuIconsLB; |