summaryrefslogtreecommitdiff
path: root/include/linguistic/spelldta.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-22 16:38:52 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-23 07:08:51 +0000
commite4acd26406056addac8c10e80d8cfaa48cedc7fc (patch)
tree96532a7c95d861d0bf6add09d0c8afd179756bbe /include/linguistic/spelldta.hxx
parentfa22a60e71da5c43b53c5c94f65903ce05d8c9e8 (diff)
com::sun::star->css in include/linguistic to include/sfx2
Change-Id: Id69e293fda98ee6cf2cc3d3296a0cd2e06bd847e Reviewed-on: https://gerrit.libreoffice.org/19527 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/linguistic/spelldta.hxx')
-rw-r--r--include/linguistic/spelldta.hxx50
1 files changed, 24 insertions, 26 deletions
diff --git a/include/linguistic/spelldta.hxx b/include/linguistic/spelldta.hxx
index fe381384d7f5..5e56574f09dd 100644
--- a/include/linguistic/spelldta.hxx
+++ b/include/linguistic/spelldta.hxx
@@ -38,64 +38,62 @@ namespace com { namespace sun { namespace star {
namespace linguistic
{
-::com::sun::star::uno::Sequence< OUString >
+css::uno::Sequence< OUString >
MergeProposalSeqs(
- ::com::sun::star::uno::Sequence< OUString > &rAlt1,
- ::com::sun::star::uno::Sequence< OUString > &rAlt2,
+ css::uno::Sequence< OUString > &rAlt1,
+ css::uno::Sequence< OUString > &rAlt2,
bool bAllowDuplicates );
void SeqRemoveNegEntries(
- ::com::sun::star::uno::Sequence< OUString > &rSeq,
- ::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic2::XSearchableDictionaryList > &rxDicList,
+ css::uno::Sequence< OUString > &rSeq,
+ css::uno::Reference< css::linguistic2::XSearchableDictionaryList > &rxDicList,
sal_Int16 nLanguage );
bool SeqHasEntry(
- const ::com::sun::star::uno::Sequence< OUString > &rSeq,
+ const css::uno::Sequence< OUString > &rSeq,
const OUString &rTxt);
void SearchSimilarText( const OUString &rText, sal_Int16 nLanguage,
- ::com::sun::star::uno::Reference<
- ::com::sun::star::linguistic2::XSearchableDictionaryList > &xDicList,
+ css::uno::Reference< css::linguistic2::XSearchableDictionaryList > &xDicList,
std::vector< OUString > & rDicListProps );
class SpellAlternatives
: public cppu::WeakImplHelper
<
- ::com::sun::star::linguistic2::XSpellAlternatives,
- ::com::sun::star::linguistic2::XSetSpellAlternatives
+ css::linguistic2::XSpellAlternatives,
+ css::linguistic2::XSetSpellAlternatives
>
, private ::boost::noncopyable
{
- ::com::sun::star::uno::Sequence< OUString > aAlt; // list of alternatives, may be empty.
- OUString aWord;
- sal_Int16 nType; // type of failure
- sal_Int16 nLanguage;
+ css::uno::Sequence< OUString > aAlt; // list of alternatives, may be empty.
+ OUString aWord;
+ sal_Int16 nType; // type of failure
+ sal_Int16 nLanguage;
public:
LNG_DLLPUBLIC SpellAlternatives();
SpellAlternatives(const OUString &rWord, sal_Int16 nLang, sal_Int16 nFailureType,
- const ::com::sun::star::uno::Sequence< OUString > &rAlternatives );
+ const css::uno::Sequence< OUString > &rAlternatives );
virtual ~SpellAlternatives();
// XSpellAlternatives
- virtual OUString SAL_CALL getWord( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::lang::Locale SAL_CALL getLocale( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int16 SAL_CALL getFailureType( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::sal_Int16 SAL_CALL getAlternativesCount( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAlternatives( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getWord( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::lang::Locale SAL_CALL getLocale( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int16 SAL_CALL getFailureType( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual ::sal_Int16 SAL_CALL getAlternativesCount( ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getAlternatives( ) throw (css::uno::RuntimeException, std::exception) override;
// XSetSpellAlternatives
- virtual void SAL_CALL setAlternatives( const ::com::sun::star::uno::Sequence< OUString >& aAlternatives ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL setFailureType( ::sal_Int16 nFailureType ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setAlternatives( const css::uno::Sequence< OUString >& aAlternatives ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setFailureType( ::sal_Int16 nFailureType ) throw (css::uno::RuntimeException, std::exception) override;
// non-interface specific functions
void LNG_DLLPUBLIC SetWordLanguage(const OUString &rWord, sal_Int16 nLang);
void LNG_DLLPUBLIC SetFailureType(sal_Int16 nTypeP);
- void LNG_DLLPUBLIC SetAlternatives( const ::com::sun::star::uno::Sequence< OUString > &rAlt );
- static com::sun::star::uno::Reference < com::sun::star::linguistic2::XSpellAlternatives > LNG_DLLPUBLIC CreateSpellAlternatives(
- const OUString &rWord, sal_Int16 nLang, sal_Int16 nTypeP, const ::com::sun::star::uno::Sequence< OUString > &rAlt );
+ void LNG_DLLPUBLIC SetAlternatives( const css::uno::Sequence< OUString > &rAlt );
+ static css::uno::Reference < css::linguistic2::XSpellAlternatives > LNG_DLLPUBLIC CreateSpellAlternatives(
+ const OUString &rWord, sal_Int16 nLang, sal_Int16 nTypeP, const css::uno::Sequence< OUString > &rAlt );
};
} // namespace linguistic