diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-13 12:10:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2013-11-14 06:16:12 +0000 |
commit | 39c8da8c86decbe3443a786ad445a18b0078daa3 (patch) | |
tree | 6a94899b413111ddf497885b17bb8df751a0d9f6 /xmloff/source/style/DashStyle.cxx | |
parent | f50699c816de8e4be3433c6387e37d92aedd41a0 (diff) |
remove unnecessary sal_Unicode casts in XMLOFF module
Change-Id: I836c7a28d5ec9039c0b185e8db2aa6d01ac62566
Reviewed-on: https://gerrit.libreoffice.org/6665
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmloff/source/style/DashStyle.cxx')
-rw-r--r-- | xmloff/source/style/DashStyle.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/DashStyle.cxx b/xmloff/source/style/DashStyle.cxx index 108f11ce7fd9..6743026482dd 100644 --- a/xmloff/source/style/DashStyle.cxx +++ b/xmloff/source/style/DashStyle.cxx @@ -141,7 +141,7 @@ sal_Bool XMLDashStyleImport::importXML( case XML_TOK_DASH_DOTS1LEN: { - if( rStrValue.indexOf( sal_Unicode('%') ) != -1 ) // it's a percentage + if( rStrValue.indexOf( '%' ) != -1 ) // it's a percentage { bIsRel = true; ::sax::Converter::convertPercent(aLineDash.DotLen, rStrValue); @@ -160,7 +160,7 @@ sal_Bool XMLDashStyleImport::importXML( case XML_TOK_DASH_DOTS2LEN: { - if( rStrValue.indexOf( sal_Unicode('%') ) != -1 ) // it's a percentage + if( rStrValue.indexOf( '%' ) != -1 ) // it's a percentage { bIsRel = true; ::sax::Converter::convertPercent(aLineDash.DashLen, rStrValue); @@ -175,7 +175,7 @@ sal_Bool XMLDashStyleImport::importXML( case XML_TOK_DASH_DISTANCE: { - if( rStrValue.indexOf( sal_Unicode('%') ) != -1 ) // it's a percentage + if( rStrValue.indexOf( '%' ) != -1 ) // it's a percentage { bIsRel = true; ::sax::Converter::convertPercent(aLineDash.Distance, rStrValue); |