summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-04 10:56:52 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 12:14:21 +0100
commit6900a3bfb7bc7a61f81448f28413c439d8c07f3e (patch)
tree858c4a9c337899a2da4247d5b9447899ff979303 /sc
parenta7b6623b1f473c631d9d203dc714ca0c03938ac3 (diff)
coverity#707958 Uninitialized scalar field
Change-Id: Ic21f72913c944510baeca3f0ec424485c72745c0
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/externallinkfragment.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/filter/oox/externallinkfragment.cxx b/sc/source/filter/oox/externallinkfragment.cxx
index 605a54e4edd9..b9059973794a 100644
--- a/sc/source/filter/oox/externallinkfragment.cxx
+++ b/sc/source/filter/oox/externallinkfragment.cxx
@@ -41,9 +41,10 @@ using namespace ::oox::core;
ExternalSheetDataContext::ExternalSheetDataContext(
- WorkbookFragmentBase& rFragment, const Reference< XExternalSheetCache >& rxSheetCache ) :
- WorkbookContextBase( rFragment ),
- mxSheetCache( rxSheetCache )
+ WorkbookFragmentBase& rFragment, const Reference< XExternalSheetCache >& rxSheetCache )
+ : WorkbookContextBase(rFragment)
+ , mxSheetCache(rxSheetCache)
+ , mnCurrType(XML_TOKEN_INVALID)
{
OSL_ENSURE( mxSheetCache.is(), "ExternalSheetDataContext::ExternalSheetDataContext - missing sheet cache" );
}