remove unused code in basic/CodeCompleteDataCache

Specifically:
  CodeCompleteDataCache::GetVars() const
  CodeCompleteDataCache::SetVars(boost::unordered_map const&)
  CodeCompleteDataCache::print() const

Change-Id: I59fb6f50ff47747c3cac959302bf6b7c4f4d79d3
This commit is contained in:
Noel Grandin 2014-02-27 16:30:49 +02:00
parent 1069d02586
commit f6d97d00cd
3 changed files with 0 additions and 22 deletions

View File

@ -118,21 +118,6 @@ std::ostream& operator<< (std::ostream& aStream, const CodeCompleteDataCache& aC
return aStream; return aStream;
} }
const CodeCompleteVarScopes& CodeCompleteDataCache::GetVars() const
{
return aVarScopes;
}
void CodeCompleteDataCache::SetVars( const CodeCompleteVarScopes& aScopes )
{
aVarScopes = aScopes;
}
void CodeCompleteDataCache::print() const
{
std::cerr << *this << std::endl;
}
void CodeCompleteDataCache::Clear() void CodeCompleteDataCache::Clear()
{ {
aVarScopes.clear(); aVarScopes.clear();

View File

@ -87,14 +87,10 @@ public:
friend BASIC_DLLPUBLIC std::ostream& operator<< (std::ostream& aStream, const CodeCompleteDataCache& aCache); friend BASIC_DLLPUBLIC std::ostream& operator<< (std::ostream& aStream, const CodeCompleteDataCache& aCache);
void SetVars( const CodeCompleteVarScopes& aScopes );
const CodeCompleteVarScopes& GetVars() const;
void InsertGlobalVar( const OUString& sVarName, const OUString& sVarType ); void InsertGlobalVar( const OUString& sVarName, const OUString& sVarType );
void InsertLocalVar( const OUString& sProcName, const OUString& sVarName, const OUString& sVarType ); void InsertLocalVar( const OUString& sProcName, const OUString& sVarName, const OUString& sVarType );
OUString GetVarType( const OUString& sVarName ) const; OUString GetVarType( const OUString& sVarName ) const;
OUString GetCorrectCaseVarName( const OUString& sVarName, const OUString& sActProcName ) const; OUString GetCorrectCaseVarName( const OUString& sVarName, const OUString& sActProcName ) const;
void print() const; // wrapper for operator<<, prints to std::cerr
void Clear(); void Clear();
}; };

View File

@ -3,9 +3,6 @@ BigInt::BigInt(unsigned int)
BigInt::GetString() const BigInt::GetString() const
CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&) CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&)
Chart2ExportTest::testFdo74115WallGradientFill() Chart2ExportTest::testFdo74115WallGradientFill()
CodeCompleteDataCache::GetVars() const
CodeCompleteDataCache::SetVars(boost::unordered::unordered_map<rtl::OUString, boost::unordered::unordered_map<rtl::OUString, rtl::OUString, rtl::OUStringHash, std::equal_to<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, rtl::OUString> > >, rtl::OUStringHash, std::equal_to<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, boost::unordered::unordered_map<rtl::OUString, rtl::OUString, rtl::OUStringHash, std::equal_to<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, rtl::OUString> > > > > > const&)
CodeCompleteDataCache::print() const
ComboBox::GetMRUCount() const ComboBox::GetMRUCount() const
ConfigurationAccess::getPath(rtl::OUString const&) ConfigurationAccess::getPath(rtl::OUString const&)
DocxSdrExport::getFlyFrameGraphic() DocxSdrExport::getFlyFrameGraphic()