diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-08-30 23:17:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-08-31 09:04:16 +0200 |
commit | 0a7000e032a43e56e75c8e8066117683866fdc36 (patch) | |
tree | 83fbf349cdd238cc7bc08020a593e5649861aa44 /sc | |
parent | -Werror,-Wunused-private-field (Clang towards 3.2) (diff) | |
download | core-0a7000e032a43e56e75c8e8066117683866fdc36.tar.gz core-0a7000e032a43e56e75c8e8066117683866fdc36.zip |
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: Id2034a3ec40e1cfcd21f60e19f4faa99bb1f6164
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/expop2.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/filter/excel/expop2.cxx b/sc/source/filter/excel/expop2.cxx index 2cea93688092..f3808786a6a9 100644 --- a/sc/source/filter/excel/expop2.cxx +++ b/sc/source/filter/excel/expop2.cxx @@ -77,18 +77,16 @@ FltError ExportBiff5::Write() SotStorageRef xRootStrg = GetRootStorage(); OSL_ENSURE( xRootStrg.Is(), "ExportBiff5::Write - no root storage" ); - bool bWriteBasicCode = false; bool bWriteBasicStrg = false; if( GetBiff() == EXC_BIFF8 ) { const SvtFilterOptions& rFilterOpt = SvtFilterOptions::Get(); - bWriteBasicCode = rFilterOpt.IsLoadExcelBasicCode(); bWriteBasicStrg = rFilterOpt.IsLoadExcelBasicStorage(); } if( pDocShell && xRootStrg.Is() && bWriteBasicStrg ) { - SvxImportMSVBasic aBasicImport( *pDocShell, *xRootStrg, bWriteBasicCode, bWriteBasicStrg ); + SvxImportMSVBasic aBasicImport( *pDocShell, *xRootStrg ); sal_uLong nErr = aBasicImport.SaveOrDelMSVBAStorage( sal_True, EXC_STORAGE_VBA_PROJECT ); if( nErr != ERRCODE_NONE ) pDocShell->SetError( nErr, ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX ) ) ); |