diff options
Diffstat (limited to 'sw/source/core/doc/DocumentStateManager.cxx')
-rw-r--r-- | sw/source/core/doc/DocumentStateManager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/DocumentStateManager.cxx b/sw/source/core/doc/DocumentStateManager.cxx index 699e442bc985..1e55f30d8d0e 100644 --- a/sw/source/core/doc/DocumentStateManager.cxx +++ b/sw/source/core/doc/DocumentStateManager.cxx @@ -50,7 +50,7 @@ void DocumentStateManager::SetModified() if( m_rDoc.GetOle2Link().IsSet() ) { mbInCallModified = true; - m_rDoc.GetOle2Link().Call( (void*)nCall ); + m_rDoc.GetOle2Link().Call( reinterpret_cast<void*>(nCall) ); mbInCallModified = false; } @@ -69,7 +69,7 @@ void DocumentStateManager::ResetModified() if( nCall && m_rDoc.GetOle2Link().IsSet() ) { mbInCallModified = true; - m_rDoc.GetOle2Link().Call( (void*)nCall ); + m_rDoc.GetOle2Link().Call( reinterpret_cast<void*>(nCall) ); mbInCallModified = false; } } |