summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/editsrc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/editsrc.cxx')
-rw-r--r--sc/source/ui/unoobj/editsrc.cxx44
1 files changed, 22 insertions, 22 deletions
diff --git a/sc/source/ui/unoobj/editsrc.cxx b/sc/source/ui/unoobj/editsrc.cxx
index 5e891ea37174..d31b41aeeeaf 100644
--- a/sc/source/ui/unoobj/editsrc.cxx
+++ b/sc/source/ui/unoobj/editsrc.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
@@ -70,9 +70,9 @@ ScHeaderFooterChangedHint::~ScHeaderFooterChangedHint()
ScSharedHeaderFooterEditSource::ScSharedHeaderFooterEditSource( ScHeaderFooterTextData* pData ) :
pTextData( pData )
{
- // pTextData is held by the ScHeaderFooterTextObj.
- // Text range and cursor keep a reference to their parent text, so the text object is
- // always alive and the TextData is valid as long as there are children.
+ // pTextData is held by the ScHeaderFooterTextObj.
+ // Text range and cursor keep a reference to their parent text, so the text object is
+ // always alive and the TextData is valid as long as there are children.
}
ScSharedHeaderFooterEditSource::~ScSharedHeaderFooterEditSource()
@@ -101,7 +101,7 @@ ScEditEngineDefaulter* ScSharedHeaderFooterEditSource::GetEditEngine()
//------------------------------------------------------------------------
-// each ScHeaderFooterEditSource object has its own ScHeaderFooterTextData
+// each ScHeaderFooterEditSource object has its own ScHeaderFooterTextData
ScHeaderFooterEditSource::ScHeaderFooterEditSource( ScHeaderFooterContentObj* pContent,
USHORT nP ) :
@@ -117,7 +117,7 @@ ScHeaderFooterEditSource::ScHeaderFooterEditSource( ScHeaderFooterContentObj& rC
ScHeaderFooterEditSource::~ScHeaderFooterEditSource()
{
- delete GetTextData(); // not accessed in ScSharedHeaderFooterEditSource dtor
+ delete GetTextData(); // not accessed in ScSharedHeaderFooterEditSource dtor
}
SvxEditSource* ScHeaderFooterEditSource::Clone() const
@@ -131,9 +131,9 @@ SvxEditSource* ScHeaderFooterEditSource::Clone() const
ScSharedCellEditSource::ScSharedCellEditSource( ScCellTextData* pData ) :
pCellTextData( pData )
{
- // pCellTextData is part of the ScCellTextObj.
- // Text range and cursor keep a reference to their parent text, so the text object is
- // always alive and the CellTextData is valid as long as there are children.
+ // pCellTextData is part of the ScCellTextObj.
+ // Text range and cursor keep a reference to their parent text, so the text object is
+ // always alive and the CellTextData is valid as long as there are children.
}
ScSharedCellEditSource::~ScSharedCellEditSource()
@@ -172,7 +172,7 @@ ScEditEngineDefaulter* ScSharedCellEditSource::GetEditEngine()
//------------------------------------------------------------------------
-// each ScCellEditSource object has its own ScCellTextData
+// each ScCellEditSource object has its own ScCellTextData
ScCellEditSource::ScCellEditSource( ScDocShell* pDocSh, const ScAddress& rP ) :
ScSharedCellEditSource( new ScCellTextData( pDocSh, rP ) )
@@ -181,7 +181,7 @@ ScCellEditSource::ScCellEditSource( ScDocShell* pDocSh, const ScAddress& rP ) :
ScCellEditSource::~ScCellEditSource()
{
- delete GetCellTextData(); // not accessed in ScSharedCellEditSource dtor
+ delete GetCellTextData(); // not accessed in ScSharedCellEditSource dtor
}
SvxEditSource* ScCellEditSource::Clone() const
@@ -205,7 +205,7 @@ ScAnnotationEditSource::ScAnnotationEditSource(ScDocShell* pDocSh, const ScAddre
ScAnnotationEditSource::~ScAnnotationEditSource()
{
- SolarMutexGuard aGuard; // needed for EditEngine dtor
+ SolarMutexGuard aGuard; // needed for EditEngine dtor
if (pDocShell)
pDocShell->GetDocument()->RemoveUnoObject(*this);
@@ -249,7 +249,7 @@ SvxTextForwarder* ScAnnotationEditSource::GetTextForwarder()
if ( pDocShell )
if ( ScPostIt* pNote = pDocShell->GetDocument()->GetNote( aCellPos ) )
if ( const EditTextObject* pEditObj = pNote->GetEditTextObject() )
- pEditEngine->SetText( *pEditObj ); // incl. Umbrueche
+ pEditEngine->SetText( *pEditObj ); // incl. Umbrueche
bDataValid = TRUE;
return pForwarder;
@@ -271,7 +271,7 @@ void ScAnnotationEditSource::UpdateData()
pObj->ActionChanged();
}
- //! Undo !!!
+ //! Undo !!!
aModificator.SetDocumentModified();
@@ -285,20 +285,20 @@ void ScAnnotationEditSource::Notify( SfxBroadcaster&, const SfxHint& rHint )
{
// const ScUpdateRefHint& rRef = (const ScUpdateRefHint&)rHint;
- //! Ref-Update
+ //! Ref-Update
}
else if ( rHint.ISA( SfxSimpleHint ) )
{
ULONG nId = ((const SfxSimpleHint&)rHint).GetId();
if ( nId == SFX_HINT_DYING )
{
- pDocShell = NULL; // ungueltig geworden
+ pDocShell = NULL; // ungueltig geworden
DELETEZ( pForwarder );
- DELETEZ( pEditEngine ); // EditEngine uses document's pool
+ DELETEZ( pEditEngine ); // EditEngine uses document's pool
}
else if ( nId == SFX_HINT_DATACHANGED )
- bDataValid = FALSE; // Text muss neu geholt werden
+ bDataValid = FALSE; // Text muss neu geholt werden
}
}
@@ -307,9 +307,9 @@ void ScAnnotationEditSource::Notify( SfxBroadcaster&, const SfxHint& rHint )
ScSimpleEditSource::ScSimpleEditSource( SvxTextForwarder* pForw ) :
pForwarder( pForw )
{
- // The same forwarder (and EditEngine) is shared by all children of the same Text object.
- // Text range and cursor keep a reference to their parent text, so the text object is
- // always alive and the forwarder is valid as long as there are children.
+ // The same forwarder (and EditEngine) is shared by all children of the same Text object.
+ // Text range and cursor keep a reference to their parent text, so the text object is
+ // always alive and the forwarder is valid as long as there are children.
}
ScSimpleEditSource::~ScSimpleEditSource()
@@ -328,7 +328,7 @@ SvxTextForwarder* ScSimpleEditSource::GetTextForwarder()
void ScSimpleEditSource::UpdateData()
{
- // nothing
+ // nothing
}
//------------------------------------------------------------------------