summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/linkuno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/linkuno.cxx')
-rw-r--r--sc/source/ui/unoobj/linkuno.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/linkuno.cxx b/sc/source/ui/unoobj/linkuno.cxx
index 13772e37070e..f3f2c70c9be6 100644
--- a/sc/source/ui/unoobj/linkuno.cxx
+++ b/sc/source/ui/unoobj/linkuno.cxx
@@ -188,7 +188,7 @@ void SAL_CALL ScSheetLinkObj::removeRefreshListener(
void ScSheetLinkObj::Refreshed_Impl()
{
lang::EventObject aEvent;
- aEvent.Source.set((cppu::OWeakObject*)this);
+ aEvent.Source.set(static_cast<cppu::OWeakObject*>(this));
for ( size_t n=0; n<aRefreshListeners.size(); n++ )
aRefreshListeners[n]->refreshed( aEvent );
}
@@ -741,7 +741,7 @@ void SAL_CALL ScAreaLinkObj::removeRefreshListener(
void ScAreaLinkObj::Refreshed_Impl()
{
lang::EventObject aEvent;
- aEvent.Source.set((cppu::OWeakObject*)this);
+ aEvent.Source.set(static_cast<cppu::OWeakObject*>(this));
for ( size_t n=0; n<aRefreshListeners.size(); n++ )
aRefreshListeners[n]->refreshed( aEvent );
}
@@ -1241,7 +1241,7 @@ void ScDDELinkObj::setResults( const uno::Sequence< uno::Sequence< uno::Any > >&
void ScDDELinkObj::Refreshed_Impl()
{
lang::EventObject aEvent;
- aEvent.Source.set((cppu::OWeakObject*)this);
+ aEvent.Source.set(static_cast<cppu::OWeakObject*>(this));
for ( size_t n=0; n<aRefreshListeners.size(); n++ )
aRefreshListeners[n]->refreshed( aEvent );
}