Kaydet (Commit) b90a9e09 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS warnings01 (1.9.218); FILE MERGED

2006/04/20 13:12:36 cl 1.9.218.2: warning free code changes
2006/02/17 20:59:08 aw 1.9.218.1: #i55991# warning free changes
üst f157201f
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: polysc3d.cxx,v $ * $RCSfile: polysc3d.cxx,v $
* *
* $Revision: 1.9 $ * $Revision: 1.10 $
* *
* last change: $Author: rt $ $Date: 2005-09-08 22:42:18 $ * last change: $Author: hr $ $Date: 2006-06-19 15:47:10 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -253,23 +253,23 @@ BOOL E3dPolyScene::LocalPaint3D(XOutputDevice& rOut, ...@@ -253,23 +253,23 @@ BOOL E3dPolyScene::LocalPaint3D(XOutputDevice& rOut,
static BOOL bDoDrawClipBoundForTesting(FALSE); static BOOL bDoDrawClipBoundForTesting(FALSE);
if(bDoDrawClipBoundForTesting) if(bDoDrawClipBoundForTesting)
{ {
OutputDevice* pOut = rOut.GetOutDev(); OutputDevice* pTempOut = rOut.GetOutDev();
// red // red
pOut->SetLineColor(Color(COL_RED)); pTempOut->SetLineColor(Color(COL_RED));
pOut->SetFillColor(); pTempOut->SetFillColor();
pOut->DrawRect(aClipBound); pTempOut->DrawRect(aClipBound);
Rectangle aClipBoundPixel = pOut->LogicToPixel(aClipBound); Rectangle aClipBoundPixel = pTempOut->LogicToPixel(aClipBound);
BOOL bWasEnabled = pOut->IsMapModeEnabled(); BOOL bWasEnabled = pTempOut->IsMapModeEnabled();
pOut->EnableMapMode(FALSE); pTempOut->EnableMapMode(FALSE);
// GREEN // GREEN
pOut->SetLineColor(Color(COL_GREEN)); pTempOut->SetLineColor(Color(COL_GREEN));
pOut->SetFillColor(); pTempOut->SetFillColor();
pOut->DrawRect(aClipBoundPixel); pTempOut->DrawRect(aClipBoundPixel);
pOut->EnableMapMode(bWasEnabled); pTempOut->EnableMapMode(bWasEnabled);
} }
#endif #endif
} }
...@@ -354,7 +354,7 @@ BOOL E3dPolyScene::LocalPaint3D(XOutputDevice& rOut, ...@@ -354,7 +354,7 @@ BOOL E3dPolyScene::LocalPaint3D(XOutputDevice& rOut,
\************************************************************************/ \************************************************************************/
void E3dPolyScene::DrawPolySceneClip(XOutputDevice& rOut, void E3dPolyScene::DrawPolySceneClip(XOutputDevice& rOut,
const E3dObject* p3DObj, Base3D* pBase3D, const SdrPaintInfoRec& rInfoRec) const E3dObject* /*p3DObj*/, Base3D* pBase3D, const SdrPaintInfoRec& rInfoRec)
{ {
// spezielles Clipping fuer OpenGL, um keine floating windows ueberzumalen // spezielles Clipping fuer OpenGL, um keine floating windows ueberzumalen
OutputDevice* pOut = rOut.GetOutDev(); OutputDevice* pOut = rOut.GetOutDev();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment