diff options
author | Jan Holesovsky <kendy@collabora.com> | 2013-10-16 16:36:45 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-10-16 16:57:22 +0200 |
commit | 66013a154bd2dccc0db1edd14197ce419ba9a614 (patch) | |
tree | 0698af88b8d236e98bafa6848f73851e0b752f15 /dbaccess/source | |
parent | d62b71bddedccb6ff29090f621cc0803565332ec (diff) |
[API CHANGE]: PreView -> Preview, including .uno:PrintPagePreView.
Will be .uno:PrintPagePreview going forward.
Change-Id: Ie5a35467917a54a60dab9eaacf0690c9df27e6f6
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/control/FieldDescControl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx index 63f0ed5a4986..40b2f4b612cd 100644 --- a/dbaccess/source/ui/control/FieldDescControl.cxx +++ b/dbaccess/source/ui/control/FieldDescControl.cxx @@ -1782,9 +1782,9 @@ OUString OFieldDescControl::getControlDefault( const OFieldDescription* _pFieldD nValue = DBTypeConversion::toNullDate(DBTypeConversion::getNULLDate(xNumberFormatter->getNumberFormatsSupplier()),nValue); } - Reference< ::com::sun::star::util::XNumberFormatPreviewer> xPreViewer(xNumberFormatter,UNO_QUERY); - OSL_ENSURE(xPreViewer.is(),"XNumberFormatPreviewer is null!"); - sDefault = xPreViewer->convertNumberToPreviewString(sFormat,nValue,aLocale,sal_True); + Reference< ::com::sun::star::util::XNumberFormatPreviewer> xPreviewer(xNumberFormatter,UNO_QUERY); + OSL_ENSURE(xPreviewer.is(),"XNumberFormatPreviewer is null!"); + sDefault = xPreviewer->convertNumberToPreviewString(sFormat,nValue,aLocale,sal_True); } else if ( !(_bCheck && sDefault.isEmpty()) ) sDefault = xNumberFormatter->formatString(nFormatKey, sDefault.isEmpty() ? sFormat : sDefault); |