summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-10-31 15:53:52 +0100
committerEike Rathke <erack@redhat.com>2014-10-31 15:54:12 +0100
commit4c3dbdd2afafa6d112e8262b448ce9462472ee49 (patch)
tree55c3f80386860601ecfc2010f0be1b819e621e2d /sc
parenteeec20ddb3034bd2aef775d614d9d80019c7493f (diff)
converity#707956 Uninitialized scalar field
Change-Id: Ic341502383de8a5b0843d2c4c15e7388818a6027
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/addressconverter.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/filter/oox/addressconverter.cxx b/sc/source/filter/oox/addressconverter.cxx
index 75d5d33b7507..c3a8fb70ba3d 100644
--- a/sc/source/filter/oox/addressconverter.cxx
+++ b/sc/source/filter/oox/addressconverter.cxx
@@ -123,6 +123,7 @@ AddressConverter::AddressConverter( const WorkbookHelper& rHelper ) :
{
case FILTER_OOXML:
initializeMaxPos( OOX_MAXTAB, OOX_MAXCOL, OOX_MAXROW );
+ maLinkChars.set( 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF );
break;
case FILTER_BIFF: switch( getBiff() )
{
@@ -149,7 +150,10 @@ AddressConverter::AddressConverter( const WorkbookHelper& rHelper ) :
case BIFF_UNKNOWN: break;
}
break;
- case FILTER_UNKNOWN: break;
+ case FILTER_UNKNOWN:
+ initializeMaxPos( 0, 0, 0 );
+ maLinkChars.set( 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF );
+ break;
}
}