summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-03-16 15:31:12 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-03-16 15:31:12 +0900
commit4dfb0668592e3927bae2e7fea44b4d227cdf74a2 (patch)
tree290931159cbd726332e6277ea6c4c4ddef621e59
parent4512d9d522aa80b6e27a8edbe99e05b216f0b666 (diff)
Removed unused function GetLangName()
-rw-r--r--sw/source/core/text/portxt.cxx4
-rw-r--r--sw/source/core/text/txthyph.cxx4
-rw-r--r--sw/source/core/text/txtio.cxx10
3 files changed, 0 insertions, 18 deletions
diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx
index 7a14cfaaf423..1ebea407e54f 100644
--- a/sw/source/core/text/portxt.cxx
+++ b/sw/source/core/text/portxt.cxx
@@ -51,10 +51,6 @@
#include <doc.hxx>
#include <xmloff/odffields.hxx>
-#if OSL_DEBUG_LEVEL > 1
-const sal_Char *GetLangName( const MSHORT nLang );
-#endif
-
using namespace ::sw::mark;
using namespace ::com::sun::star;
using namespace ::com::sun::star::i18n::ScriptType;
diff --git a/sw/source/core/text/txthyph.cxx b/sw/source/core/text/txthyph.cxx
index e17293cc1cdd..6d8449f1caa4 100644
--- a/sw/source/core/text/txthyph.cxx
+++ b/sw/source/core/text/txthyph.cxx
@@ -43,10 +43,6 @@
#include <guess.hxx> //
#include <splargs.hxx> // SwInterHyphInfo
-#if OSL_DEBUG_LEVEL > 1
-extern const sal_Char *GetLangName( const MSHORT nLang );
-#endif
-
using ::rtl::OUString;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/sw/source/core/text/txtio.cxx b/sw/source/core/text/txtio.cxx
index f3078734cf46..f5c8dda61cc4 100644
--- a/sw/source/core/text/txtio.cxx
+++ b/sw/source/core/text/txtio.cxx
@@ -157,11 +157,6 @@ void SwLineLayout::DebugPortions( SvStream &, const XubString &, //$ ostream
{
}
-const char *GetLangName( const MSHORT )
-{
- return 0;
-}
-
#else
#include <limits.h>
#include <stdlib.h>
@@ -296,11 +291,6 @@ void SwLineLayout::DebugPortions( SvStream &rOs, const XubString &/*rTxt*/, //$
}
}
-const char *GetLangName( const MSHORT /*nLang*/ )
-{
- return "???";
-}
-
SvStream &SwLinePortion::operator<<( SvStream &rOs ) const //$ ostream
{
rOs << " {";