summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-20 09:10:45 +0200
committerNoel Grandin <noel@peralex.com>2014-10-21 09:06:40 +0200
commit182fc4f184b77330fdbb32096b64f5fbc5b5f874 (patch)
tree1ba73fb9188796ed43976fe32f291f9c64fb1d5b /starmath
parent43327878920f424f8bac1114bee51c54609796c5 (diff)
fdo#84938: replace WINDOW_BORDER constants with enum
Change-Id: I91ca8e09971aee26f16257a4fd01125cfb2ebcdb
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ElementsDockingWindow.cxx2
-rw-r--r--starmath/source/dialog.cxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index f39570567a80..829a04a55462 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -620,7 +620,7 @@ SmElementsDockingWindow::SmElementsDockingWindow(SfxBindings* pInputBindings, Sf
maElementsControl (this, SmResId(1)),
maElementListBox (this, SmResId(1))
{
- maElementsControl.SetBorderStyle( WINDOW_BORDER_MONO );
+ maElementsControl.SetBorderStyle( WindowBorderStyle::MONO );
maElementListBox.SetDropDownLineCount( SAL_N_ELEMENTS(aCategories) );
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 50aa25ef53c8..356cc9c7e53c 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -348,7 +348,7 @@ SmFontDialog::SmFontDialog(vcl::Window * pParent, OutputDevice *pFntListDevice,
InitColor_Impl();
// preview like controls should have a 2D look
- m_pShowFont->SetBorderStyle( WINDOW_BORDER_MONO );
+ m_pShowFont->SetBorderStyle( WindowBorderStyle::MONO );
}
m_pFontBox->SetSelectHdl(LINK(this, SmFontDialog, FontSelectHdl));
@@ -876,7 +876,7 @@ SmDistanceDialog::SmDistanceDialog(vcl::Window *pParent)
bScaleAllBrackets = false;
// preview like controls should have a 2D look
- m_pBitmap->SetBorderStyle( WINDOW_BORDER_MONO );
+ m_pBitmap->SetBorderStyle( WindowBorderStyle::MONO );
m_pMetricField1->SetGetFocusHdl(LINK(this, SmDistanceDialog, GetFocusHdl));
m_pMetricField2->SetGetFocusHdl(LINK(this, SmDistanceDialog, GetFocusHdl));
@@ -1475,7 +1475,7 @@ SmSymbolDialog::SmSymbolDialog(vcl::Window *pParent, OutputDevice *pFntListDevic
InitColor_Impl();
// preview like controls should have a 2D look
- m_pSymbolDisplay->SetBorderStyle( WINDOW_BORDER_MONO );
+ m_pSymbolDisplay->SetBorderStyle( WindowBorderStyle::MONO );
m_pSymbolSets->SetSelectHdl(LINK(this, SmSymbolDialog, SymbolSetChangeHdl));
m_pSymbolSetDisplay->SetSelectHdl(LINK(this, SmSymbolDialog, SymbolChangeHdl));
@@ -2028,8 +2028,8 @@ SmSymDefineDialog::SmSymDefineDialog(vcl::Window * pParent,
pCharsetDisplay ->SetHighlightHdl( LINK( this, SmSymDefineDialog, CharHighlightHdl ) );
// preview like controls should have a 2D look
- pOldSymbolDisplay->SetBorderStyle( WINDOW_BORDER_MONO );
- pSymbolDisplay ->SetBorderStyle( WINDOW_BORDER_MONO );
+ pOldSymbolDisplay->SetBorderStyle( WindowBorderStyle::MONO );
+ pSymbolDisplay ->SetBorderStyle( WindowBorderStyle::MONO );
}