[Libreoffice-commits] core.git: svx/source
Stephan Bergmann
sbergman at redhat.com
Fri Sep 19 00:44:22 PDT 2014
svx/source/table/tablecontroller.cxx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit e9645402b1e5aaf399aed68fe961fe6ebdb2df1e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Sep 19 09:43:20 2014 +0200
bogus warning C4701: potentially uninitialized local variable
Change-Id: Ide596b01efeba720ce313df86d3d4578728d968e
diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx
index c310cb2..f51cd66 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 )
{
More information about the Libreoffice-commits
mailing list