summaryrefslogtreecommitdiff
path: root/lingucomponent/source/spellcheck
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-05-14 13:10:53 +0200
committerNoel Grandin <noel@peralex.com>2013-05-14 13:39:30 +0200
commit708cab47c4457637f87815750a026168b3f10c84 (patch)
tree7257fac35af4810a01ef14781ca250e44bc2f513 /lingucomponent/source/spellcheck
parentc75a46fbd0ba4daf857fcd7d70badeed5aae8e28 (diff)
fdo#46808, propogate XLinguProperties through some more code
Change-Id: I89258875094e9731921fcafdc903278ca8f95aa8
Diffstat (limited to 'lingucomponent/source/spellcheck')
-rw-r--r--lingucomponent/source/spellcheck/macosxspell/macspellimp.mm2
-rw-r--r--lingucomponent/source/spellcheck/spell/sspellimp.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
index 64cc1c1421a6..0936661a742c 100644
--- a/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
+++ b/lingucomponent/source/spellcheck/macosxspell/macspellimp.mm
@@ -83,7 +83,7 @@ PropertyHelper_Spell & MacSpellChecker::GetPropHelper_Impl()
{
if (!pPropHelper)
{
- Reference< XPropertySet > xPropSet( GetLinguProperties(), UNO_QUERY );
+ Reference< XLinguProperties > xPropSet( GetLinguProperties(), UNO_QUERY );
pPropHelper = new PropertyHelper_Spell( (XSpellChecker *) this, xPropSet );
xPropHelper = pPropHelper;
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index 8f85482cebd8..b1a799f5fd57 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -97,7 +97,7 @@ PropertyHelper_Spelling & SpellChecker::GetPropHelper_Impl()
{
if (!pPropHelper)
{
- Reference< XPropertySet > xPropSet( GetLinguProperties(), UNO_QUERY );
+ Reference< XLinguProperties > xPropSet( GetLinguProperties(), UNO_QUERY );
pPropHelper = new PropertyHelper_Spelling( (XSpellChecker *) this, xPropSet );
pPropHelper->AddAsPropListener(); //! after a reference is established
@@ -571,7 +571,7 @@ void SAL_CALL SpellChecker::initialize( const Sequence< Any >& rArguments )
sal_Int32 nLen = rArguments.getLength();
if (2 == nLen)
{
- Reference< XPropertySet > xPropSet;
+ Reference< XLinguProperties > xPropSet;
rArguments.getConstArray()[0] >>= xPropSet;
//rArguments.getConstArray()[1] >>= xDicList;