summaryrefslogtreecommitdiff
path: root/svx/source/inc/typeconversionclient.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/inc/typeconversionclient.hxx')
-rw-r--r--svx/source/inc/typeconversionclient.hxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/svx/source/inc/typeconversionclient.hxx b/svx/source/inc/typeconversionclient.hxx
index 53bf13b7702c..9ff7e12fe4d0 100644
--- a/svx/source/inc/typeconversionclient.hxx
+++ b/svx/source/inc/typeconversionclient.hxx
@@ -60,17 +60,16 @@ namespace svxform
// --------------------------------------------------------
inline double getValue(
const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn>& _rxVariant,
- const ::com::sun::star::util::Date& _rNullDate,
- sal_Int16 _nKeyType) const
+ const ::com::sun::star::util::Date& _rNullDate ) const
{
double nReturn(0);
if ( ensureLoaded() )
- nReturn = m_xTypeConversion->getValue(_rxVariant, _rNullDate, _nKeyType);
+ nReturn = m_xTypeConversion->getValue( _rxVariant, _rNullDate );
return nReturn;
}
// --------------------------------------------------------
- inline ::rtl::OUString getValue(
+ inline ::rtl::OUString getFormattedValue(
const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn >& _rxColumn,
const ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter >& _rxFormatter,
const ::com::sun::star::util::Date& _rNullDate,
@@ -79,7 +78,7 @@ namespace svxform
{
::rtl::OUString sReturn;
if ( ensureLoaded() )
- sReturn = m_xTypeConversion->getValue(_rxColumn, _rxFormatter, _rNullDate, _nKey, _nKeyType);
+ sReturn = m_xTypeConversion->getFormattedValue(_rxColumn, _rxFormatter, _rNullDate, _nKey, _nKeyType);
return sReturn;
}
};