summaryrefslogtreecommitdiff
path: root/vcl/source/control/imgctrl.cxx
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 /vcl/source/control/imgctrl.cxx
parent43327878920f424f8bac1114bee51c54609796c5 (diff)
fdo#84938: replace WINDOW_BORDER constants with enum
Change-Id: I91ca8e09971aee26f16257a4fd01125cfb2ebcdb
Diffstat (limited to 'vcl/source/control/imgctrl.cxx')
-rw-r--r--vcl/source/control/imgctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/imgctrl.cxx b/vcl/source/control/imgctrl.cxx
index 6a8082fb5de2..efd64c825d68 100644
--- a/vcl/source/control/imgctrl.cxx
+++ b/vcl/source/control/imgctrl.cxx
@@ -139,7 +139,7 @@ void ImageControl::Paint( const Rectangle& /*rRect*/ )
{
vcl::Window *pWin = GetWindow( WINDOW_BORDER );
- bool bFlat = (GetBorderStyle() == 2);
+ bool bFlat = (GetBorderStyle() == WindowBorderStyle::MONO);
Rectangle aRect( Point(0,0), pWin->GetOutputSizePixel() );
Color oldLineCol = pWin->GetLineColor();
Color oldFillCol = pWin->GetFillColor();