summaryrefslogtreecommitdiff
path: root/i18npool/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-19 10:34:45 +0200
committerEike Rathke <erack@redhat.com>2015-10-19 11:15:23 +0000
commit184637be60fcdbde3b3fb0ab0c1d158a92f63889 (patch)
treef4995fb1e5be06419efe4352e60984cf4d531d61 /i18npool/inc
parentc8479bdc5b007ca5ffe1d553be3d90fb03424526 (diff)
com::sun::star->css in i18npool
Change-Id: I13a290cba0f38c79eb2d93148b972d3d931c3862 Reviewed-on: https://gerrit.libreoffice.org/19445 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'i18npool/inc')
-rw-r--r--i18npool/inc/breakiteratorImpl.hxx80
-rw-r--r--i18npool/inc/breakiterator_cjk.hxx16
-rw-r--r--i18npool/inc/breakiterator_ctl.hxx10
-rw-r--r--i18npool/inc/breakiterator_th.hxx2
-rw-r--r--i18npool/inc/breakiterator_unicode.hxx50
-rw-r--r--i18npool/inc/calendarImpl.hxx82
-rw-r--r--i18npool/inc/calendar_gregorian.hxx80
-rw-r--r--i18npool/inc/calendar_hijri.hxx4
-rw-r--r--i18npool/inc/calendar_jewish.hxx6
-rw-r--r--i18npool/inc/cclass_unicode.hxx46
-rw-r--r--i18npool/inc/chaptercollator.hxx14
-rw-r--r--i18npool/inc/characterclassificationImpl.hxx67
-rw-r--r--i18npool/inc/collatorImpl.hxx44
-rw-r--r--i18npool/inc/collator_unicode.hxx26
-rw-r--r--i18npool/inc/defaultnumberingprovider.hxx62
-rw-r--r--i18npool/inc/indexentrysupplier.hxx68
-rw-r--r--i18npool/inc/indexentrysupplier_asian.hxx20
-rw-r--r--i18npool/inc/indexentrysupplier_common.hxx69
-rw-r--r--i18npool/inc/indexentrysupplier_default.hxx26
-rw-r--r--i18npool/inc/indexentrysupplier_ja_phonetic.hxx22
-rw-r--r--i18npool/inc/inputsequencechecker.hxx28
-rw-r--r--i18npool/inc/inputsequencechecker_hi.hxx4
-rw-r--r--i18npool/inc/inputsequencechecker_th.hxx4
-rw-r--r--i18npool/inc/localedata.hxx108
-rw-r--r--i18npool/inc/nativenumbersupplier.hxx42
-rw-r--r--i18npool/inc/numberformatcode.hxx36
-rw-r--r--i18npool/inc/ordinalsuffix.hxx10
-rw-r--r--i18npool/inc/textToPronounce_zh.hxx14
-rw-r--r--i18npool/inc/textconversion.hxx136
-rw-r--r--i18npool/inc/textconversionImpl.hxx60
-rw-r--r--i18npool/inc/transliterationImpl.hxx82
-rw-r--r--i18npool/inc/transliteration_Ignore.hxx36
-rw-r--r--i18npool/inc/transliteration_Numeric.hxx24
-rw-r--r--i18npool/inc/transliteration_OneToOne.hxx30
-rw-r--r--i18npool/inc/transliteration_body.hxx24
-rw-r--r--i18npool/inc/transliteration_caseignore.hxx18
-rw-r--r--i18npool/inc/transliteration_commonclass.hxx66
-rw-r--r--i18npool/inc/unoscripttypedetector.hxx24
38 files changed, 769 insertions, 771 deletions
diff --git a/i18npool/inc/breakiteratorImpl.hxx b/i18npool/inc/breakiteratorImpl.hxx
index ce77d9f6cb49..82547e32fc11 100644
--- a/i18npool/inc/breakiteratorImpl.hxx
+++ b/i18npool/inc/breakiteratorImpl.hxx
@@ -42,72 +42,72 @@ namespace com { namespace sun { namespace star { namespace i18n {
class BreakIteratorImpl : public cppu::WeakImplHelper
<
XBreakIterator,
- com::sun::star::lang::XServiceInfo
+ css::lang::XServiceInfo
>
{
public:
- BreakIteratorImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ BreakIteratorImpl( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
BreakIteratorImpl();
virtual ~BreakIteratorImpl();
virtual sal_Int32 SAL_CALL nextCharacters( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount,
- sal_Int32& nDone ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount,
+ sal_Int32& nDone ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL previousCharacters( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount,
- sal_Int32& nDone ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount,
+ sal_Int32& nDone ) throw(css::uno::RuntimeException, std::exception) override;
virtual Boundary SAL_CALL previousWord( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType) throw(css::uno::RuntimeException, std::exception) override;
virtual Boundary SAL_CALL nextWord( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType) throw(css::uno::RuntimeException, std::exception) override;
virtual Boundary SAL_CALL getWordBoundary( const OUString& Text, sal_Int32 nPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType, sal_Bool bDirection )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType, sal_Bool bDirection )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL isBeginWord( const OUString& Text, sal_Int32 nPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL isEndWord( const OUString& Text, sal_Int32 nPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL getWordType( const OUString& Text, sal_Int32 nPos,
- const com::sun::star::lang::Locale& nLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL beginOfSentence( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL endOfSentence( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale ) throw(css::uno::RuntimeException, std::exception) override;
virtual LineBreakResults SAL_CALL getLineBreak( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int32 nMinBreakPos,
+ const css::lang::Locale& nLocale, sal_Int32 nMinBreakPos,
const LineBreakHyphenationOptions& hOptions, const LineBreakUserOptions& bOptions )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL getScriptType( const OUString& Text, sal_Int32 nPos )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL beginOfScript( const OUString& Text, sal_Int32 nStartPos,
- sal_Int16 ScriptType ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int16 ScriptType ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL endOfScript( const OUString& Text, sal_Int32 nStartPos,
- sal_Int16 ScriptType ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int16 ScriptType ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL previousScript( const OUString& Text, sal_Int32 nStartPos,
- sal_Int16 ScriptType ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int16 ScriptType ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL nextScript( const OUString& Text, sal_Int32 nStartPos,
- sal_Int16 ScriptType ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int16 ScriptType ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL beginOfCharBlock( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 CharType ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 CharType ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL endOfCharBlock( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 CharType ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 CharType ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL previousCharBlock( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 CharType ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 CharType ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL nextCharBlock( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 CharType ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 CharType ) throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
static sal_Int16 SAL_CALL getScriptClass(sal_uInt32 currentChar);
protected:
@@ -116,19 +116,19 @@ protected:
private:
struct lookupTableItem {
- lookupTableItem(const com::sun::star::lang::Locale& _aLocale, com::sun::star::uno::Reference < XBreakIterator >& _xBI) : aLocale(_aLocale), xBI(_xBI) {};
- com::sun::star::lang::Locale aLocale;
- com::sun::star::uno::Reference < XBreakIterator > xBI;
+ lookupTableItem(const css::lang::Locale& _aLocale, css::uno::Reference < XBreakIterator >& _xBI) : aLocale(_aLocale), xBI(_xBI) {};
+ css::lang::Locale aLocale;
+ css::uno::Reference < XBreakIterator > xBI;
};
- std::vector<lookupTableItem*> lookupTable;
- com::sun::star::lang::Locale aLocale;
- com::sun::star::uno::Reference < XBreakIterator > xBI;
- com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext;
+ std::vector<lookupTableItem*> lookupTable;
+ css::lang::Locale aLocale;
+ css::uno::Reference < XBreakIterator > xBI;
+ css::uno::Reference < css::uno::XComponentContext > m_xContext;
bool SAL_CALL createLocaleSpecificBreakIterator( const OUString& aLocaleName )
- throw( com::sun::star::uno::RuntimeException );
- com::sun::star::uno::Reference < XBreakIterator > SAL_CALL getLocaleSpecificBreakIterator( const com::sun::star::lang::Locale& rLocale )
- throw( com::sun::star::uno::RuntimeException );
+ throw( css::uno::RuntimeException );
+ css::uno::Reference < XBreakIterator > SAL_CALL getLocaleSpecificBreakIterator( const css::lang::Locale& rLocale )
+ throw( css::uno::RuntimeException );
};
diff --git a/i18npool/inc/breakiterator_cjk.hxx b/i18npool/inc/breakiterator_cjk.hxx
index 5d78fb0e2406..a477558f7bee 100644
--- a/i18npool/inc/breakiterator_cjk.hxx
+++ b/i18npool/inc/breakiterator_cjk.hxx
@@ -32,18 +32,18 @@ public:
BreakIterator_CJK();
Boundary SAL_CALL nextWord( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType)
+ throw(css::uno::RuntimeException, std::exception) override;
Boundary SAL_CALL previousWord( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType)
+ throw(css::uno::RuntimeException, std::exception) override;
Boundary SAL_CALL getWordBoundary( const OUString& Text, sal_Int32 nPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType, sal_Bool bDirection )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType, sal_Bool bDirection )
+ throw(css::uno::RuntimeException, std::exception) override;
LineBreakResults SAL_CALL getLineBreak( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int32 nMinBreakPos,
+ const css::lang::Locale& nLocale, sal_Int32 nMinBreakPos,
const LineBreakHyphenationOptions& hOptions, const LineBreakUserOptions& bOptions )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
protected:
xdictionary *dict;
diff --git a/i18npool/inc/breakiterator_ctl.hxx b/i18npool/inc/breakiterator_ctl.hxx
index 704a3f6dbc22..7715a2e3e50a 100644
--- a/i18npool/inc/breakiterator_ctl.hxx
+++ b/i18npool/inc/breakiterator_ctl.hxx
@@ -34,21 +34,21 @@ public:
virtual ~BreakIterator_CTL();
virtual sal_Int32 SAL_CALL previousCharacters(const OUString& text, sal_Int32 start,
const lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 count,
- sal_Int32& nDone) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int32& nDone) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL nextCharacters(const OUString& text, sal_Int32 start,
const lang::Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 count,
- sal_Int32& nDone) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int32& nDone) throw(css::uno::RuntimeException, std::exception) override;
virtual LineBreakResults SAL_CALL getLineBreak( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int32 nMinBreakPos,
+ const css::lang::Locale& nLocale, sal_Int32 nMinBreakPos,
const LineBreakHyphenationOptions& hOptions, const LineBreakUserOptions& bOptions )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
protected:
OUString cachedText; // for cell index
sal_Int32* nextCellIndex;
sal_Int32* previousCellIndex;
sal_Int32 cellIndexSize;
- virtual void SAL_CALL makeIndex(const OUString& text, sal_Int32 pos) throw(com::sun::star::uno::RuntimeException);
+ virtual void SAL_CALL makeIndex(const OUString& text, sal_Int32 pos) throw(css::uno::RuntimeException);
};
} } } }
diff --git a/i18npool/inc/breakiterator_th.hxx b/i18npool/inc/breakiterator_th.hxx
index 1428151f16d3..dccafea9c24f 100644
--- a/i18npool/inc/breakiterator_th.hxx
+++ b/i18npool/inc/breakiterator_th.hxx
@@ -32,7 +32,7 @@ public:
virtual ~BreakIterator_th();
protected:
- void SAL_CALL makeIndex(const OUString& text, sal_Int32 pos) throw(com::sun::star::uno::RuntimeException) override;
+ void SAL_CALL makeIndex(const OUString& text, sal_Int32 pos) throw(css::uno::RuntimeException) override;
};
} } } }
diff --git a/i18npool/inc/breakiterator_unicode.hxx b/i18npool/inc/breakiterator_unicode.hxx
index 9983cfc90952..94b9f85b6fe9 100644
--- a/i18npool/inc/breakiterator_unicode.hxx
+++ b/i18npool/inc/breakiterator_unicode.hxx
@@ -40,36 +40,36 @@ public:
virtual ~BreakIterator_Unicode();
virtual sal_Int32 SAL_CALL previousCharacters( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount,
- sal_Int32& nDone ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount,
+ sal_Int32& nDone ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL nextCharacters( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount,
- sal_Int32& nDone ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale, sal_Int16 nCharacterIteratorMode, sal_Int32 nCount,
+ sal_Int32& nDone ) throw(css::uno::RuntimeException, std::exception) override;
virtual Boundary SAL_CALL previousWord( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType) throw(css::uno::RuntimeException, std::exception) override;
virtual Boundary SAL_CALL nextWord( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType) throw(css::uno::RuntimeException, std::exception) override;
virtual Boundary SAL_CALL getWordBoundary( const OUString& Text, sal_Int32 nPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int16 WordType, sal_Bool bDirection )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale, sal_Int16 WordType, sal_Bool bDirection )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL beginOfSentence( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL endOfSentence( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& nLocale ) throw(css::uno::RuntimeException, std::exception) override;
virtual LineBreakResults SAL_CALL getLineBreak( const OUString& Text, sal_Int32 nStartPos,
- const com::sun::star::lang::Locale& nLocale, sal_Int32 nMinBreakPos,
+ const css::lang::Locale& nLocale, sal_Int32 nMinBreakPos,
const LineBreakHyphenationOptions& hOptions, const LineBreakUserOptions& bOptions )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
protected:
const sal_Char *cBreakIterator, *lineRule;
@@ -77,14 +77,12 @@ protected:
struct BI_Data
{
- OUString aICUText;
- UText *ut;
- icu::BreakIterator *aBreakIterator;
- com::sun::star::lang::Locale maLocale;
-
- BI_Data()
- : ut(NULL)
- , aBreakIterator(NULL)
+ OUString aICUText;
+ UText* ut;
+ icu::BreakIterator* aBreakIterator;
+ css::lang::Locale maLocale;
+
+ BI_Data() : ut(NULL), aBreakIterator(NULL)
{
}
~BI_Data()
@@ -97,8 +95,8 @@ protected:
sal_Int16 aBreakType;
- void SAL_CALL loadICUBreakIterator(const com::sun::star::lang::Locale& rLocale,
- sal_Int16 rBreakType, sal_Int16 rWordType, const sal_Char* name, const OUString& rText) throw(com::sun::star::uno::RuntimeException);
+ void SAL_CALL loadICUBreakIterator(const css::lang::Locale& rLocale,
+ sal_Int16 rBreakType, sal_Int16 rWordType, const sal_Char* name, const OUString& rText) throw(css::uno::RuntimeException);
};
} } } }
diff --git a/i18npool/inc/calendarImpl.hxx b/i18npool/inc/calendarImpl.hxx
index 80d33a10da1d..286972e4b7be 100644
--- a/i18npool/inc/calendarImpl.hxx
+++ b/i18npool/inc/calendarImpl.hxx
@@ -36,15 +36,15 @@ namespace com { namespace sun { namespace star { namespace i18n {
class CalendarImpl : public cppu::WeakImplHelper
<
- com::sun::star::i18n::XCalendar4,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XCalendar4,
+ css::lang::XServiceInfo
>
{
public:
// Constructors
CalendarImpl() {};
- CalendarImpl(const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext);
+ CalendarImpl(const css::uno::Reference < css::uno::XComponentContext >& rxContext);
/**
* Destructor
@@ -53,56 +53,56 @@ public:
// Methods
- virtual void SAL_CALL loadDefaultCalendar(const com::sun::star::lang::Locale& rLocale) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL loadCalendar(const OUString& uniqueID, const com::sun::star::lang::Locale& rLocale) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual Calendar SAL_CALL getLoadedCalendar() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < OUString > SAL_CALL getAllCalendars(const com::sun::star::lang::Locale& rLocale) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getUniqueID() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDateTime(double fTimeInDays) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual double SAL_CALL getDateTime() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setValue( sal_Int16 nFieldIndex, sal_Int16 nValue ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getValue(sal_Int16 nFieldIndex) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isValid() throw (com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addValue(sal_Int16 nFieldIndex, sal_Int32 nAmount) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getFirstDayOfWeek() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setFirstDayOfWeek(sal_Int16 nDay) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setMinimumNumberOfDaysForFirstWeek(sal_Int16 nDays) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getMinimumNumberOfDaysForFirstWeek() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getNumberOfMonthsInYear() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getNumberOfDaysInWeek() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem > SAL_CALL getMonths() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem > SAL_CALL getDays() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getDisplayName(sal_Int16 nCalendarDisplayIndex, sal_Int16 nIdx, sal_Int16 nNameType) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL loadDefaultCalendar(const css::lang::Locale& rLocale) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL loadCalendar(const OUString& uniqueID, const css::lang::Locale& rLocale) throw(css::uno::RuntimeException, std::exception) override;
+ virtual Calendar SAL_CALL getLoadedCalendar() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < OUString > SAL_CALL getAllCalendars(const css::lang::Locale& rLocale) throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getUniqueID() throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setDateTime(double fTimeInDays) throw(css::uno::RuntimeException, std::exception) override;
+ virtual double SAL_CALL getDateTime() throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setValue( sal_Int16 nFieldIndex, sal_Int16 nValue ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getValue(sal_Int16 nFieldIndex) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL isValid() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addValue(sal_Int16 nFieldIndex, sal_Int32 nAmount) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getFirstDayOfWeek() throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setFirstDayOfWeek(sal_Int16 nDay) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setMinimumNumberOfDaysForFirstWeek(sal_Int16 nDays) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getMinimumNumberOfDaysForFirstWeek() throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getNumberOfMonthsInYear() throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getNumberOfDaysInWeek() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem > SAL_CALL getMonths() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem > SAL_CALL getDays() throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getDisplayName(sal_Int16 nCalendarDisplayIndex, sal_Int16 nIdx, sal_Int16 nNameType) throw(css::uno::RuntimeException, std::exception) override;
// Methods in XExtendedCalendar
- virtual OUString SAL_CALL getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) throw (css::uno::RuntimeException, std::exception) override;
// XCalendar3
- virtual Calendar2 SAL_CALL getLoadedCalendar2() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem2 > SAL_CALL getDays2() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem2 > SAL_CALL getMonths2() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem2 > SAL_CALL getGenitiveMonths2() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem2 > SAL_CALL getPartitiveMonths2() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual Calendar2 SAL_CALL getLoadedCalendar2() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem2 > SAL_CALL getDays2() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem2 > SAL_CALL getMonths2() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem2 > SAL_CALL getGenitiveMonths2() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem2 > SAL_CALL getPartitiveMonths2() throw(css::uno::RuntimeException, std::exception) override;
// XCalendar4
- virtual void SAL_CALL setLocalDateTime(double TimeInDays) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual double SAL_CALL getLocalDateTime() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setLocalDateTime(double TimeInDays) throw(css::uno::RuntimeException, std::exception) override;
+ virtual double SAL_CALL getLocalDateTime() throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
private:
struct lookupTableItem {
- lookupTableItem(const OUString& _uniqueID, com::sun::star::uno::Reference < com::sun::star::i18n::XCalendar4 >& _xCalendar) :
- uniqueID(_uniqueID), xCalendar(_xCalendar) {}
- OUString uniqueID;
- com::sun::star::uno::Reference < com::sun::star::i18n::XCalendar4 > xCalendar;
+ lookupTableItem(const OUString& _uniqueID, css::uno::Reference < css::i18n::XCalendar4 >& _xCalendar)
+ : uniqueID(_uniqueID), xCalendar(_xCalendar) {}
+ OUString uniqueID;
+ css::uno::Reference < css::i18n::XCalendar4 > xCalendar;
};
- std::vector<lookupTableItem*> lookupTable;
- com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext;
- com::sun::star::uno::Reference < com::sun::star::i18n::XCalendar4 > xCalendar;
+ std::vector<lookupTableItem*> lookupTable;
+ css::uno::Reference < css::uno::XComponentContext > m_xContext;
+ css::uno::Reference < css::i18n::XCalendar4 > xCalendar;
};
} } } }
diff --git a/i18npool/inc/calendar_gregorian.hxx b/i18npool/inc/calendar_gregorian.hxx
index b3fcdf9451bd..31883d693e55 100644
--- a/i18npool/inc/calendar_gregorian.hxx
+++ b/i18npool/inc/calendar_gregorian.hxx
@@ -56,70 +56,70 @@ public:
virtual ~Calendar_gregorian();
// Methods in XCalendar
- virtual void SAL_CALL loadCalendar(const OUString& uniqueID, const com::sun::star::lang::Locale& rLocale) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setDateTime(double fTimeInDays) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual double SAL_CALL getDateTime() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setValue( sal_Int16 nFieldIndex, sal_Int16 nValue ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getValue(sal_Int16 nFieldIndex) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addValue(sal_Int16 nFieldIndex, sal_Int32 nAmount) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isValid() throw (com::sun::star::uno::RuntimeException, std::exception) override;
- virtual Calendar SAL_CALL getLoadedCalendar() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getUniqueID() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getFirstDayOfWeek() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setFirstDayOfWeek(sal_Int16 nDay) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setMinimumNumberOfDaysForFirstWeek(sal_Int16 nDays) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getMinimumNumberOfDaysForFirstWeek() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getNumberOfMonthsInYear() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getNumberOfDaysInWeek() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem > SAL_CALL getMonths() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem > SAL_CALL getDays() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getDisplayName(sal_Int16 nCalendarDisplayIndex, sal_Int16 nIdx, sal_Int16 nNameType) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL loadCalendar(const OUString& uniqueID, const css::lang::Locale& rLocale) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setDateTime(double fTimeInDays) throw(css::uno::RuntimeException, std::exception) override;
+ virtual double SAL_CALL getDateTime() throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setValue( sal_Int16 nFieldIndex, sal_Int16 nValue ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getValue(sal_Int16 nFieldIndex) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addValue(sal_Int16 nFieldIndex, sal_Int32 nAmount) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL isValid() throw (css::uno::RuntimeException, std::exception) override;
+ virtual Calendar SAL_CALL getLoadedCalendar() throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getUniqueID() throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getFirstDayOfWeek() throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setFirstDayOfWeek(sal_Int16 nDay) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setMinimumNumberOfDaysForFirstWeek(sal_Int16 nDays) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getMinimumNumberOfDaysForFirstWeek() throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getNumberOfMonthsInYear() throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getNumberOfDaysInWeek() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem > SAL_CALL getMonths() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem > SAL_CALL getDays() throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getDisplayName(sal_Int16 nCalendarDisplayIndex, sal_Int16 nIdx, sal_Int16 nNameType) throw(css::uno::RuntimeException, std::exception) override;
// Methods in XExtendedCalendar
- virtual OUString SAL_CALL getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) throw (css::uno::RuntimeException, std::exception) override;
// XCalendar3
- virtual Calendar2 SAL_CALL getLoadedCalendar2() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem2 > SAL_CALL getDays2() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem2 > SAL_CALL getMonths2() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem2 > SAL_CALL getGenitiveMonths2() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < CalendarItem2 > SAL_CALL getPartitiveMonths2() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual Calendar2 SAL_CALL getLoadedCalendar2() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem2 > SAL_CALL getDays2() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem2 > SAL_CALL getMonths2() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem2 > SAL_CALL getGenitiveMonths2() throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < CalendarItem2 > SAL_CALL getPartitiveMonths2() throw(css::uno::RuntimeException, std::exception) override;
// XCalendar4
- virtual void SAL_CALL setLocalDateTime(double TimeInDays) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual double SAL_CALL getLocalDateTime() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setLocalDateTime(double TimeInDays) throw(css::uno::RuntimeException, std::exception) override;
+ virtual double SAL_CALL getLocalDateTime() throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
protected:
const Era *eraArray;
icu::Calendar *body;
css::uno::Reference<NativeNumberSupplierService> mxNatNum;
const sal_Char* cCalendar;
- com::sun::star::lang::Locale aLocale;
+ css::lang::Locale aLocale;
sal_uInt32 fieldSet;
sal_Int16 fieldValue[FIELD_INDEX_COUNT];
sal_Int16 fieldSetValue[FIELD_INDEX_COUNT];
- virtual void mapToGregorian() throw(com::sun::star::uno::RuntimeException);
- virtual void mapFromGregorian() throw(com::sun::star::uno::RuntimeException);
- void getValue() throw(com::sun::star::uno::RuntimeException);
+ virtual void mapToGregorian() throw(css::uno::RuntimeException);
+ virtual void mapFromGregorian() throw(css::uno::RuntimeException);
+ void getValue() throw(css::uno::RuntimeException);
- OUString getDisplayStringImpl( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode, bool bEraMode ) throw (com::sun::star::uno::RuntimeException);
+ OUString getDisplayStringImpl( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode, bool bEraMode ) throw (css::uno::RuntimeException);
private:
Calendar2 aCalendar;
/** Submit fieldSetValue array according to fieldSet. */
- void submitFields() throw(com::sun::star::uno::RuntimeException);
+ void submitFields() throw(css::uno::RuntimeException);
/** Submit fieldSetValue array according to fieldSet, plus YMDhms if >=0,
plus zone and DST if != 0 */
- void submitValues( sal_Int32 nYear, sal_Int32 nMonth, sal_Int32 nDay, sal_Int32 nHour, sal_Int32 nMinute, sal_Int32 nSecond, sal_Int32 nMilliSecond, sal_Int32 nZone, sal_Int32 nDST) throw(com::sun::star::uno::RuntimeException);
+ void submitValues( sal_Int32 nYear, sal_Int32 nMonth, sal_Int32 nDay, sal_Int32 nHour, sal_Int32 nMinute, sal_Int32 nSecond, sal_Int32 nMilliSecond, sal_Int32 nZone, sal_Int32 nDST) throw(css::uno::RuntimeException);
/** Set fields internally. */
- void setValue() throw(com::sun::star::uno::RuntimeException);
+ void setValue() throw(css::uno::RuntimeException);
/** Obtain combined field values for timezone offset (minutes+secondmillis)
in milliseconds and whether fields were set. */
bool getZoneOffset( sal_Int32 & o_nOffset ) const;
@@ -140,8 +140,8 @@ class Calendar_hanja : public Calendar_gregorian
public:
// Constructors
Calendar_hanja();
- virtual void SAL_CALL loadCalendar(const OUString& uniqueID, const com::sun::star::lang::Locale& rLocale) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getDisplayName(sal_Int16 nCalendarDisplayIndex, sal_Int16 nIdx, sal_Int16 nNameType) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL loadCalendar(const OUString& uniqueID, const css::lang::Locale& rLocale) throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getDisplayName(sal_Int16 nCalendarDisplayIndex, sal_Int16 nIdx, sal_Int16 nNameType) throw(css::uno::RuntimeException, std::exception) override;
};
@@ -174,7 +174,7 @@ public:
Calendar_buddhist();
// Methods in XExtendedCalendar
- virtual OUString SAL_CALL getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) throw (css::uno::RuntimeException, std::exception) override;
};
} } } }
diff --git a/i18npool/inc/calendar_hijri.hxx b/i18npool/inc/calendar_hijri.hxx
index 98e938ac0507..d3ee50ae027c 100644
--- a/i18npool/inc/calendar_hijri.hxx
+++ b/i18npool/inc/calendar_hijri.hxx
@@ -36,8 +36,8 @@ public:
Calendar_hijri();
protected:
- void mapToGregorian() throw(com::sun::star::uno::RuntimeException) override;
- void mapFromGregorian() throw(com::sun::star::uno::RuntimeException) override;
+ void mapToGregorian() throw(css::uno::RuntimeException) override;
+ void mapFromGregorian() throw(css::uno::RuntimeException) override;
// radians per degree (pi/180)
static const double RadPerDeg;
diff --git a/i18npool/inc/calendar_jewish.hxx b/i18npool/inc/calendar_jewish.hxx
index 18a8ed20d4a3..a4242c296f13 100644
--- a/i18npool/inc/calendar_jewish.hxx
+++ b/i18npool/inc/calendar_jewish.hxx
@@ -34,11 +34,11 @@ public:
Calendar_jewish();
// Methods in XExtendedCalendar
- virtual OUString SAL_CALL getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getDisplayString( sal_Int32 nCalendarDisplayCode, sal_Int16 nNativeNumberMode ) throw (css::uno::RuntimeException, std::exception) override;
protected:
- void mapToGregorian() throw(com::sun::star::uno::RuntimeException) override;
- void mapFromGregorian() throw(com::sun::star::uno::RuntimeException) override;
+ void mapToGregorian() throw(css::uno::RuntimeException) override;
+ void mapFromGregorian() throw(css::uno::RuntimeException) override;
};
} } } }
diff --git a/i18npool/inc/cclass_unicode.hxx b/i18npool/inc/cclass_unicode.hxx
index adb2b27aec63..eb449e45db38 100644
--- a/i18npool/inc/cclass_unicode.hxx
+++ b/i18npool/inc/cclass_unicode.hxx
@@ -38,35 +38,35 @@ typedef sal_uInt32 UPT_FLAG_TYPE;
class cclass_Unicode : public cppu::WeakImplHelper < XCharacterClassification, css::lang::XServiceInfo >
{
public:
- cclass_Unicode(const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ cclass_Unicode(const css::uno::Reference < css::uno::XComponentContext >& rxContext );
virtual ~cclass_Unicode();
virtual OUString SAL_CALL toUpper( const OUString& Text, sal_Int32 nPos, sal_Int32 nCount,
- const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL toLower( const OUString& Text, sal_Int32 nPos, sal_Int32 nCount,
- const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL toTitle( const OUString& Text, sal_Int32 nPos, sal_Int32 nCount,
- const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getType( const OUString& Text, sal_Int32 nPos ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getType( const OUString& Text, sal_Int32 nPos ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL getCharacterDirection( const OUString& Text, sal_Int32 nPos )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getScript( const OUString& Text, sal_Int32 nPos ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getScript( const OUString& Text, sal_Int32 nPos ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL getCharacterType( const OUString& text, sal_Int32 nPos,
- const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL getStringType( const OUString& text, sal_Int32 nPos, sal_Int32 nCount,
- const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
virtual ParseResult SAL_CALL parseAnyToken( const OUString& Text, sal_Int32 nPos,
- const com::sun::star::lang::Locale& rLocale, sal_Int32 nStartCharFlags, const OUString& userDefinedCharactersStart,
- sal_Int32 nContCharFlags, const OUString& userDefinedCharactersCont ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale, sal_Int32 nStartCharFlags, const OUString& userDefinedCharactersStart,
+ sal_Int32 nContCharFlags, const OUString& userDefinedCharactersCont ) throw(css::uno::RuntimeException, std::exception) override;
virtual ParseResult SAL_CALL parsePredefinedToken( sal_Int32 nTokenType, const OUString& Text,
- sal_Int32 nPos, const com::sun::star::lang::Locale& rLocale, sal_Int32 nStartCharFlags,
+ sal_Int32 nPos, const css::lang::Locale& rLocale, sal_Int32 nStartCharFlags,
const OUString& userDefinedCharactersStart, sal_Int32 nContCharFlags,
- const OUString& userDefinedCharactersCont ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& userDefinedCharactersCont ) throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
private:
Transliteration_casemapping *trans;
@@ -117,12 +117,12 @@ private:
static const sal_Unicode* StrChr( const sal_Unicode* pStr, sal_Unicode c );
- com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext;
+ css::uno::Reference < css::uno::XComponentContext > m_xContext;
/// used for parser only
- com::sun::star::lang::Locale aParserLocale;
- com::sun::star::uno::Reference < XLocaleData4 > mxLocaleData;
- com::sun::star::uno::Reference < com::sun::star::i18n::XNativeNumberSupplier > xNatNumSup;
+ css::lang::Locale aParserLocale;
+ css::uno::Reference < XLocaleData4 > mxLocaleData;
+ css::uno::Reference < css::i18n::XNativeNumberSupplier > xNatNumSup;
OUString aStartChars;
OUString aContChars;
UPT_FLAG_TYPE* pTable;
@@ -150,12 +150,12 @@ private:
UPT_FLAG_TYPE getContCharsFlags( sal_Unicode c );
/// Setup parser table. Calls initParserTable() only if needed.
- void setupParserTable( const com::sun::star::lang::Locale& rLocale, sal_Int32 startCharTokenType,
+ void setupParserTable( const css::lang::Locale& rLocale, sal_Int32 startCharTokenType,
const OUString& userDefinedCharactersStart, sal_Int32 contCharTokenType,
const OUString& userDefinedCharactersCont );
/// Init parser table.
- void initParserTable( const com::sun::star::lang::Locale& rLocale, sal_Int32 startCharTokenType,
+ void initParserTable( const css::lang::Locale& rLocale, sal_Int32 startCharTokenType,
const OUString& userDefinedCharactersStart, sal_Int32 contCharTokenType,
const OUString& userDefinedCharactersCont );
@@ -167,7 +167,7 @@ private:
sal_Int32 nTokenType = 0xffffffff );
/// Setup International class, new'ed only if different from existing.
- bool setupInternational( const com::sun::star::lang::Locale& rLocale );
+ bool setupInternational( const css::lang::Locale& rLocale );
/// Implementation of getCharacterType() for one single character
static sal_Int32 SAL_CALL getCharType( const OUString& Text, sal_Int32 *nPos, sal_Int32 increment);
diff --git a/i18npool/inc/chaptercollator.hxx b/i18npool/inc/chaptercollator.hxx
index 3b3eae278cc7..57adfd27e228 100644
--- a/i18npool/inc/chaptercollator.hxx
+++ b/i18npool/inc/chaptercollator.hxx
@@ -31,22 +31,22 @@ class ChapterCollator : public CollatorImpl
{
public:
// Constructors
- ChapterCollator( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ ChapterCollator( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
// Destructor
virtual ~ChapterCollator();
sal_Int32 SAL_CALL compareSubstring( const OUString& s1, sal_Int32 off1, sal_Int32 len1,
- const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- sal_Int32 SAL_CALL compareString( const OUString& s1, const OUString& s2) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(css::uno::RuntimeException, std::exception) override;
+ sal_Int32 SAL_CALL compareString( const OUString& s1, const OUString& s2) throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
private:
// CharacterClassification Implementation
- com::sun::star::uno::Reference< XCharacterClassification > cclass;
+ css::uno::Reference< XCharacterClassification > cclass;
};
} } } }
diff --git a/i18npool/inc/characterclassificationImpl.hxx b/i18npool/inc/characterclassificationImpl.hxx
index a9cd538dfddf..ef44b2655ef8 100644
--- a/i18npool/inc/characterclassificationImpl.hxx
+++ b/i18npool/inc/characterclassificationImpl.hxx
@@ -31,63 +31,63 @@ namespace com { namespace sun { namespace star { namespace i18n {
class CharacterClassificationImpl : public cppu::WeakImplHelper
<
XCharacterClassification,
- com::sun::star::lang::XServiceInfo
+ css::lang::XServiceInfo
>
{
public:
- CharacterClassificationImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ CharacterClassificationImpl( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
virtual ~CharacterClassificationImpl();
virtual OUString SAL_CALL toUpper( const OUString& Text,
- sal_Int32 nPos, sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int32 nPos, sal_Int32 nCount, const css::lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL toLower( const OUString& Text,
- sal_Int32 nPos, sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int32 nPos, sal_Int32 nCount, const css::lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL toTitle( const OUString& Text, sal_Int32 nPos,
- sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int32 nCount, const css::lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL getType( const OUString& Text, sal_Int32 nPos )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL getCharacterDirection( const OUString& Text, sal_Int32 nPos )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL getScript( const OUString& Text, sal_Int32 nPos )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL getCharacterType( const OUString& text, sal_Int32 nPos,
- const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL getStringType( const OUString& text, sal_Int32 nPos,
- sal_Int32 nCount, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int32 nCount, const css::lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual ParseResult SAL_CALL parseAnyToken( const OUString& Text, sal_Int32 nPos,
- const com::sun::star::lang::Locale& rLocale, sal_Int32 nStartCharFlags,
+ const css::lang::Locale& rLocale, sal_Int32 nStartCharFlags,
const OUString& userDefinedCharactersStart, sal_Int32 nContCharFlags,
const OUString& userDefinedCharactersCont )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual ParseResult SAL_CALL parsePredefinedToken( sal_Int32 nTokenType,
- const OUString& Text, sal_Int32 nPos, const com::sun::star::lang::Locale& rLocale,
+ const OUString& Text, sal_Int32 nPos, const css::lang::Locale& rLocale,
sal_Int32 nStartCharFlags, const OUString& userDefinedCharactersStart,
sal_Int32 nContCharFlags, const OUString& userDefinedCharactersCont )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
private:
struct lookupTableItem {
- lookupTableItem(const com::sun::star::lang::Locale& rLocale, const OUString& rName,
- com::sun::star::uno::Reference < XCharacterClassification >& rxCI) :
+ lookupTableItem(const css::lang::Locale& rLocale, const OUString& rName,
+ css::uno::Reference < XCharacterClassification >& rxCI) :
aLocale(rLocale), aName(rName), xCI(rxCI) {};
- com::sun::star::lang::Locale aLocale;
+ css::lang::Locale aLocale;
OUString aName;
- com::sun::star::uno::Reference < XCharacterClassification > xCI;
- bool SAL_CALL equals(const com::sun::star::lang::Locale& rLocale) {
+ css::uno::Reference < XCharacterClassification > xCI;
+ bool SAL_CALL equals(const css::lang::Locale& rLocale) {
return aLocale.Language == rLocale.Language &&
aLocale.Country == rLocale.Country &&
aLocale.Variant == rLocale.Variant;
@@ -96,13 +96,12 @@ private:
std::vector<lookupTableItem*> lookupTable;
lookupTableItem *cachedItem;
- com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext;
- com::sun::star::uno::Reference < XCharacterClassification > xUCI;
+ css::uno::Reference < css::uno::XComponentContext > m_xContext;
+ css::uno::Reference < XCharacterClassification > xUCI;
- com::sun::star::uno::Reference < XCharacterClassification > SAL_CALL
- getLocaleSpecificCharacterClassification(const com::sun::star::lang::Locale& rLocale) throw(com::sun::star::uno::RuntimeException);
- bool SAL_CALL
- createLocaleSpecificCharacterClassification(const OUString& serviceName, const com::sun::star::lang::Locale& rLocale);
+ css::uno::Reference < XCharacterClassification > SAL_CALL getLocaleSpecificCharacterClassification(const css::lang::Locale& rLocale)
+ throw(css::uno::RuntimeException);
+ bool SAL_CALL createLocaleSpecificCharacterClassification(const OUString& serviceName, const css::lang::Locale& rLocale);
};
diff --git a/i18npool/inc/collatorImpl.hxx b/i18npool/inc/collatorImpl.hxx
index 563449612f8d..f9b135c964db 100644
--- a/i18npool/inc/collatorImpl.hxx
+++ b/i18npool/inc/collatorImpl.hxx
@@ -37,41 +37,41 @@ namespace com { namespace sun { namespace star { namespace i18n {
class CollatorImpl : public cppu::WeakImplHelper
<
XCollator,
- com::sun::star::lang::XServiceInfo
+ css::lang::XServiceInfo
>
{
public:
// Constructors
- CollatorImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ CollatorImpl( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
// Destructor
virtual ~CollatorImpl();
virtual sal_Int32 SAL_CALL compareSubstring(const OUString& s1, sal_Int32 off1, sal_Int32 len1,
- const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL compareString( const OUString& s1,
- const OUString& s2) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& s2) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL loadDefaultCollator( const lang::Locale& rLocale, sal_Int32 collatorOptions)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL loadCollatorAlgorithm( const OUString& impl, const lang::Locale& rLocale,
- sal_Int32 collatorOptions) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int32 collatorOptions) throw(css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL loadCollatorAlgorithmWithEndUserOption( const OUString& impl, const lang::Locale& rLocale,
- const com::sun::star::uno::Sequence< sal_Int32 >& collatorOptions) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< sal_Int32 >& collatorOptions) throw(css::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL listCollatorAlgorithms( const lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL listCollatorAlgorithms( const lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL listCollatorOptions( const OUString& collatorAlgorithmName )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< sal_Int32 > SAL_CALL listCollatorOptions( const OUString& collatorAlgorithmName )
+ throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
protected:
lang::Locale nLocale;
@@ -80,9 +80,9 @@ private:
lang::Locale aLocale;
OUString algorithm;
OUString service;
- com::sun::star::uno::Reference < XCollator > xC;
+ css::uno::Reference < XCollator > xC;
lookupTableItem(const lang::Locale& rLocale, const OUString& _algorithm, const OUString& _service,
- com::sun::star::uno::Reference < XCollator >& _xC) : aLocale(rLocale), algorithm(_algorithm), service(_service), xC(_xC) {}
+ css::uno::Reference < XCollator >& _xC) : aLocale(rLocale), algorithm(_algorithm), service(_service), xC(_xC) {}
bool SAL_CALL equals(const lang::Locale& rLocale, const OUString& _algorithm) {
return aLocale.Language == rLocale.Language &&
aLocale.Country == rLocale.Country &&
@@ -90,18 +90,18 @@ private:
algorithm == _algorithm;
}
};
- std::vector<lookupTableItem*> lookupTable;
- lookupTableItem *cachedItem;
+ std::vector<lookupTableItem*> lookupTable;
+ lookupTableItem * cachedItem;
// Service Factory
- com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext;
+ css::uno::Reference < css::uno::XComponentContext > m_xContext;
// lang::Locale Data
- com::sun::star::uno::Reference < XLocaleData4 > mxLocaleData;
+ css::uno::Reference < XLocaleData4 > mxLocaleData;
bool SAL_CALL createCollator(const lang::Locale& rLocale, const OUString& serviceName,
- const OUString& rSortAlgorithm) throw(com::sun::star::uno::RuntimeException);
+ const OUString& rSortAlgorithm) throw(css::uno::RuntimeException);
void SAL_CALL loadCachedCollator(const lang::Locale& rLocale, const OUString& rSortAlgorithm)
- throw(com::sun::star::uno::RuntimeException);
+ throw(css::uno::RuntimeException);
};
} } } }
diff --git a/i18npool/inc/collator_unicode.hxx b/i18npool/inc/collator_unicode.hxx
index 04399953c695..7ea38d090760 100644
--- a/i18npool/inc/collator_unicode.hxx
+++ b/i18npool/inc/collator_unicode.hxx
@@ -33,7 +33,7 @@
namespace com { namespace sun { namespace star { namespace i18n {
-class Collator_Unicode : public cppu::WeakImplHelper < XCollator, com::sun::star::lang::XServiceInfo >
+class Collator_Unicode : public cppu::WeakImplHelper < XCollator, css::lang::XServiceInfo >
{
public:
// Constructors
@@ -42,29 +42,29 @@ public:
virtual ~Collator_Unicode();
sal_Int32 SAL_CALL compareSubstring( const OUString& s1, sal_Int32 off1, sal_Int32 len1,
- const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(css::uno::RuntimeException, std::exception) override;
sal_Int32 SAL_CALL compareString( const OUString& s1, const OUString& s2)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
sal_Int32 SAL_CALL loadCollatorAlgorithm( const OUString& impl, const lang::Locale& rLocale,
- sal_Int32 collatorOptions) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int32 collatorOptions) throw(css::uno::RuntimeException, std::exception) override;
// following 4 methods are implemented in collatorImpl.
sal_Int32 SAL_CALL loadDefaultCollator( const lang::Locale&, sal_Int32)
- throw(com::sun::star::uno::RuntimeException, std::exception) override {throw com::sun::star::uno::RuntimeException();}
+ throw(css::uno::RuntimeException, std::exception) override {throw css::uno::RuntimeException();}
void SAL_CALL loadCollatorAlgorithmWithEndUserOption( const OUString&, const lang::Locale&,
- const com::sun::star::uno::Sequence< sal_Int32 >&) throw(com::sun::star::uno::RuntimeException, std::exception) override {throw com::sun::star::uno::RuntimeException();}
- com::sun::star::uno::Sequence< OUString > SAL_CALL listCollatorAlgorithms( const lang::Locale&)
- throw(com::sun::star::uno::RuntimeException, std::exception) override {throw com::sun::star::uno::RuntimeException();}
- com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL listCollatorOptions( const OUString& )
- throw(com::sun::star::uno::RuntimeException, std::exception) override {throw com::sun::star::uno::RuntimeException();}
+ const css::uno::Sequence< sal_Int32 >&) throw(css::uno::RuntimeException, std::exception) override {throw css::uno::RuntimeException();}
+ css::uno::Sequence< OUString > SAL_CALL listCollatorAlgorithms( const lang::Locale&)
+ throw(css::uno::RuntimeException, std::exception) override {throw css::uno::RuntimeException();}
+ css::uno::Sequence< sal_Int32 > SAL_CALL listCollatorOptions( const OUString& )
+ throw(css::uno::RuntimeException, std::exception) override {throw css::uno::RuntimeException();}
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
protected:
const sal_Char *implementationName;
diff --git a/i18npool/inc/defaultnumberingprovider.hxx b/i18npool/inc/defaultnumberingprovider.hxx
index 044ca0adcf42..4e72d3014bc6 100644
--- a/i18npool/inc/defaultnumberingprovider.hxx
+++ b/i18npool/inc/defaultnumberingprovider.hxx
@@ -33,62 +33,62 @@ namespace com { namespace sun { namespace star { namespace i18n {
class DefaultNumberingProvider : public cppu::WeakImplHelper
<
- com::sun::star::text::XDefaultNumberingProvider,
- com::sun::star::text::XNumberingFormatter,
- com::sun::star::text::XNumberingTypeInfo,
- com::sun::star::lang::XServiceInfo
+ css::text::XDefaultNumberingProvider,
+ css::text::XNumberingFormatter,
+ css::text::XNumberingTypeInfo,
+ css::lang::XServiceInfo
>
{
void impl_loadTranslit();
public:
DefaultNumberingProvider(
- const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ const css::uno::Reference < css::uno::XComponentContext >& rxContext );
virtual ~DefaultNumberingProvider();
//XDefaultNumberingProvider
- virtual com::sun::star::uno::Sequence< com::sun::star::uno::Reference<
- com::sun::star::container::XIndexAccess > > SAL_CALL
- getDefaultOutlineNumberings( const com::sun::star::lang::Locale& aLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::uno::Reference<
+ css::container::XIndexAccess > > SAL_CALL
+ getDefaultOutlineNumberings( const css::lang::Locale& aLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< com::sun::star::uno::Sequence<
- com::sun::star::beans::PropertyValue > > SAL_CALL
- getDefaultContinuousNumberingLevels( const com::sun::star::lang::Locale& aLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::uno::Sequence<
+ css::beans::PropertyValue > > SAL_CALL
+ getDefaultContinuousNumberingLevels( const css::lang::Locale& aLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
//XNumberingFormatter
virtual OUString SAL_CALL makeNumberingString(
- const com::sun::star::uno::Sequence<
- com::sun::star::beans::PropertyValue >& aProperties,
- const com::sun::star::lang::Locale& aLocale )
- throw(com::sun::star::lang::IllegalArgumentException,
- com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence<
+ css::beans::PropertyValue >& aProperties,
+ const css::lang::Locale& aLocale )
+ throw(css::lang::IllegalArgumentException,
+ css::uno::RuntimeException, std::exception) override;
//XNumberingTypeInfo
- virtual com::sun::star::uno::Sequence< sal_Int16 > SAL_CALL getSupportedNumberingTypes( )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< sal_Int16 > SAL_CALL getSupportedNumberingTypes( )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL getNumberingType( const OUString& NumberingIdentifier )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL hasNumberingType( const OUString& NumberingIdentifier )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getNumberingIdentifier( sal_Int16 NumberingType )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
private:
- com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext;
- com::sun::star::uno::Reference < com::sun::star::container::XHierarchicalNameAccess > xHierarchicalNameAccess;
+ css::uno::Reference < css::uno::XComponentContext > m_xContext;
+ css::uno::Reference < css::container::XHierarchicalNameAccess > xHierarchicalNameAccess;
TransliterationImpl* translit;
OUString SAL_CALL makeNumberingIdentifier( sal_Int16 index )
- throw(com::sun::star::uno::RuntimeException, std::exception);
+ throw(css::uno::RuntimeException, std::exception);
bool SAL_CALL isScriptFlagEnabled(const OUString& aName )
- throw(com::sun::star::uno::RuntimeException);
+ throw(css::uno::RuntimeException);
};
} } } }
diff --git a/i18npool/inc/indexentrysupplier.hxx b/i18npool/inc/indexentrysupplier.hxx
index 7436516e4605..8b5921129a9e 100644
--- a/i18npool/inc/indexentrysupplier.hxx
+++ b/i18npool/inc/indexentrysupplier.hxx
@@ -31,70 +31,70 @@ namespace com { namespace sun { namespace star { namespace i18n {
class IndexEntrySupplier : public cppu::WeakImplHelper
<
- com::sun::star::i18n::XExtendedIndexEntrySupplier,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XExtendedIndexEntrySupplier,
+ css::lang::XServiceInfo
>
{
public:
- IndexEntrySupplier( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ IndexEntrySupplier( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
// Methods
- virtual com::sun::star::uno::Sequence < com::sun::star::lang::Locale > SAL_CALL getLocaleList()
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < css::lang::Locale > SAL_CALL getLocaleList()
+ throw (css::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < OUString > SAL_CALL getAlgorithmList(
- const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < OUString > SAL_CALL getAlgorithmList(
+ const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL loadAlgorithm(
- const com::sun::star::lang::Locale& rLocale,
+ const css::lang::Locale& rLocale,
const OUString& SortAlgorithm, sal_Int32 collatorOptions )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL usePhoneticEntry(
- const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getPhoneticCandidate( const OUString& IndexEntry,
- const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getIndexKey( const OUString& IndexEntry,
- const OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& PhoneticEntry, const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL compareIndexEntry( const OUString& IndexEntry1,
- const OUString& PhoneticEntry1, const com::sun::star::lang::Locale& rLocale1,
+ const OUString& PhoneticEntry1, const css::lang::Locale& rLocale1,
const OUString& IndexEntry2, const OUString& PhoneticEntry2,
- const com::sun::star::lang::Locale& rLocale2 )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale2 )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getIndexCharacter( const OUString& IndexEntry,
- const com::sun::star::lang::Locale& rLocale, const OUString& SortAlgorithm )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale, const OUString& SortAlgorithm )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getIndexFollowPageWord( sal_Bool MorePages,
- const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
//XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
private:
- com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedIndexEntrySupplier > xIES;
- com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext;
- bool SAL_CALL createLocaleSpecificIndexEntrySupplier(const OUString& name) throw( com::sun::star::uno::RuntimeException );
- com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedIndexEntrySupplier > SAL_CALL getLocaleSpecificIndexEntrySupplier(
- const com::sun::star::lang::Locale& rLocale, const OUString& rSortAlgorithm) throw (com::sun::star::uno::RuntimeException);
+ css::uno::Reference < css::i18n::XExtendedIndexEntrySupplier > xIES;
+ css::uno::Reference < css::uno::XComponentContext > m_xContext;
+ bool SAL_CALL createLocaleSpecificIndexEntrySupplier(const OUString& name) throw( css::uno::RuntimeException );
+ css::uno::Reference < css::i18n::XExtendedIndexEntrySupplier > SAL_CALL getLocaleSpecificIndexEntrySupplier(
+ const css::lang::Locale& rLocale, const OUString& rSortAlgorithm) throw (css::uno::RuntimeException);
protected:
- com::sun::star::lang::Locale aLocale;
- OUString aSortAlgorithm;
+ css::lang::Locale aLocale;
+ OUString aSortAlgorithm;
};
} } } }
diff --git a/i18npool/inc/indexentrysupplier_asian.hxx b/i18npool/inc/indexentrysupplier_asian.hxx
index 62ab687c4a61..8f68dfc63b06 100644
--- a/i18npool/inc/indexentrysupplier_asian.hxx
+++ b/i18npool/inc/indexentrysupplier_asian.hxx
@@ -31,24 +31,24 @@ namespace com { namespace sun { namespace star { namespace i18n {
class IndexEntrySupplier_asian : public IndexEntrySupplier_Common {
public:
- IndexEntrySupplier_asian( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ IndexEntrySupplier_asian( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
virtual ~IndexEntrySupplier_asian();
OUString SAL_CALL getIndexCharacter( const OUString& rIndexEntry,
- const com::sun::star::lang::Locale& rLocale, const OUString& rAlgorithm )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale, const OUString& rAlgorithm )
+ throw (css::uno::RuntimeException, std::exception) override;
OUString SAL_CALL getIndexKey( const OUString& rIndexEntry,
- const OUString& rPhoneticEntry, const com::sun::star::lang::Locale& rLocale)
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& rPhoneticEntry, const css::lang::Locale& rLocale)
+ throw (css::uno::RuntimeException, std::exception) override;
sal_Int16 SAL_CALL compareIndexEntry(
const OUString& rIndexEntry1, const OUString& rPhoneticEntry1,
- const com::sun::star::lang::Locale& rLocale1,
+ const css::lang::Locale& rLocale1,
const OUString& rIndexEntry2, const OUString& rPhoneticEntry2,
- const com::sun::star::lang::Locale& rLocale2 )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale2 )
+ throw (css::uno::RuntimeException, std::exception) override;
OUString SAL_CALL getPhoneticCandidate( const OUString& rIndexEntry,
- const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
#ifndef DISABLE_DYNLOADING
private:
oslModule hModule;
diff --git a/i18npool/inc/indexentrysupplier_common.hxx b/i18npool/inc/indexentrysupplier_common.hxx
index 19478b8541bf..aab4a4c5668e 100644
--- a/i18npool/inc/indexentrysupplier_common.hxx
+++ b/i18npool/inc/indexentrysupplier_common.hxx
@@ -33,69 +33,70 @@ namespace com { namespace sun { namespace star { namespace i18n {
class IndexEntrySupplier_Common : public cppu::WeakImplHelper
<
- com::sun::star::i18n::XExtendedIndexEntrySupplier,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XExtendedIndexEntrySupplier,
+ css::lang::XServiceInfo
>
{
public:
- IndexEntrySupplier_Common( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ IndexEntrySupplier_Common( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
virtual ~IndexEntrySupplier_Common();
- virtual com::sun::star::uno::Sequence < com::sun::star::lang::Locale > SAL_CALL getLocaleList()
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < css::lang::Locale > SAL_CALL getLocaleList()
+ throw (css::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < OUString > SAL_CALL getAlgorithmList(
- const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < OUString > SAL_CALL getAlgorithmList(
+ const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL usePhoneticEntry(
- const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getPhoneticCandidate( const OUString& IndexEntry,
- const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL loadAlgorithm(
- const com::sun::star::lang::Locale& rLocale,
+ const css::lang::Locale& rLocale,
const OUString& SortAlgorithm, sal_Int32 collatorOptions )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getIndexKey( const OUString& IndexEntry,
- const OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& PhoneticEntry, const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL compareIndexEntry( const OUString& IndexEntry1,
- const OUString& PhoneticEntry1, const com::sun::star::lang::Locale& rLocale1,
+ const OUString& PhoneticEntry1, const css::lang::Locale& rLocale1,
const OUString& IndexEntry2, const OUString& PhoneticEntry2,
- const com::sun::star::lang::Locale& rLocale2 )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale2 )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getIndexCharacter( const OUString& rIndexEntry,
- const com::sun::star::lang::Locale& rLocale, const OUString& rSortAlgorithm )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale, const OUString& rSortAlgorithm )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getIndexFollowPageWord( sal_Bool MorePages,
- const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
//XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
protected:
- const sal_Char *implementationName;
- bool usePhonetic;
- CollatorImpl *collator;
+ const sal_Char * implementationName;
+ bool usePhonetic;
+ CollatorImpl* collator;
+ css::lang::Locale aLocale;
+ OUString aAlgorithm;
+
const OUString& SAL_CALL getEntry( const OUString& IndexEntry,
- const OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException);
- com::sun::star::lang::Locale aLocale;
- OUString aAlgorithm;
+ const OUString& PhoneticEntry, const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException);
};
} } } }
diff --git a/i18npool/inc/indexentrysupplier_default.hxx b/i18npool/inc/indexentrysupplier_default.hxx
index 47fe4b220d05..d53bda5afc18 100644
--- a/i18npool/inc/indexentrysupplier_default.hxx
+++ b/i18npool/inc/indexentrysupplier_default.hxx
@@ -30,27 +30,27 @@ class Index;
class IndexEntrySupplier_Unicode : public IndexEntrySupplier_Common {
public:
- IndexEntrySupplier_Unicode( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ IndexEntrySupplier_Unicode( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
virtual ~IndexEntrySupplier_Unicode();
virtual sal_Bool SAL_CALL loadAlgorithm(
- const com::sun::star::lang::Locale& rLocale,
+ const css::lang::Locale& rLocale,
const OUString& SortAlgorithm, sal_Int32 collatorOptions )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getIndexKey( const OUString& IndexEntry,
- const OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& PhoneticEntry, const css::lang::Locale& rLocale )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL compareIndexEntry( const OUString& IndexEntry1,
- const OUString& PhoneticEntry1, const com::sun::star::lang::Locale& rLocale1,
+ const OUString& PhoneticEntry1, const css::lang::Locale& rLocale1,
const OUString& IndexEntry2, const OUString& PhoneticEntry2,
- const com::sun::star::lang::Locale& rLocale2 )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale2 )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getIndexCharacter( const OUString& rIndexEntry,
- const com::sun::star::lang::Locale& rLocale, const OUString& rSortAlgorithm )
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale, const OUString& rSortAlgorithm )
+ throw (css::uno::RuntimeException, std::exception) override;
private:
Index *index;
@@ -81,12 +81,12 @@ public:
class Index
{
public:
- Index(const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext);
+ Index(const css::uno::Reference < css::uno::XComponentContext >& rxContext);
~Index();
- void init(const com::sun::star::lang::Locale& rLocale, const OUString& algorithm) throw (com::sun::star::uno::RuntimeException);
+ void init(const css::lang::Locale& rLocale, const OUString& algorithm) throw (css::uno::RuntimeException);
- void makeIndexKeys(const com::sun::star::lang::Locale &rLocale, const OUString &algorithm) throw (com::sun::star::uno::RuntimeException);
+ void makeIndexKeys(const css::lang::Locale &rLocale, const OUString &algorithm) throw (css::uno::RuntimeException);
sal_Int16 getIndexWeight(const OUString& rIndexEntry);
OUString getIndexDescription(const OUString& rIndexEntry);
diff --git a/i18npool/inc/indexentrysupplier_ja_phonetic.hxx b/i18npool/inc/indexentrysupplier_ja_phonetic.hxx
index d92d3be1cd2f..2fcfa1a8fcaa 100644
--- a/i18npool/inc/indexentrysupplier_ja_phonetic.hxx
+++ b/i18npool/inc/indexentrysupplier_ja_phonetic.hxx
@@ -30,32 +30,32 @@ namespace com { namespace sun { namespace star { namespace i18n {
class IndexEntrySupplier_ja_phonetic : public IndexEntrySupplier_Common {
public:
- IndexEntrySupplier_ja_phonetic( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ) : IndexEntrySupplier_Common(rxContext) {
+ IndexEntrySupplier_ja_phonetic( const css::uno::Reference < css::uno::XComponentContext >& rxContext ) : IndexEntrySupplier_Common(rxContext) {
implementationName = "com.sun.star.i18n.IndexEntrySupplier_ja_phonetic";
};
virtual OUString SAL_CALL getIndexCharacter( const OUString& rIndexEntry,\
- const com::sun::star::lang::Locale& rLocale, const OUString& rSortAlgorithm ) \
- throw (com::sun::star::uno::RuntimeException, std::exception) override;\
+ const css::lang::Locale& rLocale, const OUString& rSortAlgorithm ) \
+ throw (css::uno::RuntimeException, std::exception) override;\
virtual OUString SAL_CALL getIndexKey( const OUString& IndexEntry, \
- const OUString& PhoneticEntry, const com::sun::star::lang::Locale& rLocale )\
- throw (com::sun::star::uno::RuntimeException, std::exception) override;\
+ const OUString& PhoneticEntry, const css::lang::Locale& rLocale )\
+ throw (css::uno::RuntimeException, std::exception) override;\
virtual sal_Int16 SAL_CALL compareIndexEntry( const OUString& IndexEntry1,\
- const OUString& PhoneticEntry1, const com::sun::star::lang::Locale& rLocale1,\
+ const OUString& PhoneticEntry1, const css::lang::Locale& rLocale1,\
const OUString& IndexEntry2, const OUString& PhoneticEntry2,\
- const com::sun::star::lang::Locale& rLocale2 )\
- throw (com::sun::star::uno::RuntimeException, std::exception) override;\
+ const css::lang::Locale& rLocale2 )\
+ throw (css::uno::RuntimeException, std::exception) override;\
};
#define INDEXENTRYSUPPLIER_JA_PHONETIC( algorithm ) \
class IndexEntrySupplier_##algorithm : public IndexEntrySupplier_ja_phonetic {\
public:\
- IndexEntrySupplier_##algorithm (const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext) : IndexEntrySupplier_ja_phonetic (rxContext) {\
+ IndexEntrySupplier_##algorithm (const css::uno::Reference < css::uno::XComponentContext >& rxContext) : IndexEntrySupplier_ja_phonetic (rxContext) {\
implementationName = "com.sun.star.i18n.IndexEntrySupplier_"#algorithm;\
};\
virtual sal_Bool SAL_CALL loadAlgorithm(\
- const com::sun::star::lang::Locale& rLocale,\
+ const css::lang::Locale& rLocale,\
const OUString& SortAlgorithm, sal_Int32 collatorOptions ) \
- throw (com::sun::star::uno::RuntimeException, std::exception) override;\
+ throw (css::uno::RuntimeException, std::exception) override;\
};
INDEXENTRYSUPPLIER_JA_PHONETIC( ja_phonetic_alphanumeric_first_by_syllable )
diff --git a/i18npool/inc/inputsequencechecker.hxx b/i18npool/inc/inputsequencechecker.hxx
index 1c96a0673d14..953aa9d2faca 100644
--- a/i18npool/inc/inputsequencechecker.hxx
+++ b/i18npool/inc/inputsequencechecker.hxx
@@ -34,44 +34,44 @@ namespace com { namespace sun { namespace star { namespace i18n {
class InputSequenceCheckerImpl : public cppu::WeakImplHelper
<
- com::sun::star::i18n::XExtendedInputSequenceChecker,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XExtendedInputSequenceChecker,
+ css::lang::XServiceInfo
>
{
public:
- InputSequenceCheckerImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ InputSequenceCheckerImpl( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
InputSequenceCheckerImpl(const char *pServiceName);
virtual ~InputSequenceCheckerImpl();
virtual sal_Bool SAL_CALL checkInputSequence(const OUString& Text, sal_Int32 nStartPos,
- sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL correctInputSequence(OUString& Text, sal_Int32 nStartPos,
- sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
private:
const sal_Char *serviceName;
struct lookupTableItem {
- lookupTableItem(const sal_Char* rLanguage, const com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedInputSequenceChecker >& rxISC) :
+ lookupTableItem(const sal_Char* rLanguage, const css::uno::Reference < css::i18n::XExtendedInputSequenceChecker >& rxISC) :
aLanguage(rLanguage), xISC(rxISC) {}
const sal_Char* aLanguage;
- com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedInputSequenceChecker > xISC;
+ css::uno::Reference < css::i18n::XExtendedInputSequenceChecker > xISC;
};
std::vector<lookupTableItem*> lookupTable;
lookupTableItem *cachedItem;
- com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext;
+ css::uno::Reference < css::uno::XComponentContext > m_xContext;
- com::sun::star::uno::Reference< com::sun::star::i18n::XExtendedInputSequenceChecker >& SAL_CALL getInputSequenceChecker(sal_Char* rLanguage)
- throw (com::sun::star::uno::RuntimeException);
+ css::uno::Reference< css::i18n::XExtendedInputSequenceChecker >& SAL_CALL getInputSequenceChecker(sal_Char* rLanguage)
+ throw (css::uno::RuntimeException);
static sal_Char* SAL_CALL getLanguageByScripType(sal_Unicode cChar, sal_Unicode nChar);
};
diff --git a/i18npool/inc/inputsequencechecker_hi.hxx b/i18npool/inc/inputsequencechecker_hi.hxx
index 9e7704a09fdf..27938f4591fc 100644
--- a/i18npool/inc/inputsequencechecker_hi.hxx
+++ b/i18npool/inc/inputsequencechecker_hi.hxx
@@ -36,10 +36,10 @@ public:
virtual ~InputSequenceChecker_hi();
sal_Bool SAL_CALL checkInputSequence(const OUString& Text, sal_Int32 nStartPos,
- sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(css::uno::RuntimeException, std::exception) override;
sal_Int32 SAL_CALL correctInputSequence(OUString& Text, sal_Int32 nStartPos,
- sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(css::uno::RuntimeException, std::exception) override;
};
} } } }
diff --git a/i18npool/inc/inputsequencechecker_th.hxx b/i18npool/inc/inputsequencechecker_th.hxx
index 7620a1fa927c..bf1ede02348f 100644
--- a/i18npool/inc/inputsequencechecker_th.hxx
+++ b/i18npool/inc/inputsequencechecker_th.hxx
@@ -33,10 +33,10 @@ public:
virtual ~InputSequenceChecker_th();
sal_Bool SAL_CALL checkInputSequence(const OUString& Text, sal_Int32 nStartPos,
- sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(css::uno::RuntimeException, std::exception) override;
sal_Int32 SAL_CALL correctInputSequence(OUString& Text, sal_Int32 nStartPos,
- sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Unicode inputChar, sal_Int16 inputCheckMode) throw(css::uno::RuntimeException, std::exception) override;
};
} } } }
diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx
index afe75fbfc827..b45ece567aeb 100644
--- a/i18npool/inc/localedata.hxx
+++ b/i18npool/inc/localedata.hxx
@@ -58,94 +58,94 @@ struct LocaleDataLookupTableItem;
namespace com { namespace sun { namespace star { namespace i18n {
-inline bool operator ==(const com::sun::star::lang::Locale& l1, const com::sun::star::lang::Locale& l2) {
+inline bool operator ==(const css::lang::Locale& l1, const css::lang::Locale& l2) {
return l1.Language == l2.Language && l1.Country == l2.Country && l1.Variant == l2.Variant;
};
class LocaleDataImpl : public cppu::WeakImplHelper
<
- com::sun::star::i18n::XLocaleData4,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XLocaleData4,
+ css::lang::XServiceInfo
>
{
public:
LocaleDataImpl();
virtual ~LocaleDataImpl();
- static com::sun::star::uno::Sequence< com::sun::star::i18n::CalendarItem > downcastCalendarItems( const com::sun::star::uno::Sequence< com::sun::star::i18n::CalendarItem2 > & rCi );
- static com::sun::star::i18n::Calendar downcastCalendar( const com::sun::star::i18n::Calendar2 & rC );
+ static css::uno::Sequence< css::i18n::CalendarItem > downcastCalendarItems( const css::uno::Sequence< css::i18n::CalendarItem2 > & rCi );
+ static css::i18n::Calendar downcastCalendar( const css::i18n::Calendar2 & rC );
/** Generates a <Language>_<Country> or <Variant> (if Language=="qlt")
string suitable as part of service name with all '-' replaced by '_' */
- static OUString getFirstLocaleServiceName( const com::sun::star::lang::Locale & rLocale );
+ static OUString getFirstLocaleServiceName( const css::lang::Locale & rLocale );
/** Generates fallback strings suitable as parts of service names,
excluding the one obtained via getFirstLocaleServiceName() */
- static ::std::vector< OUString > getFallbackLocaleServiceNames( const com::sun::star::lang::Locale & rLocale );
-
- virtual LanguageCountryInfo SAL_CALL getLanguageCountryInfo( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual LocaleDataItem SAL_CALL getLocaleItem( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< Calendar2 > SAL_CALL getAllCalendars2( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< Calendar > SAL_CALL getAllCalendars( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< Currency > SAL_CALL getAllCurrencies( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< Currency2 > SAL_CALL getAllCurrencies2( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< FormatElement > SAL_CALL getAllFormats( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< Implementation > SAL_CALL getCollatorImplementations( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getCollatorRuleByAlgorithm( const com::sun::star::lang::Locale& rLocale, const OUString& algorithm ) throw(com::sun::star::uno::RuntimeException);
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getTransliterations( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ForbiddenCharacters SAL_CALL getForbiddenCharacters( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getReservedWord( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override ;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getBreakIteratorRules( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException) ;
- virtual com::sun::star::uno::Sequence< com::sun::star::lang::Locale > SAL_CALL getAllInstalledLocaleNames() throw(com::sun::star::uno::RuntimeException, std::exception) override;
-
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSearchOptions( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getCollationOptions( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< com::sun::star::uno::Sequence< beans::PropertyValue > > SAL_CALL getContinuousNumberingLevels( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException);
- virtual com::sun::star::uno::Sequence< com::sun::star::uno::Reference< container::XIndexAccess > > SAL_CALL getOutlineNumberingLevels( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException);
+ static ::std::vector< OUString > getFallbackLocaleServiceNames( const css::lang::Locale & rLocale );
+
+ virtual LanguageCountryInfo SAL_CALL getLanguageCountryInfo( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual LocaleDataItem SAL_CALL getLocaleItem( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< Calendar2 > SAL_CALL getAllCalendars2( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< Calendar > SAL_CALL getAllCalendars( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< Currency > SAL_CALL getAllCurrencies( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< Currency2 > SAL_CALL getAllCurrencies2( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< FormatElement > SAL_CALL getAllFormats( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< Implementation > SAL_CALL getCollatorImplementations( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getCollatorRuleByAlgorithm( const css::lang::Locale& rLocale, const OUString& algorithm ) throw(css::uno::RuntimeException);
+ virtual css::uno::Sequence< OUString > SAL_CALL getTransliterations( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual ForbiddenCharacters SAL_CALL getForbiddenCharacters( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getReservedWord( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override ;
+ virtual css::uno::Sequence< OUString > SAL_CALL getBreakIteratorRules( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException) ;
+ virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getAllInstalledLocaleNames() throw(css::uno::RuntimeException, std::exception) override;
+
+ virtual css::uno::Sequence< OUString > SAL_CALL getSearchOptions( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getCollationOptions( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::uno::Sequence< beans::PropertyValue > > SAL_CALL getContinuousNumberingLevels( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException);
+ virtual css::uno::Sequence< css::uno::Reference< container::XIndexAccess > > SAL_CALL getOutlineNumberingLevels( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException);
// XLocaleData4
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getDateAcceptancePatterns( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getDateAcceptancePatterns( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
// following methods are used by indexentry service
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getIndexAlgorithm( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getDefaultIndexAlgorithm( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getIndexKeysByAlgorithm( const com::sun::star::lang::Locale& rLocale, const OUString& algorithm ) throw(com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getIndexModuleByAlgorithm( const com::sun::star::lang::Locale& rLocale, const OUString& algorithm ) throw(com::sun::star::uno::RuntimeException);
- virtual com::sun::star::uno::Sequence< UnicodeScript > SAL_CALL getUnicodeScripts( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException);
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getFollowPageWords( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException);
- virtual bool SAL_CALL hasPhonetic( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException);
- virtual bool SAL_CALL isPhonetic( const com::sun::star::lang::Locale& rLocale, const OUString& algorithm ) throw(com::sun::star::uno::RuntimeException);
- virtual OUString SAL_CALL getHangingCharacters( const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException);
+ virtual css::uno::Sequence< OUString > SAL_CALL getIndexAlgorithm( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException);
+ virtual OUString SAL_CALL getDefaultIndexAlgorithm( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException);
+ virtual OUString SAL_CALL getIndexKeysByAlgorithm( const css::lang::Locale& rLocale, const OUString& algorithm ) throw(css::uno::RuntimeException);
+ virtual OUString SAL_CALL getIndexModuleByAlgorithm( const css::lang::Locale& rLocale, const OUString& algorithm ) throw(css::uno::RuntimeException);
+ virtual css::uno::Sequence< UnicodeScript > SAL_CALL getUnicodeScripts( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException);
+ virtual css::uno::Sequence< OUString > SAL_CALL getFollowPageWords( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException);
+ virtual bool SAL_CALL hasPhonetic( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException);
+ virtual bool SAL_CALL isPhonetic( const css::lang::Locale& rLocale, const OUString& algorithm ) throw(css::uno::RuntimeException);
+ virtual OUString SAL_CALL getHangingCharacters( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException);
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) override;
private:
- friend bool operator ==(const com::sun::star::lang::Locale& l1, const com::sun::star::lang::Locale& l2);
+ friend bool operator ==(const css::lang::Locale& l1, const css::lang::Locale& l2);
::std::unique_ptr< LocaleDataLookupTableItem > cachedItem;
-
- oslGenericFunction SAL_CALL getFunctionSymbol( const com::sun::star::lang::Locale& rLocale, const sal_Char* pFunction ) throw( com::sun::star::uno::RuntimeException );
- sal_Unicode ** SAL_CALL getIndexArray(const com::sun::star::lang::Locale& rLocale, sal_Int16& indexCount);
- sal_Unicode ** SAL_CALL getIndexArrayForAlgorithm(const com::sun::star::lang::Locale& rLocale, const OUString& rAlgorithm);
- com::sun::star::i18n::Calendar2 ref_cal;
+ css::i18n::Calendar2 ref_cal;
OUString ref_name;
- com::sun::star::uno::Sequence< com::sun::star::i18n::CalendarItem2 > &
+
+ oslGenericFunction SAL_CALL getFunctionSymbol( const css::lang::Locale& rLocale, const sal_Char* pFunction ) throw( css::uno::RuntimeException );
+ sal_Unicode ** SAL_CALL getIndexArray(const css::lang::Locale& rLocale, sal_Int16& indexCount);
+ sal_Unicode ** SAL_CALL getIndexArrayForAlgorithm(const css::lang::Locale& rLocale, const OUString& rAlgorithm);
+ css::uno::Sequence< css::i18n::CalendarItem2 > &
getCalendarItemByName(const OUString& name,
- const com::sun::star::lang::Locale& rLocale,
- const com::sun::star::uno::Sequence< com::sun::star::i18n::Calendar2 >& calendarsSeq,
- sal_Int16 item) throw( com::sun::star::uno::RuntimeException );
+ const css::lang::Locale& rLocale,
+ const css::uno::Sequence< css::i18n::Calendar2 >& calendarsSeq,
+ sal_Int16 item) throw( css::uno::RuntimeException );
/// Helper to obtain a sequence of days, months, gmonths or eras.
- com::sun::star::uno::Sequence< com::sun::star::i18n::CalendarItem2 > getCalendarItems(
+ css::uno::Sequence< css::i18n::CalendarItem2 > getCalendarItems(
sal_Unicode const * const * const allCalendars,
sal_Int16 & rnOffset,
const sal_Int16 nWhichItem,
const sal_Int16 nCalendar,
- const com::sun::star::lang::Locale & rLocale,
- const com::sun::star::uno::Sequence< com::sun::star::i18n::Calendar2 > & calendarsSeq )
- throw( com::sun::star::uno::RuntimeException );
+ const css::lang::Locale & rLocale,
+ const css::uno::Sequence< css::i18n::Calendar2 > & calendarsSeq )
+ throw( css::uno::RuntimeException );
};
diff --git a/i18npool/inc/nativenumbersupplier.hxx b/i18npool/inc/nativenumbersupplier.hxx
index 7292f82e2927..270cb7a165e6 100644
--- a/i18npool/inc/nativenumbersupplier.hxx
+++ b/i18npool/inc/nativenumbersupplier.hxx
@@ -32,8 +32,8 @@ namespace com { namespace sun { namespace star { namespace i18n {
// ----------------------------------------------------
class NativeNumberSupplierService : public cppu::WeakImplHelper
<
- com::sun::star::i18n::XNativeNumberSupplier,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XNativeNumberSupplier,
+ css::lang::XServiceInfo
>
{
public:
@@ -41,40 +41,40 @@ public:
// Methods
virtual OUString SAL_CALL getNativeNumberString( const OUString& aNumberString,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nNativeNumberMode )
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& aLocale, sal_Int16 nNativeNumberMode )
+ throw (css::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL isValidNatNum( const ::com::sun::star::lang::Locale& aLocale,
+ virtual sal_Bool SAL_CALL isValidNatNum( const css::lang::Locale& aLocale,
sal_Int16 nNativeNumberMode )
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::i18n::NativeNumberXmlAttributes SAL_CALL convertToXmlAttributes(
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nNativeNumberMode )
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::i18n::NativeNumberXmlAttributes SAL_CALL convertToXmlAttributes(
+ const css::lang::Locale& aLocale, sal_Int16 nNativeNumberMode )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Int16 SAL_CALL convertFromXmlAttributes(
- const ::com::sun::star::i18n::NativeNumberXmlAttributes& aAttr )
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::i18n::NativeNumberXmlAttributes& aAttr )
+ throw (css::uno::RuntimeException, std::exception) override;
//XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
// following methods are not for XNativeNumberSupplier, they are for calling from transliterations
OUString SAL_CALL getNativeNumberString( const OUString& aNumberString,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nNativeNumberMode,
- com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw (::com::sun::star::uno::RuntimeException);
+ const css::lang::Locale& aLocale, sal_Int16 nNativeNumberMode,
+ css::uno::Sequence< sal_Int32 >& offset )
+ throw (css::uno::RuntimeException);
sal_Unicode SAL_CALL getNativeNumberChar( const sal_Unicode inChar,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nNativeNumberMode )
- throw(com::sun::star::uno::RuntimeException) ;
+ const css::lang::Locale& aLocale, sal_Int16 nNativeNumberMode )
+ throw(css::uno::RuntimeException) ;
private:
- ::com::sun::star::lang::Locale aLocale;
+ css::lang::Locale aLocale;
bool useOffset;
};
diff --git a/i18npool/inc/numberformatcode.hxx b/i18npool/inc/numberformatcode.hxx
index ab6e0c9cc542..3b36cec9dcf0 100644
--- a/i18npool/inc/numberformatcode.hxx
+++ b/i18npool/inc/numberformatcode.hxx
@@ -31,37 +31,37 @@
class NumberFormatCodeMapper : public cppu::WeakImplHelper
<
- ::com::sun::star::i18n::XNumberFormatCode,
- ::com::sun::star::lang::XServiceInfo
+ css::i18n::XNumberFormatCode,
+ css::lang::XServiceInfo
>
{
public:
- NumberFormatCodeMapper( const ::com::sun::star::uno::Reference <
- ::com::sun::star::uno::XComponentContext >& rxContext );
+ NumberFormatCodeMapper( const css::uno::Reference <
+ css::uno::XComponentContext >& rxContext );
virtual ~NumberFormatCodeMapper();
- virtual ::com::sun::star::i18n::NumberFormatCode SAL_CALL getDefault( sal_Int16 nFormatType, sal_Int16 nFormatUsage, const ::com::sun::star::lang::Locale& rLocale ) throw(::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::i18n::NumberFormatCode SAL_CALL getFormatCode( sal_Int16 nFormatIndex, const ::com::sun::star::lang::Locale& rLocale ) throw(::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::NumberFormatCode > SAL_CALL getAllFormatCode( sal_Int16 nFormatUsage, const ::com::sun::star::lang::Locale& rLocale ) throw(::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::NumberFormatCode > SAL_CALL getAllFormatCodes( const ::com::sun::star::lang::Locale& rLocale ) throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::i18n::NumberFormatCode SAL_CALL getDefault( sal_Int16 nFormatType, sal_Int16 nFormatUsage, const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::i18n::NumberFormatCode SAL_CALL getFormatCode( sal_Int16 nFormatIndex, const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::i18n::NumberFormatCode > SAL_CALL getAllFormatCode( sal_Int16 nFormatUsage, const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< css::i18n::NumberFormatCode > SAL_CALL getAllFormatCodes( const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
private:
- ::com::sun::star::lang::Locale aLocale;
- ::com::sun::star::uno::Reference < ::com::sun::star::uno::XComponentContext > mxContext;
- ::com::sun::star::uno::Sequence< ::com::sun::star::i18n::FormatElement > aFormatSeq;
- ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XLocaleData4 > mxLocaleData;
+ css::lang::Locale aLocale;
+ css::uno::Reference < css::uno::XComponentContext > mxContext;
+ css::uno::Sequence< css::i18n::FormatElement > aFormatSeq;
+ css::uno::Reference < css::i18n::XLocaleData4 > mxLocaleData;
bool bFormatsValid;
- void setupLocale( const ::com::sun::star::lang::Locale& rLocale );
- void getFormats( const ::com::sun::star::lang::Locale& rLocale );
+ void setupLocale( const css::lang::Locale& rLocale );
+ void getFormats( const css::lang::Locale& rLocale );
static OUString mapElementTypeShortToString(sal_Int16 formatType);
static sal_Int16 mapElementTypeStringToShort(const OUString& formatType);
static OUString mapElementUsageShortToString(sal_Int16 formatUsage);
diff --git a/i18npool/inc/ordinalsuffix.hxx b/i18npool/inc/ordinalsuffix.hxx
index aa06b3f6bb0d..f87f5b87b2bc 100644
--- a/i18npool/inc/ordinalsuffix.hxx
+++ b/i18npool/inc/ordinalsuffix.hxx
@@ -31,7 +31,7 @@ namespace com { namespace sun { namespace star { namespace i18n {
class OrdinalSuffixService : public cppu::WeakImplHelper
<
XOrdinalSuffix,
- com::sun::star::lang::XServiceInfo
+ css::lang::XServiceInfo
>
{
public:
@@ -39,12 +39,12 @@ class OrdinalSuffixService : public cppu::WeakImplHelper
virtual ~OrdinalSuffixService();
// XOrdinalSuffix
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getOrdinalSuffix( sal_Int32 nNumber, const com::sun::star::lang::Locale &rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getOrdinalSuffix( sal_Int32 nNumber, const css::lang::Locale &rLocale ) throw(css::uno::RuntimeException, std::exception) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence < OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence < OUString > SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override;
};
} } } }
diff --git a/i18npool/inc/textToPronounce_zh.hxx b/i18npool/inc/textToPronounce_zh.hxx
index 156527caa72d..a428fdd378d4 100644
--- a/i18npool/inc/textToPronounce_zh.hxx
+++ b/i18npool/inc/textToPronounce_zh.hxx
@@ -42,23 +42,23 @@ public:
virtual ~TextToPronounce_zh();
OUString SAL_CALL
- folding(const OUString & inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 > & offset)
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ folding(const OUString & inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 > & offset)
+ throw (css::uno::RuntimeException, std::exception) override;
- sal_Int16 SAL_CALL getType() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int16 SAL_CALL getType() throw(css::uno::RuntimeException, std::exception) override;
sal_Bool SAL_CALL
equals( const OUString & str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32 & nMatch1, const OUString & str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32 & nMatch2)
- throw (com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
OUString SAL_CALL
transliterateChar2String( sal_Unicode inChar)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
sal_Unicode SAL_CALL
transliterateChar2Char( sal_Unicode inChar)
- throw(com::sun::star::uno::RuntimeException,
- com::sun::star::i18n::MultipleCharsOutputException, std::exception) override;
+ throw(css::uno::RuntimeException,
+ css::i18n::MultipleCharsOutputException, std::exception) override;
};
#define TRANSLITERATION_TextToPronounce_zh( name ) \
diff --git a/i18npool/inc/textconversion.hxx b/i18npool/inc/textconversion.hxx
index 1b58e62337f9..6b8b16d41bc1 100644
--- a/i18npool/inc/textconversion.hxx
+++ b/i18npool/inc/textconversion.hxx
@@ -35,52 +35,52 @@ namespace com { namespace sun { namespace star { namespace i18n {
class TextConversionService: public cppu::WeakImplHelper
<
- com::sun::star::i18n::XExtendedTextConversion,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XExtendedTextConversion,
+ css::lang::XServiceInfo
>
{
public:
TextConversionService(const char* pImplName);
virtual ~TextConversionService();
// Methods
- virtual com::sun::star::i18n::TextConversionResult SAL_CALL
+ virtual css::i18n::TextConversionResult SAL_CALL
getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override = 0;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override = 0;
virtual OUString SAL_CALL
getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override = 0;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override = 0;
virtual OUString SAL_CALL
getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
- sal_Int32 nTextConversionOptions, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override = 0;
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ sal_Int32 nTextConversionOptions, css::uno::Sequence< sal_Int32 >& offset )
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override = 0;
virtual sal_Bool SAL_CALL
- interactiveConversion(const ::com::sun::star::lang::Locale& aLocale,
+ interactiveConversion(const css::lang::Locale& aLocale,
sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override = 0;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override = 0;
//XServiceInfo
OUString SAL_CALL
getImplementationName()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
sal_Bool SAL_CALL
supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- com::sun::star::uno::Sequence< OUString > SAL_CALL
+ throw( css::uno::RuntimeException, std::exception ) override;
+ css::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
private:
const sal_Char* implementationName;
protected:
@@ -103,46 +103,46 @@ typedef struct {
class TextConversion_ko : public TextConversionService
{
public:
- TextConversion_ko( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ TextConversion_ko( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
// Methods
- com::sun::star::i18n::TextConversionResult SAL_CALL
+ css::i18n::TextConversionResult SAL_CALL
getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
OUString SAL_CALL
getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
OUString SAL_CALL
getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
- sal_Int32 nTextConversionOptions, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ sal_Int32 nTextConversionOptions, css::uno::Sequence< sal_Int32 >& offset )
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
sal_Bool SAL_CALL
- interactiveConversion(const ::com::sun::star::lang::Locale& aLocale,
+ interactiveConversion(const css::lang::Locale& aLocale,
sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
private:
// Hangul/Hanja system dictionary
- com::sun::star::uno::Reference < com::sun::star::linguistic2::XConversionDictionary > xCD;
+ css::uno::Reference < css::linguistic2::XConversionDictionary > xCD;
// Hangul/Hanja user defined dictionary list
- com::sun::star::uno::Reference < com::sun::star::linguistic2::XConversionDictionaryList > xCDL;
+ css::uno::Reference < css::linguistic2::XConversionDictionaryList > xCDL;
sal_Int32 maxLeftLength;
sal_Int32 maxRightLength;
- com::sun::star::uno::Sequence< OUString > SAL_CALL
+ css::uno::Sequence< OUString > SAL_CALL
getCharConversions(const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, bool toHanja);
};
@@ -159,44 +159,44 @@ typedef struct {
class TextConversion_zh : public TextConversionService
{
public:
- TextConversion_zh( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext );
+ TextConversion_zh( const css::uno::Reference < css::uno::XComponentContext >& rxContext );
// Methods
- com::sun::star::i18n::TextConversionResult SAL_CALL
+ css::i18n::TextConversionResult SAL_CALL
getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
OUString SAL_CALL
getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
OUString SAL_CALL
getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
- sal_Int32 nTextConversionOptions, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ sal_Int32 nTextConversionOptions, css::uno::Sequence< sal_Int32 >& offset )
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
sal_Bool SAL_CALL
- interactiveConversion(const ::com::sun::star::lang::Locale& aLocale,
+ interactiveConversion(const css::lang::Locale& aLocale,
sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
private:
// user defined dictionary list
- com::sun::star::uno::Reference < com::sun::star::linguistic2::XConversionDictionaryList > xCDL;
+ css::uno::Reference < css::linguistic2::XConversionDictionaryList > xCDL;
OUString SAL_CALL getWordConversion(const OUString& aText,
- sal_Int32 nStartPos, sal_Int32 nLength, bool toSChinese, sal_Int32 nConversionOptions, com::sun::star::uno::Sequence <sal_Int32>& offset);
+ sal_Int32 nStartPos, sal_Int32 nLength, bool toSChinese, sal_Int32 nConversionOptions, css::uno::Sequence <sal_Int32>& offset);
rtl:: OUString SAL_CALL getCharConversion(const rtl:: OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength, bool toSChinese, sal_Int32 nConversionOptions);
- com::sun::star::lang::Locale aLocale;
+ css::lang::Locale aLocale;
};
} // i18n
diff --git a/i18npool/inc/textconversionImpl.hxx b/i18npool/inc/textconversionImpl.hxx
index 1db93d1910ad..7f43e2983334 100644
--- a/i18npool/inc/textconversionImpl.hxx
+++ b/i18npool/inc/textconversionImpl.hxx
@@ -32,59 +32,59 @@ namespace com { namespace sun { namespace star { namespace i18n {
class TextConversionImpl : public cppu::WeakImplHelper
<
- com::sun::star::i18n::XExtendedTextConversion,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XExtendedTextConversion,
+ css::lang::XServiceInfo
>
{
public:
- TextConversionImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ) : m_xContext(rxContext) {};
+ TextConversionImpl( const css::uno::Reference < css::uno::XComponentContext >& rxContext ) : m_xContext(rxContext) {};
// Methods
- com::sun::star::i18n::TextConversionResult SAL_CALL
+ css::i18n::TextConversionResult SAL_CALL
getConversions( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
OUString SAL_CALL
getConversion( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
OUString SAL_CALL
getConversionWithOffset( const OUString& aText, sal_Int32 nStartPos, sal_Int32 nLength,
- const ::com::sun::star::lang::Locale& aLocale, sal_Int16 nTextConversionType,
- sal_Int32 nTextConversionOptions, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ const css::lang::Locale& aLocale, sal_Int16 nTextConversionType,
+ sal_Int32 nTextConversionOptions, css::uno::Sequence< sal_Int32 >& offset )
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
sal_Bool SAL_CALL
- interactiveConversion( const ::com::sun::star::lang::Locale& aLocale,
+ interactiveConversion( const css::lang::Locale& aLocale,
sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions )
- throw( com::sun::star::uno::RuntimeException,
- com::sun::star::lang::IllegalArgumentException,
- com::sun::star::lang::NoSupportException, std::exception ) override;
+ throw( css::uno::RuntimeException,
+ css::lang::IllegalArgumentException,
+ css::lang::NoSupportException, std::exception ) override;
//XServiceInfo
OUString SAL_CALL
getImplementationName()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
sal_Bool SAL_CALL
supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- com::sun::star::uno::Sequence< OUString > SAL_CALL
+ throw( css::uno::RuntimeException, std::exception ) override;
+ css::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
private:
- com::sun::star::lang::Locale aLocale;
- com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedTextConversion > xTC;
- com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext > m_xContext;
+ css::lang::Locale aLocale;
+ css::uno::Reference < css::i18n::XExtendedTextConversion > xTC;
+ css::uno::Reference < css::uno::XComponentContext > m_xContext;
- void SAL_CALL getLocaleSpecificTextConversion( const com::sun::star::lang::Locale& rLocale )
- throw( com::sun::star::lang::NoSupportException );
+ void SAL_CALL getLocaleSpecificTextConversion( const css::lang::Locale& rLocale )
+ throw( css::lang::NoSupportException );
};
} // i18n
diff --git a/i18npool/inc/transliterationImpl.hxx b/i18npool/inc/transliterationImpl.hxx
index 8f10cab61452..990a55263f93 100644
--- a/i18npool/inc/transliterationImpl.hxx
+++ b/i18npool/inc/transliterationImpl.hxx
@@ -38,90 +38,90 @@ namespace com { namespace sun { namespace star { namespace i18n {
class TransliterationImpl : public cppu::WeakImplHelper
<
- com::sun::star::i18n::XExtendedTransliteration,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XExtendedTransliteration,
+ css::lang::XServiceInfo
>
{
public:
// Constructors
- TransliterationImpl(const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& xContext);
+ TransliterationImpl(const css::uno::Reference < css::uno::XComponentContext >& xContext);
// Destructor
virtual ~TransliterationImpl();
// Methods
- virtual OUString SAL_CALL getName( ) throw(com::sun::star::uno::RuntimeException, std::exception) override ;
- virtual sal_Int16 SAL_CALL getType( ) throw(com::sun::star::uno::RuntimeException, std::exception) override ;
+ virtual OUString SAL_CALL getName( ) throw(css::uno::RuntimeException, std::exception) override ;
+ virtual sal_Int16 SAL_CALL getType( ) throw(css::uno::RuntimeException, std::exception) override ;
- virtual void SAL_CALL loadModule( TransliterationModules modName, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override ;
- virtual void SAL_CALL loadModuleNew( const com::sun::star::uno::Sequence< TransliterationModulesNew >& modName,
- const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override ;
+ virtual void SAL_CALL loadModule( TransliterationModules modName, const css::lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override ;
+ virtual void SAL_CALL loadModuleNew( const css::uno::Sequence< TransliterationModulesNew >& modName,
+ const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override ;
virtual void SAL_CALL loadModuleByImplName( const OUString& implName,
- const com::sun::star::lang::Locale& rLocale ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL loadModulesByImplNames(const com::sun::star::uno::Sequence< OUString >& modNamelist,
- const com::sun::star::lang::Locale& rLocale) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL loadModulesByImplNames(const css::uno::Sequence< OUString >& modNamelist,
+ const css::lang::Locale& rLocale) throw(css::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getAvailableModules(
- const com::sun::star::lang::Locale& rLocale, sal_Int16 sType )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getAvailableModules(
+ const css::lang::Locale& rLocale, sal_Int16 sType )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount,
- com::sun::star::uno::Sequence< sal_Int32 >& offset ) throw(com::sun::star::uno::RuntimeException, std::exception) override ;
+ css::uno::Sequence< sal_Int32 >& offset ) throw(css::uno::RuntimeException, std::exception) override ;
virtual OUString SAL_CALL folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount,
- com::sun::star::uno::Sequence< sal_Int32 >& offset ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ css::uno::Sequence< sal_Int32 >& offset ) throw(css::uno::RuntimeException, std::exception) override;
// Methods in XExtendedTransliteration
virtual OUString SAL_CALL transliterateString2String( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount )
- throw(com::sun::star::uno::RuntimeException, std::exception) override ;
+ throw(css::uno::RuntimeException, std::exception) override ;
virtual OUString SAL_CALL transliterateChar2String( sal_Unicode inChar )
- throw(com::sun::star::uno::RuntimeException, std::exception) override ;
+ throw(css::uno::RuntimeException, std::exception) override ;
virtual sal_Unicode SAL_CALL transliterateChar2Char( sal_Unicode inChar )
- throw(com::sun::star::i18n::MultipleCharsOutputException,
- com::sun::star::uno::RuntimeException, std::exception) override ;
+ throw(css::i18n::MultipleCharsOutputException,
+ css::uno::RuntimeException, std::exception) override ;
virtual sal_Bool SAL_CALL equals( const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1,
sal_Int32& nMatch1, const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL transliterateRange( const OUString& str1,
- const OUString& str2 ) throw(com::sun::star::uno::RuntimeException, std::exception) override ;
+ throw(css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL transliterateRange( const OUString& str1,
+ const OUString& str2 ) throw(css::uno::RuntimeException, std::exception) override ;
virtual sal_Int32 SAL_CALL compareSubstring( const OUString& s1, sal_Int32 off1, sal_Int32 len1,
- const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& s2, sal_Int32 off2, sal_Int32 len2) throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL compareString( const OUString& s1, const OUString& s2)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
private:
#define maxCascade 27
- com::sun::star::uno::Reference< com::sun::star::i18n::XExtendedTransliteration > bodyCascade[maxCascade];
+ css::uno::Reference< css::i18n::XExtendedTransliteration > bodyCascade[maxCascade];
sal_Int16 numCascade;
bool caseignoreOnly;
- com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > mxContext;
- com::sun::star::uno::Reference< XLocaleData4 > mxLocaledata;
- com::sun::star::uno::Reference< com::sun::star::i18n::XExtendedTransliteration > caseignore;
+ css::uno::Reference< css::uno::XComponentContext > mxContext;
+ css::uno::Reference< XLocaleData4 > mxLocaledata;
+ css::uno::Reference< css::i18n::XExtendedTransliteration > caseignore;
virtual bool SAL_CALL loadModuleByName( const OUString& implName,
- com::sun::star::uno::Reference<com::sun::star::i18n::XExtendedTransliteration> & body, const com::sun::star::lang::Locale& rLocale)
- throw(com::sun::star::uno::RuntimeException);
+ css::uno::Reference<css::i18n::XExtendedTransliteration> & body, const css::lang::Locale& rLocale)
+ throw(css::uno::RuntimeException);
void clear();
void loadBody( OUString &implName,
- ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XExtendedTransliteration >& body )
- throw (::com::sun::star::uno::RuntimeException);
+ css::uno::Reference< css::i18n::XExtendedTransliteration >& body )
+ throw (css::uno::RuntimeException);
- com::sun::star::uno::Sequence< OUString > SAL_CALL getRange(
- const com::sun::star::uno::Sequence< OUString > &inStrs,
+ css::uno::Sequence< OUString > SAL_CALL getRange(
+ const css::uno::Sequence< OUString > &inStrs,
sal_Int32 length, const sal_Int16 _nCascade)
- throw(com::sun::star::uno::RuntimeException);
+ throw(css::uno::RuntimeException);
};
} } } }
diff --git a/i18npool/inc/transliteration_Ignore.hxx b/i18npool/inc/transliteration_Ignore.hxx
index d5f15ec03b77..672ace293463 100644
--- a/i18npool/inc/transliteration_Ignore.hxx
+++ b/i18npool/inc/transliteration_Ignore.hxx
@@ -30,36 +30,36 @@ class transliteration_Ignore : public transliteration_commonclass
{
public:
virtual OUString SAL_CALL
- folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset)
+ throw(css::uno::RuntimeException, std::exception) override;
// This method is shared.
sal_Bool SAL_CALL
equals( const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
// This method is implemented in sub class if needed. Otherwise, the method implemented in this class will be used.
- com::sun::star::uno::Sequence< OUString > SAL_CALL
+ css::uno::Sequence< OUString > SAL_CALL
transliterateRange( const OUString& str1, const OUString& str2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
// Methods which are shared.
- sal_Int16 SAL_CALL getType( ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int16 SAL_CALL getType( ) throw(css::uno::RuntimeException, std::exception) override;
OUString SAL_CALL
- transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Unicode SAL_CALL
transliterateChar2Char( sal_Unicode inChar)
- throw(com::sun::star::uno::RuntimeException,
- com::sun::star::i18n::MultipleCharsOutputException, std::exception) override;
+ throw(css::uno::RuntimeException,
+ css::i18n::MultipleCharsOutputException, std::exception) override;
- static com::sun::star::uno::Sequence< OUString > SAL_CALL
+ static css::uno::Sequence< OUString > SAL_CALL
transliterateRange( const OUString& str1, const OUString& str2, XTransliteration& t1, XTransliteration& t2 )
- throw(com::sun::star::uno::RuntimeException);
+ throw(css::uno::RuntimeException);
struct Mapping {
sal_Unicode previousChar;
@@ -107,7 +107,7 @@ public:\
implementationName = "com.sun.star.i18n.Transliteration.ignore"#name;\
};\
OUString SAL_CALL folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, \
- com::sun::star::uno::Sequence< sal_Int32 >& offset) throw(com::sun::star::uno::RuntimeException, std::exception) override; \
+ css::uno::Sequence< sal_Int32 >& offset) throw(css::uno::RuntimeException, std::exception) override; \
};
TRANSLITERATION_IGNORE(KiKuFollowedBySa_ja_JP)
@@ -128,14 +128,14 @@ public:\
implementationName = "com.sun.star.i18n.Transliteration.ignore"#name;\
};\
OUString SAL_CALL folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, \
- com::sun::star::uno::Sequence< sal_Int32 >& offset) throw(com::sun::star::uno::RuntimeException, std::exception) override; \
+ css::uno::Sequence< sal_Int32 >& offset) throw(css::uno::RuntimeException, std::exception) override; \
using transliteration_Ignore::transliterateRange;\
- com::sun::star::uno::Sequence< OUString > SAL_CALL transliterateRange( const OUString& str1, \
- const OUString& str2 ) throw(com::sun::star::uno::RuntimeException, std::exception) override; \
+ css::uno::Sequence< OUString > SAL_CALL transliterateRange( const OUString& str1, \
+ const OUString& str2 ) throw(css::uno::RuntimeException, std::exception) override; \
sal_Unicode SAL_CALL \
transliterateChar2Char( sal_Unicode inChar) \
- throw(com::sun::star::uno::RuntimeException,\
- com::sun::star::i18n::MultipleCharsOutputException, std::exception) override;\
+ throw(css::uno::RuntimeException,\
+ css::i18n::MultipleCharsOutputException, std::exception) override;\
};
TRANSLITERATION_IGNORE(Kana)
diff --git a/i18npool/inc/transliteration_Numeric.hxx b/i18npool/inc/transliteration_Numeric.hxx
index 0c130e761d5c..33ce3690805a 100644
--- a/i18npool/inc/transliteration_Numeric.hxx
+++ b/i18npool/inc/transliteration_Numeric.hxx
@@ -26,28 +26,28 @@ namespace com { namespace sun { namespace star { namespace i18n {
class transliteration_Numeric : public transliteration_commonclass {
public:
virtual OUString SAL_CALL
- transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, ::com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+ transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Unicode SAL_CALL
transliterateChar2Char( sal_Unicode inChar)
- throw(com::sun::star::i18n::MultipleCharsOutputException,
- com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::i18n::MultipleCharsOutputException,
+ css::uno::RuntimeException, std::exception) override;
// Methods which are shared.
- virtual sal_Int16 SAL_CALL getType( ) throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getType( ) throw(css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL
- folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, ::com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+ folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset )
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL
equals( const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1, const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
- throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
+ virtual css::uno::Sequence< OUString > SAL_CALL
transliterateRange( const OUString& str1, const OUString& str2 )
- throw(::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
protected:
sal_Int16 nNativeNumberMode;
sal_Int16 tableSize;
@@ -56,8 +56,8 @@ protected:
private:
OUString SAL_CALL
transliterateBullet( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount,
- com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw(com::sun::star::uno::RuntimeException);
+ css::uno::Sequence< sal_Int32 >& offset )
+ throw(css::uno::RuntimeException);
};
} } } }
diff --git a/i18npool/inc/transliteration_OneToOne.hxx b/i18npool/inc/transliteration_OneToOne.hxx
index 16f1a7e073a3..2ef7c973481c 100644
--- a/i18npool/inc/transliteration_OneToOne.hxx
+++ b/i18npool/inc/transliteration_OneToOne.hxx
@@ -30,29 +30,29 @@ class transliteration_OneToOne : public transliteration_commonclass
{
public:
OUString SAL_CALL
- transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset )
+ throw(css::uno::RuntimeException, std::exception) override;
sal_Unicode SAL_CALL
transliterateChar2Char( sal_Unicode inChar)
- throw(com::sun::star::uno::RuntimeException,
- com::sun::star::i18n::MultipleCharsOutputException, std::exception) override;
+ throw(css::uno::RuntimeException,
+ css::i18n::MultipleCharsOutputException, std::exception) override;
// Methods which are shared.
- sal_Int16 SAL_CALL getType() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int16 SAL_CALL getType() throw(css::uno::RuntimeException, std::exception) override;
OUString SAL_CALL
- folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset)
+ throw(css::uno::RuntimeException, std::exception) override;
sal_Bool SAL_CALL
equals( const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
- const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
+ throw(css::uno::RuntimeException, std::exception) override;
- com::sun::star::uno::Sequence< OUString > SAL_CALL
+ css::uno::Sequence< OUString > SAL_CALL
transliterateRange( const OUString& str1, const OUString& str2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
protected:
TransFunc func;
@@ -65,12 +65,12 @@ class name : public transliteration_OneToOne \
public: \
name (); \
OUString SAL_CALL \
- transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset ) \
- throw(com::sun::star::uno::RuntimeException, std::exception) override; \
+ transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) \
+ throw(css::uno::RuntimeException, std::exception) override; \
sal_Unicode SAL_CALL \
transliterateChar2Char( sal_Unicode inChar) \
- throw(com::sun::star::uno::RuntimeException, \
- com::sun::star::i18n::MultipleCharsOutputException, std::exception) override; \
+ throw(css::uno::RuntimeException, \
+ css::i18n::MultipleCharsOutputException, std::exception) override; \
};
TRANSLITERATION_ONETOONE( fullwidthToHalfwidth )
diff --git a/i18npool/inc/transliteration_body.hxx b/i18npool/inc/transliteration_body.hxx
index eaa18aa2fee9..01757b95f4dd 100644
--- a/i18npool/inc/transliteration_body.hxx
+++ b/i18npool/inc/transliteration_body.hxx
@@ -30,30 +30,30 @@ public:
Transliteration_body();
// Methods which are shared.
- sal_Int16 SAL_CALL getType() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int16 SAL_CALL getType() throw(css::uno::RuntimeException, std::exception) override;
OUString SAL_CALL transliterate(const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount,
- com::sun::star::uno::Sequence< sal_Int32 >& offset) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ css::uno::Sequence< sal_Int32 >& offset) throw(css::uno::RuntimeException, std::exception) override;
OUString SAL_CALL
transliterateChar2String( sal_Unicode inChar)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Unicode SAL_CALL
transliterateChar2Char( sal_Unicode inChar)
- throw(com::sun::star::uno::RuntimeException,
- com::sun::star::i18n::MultipleCharsOutputException, std::exception) override;
+ throw(css::uno::RuntimeException,
+ css::i18n::MultipleCharsOutputException, std::exception) override;
OUString SAL_CALL folding(const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount,
- com::sun::star::uno::Sequence< sal_Int32 >& offset) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ css::uno::Sequence< sal_Int32 >& offset) throw(css::uno::RuntimeException, std::exception) override;
sal_Bool SAL_CALL equals(
const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
- com::sun::star::uno::Sequence< OUString > SAL_CALL transliterateRange( const OUString& str1,
- const OUString& str2 ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ css::uno::Sequence< OUString > SAL_CALL transliterateRange( const OUString& str1,
+ const OUString& str2 ) throw(css::uno::RuntimeException, std::exception) override;
protected:
sal_uInt8 nMappingType;
@@ -75,7 +75,7 @@ class Transliteration_casemapping : public Transliteration_body
{
public:
Transliteration_casemapping();
- void SAL_CALL setMappingType(const sal_uInt8 rMappingType, const com::sun::star::lang::Locale& rLocale );
+ void SAL_CALL setMappingType(const sal_uInt8 rMappingType, const css::lang::Locale& rLocale );
};
class Transliteration_togglecase : public Transliteration_body
@@ -89,7 +89,7 @@ class Transliteration_titlecase : public Transliteration_body
public:
Transliteration_titlecase();
- virtual OUString SAL_CALL transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) throw(css::uno::RuntimeException, std::exception) override;
};
class Transliteration_sentencecase : public Transliteration_body
@@ -97,7 +97,7 @@ class Transliteration_sentencecase : public Transliteration_body
public:
Transliteration_sentencecase();
- virtual OUString SAL_CALL transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset ) throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset ) throw(css::uno::RuntimeException, std::exception) override;
};
} } } }
diff --git a/i18npool/inc/transliteration_caseignore.hxx b/i18npool/inc/transliteration_caseignore.hxx
index 42f94e1cb5d5..f80c747c12eb 100644
--- a/i18npool/inc/transliteration_caseignore.hxx
+++ b/i18npool/inc/transliteration_caseignore.hxx
@@ -29,29 +29,29 @@ public:
Transliteration_caseignore();
// Methods which are shared.
- sal_Int16 SAL_CALL getType() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ sal_Int16 SAL_CALL getType() throw(css::uno::RuntimeException, std::exception) override;
- void SAL_CALL loadModule( TransliterationModules modName, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ void SAL_CALL loadModule( TransliterationModules modName, const css::lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
- com::sun::star::uno::Sequence< OUString > SAL_CALL transliterateRange(
+ css::uno::Sequence< OUString > SAL_CALL transliterateRange(
const OUString& str1, const OUString& str2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
sal_Bool SAL_CALL equals(
const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
const OUString& src2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
sal_Int32 SAL_CALL compareSubstring(
const OUString& s1, sal_Int32 off1, sal_Int32 len1,
const OUString& s2, sal_Int32 off2, sal_Int32 len2)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
sal_Int32 SAL_CALL compareString(
const OUString& s1,
const OUString& s2)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
protected:
TransliterationModules moduleLoaded;
@@ -59,7 +59,7 @@ private:
sal_Int32 SAL_CALL compare(
const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1,
const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2)
- throw(com::sun::star::uno::RuntimeException);
+ throw(css::uno::RuntimeException);
};
} } } }
diff --git a/i18npool/inc/transliteration_commonclass.hxx b/i18npool/inc/transliteration_commonclass.hxx
index de4071882218..1b2d1eed39fa 100644
--- a/i18npool/inc/transliteration_commonclass.hxx
+++ b/i18npool/inc/transliteration_commonclass.hxx
@@ -29,8 +29,8 @@
namespace com { namespace sun { namespace star { namespace i18n {
class transliteration_commonclass : public cppu::WeakImplHelper<
- com::sun::star::i18n::XExtendedTransliteration,
- com::sun::star::lang::XServiceInfo
+ css::i18n::XExtendedTransliteration,
+ css::lang::XServiceInfo
>
{
public:
@@ -38,75 +38,75 @@ public:
// Methods which are shared.
void SAL_CALL
- loadModule( TransliterationModules modName, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ loadModule( TransliterationModules modName, const css::lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
void SAL_CALL
- loadModuleNew( const com::sun::star::uno::Sequence< TransliterationModulesNew >& modName, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ loadModuleNew( const css::uno::Sequence< TransliterationModulesNew >& modName, const css::lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
void SAL_CALL
- loadModuleByImplName( const OUString& implName, const com::sun::star::lang::Locale& rLocale )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ loadModuleByImplName( const OUString& implName, const css::lang::Locale& rLocale )
+ throw(css::uno::RuntimeException, std::exception) override;
void SAL_CALL
- loadModulesByImplNames(const com::sun::star::uno::Sequence< OUString >& modNamelist, const com::sun::star::lang::Locale& rLocale)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ loadModulesByImplNames(const css::uno::Sequence< OUString >& modNamelist, const css::lang::Locale& rLocale)
+ throw(css::uno::RuntimeException, std::exception) override;
- com::sun::star::uno::Sequence< OUString > SAL_CALL
- getAvailableModules( const com::sun::star::lang::Locale& rLocale, sal_Int16 sType )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ css::uno::Sequence< OUString > SAL_CALL
+ getAvailableModules( const css::lang::Locale& rLocale, sal_Int16 sType )
+ throw(css::uno::RuntimeException, std::exception) override;
// Methods which should be implemented in each transliteration module.
- virtual OUString SAL_CALL getName() throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getType( ) throw(com::sun::star::uno::RuntimeException, std::exception) override = 0;
+ virtual sal_Int16 SAL_CALL getType( ) throw(css::uno::RuntimeException, std::exception) override = 0;
virtual OUString SAL_CALL
- transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset )
- throw(com::sun::star::uno::RuntimeException, std::exception) override = 0;
+ transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset )
+ throw(css::uno::RuntimeException, std::exception) override = 0;
virtual OUString SAL_CALL
- folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, com::sun::star::uno::Sequence< sal_Int32 >& offset)
- throw(com::sun::star::uno::RuntimeException, std::exception) override = 0;
+ folding( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset)
+ throw(css::uno::RuntimeException, std::exception) override = 0;
// Methods in XExtendedTransliteration
virtual OUString SAL_CALL
transliterateString2String( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount )
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL
transliterateChar2String( sal_Unicode inChar)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Unicode SAL_CALL
transliterateChar2Char( sal_Unicode inChar )
- throw(com::sun::star::i18n::MultipleCharsOutputException,
- com::sun::star::uno::RuntimeException, std::exception) override = 0;
+ throw(css::i18n::MultipleCharsOutputException,
+ css::uno::RuntimeException, std::exception) override = 0;
virtual sal_Bool SAL_CALL
equals( const OUString& str1, sal_Int32 pos1, sal_Int32 nCount1, sal_Int32& nMatch1, const OUString& str2, sal_Int32 pos2, sal_Int32 nCount2, sal_Int32& nMatch2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) override = 0;
+ throw(css::uno::RuntimeException, std::exception) override = 0;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL
+ virtual css::uno::Sequence< OUString > SAL_CALL
transliterateRange( const OUString& str1, const OUString& str2 )
- throw(com::sun::star::uno::RuntimeException, std::exception) override = 0;
+ throw(css::uno::RuntimeException, std::exception) override = 0;
virtual sal_Int32 SAL_CALL
compareSubstring( const OUString& s1, sal_Int32 off1, sal_Int32 len1, const OUString& s2, sal_Int32 off2, sal_Int32 len2)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL
compareString( const OUString& s1, const OUString& s2)
- throw(com::sun::star::uno::RuntimeException, std::exception) override;
+ throw(css::uno::RuntimeException, std::exception) override;
//XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
protected:
- com::sun::star::lang::Locale aLocale;
+ css::lang::Locale aLocale;
const sal_Char* transliterationName;
const sal_Char* implementationName;
bool useOffset;
diff --git a/i18npool/inc/unoscripttypedetector.hxx b/i18npool/inc/unoscripttypedetector.hxx
index e6d42297d312..effbb23acdd3 100644
--- a/i18npool/inc/unoscripttypedetector.hxx
+++ b/i18npool/inc/unoscripttypedetector.hxx
@@ -29,27 +29,27 @@
class UnoScriptTypeDetector : public cppu::WeakImplHelper
<
- ::com::sun::star::i18n::XScriptTypeDetector,
- ::com::sun::star::lang::XServiceInfo
+ css::i18n::XScriptTypeDetector,
+ css::lang::XServiceInfo
>
{
public:
// Methods
- virtual sal_Int32 SAL_CALL beginOfScriptDirection( const OUString& Text, sal_Int32 nPos, sal_Int16 scriptDirection ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL endOfScriptDirection( const OUString& Text, sal_Int32 nPos, sal_Int16 scriptDirection ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getScriptDirection( const OUString& Text, sal_Int32 nPos, sal_Int16 defaultScriptDirection ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL beginOfCTLScriptType( const OUString& Text, sal_Int32 nPos ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int32 SAL_CALL endOfCTLScriptType( const OUString& Text, sal_Int32 nPos ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Int16 SAL_CALL getCTLScriptType( const OUString& Text, sal_Int32 nPos ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL beginOfScriptDirection( const OUString& Text, sal_Int32 nPos, sal_Int16 scriptDirection ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL endOfScriptDirection( const OUString& Text, sal_Int32 nPos, sal_Int16 scriptDirection ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getScriptDirection( const OUString& Text, sal_Int32 nPos, sal_Int16 defaultScriptDirection ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL beginOfCTLScriptType( const OUString& Text, sal_Int32 nPos ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int32 SAL_CALL endOfCTLScriptType( const OUString& Text, sal_Int32 nPos ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Int16 SAL_CALL getCTLScriptType( const OUString& Text, sal_Int32 nPos ) throw (css::uno::RuntimeException, std::exception) override;
//XServiceInfo
virtual OUString SAL_CALL getImplementationName()
- throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
- throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
- throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
+ throw( css::uno::RuntimeException, std::exception ) override;
};
#endif