summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba
diff options
context:
space:
mode:
authorNoel Power <npower@openoffice.org>2009-11-09 10:03:24 +0000
committerNoel Power <npower@openoffice.org>2009-11-09 10:03:24 +0000
commit287d1df89468af8f5aca4d5b055d426f311eeb55 (patch)
tree3a726657613cc11813734441056221928dadb1e2 /sw/source/ui/vba
parentd8bf9b91b408d63145ca45a8a4517649fb0ce424 (diff)
i#105455#
Diffstat (limited to 'sw/source/ui/vba')
-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 )