summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/autoform.cxx
diff options
context:
space:
mode:
authorEd Dean <topround@gmail.com>2011-01-17 11:49:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-17 11:49:56 +0000
commitc8f158e7afe19b5964dd752a95b2c74d3c12f4f0 (patch)
tree49fe0f49d7e2885aa45b39cc129fb8a5733e47b5 /sc/source/core/tool/autoform.cxx
parent132d88f8c87c103d0c4c0aebbba960bcb8d7994b (diff)
removal of dead code
Diffstat (limited to 'sc/source/core/tool/autoform.cxx')
-rw-r--r--sc/source/core/tool/autoform.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/sc/source/core/tool/autoform.cxx b/sc/source/core/tool/autoform.cxx
index 4942eb9de598..aa81884553c5 100644
--- a/sc/source/core/tool/autoform.cxx
+++ b/sc/source/core/tool/autoform.cxx
@@ -1038,8 +1038,6 @@ BOOL ScAutoFormat::Load()
BYTE nChrSet, nCnt;
long nPos = rStream.Tell();
rStream >> nCnt >> nChrSet;
-// if( 4 <= nCnt )
-// rStream >> nFileVers;
if( rStream.Tell() != ULONG(nPos + nCnt) )
{
DBG_ERRORFILE( "Der Header enthaelt mehr/neuere Daten" );
@@ -1136,9 +1134,6 @@ BOOL ScAutoFormat::Save()
<< (BYTE)2 // Anzahl von Zeichen des Headers incl. diesem
<< (BYTE)::GetSOStoreTextEncoding(
gsl_getSystemTextEncoding(), sal::static_int_cast<USHORT>(rStream.GetVersion()) );
-// << (BYTE)4 // Anzahl von Zeichen des Headers incl. diesem
-// << (BYTE)::GetStoreCharSet(::GetSystemCharSet())
-// << (UNIT16)SOFFICE_FILEFORMAT_NOW;
ScAfVersions::Write(rStream); // Item-Versionen
bRet = (rStream.GetError() == 0);