remove unused code -SvtLanguageTable::AddLanguageTag

Change-Id: Ibb0dda4b48c711e72574c3f5aec9e3d1186d1526
This commit is contained in:
Noel Grandin
2014-05-12 14:42:57 +02:00
parent 8acc97fb46
commit d812b78431
3 changed files with 0 additions and 14 deletions

View File

@@ -43,13 +43,6 @@ public:
*/
static OUString GetLanguageString( const LanguageType eType, bool bUserInterfaceSelection );
/** Add a language tag to the table.
@param rString
UI visible description string. If empty, the rLanguageTag Bcp47
string is used instead.
*/
static sal_uInt32 AddLanguageTag( const LanguageTag& rLanguageTag, const OUString& rString );
};
// Add LRE or RLE embedding characters to the string based on the

View File

@@ -233,10 +233,4 @@ LanguageType SvtLanguageTable::GetLanguageTypeAtIndex( sal_uInt32 nIndex )
}
sal_uInt32 SvtLanguageTable::AddLanguageTag( const LanguageTag& rLanguageTag, const OUString& rString )
{
return theLanguageTable::get().AddItem( (rString.isEmpty() ? rLanguageTag.getBcp47() : rString),
rLanguageTag.getLanguageType());
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -68,7 +68,6 @@ StyleSettings::SetTitleHeight(long)
StyleSettings::SetUseFlatBorders(bool)
StyleSettings::SetUseFlatMenus(bool)
SvpSalInstance::PostedEventsInQueue()
SvtLanguageTable::AddLanguageTag(LanguageTag const&, rtl::OUString const&)
SvtListener::IsListening(SvtBroadcaster&) const
SvxDummyShapeContainer::SvxDummyShapeContainer(com::sun::star::uno::Reference<com::sun::star::drawing::XShapes>)
SvxNumberFormatShell::IsAdded_Impl(unsigned long)