diff options
author | Noel Grandin <noel@peralex.com> | 2013-05-14 13:10:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-05-14 13:39:30 +0200 |
commit | 708cab47c4457637f87815750a026168b3f10c84 (patch) | |
tree | 7257fac35af4810a01ef14781ca250e44bc2f513 /lingucomponent/source/thesaurus | |
parent | c75a46fbd0ba4daf857fcd7d70badeed5aae8e28 (diff) |
fdo#46808, propogate XLinguProperties through some more code
Change-Id: I89258875094e9731921fcafdc903278ca8f95aa8
Diffstat (limited to 'lingucomponent/source/thesaurus')
-rw-r--r-- | lingucomponent/source/thesaurus/libnth/nthesimp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx index 12b4b89ed2d5..b09b950e6e56 100644 --- a/lingucomponent/source/thesaurus/libnth/nthesimp.cxx +++ b/lingucomponent/source/thesaurus/libnth/nthesimp.cxx @@ -120,7 +120,7 @@ PropertyHelper_Thesaurus& Thesaurus::GetPropHelper_Impl() { if (!pPropHelper) { - Reference< XPropertySet > xPropSet( GetLinguProperties(), UNO_QUERY ); + Reference< XLinguProperties > xPropSet( GetLinguProperties(), UNO_QUERY ); pPropHelper = new PropertyHelper_Thesaurus( (XThesaurus *) this, xPropSet ); pPropHelper->AddAsPropListener(); //! after a reference is established @@ -554,7 +554,7 @@ void SAL_CALL Thesaurus::initialize( const Sequence< Any >& rArguments ) sal_Int32 nLen = rArguments.getLength(); if (1 == nLen) { - Reference< XPropertySet > xPropSet; + Reference< XLinguProperties > xPropSet; rArguments.getConstArray()[0] >>= xPropSet; //! Pointer allows for access of the non-UNO functions. |