diff options
author | Jan Holesovsky <kendy@suse.cz> | 2012-04-06 19:02:16 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-04-06 20:03:42 +0200 |
commit | 0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9 (patch) | |
tree | b0513cd3bf903aa65ee8c1998a1fb0a69c7cc4c9 /svx | |
parent | Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator (diff) | |
download | core-0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9.tar.gz core-0e1c0587617e0a6e4295a13599e97cdf6d1d2ea9.zip |
I suspect the logic is supposed to be the other way around.
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/table/cell.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx index c3e010d837a0..d6cbac4a9d36 100644 --- a/svx/source/table/cell.cxx +++ b/svx/source/table/cell.cxx @@ -754,10 +754,10 @@ OUString SAL_CALL Cell::getImplementationName( ) throw (RuntimeException) sal_Bool SAL_CALL Cell::supportsService( const OUString& ServiceName ) throw (RuntimeException) { - if( ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.table.cell" ) ) == 0 ) + if( ServiceName == "com.sun.star.table.cell" ) return sal_True; - if( ServiceName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.drawing.cell" ) ) == 0 ) + if( ServiceName == "com.sun.star.drawing.cell" ) return sal_True; return SvxUnoTextBase::supportsService( ServiceName ); |