[Libreoffice-commits] core.git: sw/qa

Stephan Bergmann sbergman at redhat.com
Tue Mar 14 13:48:49 UTC 2017


 sw/qa/extras/uiwriter/uiwriter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1f088b72bb2eecdbe2b8a28bb05048f3b17a2a6f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 14 14:47:59 2017 +0100

    -Werror,-Wformat (clang-cl)
    
    Change-Id: I33e11937c578e4661aea47c0e14e0524b08e00b3

diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index 562bfd1..af266fa 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -3617,7 +3617,7 @@ void SwUiWriterTest::testTdf77014()
 
         for (auto& rPortionItem : aHandler.mPortionItems)
         {
-            printf ("-- Type: %s length: %d text type: %d\n",
+            printf ("-- Type: %s length: %" SAL_PRIdINT32 " text type: %d\n",
                         rPortionItem.msItemType.toUtf8().getStr(),
                         rPortionItem.mnLength,
                         rPortionItem.mnTextType);


More information about the Libreoffice-commits mailing list