summaryrefslogtreecommitdiff
path: root/linguistic/source/lngprophelp.cxx
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 /linguistic/source/lngprophelp.cxx
parentc75a46fbd0ba4daf857fcd7d70badeed5aae8e28 (diff)
fdo#46808, propogate XLinguProperties through some more code
Change-Id: I89258875094e9731921fcafdc903278ca8f95aa8
Diffstat (limited to 'linguistic/source/lngprophelp.cxx')
-rw-r--r--linguistic/source/lngprophelp.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx
index c36f55abc4c9..79db0f0affa3 100644
--- a/linguistic/source/lngprophelp.cxx
+++ b/linguistic/source/lngprophelp.cxx
@@ -56,7 +56,7 @@ static int nCHCount = sizeof(aCH) / sizeof(aCH[0]);
PropertyChgHelper::PropertyChgHelper(
const Reference< XInterface > &rxSource,
- Reference< XPropertySet > &rxPropSet,
+ Reference< XLinguProperties > &rxPropSet,
int nAllowedEvents ) :
PropertyChgHelperBase(),
aPropNames (nCHCount),
@@ -335,7 +335,7 @@ sal_Bool SAL_CALL
PropertyHelper_Thes::PropertyHelper_Thes(
const Reference< XInterface > &rxSource,
- Reference< XPropertySet > &rxPropSet ) :
+ Reference< XLinguProperties > &rxPropSet ) :
PropertyChgHelper ( rxSource, rxPropSet, 0 )
{
SetDefaultValues();
@@ -370,7 +370,7 @@ static const char *aSP[] =
PropertyHelper_Spell::PropertyHelper_Spell(
const Reference< XInterface > & rxSource,
- Reference< XPropertySet > &rxPropSet ) :
+ Reference< XLinguProperties > &rxPropSet ) :
PropertyChgHelper ( rxSource, rxPropSet, AE_SPELLCHECKER )
{
AddPropNames( aSP, sizeof(aSP) / sizeof(aSP[0]) );
@@ -558,7 +558,7 @@ static const char *aHP[] =
PropertyHelper_Hyphen::PropertyHelper_Hyphen(
const Reference< XInterface > & rxSource,
- Reference< XPropertySet > &rxPropSet ) :
+ Reference< XLinguProperties > &rxPropSet ) :
PropertyChgHelper ( rxSource, rxPropSet, AE_HYPHENATOR )
{
AddPropNames( aHP, sizeof(aHP) / sizeof(aHP[0]) );
@@ -703,7 +703,7 @@ PropertyHelper_Thesaurus::PropertyHelper_Thesaurus(
const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface > &rxSource,
::com::sun::star::uno::Reference<
- ::com::sun::star::beans::XPropertySet > &rxPropSet )
+ ::com::sun::star::linguistic2::XLinguProperties > &rxPropSet )
{
pInst = new PropertyHelper_Thes( rxSource, rxPropSet );
xPropHelper = pInst;
@@ -732,7 +732,7 @@ PropertyHelper_Hyphenation::PropertyHelper_Hyphenation(
const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface > &rxSource,
::com::sun::star::uno::Reference<
- ::com::sun::star::beans::XPropertySet > &rxPropSet)
+ ::com::sun::star::linguistic2::XLinguProperties > &rxPropSet)
{
pInst = new PropertyHelper_Hyphen( rxSource, rxPropSet );
xPropHelper = pInst;
@@ -792,7 +792,7 @@ PropertyHelper_Spelling::PropertyHelper_Spelling(
const ::com::sun::star::uno::Reference<
::com::sun::star::uno::XInterface > &rxSource,
::com::sun::star::uno::Reference<
- ::com::sun::star::beans::XPropertySet > &rxPropSet )
+ ::com::sun::star::linguistic2::XLinguProperties > &rxPropSet )
{
pInst = new PropertyHelper_Spell( rxSource, rxPropSet );
xPropHelper = pInst;