[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/inc sc/source

Kohei Yoshida kohei.yoshida at gmail.com
Thu Mar 21 17:16:06 PDT 2013


 sc/inc/chgtrack.hxx              |    4 ----
 sc/source/core/tool/chgtrack.cxx |    8 --------
 2 files changed, 12 deletions(-)

New commits:
commit b2d9687ac47db5045bd84a06b0e97949ea128a06
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Thu Mar 21 20:15:48 2013 -0400

    This is not used. Be gone.
    
    Change-Id: Ia5c7d914ca93826dcd2b7387d7cea58f90a225f2

diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index 2b283ed..df5edd5 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -932,7 +932,6 @@ class ScChangeTrack : public utl::ConfigurationListener
     sal_uLong               nEndLastCut;
     sal_uLong               nLastMerge;
     ScChangeTrackMergeState eMergeState;
-    sal_uInt16              nLoadedFileFormatVersion;
     bool bLoadSave:1;
     bool bInDelete:1;
     bool bInDeleteUndo:1;
@@ -1238,9 +1237,6 @@ public:
     void                NotifyModified( ScChangeTrackMsgType eMsgType,
                             sal_uLong nStartAction, sal_uLong nEndAction );
 
-    sal_uInt16              GetLoadedFileFormatVersion() const
-                            { return nLoadedFileFormatVersion; }
-
     sal_uLong AddLoadedGenerated(
         ScBaseCell* pOldCell, const ScBigRange& aBigRange, const rtl::OUString& sNewValue ); // only to use in the XML import
     void                AppendLoaded( ScChangeAction* pAppend ); // this is only for the XML import public, it should be protected
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index 29b0017..3e24e53 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -42,15 +42,8 @@
 #include <sfx2/sfxsids.hrc>
 
 IMPL_FIXEDMEMPOOL_NEWDEL( ScChangeActionCellListEntry )
-
 IMPL_FIXEDMEMPOOL_NEWDEL( ScChangeActionLinkEntry )
 
-// loaded MSB > eigenes => inkompatibel
-#define SC_CHGTRACK_FILEFORMAT_FIRST    0x0001
-#define SC_CHGTRACK_FILEFORMAT  0x0001
-
-// --- ScChangeAction ------------------------------------------------------
-
 ScChangeAction::ScChangeAction( ScChangeActionType eTypeP, const ScRange& rRange )
         :
         aBigRange( rRange ),
@@ -2218,7 +2211,6 @@ void ScChangeTrack::Init()
     nEndLastCut = 0;
     nLastMerge = 0;
     eMergeState = SC_CTMS_NONE;
-    nLoadedFileFormatVersion = SC_CHGTRACK_FILEFORMAT;
     bLoadSave = false;
     bInDelete = false;
     bInDeleteTop = false;


More information about the Libreoffice-commits mailing list