[Libreoffice-commits] core.git: Branch 'feature/gsoc-impresslayout' - sd/source

Thorsten Behrens tbehrens at suse.com
Mon Jul 29 11:48:36 PDT 2013


 sd/source/core/sdpage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 700a665d3777d92a0967eb2c36d5ccbc079ba9e6
Author: Thorsten Behrens <tbehrens at suse.com>
Date:   Mon Jul 29 20:40:51 2013 +0200

    Fix a warning.
    
    Change-Id: I522d4d950c3eed61a6e247557e48fbbf952e435e

diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 4ac9ed9..d070a3f 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -1410,7 +1410,7 @@ static void CalcAutoLayoutRectangles( SdPage& rPage, int nLayout, Rectangle* rRe
     sal_Bool    bRightToLeft = ( rPage.GetModel() && static_cast< SdDrawDocument* >( rPage.GetModel() )->GetDefaultWritingMode() == ::com::sun::star::text::WritingMode_RL_TB );
 
     parseXml(); //calling this for temporary reference,have to use it somewhere else.
-    for(int y=0; y < layoutinfo.size(); y++) //loop through vector of Xnodes
+    for(size_t y=0; y < layoutinfo.size(); y++) //loop through vector of Xnodes
     {
         Reference<XNode> layoutnode = layoutinfo[y];      //get i'th layout element
         Reference<XNamedNodeMap> layoutattrlist =layoutnode->getAttributes();


More information about the Libreoffice-commits mailing list