summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/viscrs.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/crsr/viscrs.cxx')
-rw-r--r--sw/source/core/crsr/viscrs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 4777b767deb3..adcb0aa4bc4a 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -592,7 +592,7 @@ void SwSelPaintRects::Invalidate( const SwRect& rRect )
void SwSelPaintRects::Get1PixelInLogic( const SwViewShell& rSh,
tools::Long* pX, tools::Long* pY )
{
- const OutputDevice* pOut = rSh.GetWin();
+ const OutputDevice* pOut = rSh.GetWin()->GetOutDev();
if ( ! pOut )
pOut = rSh.GetOut();