summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-03 16:28:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-03 16:32:59 +0100
commit8e042b47b92956c268e1175379e1e6e8e38ae5ef (patch)
tree424ca852b84491d7aacc6e16b076348b37acabf0 /linguistic
parent5b7e8986ff3de33886939fc39c5a0a48cb03bd1b (diff)
restore this, was unused due to incorrect merge
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/inc/linguistic/lngprophelp.hxx2
-rw-r--r--linguistic/source/lngprophelp.cxx11
2 files changed, 11 insertions, 2 deletions
diff --git a/linguistic/inc/linguistic/lngprophelp.hxx b/linguistic/inc/linguistic/lngprophelp.hxx
index 1d2946d12c42..4dcb1aaff8c2 100644
--- a/linguistic/inc/linguistic/lngprophelp.hxx
+++ b/linguistic/inc/linguistic/lngprophelp.hxx
@@ -266,8 +266,10 @@ public:
::com::sun::star::uno::XInterface > &rxSource,
::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet > &rxPropSet );
+ ~PropertyHelper_Spelling();
void AddAsPropListener();
+ void RemoveAsPropListener();
void SetTmpPropVals( const com::sun::star::beans::PropertyValues &rPropVals );
sal_Bool IsSpellUpperCase() const;
sal_Bool IsSpellWithDigits() const;
diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx
index 51d486650b70..41565a3f1886 100644
--- a/linguistic/source/lngprophelp.cxx
+++ b/linguistic/source/lngprophelp.cxx
@@ -806,11 +806,20 @@ PropertyHelper_Spelling::PropertyHelper_Spelling(
xPropHelper = pInst;
}
+PropertyHelper_Spelling::~PropertyHelper_Spelling()
+{
+}
+
void PropertyHelper_Spelling::AddAsPropListener()
{
pInst->AddAsPropListener();
}
+void PropertyHelper_Spelling::RemoveAsPropListener()
+{
+ pInst->RemoveAsPropListener();
+}
+
void PropertyHelper_Spelling::SetTmpPropVals( const com::sun::star::beans::PropertyValues &rPropVals )
{
pInst->SetTmpPropVals( rPropVals );
@@ -847,8 +856,6 @@ sal_Bool PropertyHelper_Spelling::removeLinguServiceEventListener(
return pInst->removeLinguServiceEventListener( rxListener );
}
-
-
} // namespace linguistic
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */