summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-04-04 11:40:04 +0200
committerMichael Stahl <mstahl@redhat.com>2017-04-04 11:41:18 +0200
commitae013f9ce09fbb6709bc2af7b85c66dd31e73eff (patch)
tree6bcf299eba21a250585c7d8b42ac6449479b3456 /oox
parent86b17cd32c5dfefefcf84c05104ab6d1ec953733 (diff)
oox: -Werror=format
Change-Id: I9036335c812992946e3164e517cbe7296b98759b
Diffstat (limited to 'oox')
-rw-r--r--oox/source/helper/propertymap.cxx4
1 files changed, 2 insertions, 2 deletions
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 ) {