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

Stephan Bergmann sbergman at redhat.com
Wed Oct 12 15:23:51 UTC 2016


 reportdesign/source/ui/inspection/GeometryHandler.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bac147271317c883bf36dbe41d09036f627e005b
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 12 17:20:58 2016 +0200

    warning C4018: '<' : signed/unsigned mismatch
    
    Change-Id: Ie326f95e165ffd0988bc5aff76370b8e86d158d5

diff --git a/reportdesign/source/ui/inspection/GeometryHandler.cxx b/reportdesign/source/ui/inspection/GeometryHandler.cxx
index 589e9dc..214b6a5 100644
--- a/reportdesign/source/ui/inspection/GeometryHandler.cxx
+++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx
@@ -1252,7 +1252,7 @@ uno::Any SAL_CALL GeometryHandler::convertToControlValue(const OUString & Proper
                 aPropertyValue >>= nParagraphVertAlign;
                 ModuleRes aRes(RID_STR_VERTICAL_ALIGN_CONST);
                 ResStringArray aResList(aRes);
-                if (nParagraphVertAlign < aResList.Count())
+                if (sal_uInt32(nParagraphVertAlign) < aResList.Count())
                     aControlValue <<= aResList.GetString(nParagraphVertAlign);
             }
             break;


More information about the Libreoffice-commits mailing list