diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 17:03:35 +1000 |
commit | 97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch) | |
tree | 7974a8b9423c56982646366b0859dfb2a1a88d50 /chart2/source/controller/drawinglayer | |
parent | d0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff) |
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'chart2/source/controller/drawinglayer')
-rw-r--r-- | chart2/source/controller/drawinglayer/DrawViewWrapper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx index 432d599cd002..c1005f5e0ef3 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 - assert(!m_bRestoreMapMode); + OSL_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 - assert(m_bRestoreMapMode); + OSL_ASSERT( m_bRestoreMapMode ); if( m_bRestoreMapMode ) { OutputDevice* pOutDev = this->GetFirstOutputDevice(); |