summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/fillctrl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-30 15:47:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-31 06:59:31 +0000
commitdcffc21805828ddff7de1282f3d40ffdf3fac38d (patch)
tree1b4e81850b3fcd42cee470a18413745732c36c4a /svx/source/tbxctrls/fillctrl.cxx
parent7fca8e61ce992e9dc6f900b77142a123c0c10b6d (diff)
use actual UNO enums in svx
Change-Id: I00f53260667861ca2595892b5605479da3401adb Reviewed-on: https://gerrit.libreoffice.org/35913 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/tbxctrls/fillctrl.cxx')
-rw-r--r--svx/source/tbxctrls/fillctrl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx
index bbbaf61f47ff..0fdabe726ddd 100644
--- a/svx/source/tbxctrls/fillctrl.cxx
+++ b/svx/source/tbxctrls/fillctrl.cxx
@@ -64,7 +64,7 @@ SvxFillToolBoxControl::SvxFillToolBoxControl(
, mpFillControl(nullptr)
, mpLbFillType(nullptr)
, mpLbFillAttr(nullptr)
- , meLastXFS(static_cast<sal_uInt16>(-1))
+ , meLastXFS(static_cast<drawing::FillStyle>(-1))
, mnLastPosGradient(0)
, mnLastPosHatch(0)
, mnLastPosBitmap(0)
@@ -102,7 +102,7 @@ void SvxFillToolBoxControl::StateChanged(
mpLbFillAttr->Disable();
mpLbFillAttr->SetNoSelection();
mpToolBoxColor->Hide();
- meLastXFS = static_cast<sal_uInt16>(-1);
+ meLastXFS = static_cast<drawing::FillStyle>(-1);
mpStyleItem.reset();
}
@@ -134,7 +134,7 @@ void SvxFillToolBoxControl::StateChanged(
mpLbFillAttr->Disable();
mpLbFillAttr->SetNoSelection();
mpToolBoxColor->Hide();
- meLastXFS = static_cast<sal_uInt16>(-1);
+ meLastXFS = static_cast<drawing::FillStyle>(-1);
mpStyleItem.reset();
break;
}
@@ -734,7 +734,7 @@ IMPL_LINK_NOARG(SvxFillToolBoxControl, SelectFillTypeHdl, ListBox&, void)
}
}
- meLastXFS = (sal_uInt16)eXFS;
+ meLastXFS = eXFS;
if(drawing::FillStyle_NONE != eXFS)
{