summaryrefslogtreecommitdiff
path: root/unotools/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-04-20 12:26:34 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-04-20 12:26:34 +0000
commit0f5c7e40aa0c964d46bc4b2aaac8f53a95a8a19a (patch)
tree280a838d090e66e9de5075a5fbb60cc298f62637 /unotools/source
parent078c31d9a0988d1561d57b17ef40727217fc169a (diff)
INTEGRATION: CWS numbers203 (1.32.34); FILE MERGED
2006/03/03 12:12:38 er 1.32.34.1: #i61657# new ::com::sun::star::i18n::Currency2.LegacyOnly
Diffstat (limited to 'unotools/source')
-rw-r--r--unotools/source/i18n/localedatawrapper.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/unotools/source/i18n/localedatawrapper.cxx b/unotools/source/i18n/localedatawrapper.cxx
index 3b1bea36409a..d8ca2e17b1a6 100644
--- a/unotools/source/i18n/localedatawrapper.cxx
+++ b/unotools/source/i18n/localedatawrapper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: localedatawrapper.cxx,v $
*
- * $Revision: 1.33 $
+ * $Revision: 1.34 $
*
- * last change: $Author: vg $ $Date: 2006-04-07 16:29:50 $
+ * last change: $Author: hr $ $Date: 2006-04-20 13:26:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -129,7 +129,7 @@ LocaleDataWrapper::LocaleDataWrapper(
{
try
{
- xLD = Reference< XLocaleData > ( xSMgr->createInstance(
+ xLD = Reference< XLocaleData2 > ( xSMgr->createInstance(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( LOCALEDATA_SERVICENAME ) ) ),
uno::UNO_QUERY );
}
@@ -152,7 +152,7 @@ LocaleDataWrapper::LocaleDataWrapper(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( LOCALEDATA_SERVICENAME ) ) );
if ( xI.is() )
{
- Any x = xI->queryInterface( ::getCppuType((const Reference< XLocaleData >*)0) );
+ Any x = xI->queryInterface( ::getCppuType((const Reference< XLocaleData2 >*)0) );
x >>= xLD;
}
}
@@ -273,12 +273,12 @@ void LocaleDataWrapper::invalidateData()
}
-::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Currency > LocaleDataWrapper::getAllCurrencies() const
+::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Currency2 > LocaleDataWrapper::getAllCurrencies() const
{
try
{
if ( xLD.is() )
- return xLD->getAllCurrencies( getLocale() );
+ return xLD->getAllCurrencies2( getLocale() );
}
catch ( Exception& e )
{
@@ -288,7 +288,7 @@ void LocaleDataWrapper::invalidateData()
DBG_ERRORFILE( aMsg.GetBuffer() );
#endif
}
- return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Currency >(0);
+ return ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::Currency2 >(0);
}
@@ -767,9 +767,9 @@ USHORT LocaleDataWrapper::getCurrDigits() const
void LocaleDataWrapper::getCurrSymbolsImpl()
{
- Sequence< Currency > aCurrSeq = getAllCurrencies();
+ Sequence< Currency2 > aCurrSeq = getAllCurrencies();
sal_Int32 nCnt = aCurrSeq.getLength();
- Currency const * const pCurrArr = aCurrSeq.getArray();
+ Currency2 const * const pCurrArr = aCurrSeq.getArray();
sal_Int32 nElem;
for ( nElem = 0; nElem < nCnt; nElem++ )
{