diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2012-02-18 23:50:22 +0100 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-02-19 14:42:10 +0400 |
commit | 37159db96ff0ce15b0b91502ba79a86f21a8f29a (patch) | |
tree | 2c1a767b0b38c62bb012267e65112c0bea6f6b28 /unotools | |
parent | af79fcb204efeafb48659ed4a97433b7e2cc2f84 (diff) |
Remove unused code
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/inc/unotools/numberformatcodewrapper.hxx | 1 | ||||
-rw-r--r-- | unotools/source/i18n/numberformatcodewrapper.cxx | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/unotools/inc/unotools/numberformatcodewrapper.hxx b/unotools/inc/unotools/numberformatcodewrapper.hxx index f0bf53f5da55..9adb59d80751 100644 --- a/unotools/inc/unotools/numberformatcodewrapper.hxx +++ b/unotools/inc/unotools/numberformatcodewrapper.hxx @@ -67,7 +67,6 @@ public: // Wrapper implementations of class NumberFormatCodeMapper - ::com::sun::star::i18n::NumberFormatCode getDefault( sal_Int16 nFormatType, sal_Int16 nFormatUsage ) const; ::com::sun::star::i18n::NumberFormatCode getFormatCode( sal_Int16 nFormatIndex ) const; ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::NumberFormatCode > getAllFormatCode( sal_Int16 nFormatUsage ) const; ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::NumberFormatCode > getAllFormatCodes() const; diff --git a/unotools/source/i18n/numberformatcodewrapper.cxx b/unotools/source/i18n/numberformatcodewrapper.cxx index f341f2f476d5..759352f6a862 100644 --- a/unotools/source/i18n/numberformatcodewrapper.cxx +++ b/unotools/source/i18n/numberformatcodewrapper.cxx @@ -63,22 +63,6 @@ void NumberFormatCodeWrapper::setLocale( const ::com::sun::star::lang::Locale& r ::com::sun::star::i18n::NumberFormatCode -NumberFormatCodeWrapper::getDefault( sal_Int16 formatType, sal_Int16 formatUsage ) const -{ - try - { - if ( xNFC.is() ) - return xNFC->getDefault( formatType, formatUsage, aLocale ); - } - catch ( const Exception& ) - { - SAL_WARN( "unotools.i18n", "getDefault: Exception caught!" ); - } - return ::com::sun::star::i18n::NumberFormatCode(); -} - - -::com::sun::star::i18n::NumberFormatCode NumberFormatCodeWrapper::getFormatCode( sal_Int16 formatIndex ) const { try |