summaryrefslogtreecommitdiff
path: root/cui
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 /cui
parent43327878920f424f8bac1114bee51c54609796c5 (diff)
fdo#84938: replace WINDOW_BORDER constants with enum
Change-Id: I91ca8e09971aee26f16257a4fd01125cfb2ebcdb
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hangulhanjadlg.cxx2
-rw-r--r--cui/source/options/optcolor.cxx2
-rw-r--r--cui/source/tabpages/backgrnd.cxx2
-rw-r--r--cui/source/tabpages/connect.cxx2
-rw-r--r--cui/source/tabpages/grfpage.cxx2
-rw-r--r--cui/source/tabpages/measure.cxx2
-rw-r--r--cui/source/tabpages/numfmt.cxx2
-rw-r--r--cui/source/tabpages/numpages.cxx2
8 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index a57165437b5b..1391bd57c205 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -375,7 +375,7 @@ namespace svx
m_aValueSet.SetLineCount( LINE_CNT );
m_aValueSet.SetStyle( m_aValueSet.GetStyle() | WB_ITEMBORDER | WB_FLATVALUESET | WB_VSCROLL );
- m_aValueSet.SetBorderStyle( WINDOW_BORDER_MONO );
+ m_aValueSet.SetBorderStyle( WindowBorderStyle::MONO );
OUString aOneCharacter("AU");
long nItemWidth = 2*GetTextWidth( aOneCharacter );
m_aValueSet.SetItemWidth( nItemWidth );
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx
index cf749f635df4..f7ca32156f85 100644
--- a/cui/source/options/optcolor.cxx
+++ b/cui/source/options/optcolor.cxx
@@ -403,7 +403,7 @@ void ColorConfigWindow_Impl::Entry::SetAppearance(
// text (and optionally checkbox)
m_pText->SetBackground(aTextWall);
// preview
- m_pPreview->SetBorderStyle(WINDOW_BORDER_MONO);
+ m_pPreview->SetBorderStyle(WindowBorderStyle::MONO);
// color list
m_pColorList->CopyEntries(aSampleList);
m_pColorList->InsertAutomaticEntryColor(m_aDefaultColor);
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 9929334ee452..90401f5b2d55 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -210,7 +210,7 @@ BackgroundPreviewImpl::BackgroundPreviewImpl(vcl::Window* pParent)
, aDrawRect(Point(0,0), GetOutputSizePixel())
, nTransparency(0)
{
- SetBorderStyle(WINDOW_BORDER_MONO);
+ SetBorderStyle(WindowBorderStyle::MONO);
Paint(aDrawRect);
}
diff --git a/cui/source/tabpages/connect.cxx b/cui/source/tabpages/connect.cxx
index b4269d3e8145..d5e5bd12ae39 100644
--- a/cui/source/tabpages/connect.cxx
+++ b/cui/source/tabpages/connect.cxx
@@ -128,7 +128,7 @@ SvxConnectionPage::SvxConnectionPage( vcl::Window* pWindow, const SfxItemSet& rI
}
// disable 3D border
- m_pCtlPreview->SetBorderStyle(WINDOW_BORDER_MONO);
+ m_pCtlPreview->SetBorderStyle(WindowBorderStyle::MONO);
Link aLink( LINK( this, SvxConnectionPage, ChangeAttrHdl_Impl ) );
m_pMtrFldHorz1->SetModifyHdl( aLink );
diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx
index 2121a05dd41b..30e02587382c 100644
--- a/cui/source/tabpages/grfpage.cxx
+++ b/cui/source/tabpages/grfpage.cxx
@@ -757,7 +757,7 @@ SvxCropExample::SvxCropExample( vcl::Window* pPar, WinBits nStyle )
, aTopLeft(0,0)
, aBottomRight(0,0)
{
- SetBorderStyle( WINDOW_BORDER_MONO );
+ SetBorderStyle( WindowBorderStyle::MONO );
}
Size SvxCropExample::GetOptimalSize() const
diff --git a/cui/source/tabpages/measure.cxx b/cui/source/tabpages/measure.cxx
index dfeb8fef7cc0..5a3ee30df491 100644
--- a/cui/source/tabpages/measure.cxx
+++ b/cui/source/tabpages/measure.cxx
@@ -133,7 +133,7 @@ SvxMeasurePage::SvxMeasurePage( vcl::Window* pWindow, const SfxItemSet& rInAttrs
// set background and border of iconchoicectrl
const StyleSettings& rStyles = Application::GetSettings().GetStyleSettings();
m_pCtlPreview->SetBackground ( rStyles.GetWindowColor() );
- m_pCtlPreview->SetBorderStyle(WINDOW_BORDER_MONO);
+ m_pCtlPreview->SetBorderStyle(WindowBorderStyle::MONO);
Link aLink( LINK( this, SvxMeasurePage, ChangeAttrHdl_Impl ) );
m_pMtrFldLineDist->SetModifyHdl( aLink );
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index ed1599155ae1..a4af465f4334 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -86,7 +86,7 @@ SvxNumberPreview::SvxNumberPreview(vcl::Window* pParent, WinBits nStyle)
aFont.SetColor( Application::GetSettings().GetStyleSettings().GetFieldColor() );
SetFont( aFont );
InitSettings( true, true );
- SetBorderStyle( WINDOW_BORDER_MONO );
+ SetBorderStyle( WindowBorderStyle::MONO );
}
extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSvxNumberPreview(vcl::Window *pParent, VclBuilder::stringmap &)
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 5828d67bead2..ba36db566151 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -2281,7 +2281,7 @@ SvxNumberingPreview::SvxNumberingPreview(vcl::Window* pParent, WinBits nWinBits)
, bPosition(false)
, nActLevel(SAL_MAX_UINT16)
{
- SetBorderStyle(WINDOW_BORDER_MONO);
+ SetBorderStyle(WindowBorderStyle::MONO);
}
extern "C" SAL_DLLPUBLIC_EXPORT vcl::Window* SAL_CALL makeSvxNumberingPreview(vcl::Window *pParent, VclBuilder::stringmap &)