diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 22:05:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 22:05:39 +0100 |
commit | 38b843f876cb321bafb6c86609b3075c95a3773a (patch) | |
tree | 3a88785ff17145bcb55594364eb53f1b25e25b96 | |
parent | d5012632cc0f5a53dcd4788ea58871100d8218aa (diff) |
callcatcher: remove unused methods
-rw-r--r-- | dbaccess/source/ui/control/FieldDescControl.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx index 671f909c9..30d22b96e 100644 --- a/dbaccess/source/ui/control/FieldDescControl.cxx +++ b/dbaccess/source/ui/control/FieldDescControl.cxx @@ -100,20 +100,7 @@ using namespace ::com::sun::star::util; namespace { - // ----------------------------------------------------------------------------- - double checkDoubleForDateFormat(double _nValue,sal_Int32 _nFormatKey,const Reference< ::com::sun::star::util::XNumberFormatter>& _xNumberFormatter) - { - double nValue = _nValue; - sal_Int32 nNumberFormat = ::comphelper::getNumberFormatType(_xNumberFormatter,_nFormatKey); - if( (nNumberFormat & ::com::sun::star::util::NumberFormat::DATE) == ::com::sun::star::util::NumberFormat::DATE - || (nNumberFormat & ::com::sun::star::util::NumberFormat::DATETIME) == ::com::sun::star::util::NumberFormat::DATETIME ) - { - nValue = DBTypeConversion::toStandardDbDate(DBTypeConversion::getNULLDate(_xNumberFormatter->getNumberFormatsSupplier()),nValue); - } - return nValue; - } - // ----------------------------------------------------------------------------- template< typename T1, typename T2> void lcl_HideAndDeleteControl(short& _nPos,T1** _pControl,T2** _pControlText) { if ( *_pControl ) |