[Libreoffice-commits] core.git: svx/source

Tor Lillqvist tml at collabora.com
Wed Aug 13 10:39:12 PDT 2014


 svx/source/sidebar/area/AreaPropertyPanel.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 7659d1b6330631c6bd3e6a83006865708b905da5
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Aug 13 20:37:26 2014 +0300

    WaE: C4245: signed/unsigned mismatch
    
    Change-Id: I070123efc658484a54800743cdd447a1cd2f89d3

diff --git a/svx/source/sidebar/area/AreaPropertyPanel.cxx b/svx/source/sidebar/area/AreaPropertyPanel.cxx
index ac7cafd..885a408 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;
         }


More information about the Libreoffice-commits mailing list