diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-04 08:54:40 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-04 11:52:31 +0200 |
commit | adc20c3937f3119d39af5a0c8e4a439d8127fe63 (patch) | |
tree | 8722ff80bf1cc00e8d099a87767e2290aaab0aa4 /sc | |
parent | 06a09dd0ad1e8afcf69e877501036e068d477438 (diff) |
compareToAscii -> equalsAscii
convert places using compareToAscii that should be using equalsAscii
Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/unoobj/eventuno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/eventuno.cxx b/sc/source/ui/unoobj/eventuno.cxx index 969f680f955d..e72d8062324b 100644 --- a/sc/source/ui/unoobj/eventuno.cxx +++ b/sc/source/ui/unoobj/eventuno.cxx @@ -96,7 +96,7 @@ void SAL_CALL ScSheetEventsObj::replaceByName( const OUString& aName, const uno: if ( rProp.Value >>= aEventType ) { // only "Script" is supported - if ( aEventType.compareToAscii( SC_UNO_SCRIPT ) != 0 ) + if ( ! aEventType.equalsAscii( SC_UNO_SCRIPT ) ) throw lang::IllegalArgumentException(); } } |