summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-24 09:51:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-24 15:29:52 +0000
commit89f057a09d8684f697a822662907cfede7ef0a3f (patch)
tree86ee58acdc9bc88a8d92826ec8582b046a910653 /sc
parent56d168cc59a352ec432e09b8ba471b858387023c (diff)
ditch dbg_dump
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/compiler.cxx27
1 files changed, 0 insertions, 27 deletions
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 1a484ef65bf4..e6aa49a25acd 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -82,33 +82,6 @@ using namespace ::com::sun::star;
using rtl::OUString;
using ::std::vector;
-#if OSL_DEBUG_LEVEL > 1
-// For some unknown reason the identical dbg_dump utilities in
-// tools/source/string/debugprint.cxx tend to crash when called from within
-// gdb. Having them here also comes handy as libtl*.so doesn't have to be
-// replaced.
-const char* dbg_sc_dump( const ByteString & rStr )
-{
- static ByteString aStr;
- aStr = rStr;
- aStr.Append(static_cast<char>(0));
- return aStr.GetBuffer();
-}
-const char* dbg_sc_dump( const UniString & rStr )
-{
- return dbg_sc_dump(ByteString(rStr, RTL_TEXTENCODING_UTF8));
-}
-const char* dbg_sc_dump( const sal_Unicode * pBuf )
-{
- return dbg_sc_dump( UniString( pBuf));
-}
-const char* dbg_sc_dump( const sal_Unicode c )
-{
- return dbg_sc_dump( UniString( c));
-}
-#endif
-
-
CharClass* ScCompiler::pCharClassEnglish = NULL;
const ScCompiler::Convention* ScCompiler::pConventions[ ] = { NULL, NULL, NULL, NULL, NULL, NULL };