Kaydet (Commit) 4c3dbdd2 authored tarafından Eike Rathke's avatar Eike Rathke

converity#707956 Uninitialized scalar field

Change-Id: Ic341502383de8a5b0843d2c4c15e7388818a6027
üst eeec20dd
...@@ -123,6 +123,7 @@ AddressConverter::AddressConverter( const WorkbookHelper& rHelper ) : ...@@ -123,6 +123,7 @@ AddressConverter::AddressConverter( const WorkbookHelper& rHelper ) :
{ {
case FILTER_OOXML: case FILTER_OOXML:
initializeMaxPos( OOX_MAXTAB, OOX_MAXCOL, OOX_MAXROW ); initializeMaxPos( OOX_MAXTAB, OOX_MAXCOL, OOX_MAXROW );
maLinkChars.set( 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF );
break; break;
case FILTER_BIFF: switch( getBiff() ) case FILTER_BIFF: switch( getBiff() )
{ {
...@@ -149,7 +150,10 @@ AddressConverter::AddressConverter( const WorkbookHelper& rHelper ) : ...@@ -149,7 +150,10 @@ AddressConverter::AddressConverter( const WorkbookHelper& rHelper ) :
case BIFF_UNKNOWN: break; case BIFF_UNKNOWN: break;
} }
break; break;
case FILTER_UNKNOWN: break; case FILTER_UNKNOWN:
initializeMaxPos( 0, 0, 0 );
maLinkChars.set( 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF );
break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment