diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-07 11:05:50 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-07 11:06:48 +0000 |
commit | 6220ed4e6e04d555dc28ada02f46f88ed9ee3daf (patch) | |
tree | 1a189a81ca4e49011a79e97002383365edb52769 | |
parent | 9656a1549512ddc2b1a69d4e5bb6c791dede1534 (diff) |
callcatcher: update list
-rw-r--r-- | lotuswordpro/qa/cppunit/data/pass/fdo36036-1.lwp (renamed from lotuswordpro/qa/cppunit/data/pass/A14.lwp) | bin | 82280 -> 82280 bytes | |||
-rwxr-xr-x | unusedcode.easy | 2 | ||||
-rw-r--r-- | vcl/inc/vcl/strhelper.hxx | 1 | ||||
-rw-r--r-- | vcl/source/helper/strhelper.cxx | 51 |
4 files changed, 0 insertions, 54 deletions
diff --git a/lotuswordpro/qa/cppunit/data/pass/A14.lwp b/lotuswordpro/qa/cppunit/data/pass/fdo36036-1.lwp Binary files differindex 7cc05cebc036..7cc05cebc036 100644 --- a/lotuswordpro/qa/cppunit/data/pass/A14.lwp +++ b/lotuswordpro/qa/cppunit/data/pass/fdo36036-1.lwp diff --git a/unusedcode.easy b/unusedcode.easy index fbdf2a40e69e..80eff11135ad 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -982,8 +982,6 @@ oox::xls::CellBlock::CellBlock(oox::xls::WorksheetHelper const&, oox::ValueRange oox::xls::CellBlock::isBefore(oox::ValueRange const&) const oox::xls::CellBlock::isExpandable(oox::ValueRange const&) const oox::xls::CellBlock::startNextRow() -pdfi::createOdfEmitter(com::sun::star::uno::Reference<com::sun::star::io::XOutputStream> const&) -psp::GetCommandLineTokenCount(rtl::OString const&) psp::PrinterGfx::DrawBitmap(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterBmp const&) psp::PrinterGfx::DrawMask(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterColor&) psp::PrinterGfx::GetGlyphBoundRect(unsigned short, Rectangle&) diff --git a/vcl/inc/vcl/strhelper.hxx b/vcl/inc/vcl/strhelper.hxx index fa8258d5042b..49b29ef43c82 100644 --- a/vcl/inc/vcl/strhelper.hxx +++ b/vcl/inc/vcl/strhelper.hxx @@ -44,7 +44,6 @@ namespace psp // contents VCL_DLLPUBLIC int GetCommandLineTokenCount(const rtl::OUString&); - VCL_DLLPUBLIC int GetCommandLineTokenCount(const rtl::OString&); // returns number of tokens (zero if empty or whitespace only) VCL_DLLPUBLIC String WhitespaceToSpace( const String&, sal_Bool bProtect = sal_True ); diff --git a/vcl/source/helper/strhelper.cxx b/vcl/source/helper/strhelper.cxx index 14b61a56e5e6..0515fab7b6b7 100644 --- a/vcl/source/helper/strhelper.cxx +++ b/vcl/source/helper/strhelper.cxx @@ -271,57 +271,6 @@ int GetCommandLineTokenCount(const rtl::OUString& rLine) return nTokenCount; } -int GetCommandLineTokenCount(const rtl::OString& rLine) -{ - if (rLine.isEmpty()) - return 0; - - int nTokenCount = 0; - const char *pRun = rLine.getStr(); - - - while( *pRun ) - { - while( *pRun && isSpace( *pRun ) ) - pRun++; - if( ! *pRun ) - break; - while( *pRun && ! isSpace( *pRun ) ) - { - if( *pRun == '\\' ) - { - // escapement - pRun++; - if( *pRun ) - pRun++; - } - else if( *pRun == '`' ) - { - do pRun++; while( *pRun && *pRun != '`' ); - if( *pRun ) - pRun++; - } - else if( *pRun == '\'' ) - { - do pRun++; while( *pRun && *pRun != '\'' ); - if( *pRun ) - pRun++; - } - else if( *pRun == '"' ) - { - do pRun++; while( *pRun && *pRun != '"' ); - if( *pRun ) - pRun++; - } - else - pRun++; - } - nTokenCount++; - } - - return nTokenCount; -} - String WhitespaceToSpace( const String& rLine, sal_Bool bProtect ) { int nLen = rLine.Len(); |