summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaselection.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-22 11:31:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-22 11:39:21 +0100
commit7cb3e55bf03c49608e2b54b5d90eddd423a0f891 (patch)
treeebf890a12be682f3f39dc4c7973b3288fad161f9 /sw/source/ui/vba/vbaselection.cxx
parent747ba6295d22c2e65be984cd750f240dc106482b (diff)
bool improvements
Change-Id: Ib65a1e987ad6511e90fd66a36c0105593a1df27c
Diffstat (limited to 'sw/source/ui/vba/vbaselection.cxx')
-rw-r--r--sw/source/ui/vba/vbaselection.cxx2
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 )
{