diff options
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r-- | starmath/source/dialog.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 1c2d5f3405fc..de1fd7eb4bc8 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -67,8 +67,6 @@ void lclGetSettingColors(Color& rBackgroundColor, Color& rTextColor) } } -} // end anonymous namespace - // Since it's better to set/query the FontStyle via its attributes rather // than via the StyleName we create a way to translate // Attribute <-> StyleName @@ -88,6 +86,8 @@ public: const OUString& GetStyleName(sal_uInt16 nIdx) const; }; +} // end anonymous namespace + SmFontStyles::SmFontStyles() : aNormal(SmResId(RID_FONTREGULAR)) , aBold(SmResId(RID_FONTBOLD)) @@ -340,6 +340,8 @@ SmFontDialog::~SmFontDialog() { } +namespace { + class SaveDefaultsQuery : public weld::MessageDialogController { public: @@ -350,6 +352,8 @@ public: } }; +} + IMPL_LINK_NOARG( SmFontSizeDialog, DefaultButtonClickHdl, weld::Button&, void ) { SaveDefaultsQuery aQuery(m_xDialog.get()); @@ -530,11 +534,15 @@ void SmFontTypeDialog::WriteTo(SmFormat &rFormat) const /**************************************************************************/ +namespace { + struct FieldMinMax { sal_uInt16 nMin, nMax; }; +} + // Data for min and max values of the 4 metric fields // for each of the 10 categories static const FieldMinMax pMinMaxData[10][4] = |