summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdcrtv.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-10-27 12:26:47 +0000
committerRüdiger Timm <rt@openoffice.org>2003-10-27 12:26:47 +0000
commit75c447611f2692ea3332b71be5779a5c4b6da9e5 (patch)
tree9ae1e23788458a218b28f842eb8fc8b57f9b90f8 /svx/source/svdraw/svdcrtv.cxx
parent641bcf2873f6082cbb74ef1846a5117bbc83420c (diff)
INTEGRATION: CWS aw005 (1.10.286); FILE MERGED
2003/10/10 12:48:59 aw 1.10.286.2: #109585# 2003/10/10 12:44:57 aw 1.10.286.1: #109585#
Diffstat (limited to 'svx/source/svdraw/svdcrtv.cxx')
-rw-r--r--svx/source/svdraw/svdcrtv.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx
index 783902cf4c53..535430013864 100644
--- a/svx/source/svdraw/svdcrtv.cxx
+++ b/svx/source/svdraw/svdcrtv.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdcrtv.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 15:04:27 $
+ * last change: $Author: rt $ $Date: 2003-10-27 13:26:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -705,11 +705,10 @@ void SdrCreateView::MovCreateObj(const Point& rPnt)
Size a2Pix(pOut->PixelToLogic(Size(2,2)));
MapMode aMap(pOut->GetMapMode());
aVDev.SetMapMode(aMap);
- #ifdef MAC
- Color aMixedColor( RGB_COLORDATA( 223, 223, 223 ) );
- #else
- Color aMixedColor( RGB_COLORDATA( 234, 234, 234 ) );
- #endif
+
+ // #109585#
+ Color aMixedColor = pCreatePV->GetApplicationBackgroundColor();
+
aVDev.SetBackground( Wallpaper( aMixedColor ) );
aVDev.SetOutputSize(pOut->GetOutputSize());
Rectangle aDirtyArea(aBound);