diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-05-10 15:50:44 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-05-10 15:51:53 -0400 |
commit | e960fe88dd29980dcd902c5d2464c93fc5f6254e (patch) | |
tree | e1a8cdbf3851a7b1eacc3455f395a4e273f0ed0e /sc/source/ui/unoobj | |
parent | 357b6c357b656d177a82b195650d0a18b99f4662 (diff) |
More cleanups of ScDBData.
String to rtl::OUString, tabs to whitespaces etc.
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r-- | sc/source/ui/unoobj/datauno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx index a6212a3c6..0e7fcfaf4 100644 --- a/sc/source/ui/unoobj/datauno.cxx +++ b/sc/source/ui/unoobj/datauno.cxx @@ -2092,8 +2092,8 @@ uno::Any SAL_CALL ScDatabaseRangeObj::getPropertyValue( const rtl::OUString& aPr else if ( aString.EqualsAscii( SC_UNONAME_ISUSER ) ) { // all database ranges except "unnamed" are user defined - ScUnoHelpFunctions::SetBoolInAny( aRet, - ( pData->GetName() != String(RTL_CONSTASCII_USTRINGPARAM(STR_DB_LOCAL_NONAME)) ) ); + ScUnoHelpFunctions::SetBoolInAny( + aRet, !pData->GetName().equalsAscii(STR_DB_LOCAL_NONAME)); } else if ( aString.EqualsAscii( SC_UNO_LINKDISPBIT ) ) { |