diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-22 11:31:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-22 11:39:21 +0100 |
commit | 7cb3e55bf03c49608e2b54b5d90eddd423a0f891 (patch) | |
tree | ebf890a12be682f3f39dc4c7973b3288fad161f9 /sw/source/ui/vba/vbaselection.cxx | |
parent | 747ba6295d22c2e65be984cd750f240dc106482b (diff) |
bool improvements
Change-Id: Ib65a1e987ad6511e90fd66a36c0105593a1df27c
Diffstat (limited to 'sw/source/ui/vba/vbaselection.cxx')
-rw-r--r-- | sw/source/ui/vba/vbaselection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbaselection.cxx b/sw/source/ui/vba/vbaselection.cxx index 676baf762c9f..3a10c07e9749 100644 --- a/sw/source/ui/vba/vbaselection.cxx +++ b/sw/source/ui/vba/vbaselection.cxx @@ -555,7 +555,7 @@ SwVbaSelection::TypeBackspace() throw ( uno::RuntimeException ) uno::Reference< word::XRange > SAL_CALL SwVbaSelection::GoTo( const uno::Any& _what, const uno::Any& _which, const uno::Any& _count, const uno::Any& _name ) throw (uno::RuntimeException) { sal_Int32 nWhat = 0; - if( ( _what >>= nWhat ) != sal_True ) + if( !( _what >>= nWhat ) ) DebugHelper::exception(SbERR_BAD_ARGUMENT, OUString()); switch( nWhat ) { |