summaryrefslogtreecommitdiff
path: root/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx')
-rw-r--r--lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
index 435e9fbfad06..e8c5afaa69f6 100644
--- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
+++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
@@ -101,7 +101,7 @@ PropertyHelper_Hyphenation& Hyphenator::GetPropHelper_Impl()
{
Reference< XLinguProperties > xPropSet( GetLinguProperties(), UNO_QUERY );
- pPropHelper = new PropertyHelper_Hyphenation ((XHyphenator *) this, xPropSet );
+ pPropHelper = new PropertyHelper_Hyphenation (static_cast<XHyphenator *>(this), xPropSet );
pPropHelper->AddAsPropListener(); //! after a reference is established
}
return *pPropHelper;
@@ -744,7 +744,7 @@ Reference< XInterface > SAL_CALL Hyphenator_CreateInstance(
const Reference< XMultiServiceFactory > & /*rSMgr*/ )
throw(Exception)
{
- Reference< XInterface > xService = (cppu::OWeakObject*) new Hyphenator;
+ Reference< XInterface > xService = static_cast<cppu::OWeakObject*>(new Hyphenator);
return xService;
}
@@ -801,7 +801,7 @@ void SAL_CALL Hyphenator::initialize( const Sequence< Any >& rArguments )
//! And the reference to the UNO-functions while increasing
//! the ref-count and will implicitly free the memory
//! when the object is not longer used.
- pPropHelper = new PropertyHelper_Hyphenation( (XHyphenator *) this, xPropSet );
+ pPropHelper = new PropertyHelper_Hyphenation( static_cast<XHyphenator *>(this), xPropSet );
pPropHelper->AddAsPropListener(); //! after a reference is established
}
else {
@@ -818,7 +818,7 @@ void SAL_CALL Hyphenator::dispose()
if (!bDisposing)
{
bDisposing = true;
- EventObject aEvtObj( (XHyphenator *) this );
+ EventObject aEvtObj( static_cast<XHyphenator *>(this) );
aEvtListeners.disposeAndClear( aEvtObj );
if (pPropHelper)
{