summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-12 14:42:57 +0200
committerNoel Grandin <noel@peralex.com>2014-05-13 12:00:28 +0200
commitd812b784313ed85ae5085d54a3ae50aa064c053c (patch)
tree18ca11db817b1ed591bacf9a0d019daf4eaafe48
parentremove dead code in SW (diff)
downloadcore-d812b784313ed85ae5085d54a3ae50aa064c053c.tar.gz
core-d812b784313ed85ae5085d54a3ae50aa064c053c.zip
remove unused code -SvtLanguageTable::AddLanguageTag
Change-Id: Ibb0dda4b48c711e72574c3f5aec9e3d1186d1526
-rw-r--r--include/svtools/langtab.hxx7
-rw-r--r--svtools/source/misc/langtab.cxx6
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 14 deletions
diff --git a/include/svtools/langtab.hxx b/include/svtools/langtab.hxx
index 003487373271..4503d38c634e 100644
--- a/include/svtools/langtab.hxx
+++ b/include/svtools/langtab.hxx
@@ -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
diff --git a/svtools/source/misc/langtab.cxx b/svtools/source/misc/langtab.cxx
index b8eeec0ea4aa..f31ea289c398 100644
--- a/svtools/source/misc/langtab.cxx
+++ b/svtools/source/misc/langtab.cxx
@@ -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: */
diff --git a/unusedcode.easy b/unusedcode.easy
index ae0ce4b78071..646cb1eff4bf 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -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)