summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 16:14:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-06 06:51:00 +0100
commitffee771f8dae50aea716ffc0def4ef5fe5c104d2 (patch)
treea44446911fd212a81600079c334db12c872a071a /xmloff/source/style
parent4eb78dc722e33f03b4ee57d43cbc64fe94e6e9cf (diff)
add some color conversion methods to sax::Converter
to make the call-sites less verbose Change-Id: Ifddcbb03a454a241bef93f31a8025801b84a66fc Reviewed-on: https://gerrit.libreoffice.org/50578 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index cc7dc555a106..99366b9800fc 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -349,7 +349,7 @@ void SvXMLNumFmtExport::WriteColorElement_Impl( const Color& rColor )
FinishTextElement_Impl();
OUStringBuffer aColStr( 7 );
- ::sax::Converter::convertColor( aColStr, rColor.GetColor() );
+ ::sax::Converter::convertColor( aColStr, rColor );
rExport.AddAttribute( XML_NAMESPACE_FO, XML_COLOR,
aColStr.makeStringAndClear() );