summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev/xattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/xoutdev/xattr.cxx')
-rw-r--r--svx/source/xoutdev/xattr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index cf8070e09fc0..18745ef829f3 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -3461,9 +3461,9 @@ bool XFillGradientItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uI
{
for ( sal_Int32 n = 0; n < aPropSeq.getLength(); n++ )
{
- if ( aPropSeq[n].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Name" )))
+ if ( aPropSeq[n].Name == "Name" )
aPropSeq[n].Value >>= aName;
- else if ( aPropSeq[n].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "FillGradient" )))
+ else if ( aPropSeq[n].Name == "FillGradient" )
{
if ( aPropSeq[n].Value >>= aGradient2 )
bGradient = true;
@@ -4057,9 +4057,9 @@ bool XFillHatchItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8
{
for ( sal_Int32 n = 0; n < aPropSeq.getLength(); n++ )
{
- if ( aPropSeq[n].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "Name" )))
+ if ( aPropSeq[n].Name == "Name" )
aPropSeq[n].Value >>= aName;
- else if ( aPropSeq[n].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "FillHatch" )))
+ else if ( aPropSeq[n].Name == "FillHatch" )
{
if ( aPropSeq[n].Value >>= aUnoHatch )
bHatch = true;