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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Aug 16 11:37:27 UTC 2018


 lotuswordpro/source/filter/lwpgrfobj.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2dc14bee879903bd8824b0ca0ced2d48df7b19f2
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Aug 16 10:07:14 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Thu Aug 16 13:37:05 2018 +0200

    -Werror,-Wformat (clang-cl)
    
    Change-Id: I2605d5d9bc201bac8160c96b47c6e03181fcbfc3
    Reviewed-on: https://gerrit.libreoffice.org/59156
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/lotuswordpro/source/filter/lwpgrfobj.cxx b/lotuswordpro/source/filter/lwpgrfobj.cxx
index 26b3b8a52be5..2fc8d2ee3380 100644
--- a/lotuswordpro/source/filter/lwpgrfobj.cxx
+++ b/lotuswordpro/source/filter/lwpgrfobj.cxx
@@ -316,7 +316,7 @@ void LwpGraphicObject::GetBentoNamebyID(LwpObjectID const & rMyID, std::string&
     sal_uInt32 nLow = rMyID.GetLow();
     char pTempStr[32];
     rName = std::string("Gr");
-    sprintf(pTempStr, "%X,%X", nHigh, nLow);
+    sprintf(pTempStr, "%X,%" SAL_PRIXUINT32, nHigh, nLow);
     rName.append(pTempStr);
 }
 


More information about the Libreoffice-commits mailing list