[Libreoffice-commits] core.git: oox/source
Michael Stahl
mstahl at redhat.com
Tue Apr 4 09:45:21 UTC 2017
oox/source/helper/propertymap.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ae013f9ce09fbb6709bc2af7b85c66dd31e73eff
Author: Michael Stahl <mstahl at redhat.com>
Date: Tue Apr 4 11:40:04 2017 +0200
oox: -Werror=format
Change-Id: I9036335c812992946e3164e517cbe7296b98759b
diff --git a/oox/source/helper/propertymap.cxx b/oox/source/helper/propertymap.cxx
index b40aea5a27bb..37cb0a497405 100644
--- a/oox/source/helper/propertymap.cxx
+++ b/oox/source/helper/propertymap.cxx
@@ -397,7 +397,7 @@ static void lclDumpAnyValue( const Any& value)
fprintf (stderr, "empty reference\n");
}
} else if( value >>= aWritingMode )
- fprintf (stderr, "%d writing mode\n", aWritingMode);
+ fprintf(stderr, "%d writing mode\n", static_cast<int>(aWritingMode));
else if( value >>= aTextVertAdj ) {
const char* s = "unknown";
switch( aTextVertAdj ) {
@@ -823,7 +823,7 @@ static const char* lclDumpAnyValueCode( const Any& value, int level)
}
}
else if( value >>= aWritingMode )
- fprintf (stderr, "%d writing mode\n", aWritingMode);
+ fprintf (stderr, "%d writing mode\n", static_cast<int>(aWritingMode));
else if( value >>= aTextVertAdj ) {
const char* s = "unknown";
switch( aTextVertAdj ) {
More information about the Libreoffice-commits
mailing list