summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/sdr/UndoActions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/core/sdr/UndoActions.cxx')
-rw-r--r--reportdesign/source/core/sdr/UndoActions.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/reportdesign/source/core/sdr/UndoActions.cxx b/reportdesign/source/core/sdr/UndoActions.cxx
index 737e43af74be..5e043b49bde5 100644
--- a/reportdesign/source/core/sdr/UndoActions.cxx
+++ b/reportdesign/source/core/sdr/UndoActions.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -97,17 +97,17 @@ namespace rptui
TYPEINIT1( OCommentUndoAction, SdrUndoAction );
DBG_NAME(rpt_OCommentUndoAction)
//----------------------------------------------------------------------------
-OCommentUndoAction::OCommentUndoAction(SdrModel& _rMod,USHORT nCommentID)
+OCommentUndoAction::OCommentUndoAction(SdrModel& _rMod,USHORT nCommentID)
:SdrUndoAction(_rMod)
-{
- DBG_CTOR(rpt_OCommentUndoAction,NULL);
+{
+ DBG_CTOR(rpt_OCommentUndoAction,NULL);
m_pController = static_cast< OReportModel& >( _rMod ).getController();
if ( nCommentID )
- m_strComment = String(ModuleRes(nCommentID));
+ m_strComment = String(ModuleRes(nCommentID));
}
OCommentUndoAction::~OCommentUndoAction()
{
- DBG_DTOR(rpt_OCommentUndoAction,NULL);
+ DBG_DTOR(rpt_OCommentUndoAction,NULL);
}
//----------------------------------------------------------------------------
void OCommentUndoAction::Undo()
@@ -170,7 +170,7 @@ OUndoContainerAction::~OUndoContainerAction()
}
//------------------------------------------------------------------------------
void OUndoContainerAction::implReInsert( ) SAL_THROW( ( Exception ) )
-{
+{
if ( m_xContainer.is() )
{
// insert the element
@@ -277,7 +277,7 @@ OUndoGroupSectionAction::OUndoGroupSectionAction(SdrModel& _rMod
}
//------------------------------------------------------------------------------
void OUndoGroupSectionAction::implReInsert( ) SAL_THROW( ( Exception ) )
-{
+{
OXUndoEnvironment& rEnv = static_cast< OReportModel& >( rMod ).GetUndoEnv();
try
{
@@ -323,7 +323,7 @@ OUndoReportSectionAction::OUndoReportSectionAction(SdrModel& _rMod
}
//------------------------------------------------------------------------------
void OUndoReportSectionAction::implReInsert( ) SAL_THROW( ( Exception ) )
-{
+{
OXUndoEnvironment& rEnv = static_cast< OReportModel& >( rMod ).GetUndoEnv();
try
{
@@ -406,7 +406,7 @@ void ORptUndoPropertyAction::setProperty(sal_Bool _bOld)
String ORptUndoPropertyAction::GetComment() const
{
String aStr(ModuleRes(RID_STR_UNDO_PROPERTY));
-
+
aStr.SearchAndReplace( '#', m_aPropertyName );
return aStr;
}