summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/undolayer.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2006-12-12 16:28:51 +0000
committerKurt Zenker <kz@openoffice.org>2006-12-12 16:28:51 +0000
commit8d7f766a1164594c50f6e1da71ebc4737210fb46 (patch)
treeb461dad43b4c5d7803085e084948238a8e334943 /sd/source/ui/func/undolayer.cxx
parentaba145ed422f3a5b7d3938a8a1b758d985187a8c (diff)
INTEGRATION: CWS sdwarningsbegone (1.4.38); FILE MERGED
2006/11/22 12:41:58 cl 1.4.38.1: #i69285# warning free code changes for unxlngi6.pro
Diffstat (limited to 'sd/source/ui/func/undolayer.cxx')
-rw-r--r--sd/source/ui/func/undolayer.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/ui/func/undolayer.cxx b/sd/source/ui/func/undolayer.cxx
index 0b4ad40d2af4..18411f1780c4 100644
--- a/sd/source/ui/func/undolayer.cxx
+++ b/sd/source/ui/func/undolayer.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: undolayer.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 19:00:04 $
+ * last change: $Author: kz $ $Date: 2006-12-12 17:28:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -69,11 +69,11 @@ SdLayerModifyUndoAction::SdLayerModifyUndoAction(
void SdLayerModifyUndoAction::Undo()
{
- ::sd::DrawDocShell* pDocSh = pDoc->GetDocSh();
- if( pDocSh )
+ ::sd::DrawDocShell* mpDocSh = mpDoc->GetDocSh();
+ if( mpDocSh )
{
::sd::DrawViewShell* pDrViewSh =
- PTR_CAST(::sd::DrawViewShell, pDocSh->GetViewShell() );
+ PTR_CAST(::sd::DrawViewShell, mpDocSh->GetViewShell() );
if( pDrViewSh )
{
pDrViewSh->ModifyLayer( mpLayer, maOldLayerName, mbOldIsVisible, mbOldIsLocked, mbOldIsPrintable );
@@ -83,11 +83,11 @@ void SdLayerModifyUndoAction::Undo()
void SdLayerModifyUndoAction::Redo()
{
- ::sd::DrawDocShell* pDocSh = pDoc->GetDocSh();
- if( pDocSh )
+ ::sd::DrawDocShell* mpDocSh = mpDoc->GetDocSh();
+ if( mpDocSh )
{
::sd::DrawViewShell* pDrViewSh =
- PTR_CAST(::sd::DrawViewShell, pDocSh->GetViewShell() );
+ PTR_CAST(::sd::DrawViewShell, mpDocSh->GetViewShell() );
if( pDrViewSh )
{
pDrViewSh->ModifyLayer( mpLayer, maNewLayerName, mbNewIsVisible, mbNewIsLocked, mbNewIsPrintable );