summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-22 16:58:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-22 20:32:02 +0100
commit81202ae7487b139cb473ff85634003b36d67e8c4 (patch)
tree5f204d5078b696b2f99aa360d3042a24b34a213b /cui
parentda2c3cf0aa78cb3363b3ded2bebc418d0cc7ffca (diff)
Related: fdo#38838 remove UniString::CompareIgnoreCaseToAscii
Change-Id: I4a9b34d63d2534a35aa9a878b8c2bec15262c2be
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optpath.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 7a4ac8db4273..e0b5b08acfee 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -489,14 +489,14 @@ void SvxPathTabPage::ChangeCurrentEntry( const String& _rFolder )
aNewObj.removeFinalSlash();
// then the new path also an URL else system path
- String sNewPathStr = bURL ? aPathStr : aNewObj.getFSysPath( INetURLObject::FSYS_DETECT );
+ OUString sNewPathStr = bURL ? aPathStr : aNewObj.getFSysPath( INetURLObject::FSYS_DETECT );
bool bChanged =
#ifdef UNX
// Unix is case sensitive
( sNewPathStr != sWritable );
#else
- ( sNewPathStr.CompareIgnoreCaseToAscii( sWritable ) != COMPARE_EQUAL );
+ ( !sNewPathStr.equalsIgnoreAsciiCase( sWritable ) );
#endif
if ( bChanged )