summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 14:09:04 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-04-08 19:24:00 +0200
commite4fb171d3ad15ae9abbc93d9db956674498c9dd5 (patch)
tree6d297c3054a7de5a8baee08db9237d0f01fffb52 /fpicker
parentOUString( whatever ? "foo" : "bar" ) does not work with MSVC (diff)
downloadcore-e4fb171d3ad15ae9abbc93d9db956674498c9dd5.tar.gz
core-e4fb171d3ad15ae9abbc93d9db956674498c9dd5.zip
Replaced a few equal calls with ==
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/OfficeFilePicker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx
index d500b2fa42d6..565964f90ef2 100644
--- a/fpicker/source/office/OfficeFilePicker.cxx
+++ b/fpicker/source/office/OfficeFilePicker.cxx
@@ -1071,7 +1071,7 @@ void SAL_CALL SvtFilePicker::initialize( const Sequence< Any >& _rArguments )
if (aArguments[i] >>= namedValue )
{
- if ( namedValue.Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "StandardDir" ) ) ) )
+ if ( namedValue.Name == "StandardDir" )
{
::rtl::OUString sStandardDir;
@@ -1083,7 +1083,7 @@ void SAL_CALL SvtFilePicker::initialize( const Sequence< Any >& _rArguments )
m_aStandardDir = sStandardDir;
}
}
- else if ( namedValue.Name.equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "BlackList" ) ) ) )
+ else if ( namedValue.Name == "BlackList" )
{
namedValue.Value >>= m_aBlackList;
}