summaryrefslogtreecommitdiff
path: root/oox/source/xls
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/xls')
-rwxr-xr-xoox/source/xls/autofilterbuffer.cxx2
-rw-r--r--oox/source/xls/drawingfragment.cxx1
-rw-r--r--oox/source/xls/excelfilter.cxx2
3 files changed, 1 insertions, 4 deletions
diff --git a/oox/source/xls/autofilterbuffer.cxx b/oox/source/xls/autofilterbuffer.cxx
index 9017fefa9e9c..edee85dc3583 100755
--- a/oox/source/xls/autofilterbuffer.cxx
+++ b/oox/source/xls/autofilterbuffer.cxx
@@ -574,7 +574,7 @@ ApiFilterSettings CustomFilter::finalizeImport( sal_Int32 /*nMaxCount*/ )
else if( aIt->maValue.has< double >() )
{
// floating-point argument
- double fValue;
+ double fValue = 0.0;
aIt->maValue >>= fValue;
aSettings.appendField( mbAnd, nOperator, fValue );
}
diff --git a/oox/source/xls/drawingfragment.cxx b/oox/source/xls/drawingfragment.cxx
index 5ba60ffeb4d3..e50883ec4fbc 100644
--- a/oox/source/xls/drawingfragment.cxx
+++ b/oox/source/xls/drawingfragment.cxx
@@ -776,7 +776,6 @@ Reference< XShape > VmlDrawing::createAndInsertClientXShape( const ::oox::vml::S
if( (aShapeName.getLength() > 0) && pClientData )
{
Rectangle aShapeRect = rShapeRect;
- const GraphicHelper& rGraphicHelper = getBaseFilter().getGraphicHelper();
const ::oox::vml::TextBox* pTextBox = rShape.getTextBox();
EmbeddedControl aControl( aShapeName );
switch( pClientData->mnObjType )
diff --git a/oox/source/xls/excelfilter.cxx b/oox/source/xls/excelfilter.cxx
index 13d4cbd14fcc..aeac1494c338 100644
--- a/oox/source/xls/excelfilter.cxx
+++ b/oox/source/xls/excelfilter.cxx
@@ -278,8 +278,6 @@ ExcelVbaProjectFilter::ExcelVbaProjectFilter( const Reference< XComponentContext
bool ExcelVbaProjectFilter::importDocument() throw()
{
- bool bRet = false;
-
// detect BIFF version and workbook stream name
OUString aWorkbookName;
BiffType eBiff = BiffDetector::detectStorageBiffVersion( aWorkbookName, getStorage() );