diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-31 13:10:08 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-07 13:22:56 +0200 |
commit | c87a8fc6488dcbb2378acbfa921ec2d7ced0a73a (patch) | |
tree | 6f2159d78d421426b804b7aea1adccf53ac55460 /xmloff/source/text | |
parent | 98fd70592463ac6cc4df3bb535230780d44b9fbc (diff) |
remove unnecessary use of OUString constructor in XMLOFF module
Change-Id: I3bb704d2b1063cd8c2c903cbfa237a7723c321d2
Diffstat (limited to 'xmloff/source/text')
-rw-r--r-- | xmloff/source/text/txtstyli.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/xmloff/source/text/txtstyli.cxx b/xmloff/source/text/txtstyli.cxx index d0b03e4391cf..b9a05031b5e3 100644 --- a/xmloff/source/text/txtstyli.cxx +++ b/xmloff/source/text/txtstyli.cxx @@ -515,13 +515,11 @@ void XMLTextStyleContext::FillPropertySet( rAny >>= sFontName; if ( !sFontName.isEmpty() ) { - OUString sStarBats( "StarBats" ); - OUString sStarMath( "StarMath" ); - if ( sFontName.equalsIgnoreAsciiCase( sStarBats ) || - sFontName.equalsIgnoreAsciiCase( sStarMath ) ) + if ( sFontName.equalsIgnoreAsciiCase( "StarBats" ) || + sFontName.equalsIgnoreAsciiCase( "StarMath" ) ) { // construct new value - sFontName = OUString("StarSymbol"); + sFontName = "StarSymbol"; Any aAny( rAny ); aAny <<= sFontName; |