diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 11:58:17 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 11:58:17 +0000 |
commit | aabd695da853b1ce530157acf9e794a0e031159e (patch) | |
tree | 1b0f77cbe5c6c0d8ce4c3e848668fb394d090c28 /forms | |
parent | 49177fecc5dfa9e938e246417455f496b7495ed1 (diff) |
INTEGRATION: CWS warnings01 (1.6.68); FILE MERGED
2006/03/15 07:55:42 fs 1.6.68.2: #i57457# warning-free code (unxsols4)
2006/03/14 15:20:31 fs 1.6.68.1: #i57457# warning-free code
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/misc/limitedformats.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/forms/source/misc/limitedformats.cxx b/forms/source/misc/limitedformats.cxx index f7bf1d0380d2..8b7a67902af2 100644 --- a/forms/source/misc/limitedformats.cxx +++ b/forms/source/misc/limitedformats.cxx @@ -4,9 +4,9 @@ * * $RCSfile: limitedformats.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: rt $ $Date: 2005-09-08 23:01:20 $ + * last change: $Author: hr $ $Date: 2006-06-19 12:58:17 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -122,13 +122,12 @@ namespace frm { "HH:MM:SS", -1, ltEnglishUS }, { "HH:MM AM/PM", -1, ltEnglishUS }, { "HH:MM:SS AM/PM", -1, ltEnglishUS }, - { NULL, -1 } + { NULL, -1, ltSystem } }; // don't switch this table here to const. The compiler could be tempted to really place this // in a non-writeable segment, but we want to fill in the format keys later .... return s_aFormats; } - break; case FormComponentType::DATEFIELD: { static FormatEntry s_aFormats[] = { @@ -147,7 +146,7 @@ namespace frm { "JJ-MM-TT", -1, ltGerman }, { "JJJJ-MM-TT", -1, ltGerman }, - { NULL, -1 } + { NULL, -1, ltSystem } }; return s_aFormats; } @@ -162,8 +161,8 @@ namespace frm //===================================================================== //--------------------------------------------------------------------- OLimitedFormats::OLimitedFormats(const Reference< XMultiServiceFactory >& _rxORB, const sal_Int16 _nClassId) - :m_nTableId(_nClassId) - ,m_nFormatEnumPropertyHandle(-1) + :m_nFormatEnumPropertyHandle(-1) + ,m_nTableId(_nClassId) { OSL_ENSURE(_rxORB.is(), "OLimitedFormats::OLimitedFormats: invalid service factory!"); acquireSupplier(_rxORB); |