summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/oox/workbookhelper.cxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-07-16 20:31:48 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-27 06:49:16 +0000
commite73c4d5013d7a0bf7d72db1773d7125ab91cf269 (patch)
tree2cb3ce794495c24e427cb7525d8785071b42a65e /sc/source/filter/oox/workbookhelper.cxx
parentimprove passstuffbyref return analysis (diff)
downloadcore-e73c4d5013d7a0bf7d72db1773d7125ab91cf269.tar.gz
core-e73c4d5013d7a0bf7d72db1773d7125ab91cf269.zip
sc: meBiff is always set to BiffType::BIFF_UNKNOWN
remove meBeff and GetBiff(). adapt uses. remove enum BiffType, because only use is gone. keep BiffType symbols as comment for documetation. Change-Id: I7019a21b80fd5b5f0b92458f83dd9e34bc704731 Reviewed-on: https://gerrit.libreoffice.org/27253 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/filter/oox/workbookhelper.cxx')
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 2af4dcb95d5f..4c3029646944 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -224,8 +224,6 @@ public:
// BIFF2-BIFF8 specific ---------------------------------------------------
- /** Returns the BIFF type in binary filter. */
- inline BiffType getBiff() const { return meBiff; }
/** Returns the text encoding used to import/export byte strings. */
inline rtl_TextEncoding getTextEncoding() const { return meTextEnc; }
/** Returns the codec helper that stores the encoder/decoder object. */
@@ -303,7 +301,6 @@ private:
// BIFF2-BIFF8 specific
BiffCodecHelperPtr mxCodecHelper; /// Encoder/decoder helper.
- BiffType meBiff; /// BIFF version for BIFF import/export.
rtl_TextEncoding meTextEnc; /// BIFF byte string text encoding.
ScDocument* mpDoc;
ScDocShell* mpDocShell;
@@ -314,7 +311,6 @@ WorkbookGlobals::WorkbookGlobals( ExcelFilter& rFilter ) :
mrBaseFilter( rFilter ),
mrExcelFilter( rFilter ),
mpOoxFilter( &rFilter ),
- meBiff( BIFF_UNKNOWN ),
mpDoc(nullptr),
mpDocShell(nullptr)
{
@@ -974,11 +970,6 @@ bool WorkbookHelper::importOoxFragment( const rtl::Reference<FragmentHandler>& r
// BIFF specific --------------------------------------------------------------
-BiffType WorkbookHelper::getBiff() const
-{
- return mrBookGlob.getBiff();
-}
-
rtl_TextEncoding WorkbookHelper::getTextEncoding() const
{
return mrBookGlob.getTextEncoding();