summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/csvcontrol.cxx
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2004-06-28 17:00:33 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2004-06-28 17:00:33 +0000
commit7cce9e795a5a537c44f1b1d5912e2abe66a39bec (patch)
tree9a674c9874937651c448f30bfe4d0145d3cb643b /sc/source/ui/dbgui/csvcontrol.cxx
parentcf6eccb2f0d57df9d70c402af0620aae565bfe85 (diff)
INTEGRATION: CWS dr18 (1.6.350); FILE MERGED
2004/05/25 10:22:24 dr 1.6.350.1: #i24235# output device handling
Diffstat (limited to 'sc/source/ui/dbgui/csvcontrol.cxx')
-rw-r--r--sc/source/ui/dbgui/csvcontrol.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/sc/source/ui/dbgui/csvcontrol.cxx b/sc/source/ui/dbgui/csvcontrol.cxx
index b295ba5fe476..82991ec0d469 100644
--- a/sc/source/ui/dbgui/csvcontrol.cxx
+++ b/sc/source/ui/dbgui/csvcontrol.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: csvcontrol.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2003-03-26 18:05:51 $
+ * last change: $Author: hjs $ $Date: 2004-06-28 18:00:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -328,10 +328,12 @@ sal_Int32 ScCsvControl::GetLineFromY( sal_Int32 nY ) const
void ScCsvControl::ImplInvertRect( OutputDevice& rOutDev, const Rectangle& rRect )
{
- RasterOp eOldOp = rOutDev.GetRasterOp();
+ rOutDev.Push( PUSH_LINECOLOR | PUSH_FILLCOLOR | PUSH_RASTEROP );
+ rOutDev.SetLineColor( Color( COL_BLACK ) );
+ rOutDev.SetFillColor( Color( COL_BLACK ) );
rOutDev.SetRasterOp( ROP_INVERT );
rOutDev.DrawRect( rRect );
- rOutDev.SetRasterOp( eOldOp );
+ rOutDev.Pop();
}
ScMoveMode ScCsvControl::GetHorzDirection( sal_uInt16 nCode, bool bHomeEnd )