diff options
Diffstat (limited to 'sc/source/ui/view/notemark.cxx')
-rw-r--r-- | sc/source/ui/view/notemark.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/notemark.cxx b/sc/source/ui/view/notemark.cxx index 7b8dd7f6aef2..fd9ce3b406e0 100644 --- a/sc/source/ui/view/notemark.cxx +++ b/sc/source/ui/view/notemark.cxx @@ -149,19 +149,19 @@ void ScNoteMarker::Draw() if ( !(m_xObject && m_bVisible) ) return; - lcl_DrawWin( m_xObject.get(), m_pWindow, m_aMapMode ); + lcl_DrawWin( m_xObject.get(), m_pWindow->GetOutDev(), m_aMapMode ); if ( m_pRightWin || m_pBottomWin ) { Size aWinSize = m_pWindow->PixelToLogic( m_pWindow->GetOutputSizePixel(), m_aMapMode ); if ( m_pRightWin ) - lcl_DrawWin( m_xObject.get(), m_pRightWin, + lcl_DrawWin( m_xObject.get(), m_pRightWin->GetOutDev(), lcl_MoveMapMode( m_aMapMode, Size( aWinSize.Width(), 0 ) ) ); if ( m_pBottomWin ) - lcl_DrawWin( m_xObject.get(), m_pBottomWin, + lcl_DrawWin( m_xObject.get(), m_pBottomWin->GetOutDev(), lcl_MoveMapMode( m_aMapMode, Size( 0, aWinSize.Height() ) ) ); if ( m_pDiagWin ) - lcl_DrawWin( m_xObject.get(), m_pDiagWin, lcl_MoveMapMode( m_aMapMode, aWinSize ) ); + lcl_DrawWin( m_xObject.get(), m_pDiagWin->GetOutDev(), lcl_MoveMapMode( m_aMapMode, aWinSize ) ); } } |