diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-07-25 18:51:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-07-25 23:23:38 +0200 |
commit | 75a5b5a850511bf1a0a32c113237085cbc069cc4 (patch) | |
tree | 35cedd1ddfd614ee384c0b8afe0210d61e5f74a4 /oox | |
parent | 167c3f9d94e503d99fbdcbf59bae47766cd239f3 (diff) |
-Werror,-Wformat (clang-cl)
Change-Id: I5b292aa58e14a2bc46ec9b2ecc93eaca2f03502d
Reviewed-on: https://gerrit.libreoffice.org/58001
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/vmlexport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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() ) { |