summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-19 09:43:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-19 09:43:45 +0200
commite9645402b1e5aaf399aed68fe961fe6ebdb2df1e (patch)
tree85d6d422c9246d6698251409699fb6fa158a3827 /svx
parent474cd8ebc4a48f30fad3fd748aa363dbd0755477 (diff)
bogus warning C4701: potentially uninitialized local variable
Change-Id: Ide596b01efeba720ce313df86d3d4578728d968e
Diffstat (limited to 'svx')
-rw-r--r--svx/source/table/tablecontroller.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index c310cb224bc7..f51cd66db7d8 100644
--- a/svx/source/table/tablecontroller.cxx
+++ b/svx/source/table/tablecontroller.cxx
@@ -577,8 +577,8 @@ void SvxTableController::onInsert( sal_uInt16 nSId, const SfxItemSet* pArgs )
if( nRowSpan == 0 )
{
// we are not in a span yet. Let's find out if the current cell is in a span.
- sal_Int32 nColSpan;
- sal_Int32 nSpanInfoCol;
+ sal_Int32 nColSpan = sal_Int32();
+ sal_Int32 nSpanInfoCol = sal_Int32();
if( xSourceCell->getRowSpan() > 1 )
{
@@ -681,8 +681,8 @@ void SvxTableController::onInsert( sal_uInt16 nSId, const SfxItemSet* pArgs )
if( nColSpan == 0 )
{
// we are not in a span yet. Let's find out if the current cell is in a span.
- sal_Int32 nRowSpan;
- sal_Int32 nSpanInfoRow;
+ sal_Int32 nRowSpan = sal_Int32();
+ sal_Int32 nSpanInfoRow = sal_Int32();
if( xSourceCell->getColumnSpan() > 1 )
{