summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-13 20:37:26 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-13 20:37:26 +0300
commit7659d1b6330631c6bd3e6a83006865708b905da5 (patch)
tree5030c1a8e523b8703cade63b17b58ec1bef99410 /svx
parent03889338f65ece7cac8e881b883db454e95e8fd7 (diff)
WaE: C4245: signed/unsigned mismatch
Change-Id: I070123efc658484a54800743cdd447a1cd2f89d3
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/area/AreaPropertyPanel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/sidebar/area/AreaPropertyPanel.cxx b/svx/source/sidebar/area/AreaPropertyPanel.cxx
index ac7cafd7890e..885a4085a8be 100644
--- a/svx/source/sidebar/area/AreaPropertyPanel.cxx
+++ b/svx/source/sidebar/area/AreaPropertyPanel.cxx
@@ -64,7 +64,7 @@ AreaPropertyPanel::AreaPropertyPanel(
const cssu::Reference<css::frame::XFrame>& rxFrame,
SfxBindings* pBindings)
: PanelLayout(pParent, "AreaPropertyPanel", "svx/ui/sidebararea.ui", rxFrame),
- meLastXFS(-1),
+ meLastXFS(static_cast<sal_uInt16>(-1)),
maLastColor(Color(COL_DEFAULT_SHAPE_FILLING)),
mnLastPosGradient(0),
mnLastPosHatch(0),
@@ -808,7 +808,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
mpLbFillAttr->Disable();
mpLbFillAttr->SetNoSelection();
mpToolBoxColor->Hide();
- meLastXFS = -1;
+ meLastXFS = static_cast<sal_uInt16>(-1);
mpStyleItem.reset();
}
@@ -841,7 +841,7 @@ void AreaPropertyPanel::NotifyItemUpdate(
mpLbFillAttr->Disable();
mpLbFillAttr->SetNoSelection();
mpToolBoxColor->Hide();
- meLastXFS = -1;
+ meLastXFS = static_cast<sal_uInt16>(-1);
mpStyleItem.reset();
break;
}