diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2011-08-25 01:11:16 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2011-08-25 11:31:14 +0200 |
commit | a352018c76028b332ccc50be6ee12c16f75aac25 (patch) | |
tree | 77e5d5d4855bdc238bb3844c35f3bbf85bbd1adb /svx/source/form/ParseContext.cxx | |
parent | 24b0d0a0a247cf1cb39b8c2f544f48ce1aecc45d (diff) |
unusedcode: svx::, svxform::
Diffstat (limited to 'svx/source/form/ParseContext.cxx')
-rw-r--r-- | svx/source/form/ParseContext.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/svx/source/form/ParseContext.cxx b/svx/source/form/ParseContext.cxx index d5b93d1bb212..b840209f8d5e 100644 --- a/svx/source/form/ParseContext.cxx +++ b/svx/source/form/ParseContext.cxx @@ -136,28 +136,6 @@ OSystemParseContext::~OSystemParseContext() return sKeyword; } -//----------------------------------------------------------------------------- -static sal_Unicode lcl_getSeparatorChar( const String& _rSeparator, sal_Unicode _nFallback ) -{ - DBG_ASSERT( 0 < _rSeparator.Len(), "::lcl_getSeparatorChar: invalid decimal separator!" ); - - sal_Unicode nReturn( _nFallback ); - if ( _rSeparator.Len() ) - nReturn = static_cast< sal_Char >( _rSeparator.GetBuffer( )[0] ); - return nReturn; -} - -//----------------------------------------------------------------------------- -sal_Unicode OSystemParseContext::getNumDecimalSep( ) const -{ - return lcl_getSeparatorChar( SvtSysLocale().GetLocaleData().getNumDecimalSep(), '.' ); -} - -//----------------------------------------------------------------------------- -sal_Unicode OSystemParseContext::getNumThousandSep( ) const -{ - return lcl_getSeparatorChar( SvtSysLocale().GetLocaleData().getNumThousandSep(), ',' ); -} // ----------------------------------------------------------------------------- IParseContext::InternationalKeyCode OSystemParseContext::getIntlKeyCode(const ::rtl::OString& rToken) const { |