diff options
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/xoutdev/xattr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx index 23fd6de0beb0..10e950fa0430 100644 --- a/svx/source/xoutdev/xattr.cxx +++ b/svx/source/xoutdev/xattr.cxx @@ -889,9 +889,9 @@ bool XLineDashItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8 { for ( sal_Int32 n = 0; n < aPropSeq.getLength(); n++ ) { - if ( aPropSeq[n].Name.equalsAsciiL( "Name", 4 )) + if ( aPropSeq[n].Name.startsWith( "Name" )) aPropSeq[n].Value >>= aName; - else if ( aPropSeq[n].Name.equalsAsciiL( "LineDash", 8 )) + else if ( aPropSeq[n].Name.startsWith( "LineDash" )) { if ( aPropSeq[n].Value >>= aLineDash ) bLineDash = true; |