summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnumfi.cxx
diff options
context:
space:
mode:
authorJoachim Trémouroux <joachim.tremouroux@gmail.com>2010-11-19 19:11:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-11-22 10:48:10 +0000
commitb61f6b3eadd624cfb6d0645fdb1ae681f5309712 (patch)
treece167c81d5ec5adf74db755f0cd3fd03cbea4acc /xmloff/source/style/xmlnumfi.cxx
parentddfb4e660c0f23b3c594b859a54694bb8acd8c96 (diff)
removed unused SvXMLNumFmtDefaults methods
Diffstat (limited to 'xmloff/source/style/xmlnumfi.cxx')
-rw-r--r--xmloff/source/style/xmlnumfi.cxx68
1 files changed, 0 insertions, 68 deletions
diff --git a/xmloff/source/style/xmlnumfi.cxx b/xmloff/source/style/xmlnumfi.cxx
index ae3e22c2322a..29af3031488c 100644
--- a/xmloff/source/style/xmlnumfi.cxx
+++ b/xmloff/source/style/xmlnumfi.cxx
@@ -1246,74 +1246,6 @@ void SvXMLNumFmtElementContext::EndElement()
//-------------------------------------------------------------------------
-sal_Bool SvXMLNumFmtDefaults::IsSystemLongDay( const SvtSysLocale&, BOOL bLong )
-{
- // TODO: merge system information and defaults into i18n locale data
-#if 0
- return bLong ? rIntn.IsLongDateDayLeadingZero() : rIntn.IsDateDayLeadingZero();
-#else
- return !bLong;
-#endif
-}
-
-sal_Bool SvXMLNumFmtDefaults::IsSystemLongMonth( const SvtSysLocale&, BOOL bLong )
-{
- // TODO: merge system information and defaults into i18n locale data
-#if 0
- if (bLong)
- {
- MonthFormat eMonth = rIntn.GetLongDateMonthFormat();
- return ( eMonth == MONTH_ZERO || eMonth == MONTH_LONG );
- }
- else
- return rIntn.IsDateMonthLeadingZero();
-#else
- return !bLong;
-#endif
-}
-
-sal_Bool SvXMLNumFmtDefaults::IsSystemTextualMonth( const SvtSysLocale&, BOOL bLong )
-{
- // TODO: merge system information and defaults into i18n locale data
-#if 0
- if (bLong)
- {
- MonthFormat eMonth = rIntn.GetLongDateMonthFormat();
- return ( eMonth == MONTH_SHORT || eMonth == MONTH_LONG );
- }
- else
- return sal_False;
-#else
- return bLong;
-#endif
-}
-
-sal_Bool SvXMLNumFmtDefaults::IsSystemLongYear( const SvtSysLocale&, BOOL bLong )
-{
- // TODO: merge system information and defaults into i18n locale data
-#if 0
- return bLong ? rIntn.IsLongDateCentury() : rIntn.IsDateCentury();
-#else
- return bLong;
-#endif
-}
-
-sal_Bool SvXMLNumFmtDefaults::IsSystemLongEra( const SvtSysLocale& rSysLoc, BOOL bLong )
-{
- // TODO: merge system information and defaults into i18n locale data
- return IsSystemLongYear( rSysLoc, bLong ); // no separate setting
-}
-
-sal_Bool SvXMLNumFmtDefaults::IsSystemLongDayOfWeek( const SvtSysLocale&, BOOL bLong )
-{
- // TODO: merge system information and defaults into i18n locale data
-#if 0
- return ( bLong && rIntn.GetLongDateDayOfWeekFormat() == DAYOFWEEK_LONG );
-#else
- return bLong && true;
-#endif
-}
-
sal_uInt16 SvXMLNumFmtDefaults::GetDefaultDateFormat( SvXMLDateElementAttributes eDOW,
SvXMLDateElementAttributes eDay, SvXMLDateElementAttributes eMonth,
SvXMLDateElementAttributes eYear, SvXMLDateElementAttributes eHours,