summaryrefslogtreecommitdiff
path: root/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/drawinglayer/DrawViewWrapper.cxx')
-rw-r--r--chart2/source/controller/drawinglayer/DrawViewWrapper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
index c1005f5e0ef3..432d599cd002 100644
--- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
+++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
@@ -342,7 +342,7 @@ void DrawViewWrapper::Notify(SfxBroadcaster& rBC, const SfxHint& rHint)
if( eKind == SdrHintKind::BeginEdit )
{
// #i79965# remember map mode
- OSL_ASSERT( ! m_bRestoreMapMode );
+ assert(!m_bRestoreMapMode);
OutputDevice* pOutDev = this->GetFirstOutputDevice();
if( pOutDev )
{
@@ -353,7 +353,7 @@ void DrawViewWrapper::Notify(SfxBroadcaster& rBC, const SfxHint& rHint)
else if( eKind == SdrHintKind::EndEdit )
{
// #i79965# scroll back view when ending text edit
- OSL_ASSERT( m_bRestoreMapMode );
+ assert(m_bRestoreMapMode);
if( m_bRestoreMapMode )
{
OutputDevice* pOutDev = this->GetFirstOutputDevice();