summaryrefslogtreecommitdiff
path: root/sc/source/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-02 18:34:04 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-02 18:34:04 +0100
commite802e960f8f7343eec1a14eba70b7affc6298968 (patch)
tree4fbe895f2948f9f5a4655a680a33937a0810b30b /sc/source/filter
parentb8431e03bdedfbd2126f78e0464921b0583f7f9a (diff)
-Werror,-Wformat
Change-Id: I33a1ff0ba75e26daf9c368a36629122582a85b01
Diffstat (limited to 'sc/source/filter')
-rw-r--r--sc/source/filter/html/htmlexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/html/htmlexp.cxx b/sc/source/filter/html/htmlexp.cxx
index 822c5a331192..18a76fa07942 100644
--- a/sc/source/filter/html/htmlexp.cxx
+++ b/sc/source/filter/html/htmlexp.cxx
@@ -550,7 +550,7 @@ OString ScHTMLExport::BorderToStyle(const char* pBorderName,
// color
char hex[7];
- snprintf( hex, 7, "%06x", static_cast<sal_uInt32>( pLine->GetColor().GetRGBColor() ) );
+ snprintf( hex, 7, "%06" SAL_PRIxUINT32, static_cast<sal_uInt32>( pLine->GetColor().GetRGBColor() ) );
hex[6] = 0;
aOut.append(hex);