summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/outlnvsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/outlnvsh.cxx')
-rw-r--r--sd/source/ui/view/outlnvsh.cxx165
1 files changed, 79 insertions, 86 deletions
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index 7ac1310cf1c8..fca35482a20f 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -106,15 +106,15 @@ using namespace sd;
namespace sd {
-#define MIN_ZOOM 10 // Minimaler Zoomfaktor
-#define MAX_ZOOM 1000 // Maximaler Zoomfaktor
+#define MIN_ZOOM 10 // minimum zoom factor
+#define MAX_ZOOM 1000 // maximum zoom factor
/************************************************************************/
/*************************************************************************
|*
-|* SFX-Slotmap und Standardinterface deklarieren
+|* Declare SFX-Slotmap and standard interface
|*
\************************************************************************/
@@ -139,7 +139,7 @@ TYPEINIT1( OutlineViewShell, ViewShell );
/*************************************************************************
|*
-|* gemeinsamer Initialiserungsanteil der beiden Konstruktoren
+|* common initialization part of both constructors
|*
\************************************************************************/
@@ -156,13 +156,13 @@ void OutlineViewShell::Construct(DrawDocShell* )
GetActiveWindow()->SetMaxZoom( MAX_ZOOM );
InitWindows(aViewOrigin, aSize, aWinPos);
pOlView = new OutlineView(GetDocSh(), GetActiveWindow(), this);
- mpView = pOlView; // Pointer der Basisklasse ViewShell
+ mpView = pOlView; // Pointer of base class ViewShell
SetPool( &GetDoc()->GetPool() );
SetZoom(69);
- // Einstellungen der FrameView uebernehmen
+ // Apply settings of FrameView
ReadFrameViewData(mpFrameView);
::Outliner* pOutl = pOlView->GetOutliner();
@@ -208,7 +208,7 @@ Reference<drawing::XDrawSubController> OutlineViewShell::CreateSubController (vo
/*************************************************************************
|*
-|* Standard-Konstruktor, Fenster duerfen nicht automatisch zentrieren
+|* Default constructor, windows must not center themselves automatically
|*
\************************************************************************/
@@ -237,7 +237,7 @@ OutlineViewShell::OutlineViewShell (
/*************************************************************************
|*
-|* Destruktor
+|* Destructor
|*
\************************************************************************/
@@ -272,8 +272,8 @@ void OutlineViewShell::Shutdown (void)
/*************************************************************************
|*
-|* Paint-Methode: das Ereignis wird vom Fenster pWindow an
-|* die Viewshell und die aktuelle Funktion weitergeleitet
+|* Paint method: the event gets forwarded from pWindow to the Viewshell
+|* and the current function
|*
\************************************************************************/
@@ -307,7 +307,7 @@ void OutlineViewShell::ArrangeGUIElements ()
pWindow->SetMinZoomAutoCalc(FALSE);
- // OutputArea der OutlinerView aendern
+ // change OuputArea of the OutlinerView
OutlinerView* pOutlinerView = pOlView->GetViewByWindow(pWindow);
Rectangle aWin(Point(0,0), pWindow->GetOutputSizePixel());
@@ -322,7 +322,7 @@ void OutlineViewShell::ArrangeGUIElements ()
pOlView->GetOutliner()->GetTextHeight()));
aText.Bottom() += aWin.GetHeight();
- if (!aWin.IsEmpty()) // nicht beim Oeffnen
+ if (!aWin.IsEmpty()) // not when opening
{
InitWindows(Point(0,0), aText.GetSize(), Point(aVis.TopLeft()));
UpdateScrollBars();
@@ -332,7 +332,7 @@ void OutlineViewShell::ArrangeGUIElements ()
/*************************************************************************
|*
-|* SfxRequests fuer Controller bearbeiten
+|* Handle SfxRequest for the Controller
|*
\************************************************************************/
@@ -381,7 +381,7 @@ void OutlineViewShell::RemoveWindow (::sd::Window* pWin)
/*************************************************************************
|*
-|* Activate(), beim ersten Aufruf erfolgt ein Update der Felder
+|* Activate(): during the first invocation the fields get updated
|*
\************************************************************************/
void OutlineViewShell::Activate( BOOL bIsMDIActivate )
@@ -421,7 +421,7 @@ void OutlineViewShell::Deactivate( BOOL bIsMDIActivate )
/*************************************************************************
|*
-|* Status von Controller-SfxSlots setzen
+|* Set status of Controller-SfxSlots
|*
\************************************************************************/
void OutlineViewShell::GetCtrlState(SfxItemSet &rSet)
@@ -485,7 +485,7 @@ void OutlineViewShell::GetCtrlState(SfxItemSet &rSet)
/*************************************************************************
|*
-|* SfxRequests fuer Support-Funktionen
+|* SfxRequests for support functions
|*
\************************************************************************/
@@ -609,7 +609,6 @@ void OutlineViewShell::FuSupport(SfxRequest &rReq)
{
if (mpZoomList->IsPreviousPossible())
{
- // Vorheriges ZoomRect einstellen
SetZoomRect(mpZoomList->GetPreviousZoomRect());
}
rReq.Done ();
@@ -620,7 +619,6 @@ void OutlineViewShell::FuSupport(SfxRequest &rReq)
{
if (mpZoomList->IsNextPossible())
{
- // Naechstes ZoomRect einstellen
SetZoomRect(mpZoomList->GetNextZoomRect());
}
rReq.Done ();
@@ -717,7 +715,7 @@ void OutlineViewShell::FuSupport(SfxRequest &rReq)
/*************************************************************************
|*
-|* SfxRequests fuer permanente Funktionen
+|* SfxRequests for permanent functions
|*
\************************************************************************/
@@ -782,7 +780,7 @@ IMPL_LINK( OutlineViewShell, ClipboardChanged, TransferableDataHelper*, pDataHel
/*************************************************************************
|*
-|* Status (Enabled/Disabled) von Menue-SfxSlots setzen
+|* Set Status (Enabled/Disabled) of Menu-SfxSlots
|*
\************************************************************************/
@@ -790,7 +788,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
{
ViewShell::GetMenuState(rSet);
- // Vorlagenkatalog darf nicht aufgerufen werden
+ // Style catalog must not be called
rSet.DisableItem( SID_STYLE_CATALOG );
rSet.Put(SfxBoolItem(SID_DIAMODE, FALSE));
@@ -822,7 +820,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
if( !pOutl )
return;
- // 'Alles auswaehlen' zulassen?
+ // allow 'Select All'?
if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_SELECTALL ) )
{
ULONG nParaCount = pOutl->GetParagraphCount();
@@ -839,17 +837,17 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
rSet.DisableItem(SID_SELECTALL);
}
- // Status des Lineals setzen
+ // set status of Ruler
rSet.Put( SfxBoolItem( SID_RULER, HasRuler() ) );
- // Formatierung ein oder aus?
+ // Enable formatting?
rSet.Put( SfxBoolItem( SID_OUTLINE_FORMAT, !pOutl->IsFlatMode() ) );
if( pOutl->IsFlatMode() )
rSet.DisableItem( SID_COLORVIEW );
else
{
- // Farbansicht ein/aus
+ // Enable color view?
ULONG nCntrl = pOutl->GetControlWord();
BOOL bNoColor = FALSE;
if (nCntrl & EE_CNTRL_NOCOLORS)
@@ -858,8 +856,8 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
rSet.Put( SfxBoolItem( SID_COLORVIEW, bNoColor ) );
}
- // Buttons der Werkzeugleiste
- // zunaechst selektionsabhaengige: COLLAPSE, EXPAND
+ // Buttons of toolbar
+ // first the selection dependent ones: COLLAPSE, EXPAND
BOOL bDisableCollapse = TRUE;
BOOL bDisableExpand = TRUE;
BOOL bUnique = TRUE;
@@ -893,8 +891,8 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
if (bDisableCollapse)
rSet.DisableItem(SID_OUTLINE_COLLAPSE);
- // ergibt die Selektion ein eindeutiges Praesentationslayout?
- // wenn nicht, duerfen die Vorlagen nicht bearbeitet werden
+ // does the selection provide a unique presentation layout?
+ // if not, the templates must not be edited
SfxItemSet aSet(*rSet.GetPool(), SID_STATUS_LAYOUT, SID_STATUS_LAYOUT);
GetStatusBarState(aSet);
String aTest(((SfxStringItem&)aSet.Get(SID_STATUS_LAYOUT)).GetValue());
@@ -907,17 +905,17 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
if (!bUnique)
rSet.DisableItem( SID_PRESENTATIONOBJECT );
- // jetzt die selektionsunabhaengigen: COLLAPSE_ALL, EXPAND_ALL
+ // now the selection independent ones: COLLAPSE_ALL, EXPAND_ALL
BOOL bDisableCollapseAll = TRUE;
BOOL bDisableExpandAll = TRUE;
- // wenn schon die Selektion etwas kollabierbares/expandierbares enthaelt
+ // does the selection contain something collapsable/expandable?
if (!bDisableCollapse)
bDisableCollapseAll = FALSE;
if (!bDisableExpand)
bDisableExpandAll = FALSE;
- // schade, so billig kommen wir nicht davon; alle Absaetze durchsuchen
+ // otherwise look through all paragraphs
if (bDisableCollapseAll || bDisableExpandAll)
{
ULONG nParaPos = 0;
@@ -973,7 +971,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
GetDoc()->SetChanged(TRUE);
}
- // Da ueberladen, muss hier der Status gesetzt werden
+ // the status has to be set here because of overloading
if( !GetDocSh()->IsModified() )
{
rSet.DisableItem( SID_SAVEDOC );
@@ -995,7 +993,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
}
}
- // Feldbefehle
+ // field commands
if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_MODIFY_FIELD ) )
{
const SvxFieldItem* pFldItem = pOutlinerView->GetFieldAtSelection();
@@ -1088,7 +1086,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
}
}
- // Starten der Praesentation moeglich?
+ // is starting the presentation possible?
if( SFX_ITEM_AVAILABLE == rSet.GetItemState( SID_PRESENTATION ) )
{
BOOL bDisable = TRUE;
@@ -1113,7 +1111,7 @@ void OutlineViewShell::GetMenuState( SfxItemSet &rSet )
/*************************************************************************
|*
-|* wird gerufen, wenn ScrollBar benutzt wird
+|* gets invoked when ScrollBar is used
|*
\************************************************************************/
@@ -1141,12 +1139,6 @@ long OutlineViewShell::VirtHScrollHdl(ScrollBar* pHScroll)
return 0;
}
-/*************************************************************************
-|*
-|* wird gerufen, wenn ScrollBar benutzt wird
-|*
-\************************************************************************/
-
long OutlineViewShell::VirtVScrollHdl(ScrollBar* pVScroll)
{
long nThumb = pVScroll->GetThumbPos();
@@ -1174,8 +1166,8 @@ long OutlineViewShell::VirtVScrollHdl(ScrollBar* pVScroll)
/*************************************************************************
|*
-|* PrepareClose, wird gerufen, wenn die Shell zestoert werden soll,
-|* leitet den Aufruf an die View weiter
+|* PrepareClose, gets called when the Shell shall be destroyed.
+|* Forwards the invocation to the View
|*
\************************************************************************/
@@ -1190,7 +1182,7 @@ USHORT OutlineViewShell::PrepareClose( BOOL bUI, BOOL bForBrowsing )
/*************************************************************************
|*
-|* Zoomen mit Zoomfaktor, OutlinerView informieren
+|* Zoom with zoom factor. Inform OutlinerView
|*
\************************************************************************/
@@ -1201,7 +1193,7 @@ void OutlineViewShell::SetZoom(long nZoom)
::sd::Window* pWindow = mpContentWindow.get();
if (pWindow)
{
- // OutputArea der OutlinerView aendern
+ // change OutputArea of OutlinerView
OutlinerView* pOutlinerView = pOlView->GetViewByWindow(pWindow);
Rectangle aWin(Point(0,0), pWindow->GetOutputSizePixel());
aWin = pWindow->PixelToLogic(aWin);
@@ -1214,7 +1206,7 @@ void OutlineViewShell::SetZoom(long nZoom)
/*************************************************************************
|*
-|* Zoomen mit Zoomrechteck, OutlinerView informieren
+|* Zoom with zoom rectangle. Inform OutlinerView
|*
\************************************************************************/
@@ -1225,7 +1217,7 @@ void OutlineViewShell::SetZoomRect(const Rectangle& rZoomRect)
::sd::Window* pWindow = mpContentWindow.get();
if (pWindow)
{
- // OutputArea der OutlinerView aendern
+ // change OutputArea of OutlinerView
OutlinerView* pOutlinerView = pOlView->GetViewByWindow(pWindow);
Rectangle aWin(Point(0,0), pWindow->GetOutputSizePixel());
aWin = pWindow->PixelToLogic(aWin);
@@ -1238,8 +1230,8 @@ void OutlineViewShell::SetZoomRect(const Rectangle& rZoomRect)
/*************************************************************************
|*
-|* Vorm Speichern das Model der Drawing Engine aktualisieren, dann den
-|* Call weiterleiten an die ObjectShell.
+|* Before saving: Update Model of the Drawing Engine, then forward the
+|* invocation to the ObjectShell.
|*
\************************************************************************/
@@ -1299,16 +1291,16 @@ void OutlineViewShell::ReadFrameViewData(FrameView* pView)
::Outliner* pOutl = pOlView->GetOutliner();
if ( pView->IsNoAttribs() )
- pOutl->SetFlatMode( TRUE ); // Attribut-Darstellung ausschalten
+ pOutl->SetFlatMode( TRUE );
else
- pOutl->SetFlatMode( FALSE ); // Attribut-Darstellung einschalten
+ pOutl->SetFlatMode( FALSE );
ULONG nCntrl = pOutl->GetControlWord();
if ( pView->IsNoColors() )
- pOutl->SetControlWord(nCntrl | EE_CNTRL_NOCOLORS); // Farbansicht ausschalten
+ pOutl->SetControlWord(nCntrl | EE_CNTRL_NOCOLORS);
else
- pOutl->SetControlWord(nCntrl & ~EE_CNTRL_NOCOLORS); // Farbansicht einschalten
+ pOutl->SetControlWord(nCntrl & ~EE_CNTRL_NOCOLORS);
USHORT nPage = mpFrameView->GetSelectedPage();
pLastPage = GetDoc()->GetSdPage( nPage, PK_STANDARD );
@@ -1342,7 +1334,7 @@ void OutlineViewShell::WriteFrameViewData()
/*************************************************************************
|*
-|* SfxRequests fuer StatusBar bearbeiten
+|* Handle SfxRequests for the StatusBar
|*
\************************************************************************/
@@ -1352,7 +1344,7 @@ void OutlineViewShell::ExecStatusBar(SfxRequest&)
/*************************************************************************
|*
-|* Statuswerte der Statusbar zurueckgeben
+|* Return state values of the StatusBar
|*
\************************************************************************/
@@ -1366,7 +1358,7 @@ void OutlineViewShell::GetStatusBarState(SfxItemSet& rSet)
pZoomItem = new SvxZoomItem( SVX_ZOOM_PERCENT, nZoom );
- // Bereich einschraenken
+ // limit area
USHORT nZoomValues = SVX_ZOOM_ENABLE_ALL;
nZoomValues &= ~SVX_ZOOM_ENABLE_OPTIMAL;
nZoomValues &= ~SVX_ZOOM_ENABLE_WHOLEPAGE;
@@ -1393,7 +1385,7 @@ void OutlineViewShell::GetStatusBarState(SfxItemSet& rSet)
}
- // Seitenanzeige und Layout
+ // page view and layout
USHORT nPageCount = GetDoc()->GetSdPageCount( PK_STANDARD );
String aPageStr, aLayoutStr;
@@ -1411,12 +1403,12 @@ void OutlineViewShell::GetStatusBarState(SfxItemSet& rSet)
if( !pOutliner->HasParaFlag(pLastPara, PARAFLAG_ISPAGE) )
pLastPara = pOlView->GetPrevTitle( pLastPara );
- delete pSelList; // die wurde extra fuer uns erzeugt
+ delete pSelList; // has been created only for us
- // nur eine Seite selektiert?
+ // only one page selected?
if( pFirstPara == pLastPara )
{
- // wieviele Seiten sind vor der selektierten Seite?
+ // how many pages are we before the selected page?
ULONG nPos = 0L;
while( pFirstPara )
{
@@ -1474,7 +1466,7 @@ void OutlineViewShell::Command( const CommandEvent& rCEvt, ::sd::Window* pWin )
{
ViewShell::Command( rCEvt, pWin );
- // ggfs. Preview den neuen Kontext mitteilen
+ // if necessary communicate the new context to the Preview
Invalidate( SID_PREVIEW_STATE );
}
@@ -1497,7 +1489,7 @@ BOOL OutlineViewShell::KeyInput(const KeyEvent& rKEvt, ::sd::Window* pWin)
bReturn = GetCurrentFunction()->KeyInput(rKEvt);
}
- // nein, weiterleiten an Basisklasse
+ // no, forward to base class
else
{
bReturn = ViewShell::KeyInput(rKEvt, pWin);
@@ -1511,7 +1503,7 @@ BOOL OutlineViewShell::KeyInput(const KeyEvent& rKEvt, ::sd::Window* pWin)
Invalidate(SID_STYLE_WATERCAN);
Invalidate(SID_STYLE_FAMILY5);
- // Pruefen und Unterscheiden von CursorBewegungs- oder Eingabe-Keys
+ // check and distinguish cursor movements- or input-keys
KeyCode aKeyGroup( rKEvt.GetKeyCode().GetGroup() );
if( (aKeyGroup != KEYGROUP_CURSOR && aKeyGroup != KEYGROUP_FKEYS) ||
(GetActualPage() != pLastPage) )
@@ -1525,7 +1517,7 @@ BOOL OutlineViewShell::KeyInput(const KeyEvent& rKEvt, ::sd::Window* pWin)
/*************************************************************************
|*
-|* Optimale Groesse zurueckgeben
+|* Return optimal Size
|*
\************************************************************************/
@@ -1548,7 +1540,7 @@ Size OutlineViewShell::GetOptimalSizePixel() const
}
}
- // und jetzt jetzt das Standardgelumpe draufaddieren
+ // now add the default stuff
aResult.Width() += mpVerticalScrollBar->GetSizePixel().Width();
aResult.Height() += mpHorizontalScrollBar->GetSizePixel().Height();
return aResult;
@@ -1557,7 +1549,7 @@ Size OutlineViewShell::GetOptimalSizePixel() const
/*************************************************************************
|*
-|* Text der Selektion zurueckgeben
+|* Return text of the selection
|*
\************************************************************************/
@@ -1590,7 +1582,7 @@ String OutlineViewShell::GetSelectionText(BOOL bCompleteWords)
/*************************************************************************
|*
-|* Ist etwas selektiert?
+|* Is something selected?
|*
\************************************************************************/
@@ -1614,7 +1606,7 @@ BOOL OutlineViewShell::HasSelection(BOOL bText) const
/*************************************************************************
|*
-|* Status der Attribut-Items
+|* Status of Attribute-Items
|*
\************************************************************************/
@@ -1675,7 +1667,7 @@ void OutlineViewShell::GetAttrState( SfxItemSet& rSet )
if (!aRealStyle.Len())
{
- // Kein eindeutiger Layoutname gefunden
+ // no unique layout name found
rSet.DisableItem(nWhich);
}
}
@@ -1690,8 +1682,8 @@ void OutlineViewShell::GetAttrState( SfxItemSet& rSet )
if (aESel.nStartPara != aESel.nEndPara ||
aESel.nStartPos != aESel.nEndPos)
- // aufgespannte Selektion, also StyleSheet und/oder
- // Attributierung nicht zwingend eindeutig
+ // spanned selection, i.e. StyleSheet and/or
+ // attribution not necessarily unqiue
rSet.DisableItem(nWhich);
}
break;
@@ -1722,7 +1714,7 @@ void OutlineViewShell::GetAttrState( SfxItemSet& rSet )
void OutlineViewShell::MouseButtonUp(const MouseEvent& rMEvt, ::sd::Window* pWin)
{
- // Zuerst die Basisklasse
+ // first the base classes
ViewShell::MouseButtonUp(rMEvt, pWin);
Invalidate(SID_STYLE_EDIT);
@@ -1733,7 +1725,7 @@ void OutlineViewShell::MouseButtonUp(const MouseEvent& rMEvt, ::sd::Window* pWin
Invalidate(SID_STYLE_WATERCAN);
Invalidate(SID_STYLE_FAMILY5);
- // ggfs. Preview den neuen Kontext mitteilen
+ // if necessary communicate the new context to the Preview
if( GetActualPage() != pLastPage )
Invalidate( SID_PREVIEW_STATE );
}
@@ -1749,8 +1741,8 @@ SdPage* OutlineViewShell::getCurrentPage() const
/*************************************************************************
|*
-|* Liefert die erste selektierte Seite zurueck.
-|* Wenn nichts selektiert ist, wird die erste Seite zurueckgeliefert.
+|* Returns the first selected page.
+|* If nothing is selected, the first page is returned.
|*
\************************************************************************/
SdPage* OutlineViewShell::GetActualPage()
@@ -1851,7 +1843,7 @@ String OutlineViewShell::GetPageRangeString()
if( nPageCount == 0 )
aStrPageRange.Erase();
- delete pSelList; // die wurde extra fuer uns erzeugt
+ delete pSelList; // has been created only for us
return aStrPageRange;
}
@@ -1982,7 +1974,7 @@ bool OutlineViewShell::UpdateOutlineObject( SdPage* pPage, Paragraph* pPara )
pTO = pOlView->GetOutlineTextObject( pPage );
}
- // wieviele Absaetze in der Gliederung?
+ // how many paragraphs in the outline?
ULONG nTitlePara = pOutliner->GetAbsPos( pPara );
ULONG nPara = nTitlePara + 1;
ULONG nParasInLayout = 0L;
@@ -1994,7 +1986,7 @@ bool OutlineViewShell::UpdateOutlineObject( SdPage* pPage, Paragraph* pPara )
}
if( nParasInLayout )
{
- // ein OutlinerParaObject erzeugen
+ // create an OutlinerParaObject
pPara = pOutliner->GetParagraph( nTitlePara + 1 );
pOPO = pOutliner->CreateParaObject( (USHORT) nTitlePara + 1, (USHORT) nParasInLayout );
}
@@ -2010,8 +2002,8 @@ bool OutlineViewShell::UpdateOutlineObject( SdPage* pPage, Paragraph* pPara )
bNewObject = TRUE;
}
- // Seitenobjekt, Gliederungstext im Outliner:
- // Text uebernehmen
+ // page object, outline text in Outliner:
+ // apply text
if( pTO )
{
pOPO->SetVertical( pTO->IsVerticalWriting() );
@@ -2034,16 +2026,17 @@ bool OutlineViewShell::UpdateOutlineObject( SdPage* pPage, Paragraph* pPara )
}
else if( pTO )
{
- // Seitenobjekt, aber kein Gliederungstext:
- // wenn Objekt in Praesentationsliste der Seite ist -> Defaulttext,
- // sonst Objekt loeschen
+ // page object but no outline text:
+ // if the object is in the outline of the page -> default text
+
+ // otherwise delete object
if( pPage->IsPresObj(pTO) )
{
if( !pTO->IsEmptyPresObj() )
{
DBG_ASSERT( pOlView->isRecordingUndo(), "sd::OutlineViewShell::UpdateOutlineObject(), no undo for model change!?" );
- // loescht auch altes OutlinerParaObject
+ // delete old OutlinerParaObject, too
if( pOlView->isRecordingUndo() )
pOlView->AddUndo(GetDoc()->GetSdrUndoFactory().CreateUndoObjectSetText(*pTO,0));
pPage->RestoreDefaultText( pTO );
@@ -2066,7 +2059,7 @@ bool OutlineViewShell::UpdateOutlineObject( SdPage* pPage, Paragraph* pPara )
/*************************************************************************
|*
-|* Outliner aus Stream fuellen
+|* Fill Outliner from Stream
|*
\************************************************************************/