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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jul 25 21:24:01 UTC 2018


 oox/source/export/vmlexport.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 75a5b5a850511bf1a0a32c113237085cbc069cc4
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Jul 25 18:51:58 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jul 25 23:23:38 2018 +0200

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

diff --git a/oox/source/export/vmlexport.cxx b/oox/source/export/vmlexport.cxx
index 5594f3e416b8..3b314b603364 100644
--- a/oox/source/export/vmlexport.cxx
+++ b/oox/source/export/vmlexport.cxx
@@ -977,10 +977,10 @@ void VMLExport::Commit( EscherPropertyContainer& rProps, const tools::Rectangle&
 #if OSL_DEBUG_LEVEL > 0
                 const size_t opt_nProp_size(opt.nProp.size());
                 const sal_uInt8 opt_nProp_empty(0);
-                fprintf( stderr, "TODO VMLExport::Commit(), unimplemented id: %d, value: %" SAL_PRIuUINT32 ", data: [%" SAL_PRIuUINT32 ", %p]\n",
+                fprintf( stderr, "TODO VMLExport::Commit(), unimplemented id: %d, value: %" SAL_PRIuUINT32 ", data: [%zu, %p]\n",
                         nId,
                         opt.nPropValue,
-                        static_cast<unsigned int>(opt_nProp_size),
+                        opt_nProp_size,
                         0 == opt_nProp_size ? &opt_nProp_empty : &opt.nProp[0]);
                 if ( opt.nProp.size() )
                 {


More information about the Libreoffice-commits mailing list