From 9adcd261054a0e99ae032be5e7428e28a6663975 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sun, 8 Sep 2013 22:09:56 +0200 Subject: Math: Remove obsolete GetConversion() CONVERT_NONE is the default case, as SetConversion() gets never called. We dropped the support for legacy filetypes with 4.0 anyway. Change-Id: Ic49ae7b53497e8198c8b61eab0b0cdc120c2bdd7 --- starmath/inc/parse.hxx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'starmath/inc') diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx index d7eefcf82b04..f57318d5aa79 100644 --- a/starmath/inc/parse.hxx +++ b/starmath/inc/parse.hxx @@ -159,16 +159,6 @@ typedef ::std::vector< SmErrorDesc* > SmErrDescList; /**************************************************************************/ -// defines possible conversions of the formula text from the format of -// one release to the one of another. -enum SmConvert -{ - CONVERT_NONE, - CONVERT_40_TO_50, - CONVERT_50_TO_60, - CONVERT_60_TO_50 -}; - struct SmTokenTableEntry { const sal_Char* pIdent; @@ -190,7 +180,6 @@ class SmParser m_nTokenIndex; sal_Int32 m_Row, m_nColOff; - SmConvert m_eConversion; bool bImportSymNames, m_bExportSymNames; @@ -265,9 +254,6 @@ public: const OUString & GetText() const { return m_aBufferString; }; - SmConvert GetConversion() const { return m_eConversion; } - void SetConversion(SmConvert eConv) { m_eConversion = eConv; } - bool IsImportSymbolNames() const { return bImportSymNames; } void SetImportSymbolNames(bool bVal) { bImportSymNames = bVal; } bool IsExportSymbolNames() const { return m_bExportSymNames; } -- cgit