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

Khaled Hosny khaledhosny at eglug.org
Wed Nov 9 23:49:38 UTC 2016


 vcl/source/gdi/CommonSalLayout.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f6391d9696bfa7485bf785ac81edef4d5441e232
Author: Khaled Hosny <khaledhosny at eglug.org>
Date:   Thu Nov 10 01:48:29 2016 +0200

    Who would think sal_Int32 is not the same as int32_t
    
    Change-Id: I107cf27ea36e092ba3be45d255cc8622eb1c726f

diff --git a/vcl/source/gdi/CommonSalLayout.cxx b/vcl/source/gdi/CommonSalLayout.cxx
index 965b52a..705318c 100644
--- a/vcl/source/gdi/CommonSalLayout.cxx
+++ b/vcl/source/gdi/CommonSalLayout.cxx
@@ -412,10 +412,10 @@ bool CommonSalLayout::LayoutText(ImplLayoutArgs& rArgs)
             // orientation.
             if (rArgs.mnFlags & SalLayoutFlags::Vertical)
             {
-                int32_t nIdx = nMinRunPos;
+                sal_Int32 nIdx = nMinRunPos;
                 while (nIdx < nEndRunPos)
                 {
-                    int32_t nPrevIdx = nIdx;
+                    sal_Int32 nPrevIdx = nIdx;
                     sal_UCS4 aChar = rArgs.mrStr.iterateCodePoints(&nIdx);
                     switch (vcl::GetVerticalOrientation(aChar))
                     {


More information about the Libreoffice-commits mailing list