diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-01 16:14:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-03-06 06:51:00 +0100 |
commit | ffee771f8dae50aea716ffc0def4ef5fe5c104d2 (patch) | |
tree | a44446911fd212a81600079c334db12c872a071a /svx/source/dialog | |
parent | 4eb78dc722e33f03b4ee57d43cbc64fe94e6e9cf (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 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/hexcolorcontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/hexcolorcontrol.cxx b/svx/source/dialog/hexcolorcontrol.cxx index 69032b1551fe..61d38bdeb619 100644 --- a/svx/source/dialog/hexcolorcontrol.cxx +++ b/svx/source/dialog/hexcolorcontrol.cxx @@ -30,7 +30,7 @@ VCL_BUILDER_FACTORY_ARGS(HexColorControl, WB_BORDER) void HexColorControl::SetColor(Color nColor) { OUStringBuffer aBuffer; - sax::Converter::convertColor(aBuffer, sal_Int32(nColor)); + sax::Converter::convertColor(aBuffer, nColor); SetText(aBuffer.makeStringAndClear().copy(1)); } |