summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-09 12:51:35 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-12-09 16:50:46 +0000
commitee107cd95b4e449391da5f1fe9246682bcf1e6ce (patch)
tree24e2e6e2dcdfc86045f2a3a5dea7a28a0afb0fc3 /svx/source
parent8351eb25302a28c70ef5b2aaa1189db949dcf443 (diff)
fix equalsAscii conversion. Noticed in fdo#72391
In commit 363cc397172f2b0a94d9c4dc44fc8d95072795a3 "convert equalsAsciiL calls to startWith calls where possible" I incorrectly converted equalsAsciiL calls to startsWith calls. This commit fixes those places to use the == OUString operator. Change-Id: If76993baf73e3d8fb3bbcf6e8314e59fdc1207b6 Reviewed-on: https://gerrit.libreoffice.org/7008 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/xoutdev/xattr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 10e950fa0430..06325fe4b568 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.startsWith( "Name" ))
+ if ( aPropSeq[n].Name == "Name" )
aPropSeq[n].Value >>= aName;
- else if ( aPropSeq[n].Name.startsWith( "LineDash" ))
+ else if ( aPropSeq[n].Name == "LineDash" )
{
if ( aPropSeq[n].Value >>= aLineDash )
bLineDash = true;