summaryrefslogtreecommitdiff
path: root/i18npool/source/numberformatcode
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 03:47:57 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 03:47:57 +0000
commit303466ac9f43b8564d6e173ee5e98a968db0d500 (patch)
tree239666898ace4022e6b17e168086e98ef9f0efcf /i18npool/source/numberformatcode
parentfa393335436babd50955714d282179c26a854a15 (diff)
INTEGRATION: CWS warnings01 (1.4.14); FILE MERGED
2005/11/10 10:15:03 pl 1.4.14.1: #i53898# removed warnings
Diffstat (limited to 'i18npool/source/numberformatcode')
-rw-r--r--i18npool/source/numberformatcode/numberformatcode.cxx15
1 files changed, 2 insertions, 13 deletions
diff --git a/i18npool/source/numberformatcode/numberformatcode.cxx b/i18npool/source/numberformatcode/numberformatcode.cxx
index c198b408e342..93b95b8f0051 100644
--- a/i18npool/source/numberformatcode/numberformatcode.cxx
+++ b/i18npool/source/numberformatcode/numberformatcode.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: numberformatcode.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 17:21:47 $
+ * last change: $Author: hr $ $Date: 2006-06-20 04:47:57 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -196,13 +196,10 @@ NumberFormatCodeMapper::mapElementTypeShortToString(sal_Int16 formatType)
{
case com::sun::star::i18n::KNumberFormatType::SHORT :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "short" ) );
- break;
case com::sun::star::i18n::KNumberFormatType::MEDIUM :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "medium" ) );
- break;
case com::sun::star::i18n::KNumberFormatType::LONG :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "long" ) );
- break;
}
return ::rtl::OUString();
}
@@ -227,28 +224,20 @@ NumberFormatCodeMapper::mapElementUsageShortToString(sal_Int16 formatUsage)
{
case com::sun::star::i18n::KNumberFormatUsage::DATE :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DATE" ) );
- break;
case com::sun::star::i18n::KNumberFormatUsage::TIME :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "TIME" ) );
- break;
case com::sun::star::i18n::KNumberFormatUsage::DATE_TIME :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DATE_TIME" ) );
- break;
case com::sun::star::i18n::KNumberFormatUsage::FIXED_NUMBER :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "FIXED_NUMBER" ) );
- break;
case com::sun::star::i18n::KNumberFormatUsage::FRACTION_NUMBER :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "FRACTION_NUMBER" ) );
- break;
case com::sun::star::i18n::KNumberFormatUsage::PERCENT_NUMBER :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PERCENT_NUMBER" ) );
- break;
case com::sun::star::i18n::KNumberFormatUsage::CURRENCY :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "CURRENCY" ) );
- break;
case com::sun::star::i18n::KNumberFormatUsage::SCIENTIFIC_NUMBER :
return ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "SCIENTIFIC_NUMBER" ) );
- break;
}
return ::rtl::OUString();
}