diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-16 13:35:48 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-18 12:09:18 +0200 |
commit | a87676e32e0dce6bcc8f3cbe0c50f75555f28f3c (patch) | |
tree | 7af484d05526fc8c32803f2993f1c0503aa76794 /sc | |
parent | 94037e30f9e6b4d8724002a2a7c2a1a96dc94386 (diff) |
remove two cppcheck warnings in sc
Change-Id: Id22cfeab7c39c37a10d5508b7f0479f3fdc784a3
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/oox/formulaparser.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/filter/oox/formulaparser.cxx b/sc/source/filter/oox/formulaparser.cxx index a4e5f7100f7c..db95b1fbe4d5 100644 --- a/sc/source/filter/oox/formulaparser.cxx +++ b/sc/source/filter/oox/formulaparser.cxx @@ -2608,7 +2608,7 @@ void BiffFormulaParserImpl::skipMemAreaAddData( BiffInputStream& rStrm ) bool BiffFormulaParserImpl::readNlrSAddrAddData( BiffNlr& orNlr, BiffInputStream& rStrm, bool bRow ) { - bool bIsRow; + bool bIsRow = false; return readNlrSRangeAddData( orNlr, bIsRow, rStrm ) && (bIsRow == bRow); } diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index bb4d6fc863ed..56d3538e1dfc 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -638,8 +638,6 @@ public: void ScXMLExport::CollectSharedData(sal_Int32& nTableCount, sal_Int32& nShapesCount, const sal_Int32 nCellCount) { - ProgressBarUpdater(*GetProgressBarHelper(), nTableCount, nShapesCount, nCellCount); - if (!GetModel().is()) return; |