diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 23:54:49 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 23:54:49 +0000 |
commit | abb270cbbf904d893b83a3793dca52f83cb23fde (patch) | |
tree | 36536b90fcd6bc8c98337206e0fc7abcbcd11e87 | |
parent | 6bbf0c3eb4c6744ded0f910f5e52d5bc022a0260 (diff) |
INTEGRATION: CWS aw033 (1.39.38); FILE MERGED
2008/07/10 12:55:19 aw 1.39.38.1: #i39532# XOutputDevice removed, PrepareDelete removed
-rw-r--r-- | sc/source/ui/view/gridwin4.cxx | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx index 1823927f47cb..256a28ac7100 100644 --- a/sc/source/ui/view/gridwin4.cxx +++ b/sc/source/ui/view/gridwin4.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: gridwin4.cxx,v $ - * $Revision: 1.39 $ + * $Revision: 1.40 $ * * This file is part of OpenOffice.org. * @@ -315,6 +315,24 @@ void ScGridWindow::DoInvertRect( const Rectangle& rPixel ) //------------------------------------------------------------------------ +void __EXPORT ScGridWindow::PrePaint() +{ + // forward PrePaint to DrawingLayer + ScTabViewShell* pTabViewShell = pViewData->GetViewShell(); + + if(pTabViewShell) + { + SdrView* pDrawView = pTabViewShell->GetSdrView(); + + if(pDrawView) + { + pDrawView->PrePaint(); + } + } +} + +//------------------------------------------------------------------------ + void __EXPORT ScGridWindow::Paint( const Rectangle& rRect ) { //TODO/LATER: how to get environment? Do we need that?! |