summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/clview.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-01-20 11:41:27 +0000
committerOliver Bolte <obo@openoffice.org>2004-01-20 11:41:27 +0000
commitdefe3ae2f836d6753e256fd8f130546d50560301 (patch)
tree9310ed4e88771815afcd7e8bc2e14fd9f5c2dc2d /sd/source/ui/view/clview.cxx
parent217ddccdf894214ef5fc470f850fdccae896ea21 (diff)
INTEGRATION: CWS impress1 (1.2.238); FILE MERGED
2004/01/09 16:32:45 af 1.2.238.2: #111996# Renamed header files DrawView.hxx, Fader.hxx, and ShowView.hxx back to lowercase version. 2003/09/17 08:13:54 af 1.2.238.1: #111996# Transition to stacked sub-shells. Introduction of namespace sd.
Diffstat (limited to 'sd/source/ui/view/clview.cxx')
-rw-r--r--sd/source/ui/view/clview.cxx39
1 files changed, 24 insertions, 15 deletions
diff --git a/sd/source/ui/view/clview.cxx b/sd/source/ui/view/clview.cxx
index f809dfbee142..53f21ed9d9af 100644
--- a/sd/source/ui/view/clview.cxx
+++ b/sd/source/ui/view/clview.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: clview.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: ka $ $Date: 2001-10-22 13:36:57 $
+ * last change: $Author: obo $ $Date: 2004-01-20 12:41:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,23 +65,32 @@
#pragma hdrstop
-#include "clview.hxx"
+#ifndef SD_CLIENT_VIEW_HXX
+#include "ClientView.hxx"
+#endif
+#ifndef SD_DRAW_VIEW_HXX
#include "drawview.hxx"
+#endif
#include "sdpage.hxx"
-class SdDrawDocShell;
-class SdDrawViewShell;
+class DrawDocShell;
+
+namespace sd {
+
+class DrawViewShell;
/*************************************************************************
|*
-|* Ctor: Die SdClientView wird fuer SdDrawDocShell::Draw() verwendet
+|* Ctor: Die ClientView wird fuer DrawDocShell::Draw() verwendet
|*
\************************************************************************/
-SdClientView::SdClientView(SdDrawDocShell* pDocSh, OutputDevice* pOutDev,
- SdDrawViewShell* pShell) :
- SdDrawView(pDocSh, pOutDev, pShell)
+ClientView::ClientView(
+ DrawDocShell* pDocSh,
+ OutputDevice* pOutDev,
+ DrawViewShell* pShell)
+ : DrawView (pDocSh, pOutDev, pShell)
{
}
@@ -92,7 +101,7 @@ SdClientView::SdClientView(SdDrawDocShell* pDocSh, OutputDevice* pOutDev,
|*
\************************************************************************/
-SdClientView::~SdClientView()
+ClientView::~ClientView()
{
}
@@ -103,7 +112,7 @@ SdClientView::~SdClientView()
|*
\************************************************************************/
-void SdClientView::InvalidateOneWin(Window& rWin)
+void ClientView::InvalidateOneWin(::Window& rWin)
{
Region aRegion;
InitRedraw(&rWin, aRegion);
@@ -116,7 +125,7 @@ void SdClientView::InvalidateOneWin(Window& rWin)
|*
\************************************************************************/
-void SdClientView::InvalidateOneWin(Window& rWin, const Rectangle& rRect)
+void ClientView::InvalidateOneWin(::Window& rWin, const Rectangle& rRect)
{
InitRedraw(&rWin, rRect);
}
@@ -128,9 +137,9 @@ void SdClientView::InvalidateOneWin(Window& rWin, const Rectangle& rRect)
|*
\************************************************************************/
-void SdClientView::InitRedraw(OutputDevice* pOutDev, const Region& rReg)
+void ClientView::InitRedraw(OutputDevice* pOutDev, const Region& rReg)
{
- SdDrawView::InitRedraw(pOutDev, rReg);
+ DrawView::InitRedraw(pOutDev, rReg);
// Stets Demo-Output auf dem ganzen Fenster ausgeben
Rectangle aRect( Point(0, 0), pOutDev->GetOutputSize() );
@@ -138,4 +147,4 @@ void SdClientView::InitRedraw(OutputDevice* pOutDev, const Region& rReg)
}
-
+} // end of namespace sd