summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/namebuff.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/inc/namebuff.hxx')
-rw-r--r--sc/source/filter/inc/namebuff.hxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/sc/source/filter/inc/namebuff.hxx b/sc/source/filter/inc/namebuff.hxx
index ef913123bff9..908e2703496c 100644
--- a/sc/source/filter/inc/namebuff.hxx
+++ b/sc/source/filter/inc/namebuff.hxx
@@ -34,7 +34,6 @@
class ScTokenArray;
class NameBuffer;
-
class StringHashEntry
{
private:
@@ -52,39 +51,33 @@ public:
inline bool operator ==( const StringHashEntry& ) const;
};
-
inline StringHashEntry::StringHashEntry( void )
{
}
-
inline StringHashEntry::StringHashEntry( const OUString& r ) : aString( r )
{
nHash = MakeHashCode( r );
}
-
inline void StringHashEntry::operator =( const sal_Char* p )
{
aString = OUString(p, strlen(p), RTL_TEXTENCODING_ASCII_US);
nHash = MakeHashCode( aString );
}
-
inline void StringHashEntry::operator =( const OUString& r )
{
aString = r;
nHash = MakeHashCode( r );
}
-
inline void StringHashEntry::operator =( const StringHashEntry& r )
{
nHash = r.nHash;
aString = r.aString;
}
-
inline bool StringHashEntry::operator ==( const StringHashEntry& r ) const
{
return ( nHash == r.nHash && aString == r.aString );
@@ -113,13 +106,11 @@ inline NameBuffer::NameBuffer( RootData* p ) : ExcRoot( p )
nBase = 0;
}
-
inline NameBuffer::NameBuffer( RootData* p, sal_uInt16 nNewBase ) : ExcRoot( p )
{
nBase = nNewBase;
}
-
inline const OUString* NameBuffer::Get ( sal_uInt16 n ) const
{
if( n < nBase || n >= maHashes.size() )
@@ -128,7 +119,6 @@ inline const OUString* NameBuffer::Get ( sal_uInt16 n ) const
return &(maHashes[n]->aString);
}
-
inline sal_uInt16 NameBuffer::GetLastIndex () const
{
int size = maHashes.size() + nBase;
@@ -138,7 +128,6 @@ inline sal_uInt16 NameBuffer::GetLastIndex () const
return static_cast<sal_uInt16>( size );
}
-
inline void NameBuffer::SetBase( sal_uInt16 nNewBase )
{
nBase = nNewBase;
@@ -196,7 +185,6 @@ public:
bool FindAbs( const OUString& rRef, sal_uInt16& rIndex );
};
-
inline void RangeNameBufferWK3::Add( const OUString& rName, const ScRange& aScRange )
{
ScComplexRefData aCRD;
@@ -213,7 +201,6 @@ inline void RangeNameBufferWK3::Add( const OUString& rName, const ScRange& aScRa
Add( rName, aCRD );
}
-
class ExtSheetBuffer : public ExcRoot
{
private:
@@ -259,12 +246,10 @@ public:
void Reset( void );
};
-
inline ExtSheetBuffer::ExtSheetBuffer( RootData* p ) : ExcRoot( p )
{
}
-
struct ExtName
{
OUString aName;
@@ -277,7 +262,6 @@ struct ExtName
bool IsOLE( void ) const;
};
-
class ExtNameBuff : protected XclImpRoot
{
public:
@@ -298,8 +282,6 @@ private:
ExtNameMap maExtNames;
};
-
#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */