diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-20 13:46:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-20 13:56:09 +0200 |
commit | f8b22654197178a441d383398b515bb2fb6deaf2 (patch) | |
tree | 5bc460ea1a3a2016172cd2db2646937822d8a894 /svx | |
parent | 9cb0fc7801db40ab337c20591ec4674b941ba01a (diff) |
remove RTL_CONSTASCII_STRINGPARAM in OUString::matchAsciiL calls
Convert code like:
defaultValue.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "nextval(" ) );
to:
defaultValue.startsWith( "nextval(" );
Change-Id: I77bdcbf46bec6ded3c16a8248634b1424a1eb4f0
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShape2d.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx index 5665cc93e1df..b3a780b14109 100644 --- a/svx/source/customshapes/EnhancedCustomShape2d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx @@ -1615,7 +1615,7 @@ void EnhancedCustomShape2d::CreateSubPath( sal_uInt16& rSrcPt, sal_uInt16& rSegm if ( pAny ) *pAny >>= sShpType; if( sShpType.getLength() > 3 && - sShpType.matchAsciiL( RTL_CONSTASCII_STRINGPARAM( "mso" ))){ + sShpType.startsWith( "mso" )){ bIsMSEllipse = true; } if( (! bIsDefaultPath && ! bIsDefaultViewBox) || (bIsDefaultViewBox && bIsMSEllipse) /*&& (nGeneratorVersion == SfxObjectShell::Sym_L2)*/ ) |