diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-06 08:46:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-06 08:52:37 +0100 |
commit | a1ce4fb4f0dbc3c4141f510e5b2b732a24d862c8 (patch) | |
tree | 6ecac5a964c7bc40862f435f0492d941948326e4 /basegfx | |
parent | ebded7f2f5d19489811ee4ed2a0da9d09371a5ac (diff) |
callcatcher: various unused methods
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dsvgpolypolygon.cxx | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx index 074cfd9e25d5..388f79fcd474 100644 --- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx +++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx @@ -178,64 +178,6 @@ namespace basegfx return false; } - void lcl_skipNumber(sal_Int32& io_rPos, - const ::rtl::OUString& rStr, - const sal_Int32 nLen) - { - bool bSignAllowed(true); - - while(io_rPos < nLen && lcl_isOnNumberChar(rStr, io_rPos, bSignAllowed)) - { - bSignAllowed = false; - ++io_rPos; - } - } - - void lcl_skipDouble(sal_Int32& io_rPos, - const ::rtl::OUString& rStr, - const sal_Int32 /*nLen*/) - { - sal_Unicode aChar( rStr[io_rPos] ); - - if(sal_Unicode('+') == aChar || sal_Unicode('-') == aChar) - aChar = rStr[++io_rPos]; - - while((sal_Unicode('0') <= aChar && sal_Unicode('9') >= aChar) - || sal_Unicode('.') == aChar) - { - aChar = rStr[++io_rPos]; - } - - if(sal_Unicode('e') == aChar || sal_Unicode('E') == aChar) - { - aChar = rStr[++io_rPos]; - - if(sal_Unicode('+') == aChar || sal_Unicode('-') == aChar) - aChar = rStr[++io_rPos]; - - while(sal_Unicode('0') <= aChar && sal_Unicode('9') >= aChar) - { - aChar = rStr[++io_rPos]; - } - } - } - void lcl_skipNumberAndSpacesAndCommas(sal_Int32& io_rPos, - const ::rtl::OUString& rStr, - const sal_Int32 nLen) - { - lcl_skipNumber(io_rPos, rStr, nLen); - lcl_skipSpacesAndCommas(io_rPos, rStr, nLen); - } - - // #100617# Allow to skip doubles, too. - void lcl_skipDoubleAndSpacesAndCommas(sal_Int32& io_rPos, - const ::rtl::OUString& rStr, - const sal_Int32 nLen) - { - lcl_skipDouble(io_rPos, rStr, nLen); - lcl_skipSpacesAndCommas(io_rPos, rStr, nLen); - } - void lcl_putNumberChar( ::rtl::OUStringBuffer& rStr, double fValue ) { |