summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 76b31b566484..d8394435ed98 100644
--- a/sw/source/ui/vba/vbaselection.cxx
+++ b/sw/source/ui/vba/vbaselection.cxx
@@ -452,7 +452,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;
+ sal_Int32 nWhat = 0;
if( ( _what >>= nWhat ) != sal_True )
DebugHelper::exception(SbERR_BAD_ARGUMENT, rtl::OUString());
switch( nWhat )