svx/source/table/tablecontroller.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit e9645402b1e5aaf399aed68fe961fe6ebdb2df1e Author: Stephan Bergmann <sberg...@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 ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits