summaryrefslogtreecommitdiffstats
path: root/sc/source/filter/excel/namebuff.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/excel/namebuff.cxx')
-rw-r--r--sc/source/filter/excel/namebuff.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sc/source/filter/excel/namebuff.cxx b/sc/source/filter/excel/namebuff.cxx
index 85dfb194cc4a..ab0981cc84be 100644
--- a/sc/source/filter/excel/namebuff.cxx
+++ b/sc/source/filter/excel/namebuff.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "namebuff.hxx"
#include "document.hxx"
@@ -48,7 +47,6 @@ sal_uInt32 StringHashEntry::MakeHashCode( const OUString& r )
return n;
}
-
NameBuffer::~NameBuffer()
{
std::vector<StringHashEntry*>::iterator pIter;
@@ -56,7 +54,6 @@ NameBuffer::~NameBuffer()
delete *pIter;
}
-
//void NameBuffer::operator <<( const SpString &rNewString )
void NameBuffer::operator <<( const OUString &rNewString )
{
@@ -105,7 +102,6 @@ sal_Int16 ExtSheetBuffer::Add( const OUString& rFPAN, const OUString& rTN, const
return static_cast< sal_Int16 >( maEntries.size() );
}
-
bool ExtSheetBuffer::GetScTabIndex( sal_uInt16 nExcIndex, sal_uInt16& rScIndex )
{
OSL_ENSURE( nExcIndex,
@@ -161,7 +157,6 @@ bool ExtSheetBuffer::GetScTabIndex( sal_uInt16 nExcIndex, sal_uInt16& rScIndex )
return false;
}
-
bool ExtSheetBuffer::IsLink( const sal_uInt16 nExcIndex ) const
{
OSL_ENSURE( nExcIndex > 0, "*ExtSheetBuffer::IsLink(): Index has to be >0!" );
@@ -172,7 +167,6 @@ bool ExtSheetBuffer::IsLink( const sal_uInt16 nExcIndex ) const
return maEntries[ nExcIndex -1 ].bLink;
}
-
bool ExtSheetBuffer::GetLink( const sal_uInt16 nExcIndex, OUString& rAppl, OUString& rDoc ) const
{
OSL_ENSURE( nExcIndex > 0, "*ExtSheetBuffer::GetLink(): Index has to be >0!" );
@@ -188,38 +182,32 @@ bool ExtSheetBuffer::GetLink( const sal_uInt16 nExcIndex, OUString& rAppl, OUStr
return true;
}
-
void ExtSheetBuffer::Reset( void )
{
maEntries.clear();
}
-
bool ExtName::IsDDE( void ) const
{
return ( nFlags & 0x0001 ) != 0;
}
-
bool ExtName::IsOLE( void ) const
{
return ( nFlags & 0x0002 ) != 0;
}
-
ExtNameBuff::ExtNameBuff( const XclImpRoot& rRoot ) :
XclImpRoot( rRoot )
{
}
-
void ExtNameBuff::AddDDE( const OUString& rName, sal_Int16 nRefIdx )
{
ExtName aNew( rName, 0x0001 );
maExtNames[ nRefIdx ].push_back( aNew );
}
-
void ExtNameBuff::AddOLE( const OUString& rName, sal_Int16 nRefIdx, sal_uInt32 nStorageId )
{
ExtName aNew( rName, 0x0002 );
@@ -227,14 +215,12 @@ void ExtNameBuff::AddOLE( const OUString& rName, sal_Int16 nRefIdx, sal_uInt32 n
maExtNames[ nRefIdx ].push_back( aNew );
}
-
void ExtNameBuff::AddName( const OUString& rName, sal_Int16 nRefIdx )
{
ExtName aNew( GetScAddInName( rName ), 0x0004 );
maExtNames[ nRefIdx ].push_back( aNew );
}
-
const ExtName* ExtNameBuff::GetNameByIndex( sal_Int16 nRefIdx, sal_uInt16 nNameIdx ) const
{
OSL_ENSURE( nNameIdx > 0, "ExtNameBuff::GetNameByIndex() - invalid name index" );
@@ -242,11 +228,9 @@ const ExtName* ExtNameBuff::GetNameByIndex( sal_Int16 nRefIdx, sal_uInt16 nNameI
return ((aIt != maExtNames.end()) && (0 < nNameIdx) && (nNameIdx <= aIt->second.size())) ? &aIt->second[ nNameIdx - 1 ] : 0;
}
-
void ExtNameBuff::Reset( void )
{
maExtNames.clear();
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */