summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-08 15:40:06 +0200
committerNoel Grandin <noel@peralex.com>2015-05-13 08:42:33 +0200
commit61eb53d39a8d90167dc5599c2a2092626788a630 (patch)
tree4b7b2b2149c178867fa3ab8d048cfce537aa9fab /svtools
parent0ac80267730300f53e2410ffe9c0883f19f656a6 (diff)
convert FRAME_DRAW constants to scoped enum
Change-Id: I98e52aa56ec063ecc8f3d10baef65eb293c726bf
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/valueset.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index 29c9e18c3488..75882c4fb81e 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -75,7 +75,7 @@ void ValueSet::ImplInit()
mnUserCols = 0;
mnUserVisLines = 0;
mnSpacing = 0;
- mnFrameStyle = 0;
+ mnFrameStyle = DrawFrameStyle::NONE;
mbFormat = true;
mbHighlight = false;
mbSelection = false;
@@ -524,9 +524,9 @@ void ValueSet::Format(vcl::RenderContext& rRenderContext)
// determine Frame-Style
if (nStyle & WB_DOUBLEBORDER)
- mnFrameStyle = FRAME_DRAW_DOUBLEIN;
+ mnFrameStyle = DrawFrameStyle::DoubleIn;
else
- mnFrameStyle = FRAME_DRAW_IN;
+ mnFrameStyle = DrawFrameStyle::In;
// determine selected color and width
// if necessary change the colors, to make the selection