[Libreoffice-commits] .: tools/inc
Takeshi Abe
tabe at kemper.freedesktop.org
Sat Apr 23 07:13:08 PDT 2011
tools/inc/tools/geninfo.hxx | 2 --
tools/inc/tools/stream.hxx | 14 --------------
2 files changed, 16 deletions(-)
New commits:
commit 789b59b2e4aabb3373b9556fcfadd2a2b44721aa
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Sat Apr 23 23:11:43 2011 +0900
removed dead code
diff --git a/tools/inc/tools/geninfo.hxx b/tools/inc/tools/geninfo.hxx
index 0c479da..ee247e5 100644
--- a/tools/inc/tools/geninfo.hxx
+++ b/tools/inc/tools/geninfo.hxx
@@ -104,7 +104,6 @@ GenericLockInformation( const ByteString &rKey, const ByteString &rValue,
GenericInformationList *pSubInfos = NULL )
: GenericInformation( rKey, rValue, pParentList, pSubInfos),
aLockState( read ), nLockKey( 0 ) {};
- //~GenericLockInformation();
/* bietet einen Lockmechanismus fuer exclusive Zugriffe
*
@@ -174,7 +173,6 @@ GenericLockInformation( const ByteString &rKey, const ByteString &rValue,
return NULL;
return GenericInformation::GetSubInfo(rKey, bSearchByPath, bCreatePath); }
- // TYPEINFO();
private:
LockState aLockState;
diff --git a/tools/inc/tools/stream.hxx b/tools/inc/tools/stream.hxx
index 701223e..4273583 100644
--- a/tools/inc/tools/stream.hxx
+++ b/tools/inc/tools/stream.hxx
@@ -267,7 +267,6 @@ private:
sal_uInt16 nCompressMode;
LineEnd eLineDelimiter;
CharSet eStreamCharSet;
-// CharSet eTargetCharSet;
// Verschluesselung
ByteString aKey; // aKey.Len != 0 -> Verschluesselung
@@ -344,9 +343,6 @@ public:
void SetStreamCharSet( CharSet eCharSet )
{ eStreamCharSet = eCharSet; }
CharSet GetStreamCharSet() const { return eStreamCharSet; }
-// void SetTargetCharSet( CharSet eCharSet )
-// { eTargetCharSet = eCharSet; }
-// CharSet GetTargetCharSet() const { return eTargetCharSet; }
void SetLineDelimiter( LineEnd eLineEnd )
{ eLineDelimiter = eLineEnd; }
@@ -657,16 +653,6 @@ inline SvStream& SvStream::ReadNumber( int& rInt )
return *this;
}
-/*
-inline SvStream& SvStream::ReadNumber( unsigned int& rUInt )
-{
- sal_uIntPtr nTmp;
- ReadNumber( nTmp );
- rUInt = (unsigned int)nTmp;
- return *this;
-}
-*/
-
inline SvStream& SvStream::ReadNumber( float& rFloat )
{
double nTmp;
More information about the Libreoffice-commits
mailing list