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 | 09ec854d9875f1258f0241b694d01c2e8eada891 (patch) | |
tree | 2f862a04c134634d52cdcf8bec8c64c6e32e3a09 /dbaccess | |
parent | Add prefixes for component_getFactory methods (diff) | |
download | core-09ec854d9875f1258f0241b694d01c2e8eada891.tar.gz core-09ec854d9875f1258f0241b694d01c2e8eada891.zip |
callcatcher: remove unused methods
Diffstat (limited to 'dbaccess')
-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 a3fa95b01533..f7a7065c1be4 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 ) |