diff options
author | Florian Reisinger <florei@libreoffice.org> | 2014-09-24 09:26:20 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2014-09-24 09:27:17 +0100 |
commit | 0e9aa656aa3ca12ae14e2c68473f1ae0264cd11a (patch) | |
tree | 602d6c726a50684c7d72af7ace98fd15cf8a51eb /include/svl | |
parent | 18cc5cb2fdb8bca18a6c55d0a165b749f6730420 (diff) |
German comment translation.
Change-Id: I8c0e90eda94bc2304289cdf27b85cd57dbca0ef9
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/svdde.hxx | 14 | ||||
-rw-r--r-- | include/svl/undo.hxx | 31 |
2 files changed, 20 insertions, 25 deletions
diff --git a/include/svl/svdde.hxx b/include/svl/svdde.hxx index 289096679418..57f69a86e2c7 100644 --- a/include/svl/svdde.hxx +++ b/include/svl/svdde.hxx @@ -276,7 +276,7 @@ public: virtual DdeData* Get( sal_uLong ); virtual bool Put( const DdeData* ); - virtual void AdviseLoop( bool ); // AdviseLoop starten/stoppen + virtual void AdviseLoop( bool ); // Start / Stop AdviseLoop }; @@ -293,11 +293,11 @@ public: virtual DdeData* Get( sal_uLong ); virtual bool Put( const DdeData* ); virtual bool Execute( const OUString* ); - // evt. ein neues anlegen; return 0 -> es konnte nicht angelegt werden + // Eventually create a new item. return 0 -> Item creation failed virtual bool MakeItem( const OUString& rItem ); - // es wird ein Warm-/Hot-Link eingerichtet. Return-Wert - // besagt ob es geklappt hat + + // A Warm-/Hot-Link is created. Return true if successful virtual bool StartAdviseLoop(); virtual bool StopAdviseLoop(); @@ -337,8 +337,8 @@ public: void NotifyClient( const OUString& ); bool IsSystemTopic(); - void InsertItem( DdeItem* ); // fuer eigene Ableitungen! - DdeItem* AddItem( const DdeItem& ); // werden kopiert ! + void InsertItem( DdeItem* ); // For own superclasses + DdeItem* AddItem( const DdeItem& ); // Will be cloned void RemoveItem( const DdeItem& ); const OUString& GetCurItem() { return aItem; } const std::vector<DdeItem*>& GetItems() const { return aItems; } @@ -359,7 +359,7 @@ class SVL_DLLPUBLIC DdeService public: virtual bool IsBusy(); virtual OUString GetHelp(); - // evt. ein neues anlegen; return 0 -> es konnte nicht angelegt werden + // Eventually creating a new item. return 0 -> Topic creation failed virtual bool MakeTopic( const OUString& rItem ); protected: diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx index 2a53e4750db7..f18ae84863e9 100644 --- a/include/svl/undo.hxx +++ b/include/svl/undo.hxx @@ -151,15 +151,12 @@ struct SVL_DLLPUBLIC SfxUndoArray really really have to! */ class SVL_DLLPUBLIC SfxListUndoAction : public SfxUndoAction, public SfxUndoArray -/* [Beschreibung] - - UndoAction zur Klammerung mehrerer Undos in einer UndoAction. - Diese Actions werden vom SfxUndoManager verwendet. Dort - wird mit < SfxUndoManager::EnterListAction > eine Klammerebene - geoeffnet und mit <SfxUndoManager::LeaveListAction > wieder - geschlossen. Redo und Undo auf SfxListUndoActions wirken - Elementweise. +/* [Explanation] + UndoAction to composite multiple Undos in one UndoAction. + These actions are used by SfxUndomanager. With < SfxUndoManager::EnterListAction > + you can go one composite level down and with < SfxUndoManager::LeaveListAction > up again. + Redo and Undo work element wise on SfxListUndoActions. */ { public: @@ -433,18 +430,16 @@ private: class SVL_DLLPUBLIC SfxLinkUndoAction : public SfxUndoAction -/* [Beschreibung] - - Die SfxLinkUndoAction dient zur Verbindung zweier SfxUndoManager. Die - im ersten SfxUndoManager eingefuegten SfxUndoAction leiten ihr Undo und Redo - an den zweiten weiter, so dass ein Undo und Redo am ersten - SfxUndoManager wie eine am zweiten wirkt. +/* [Explanation] - Die SfxLinkUndoAction ist nach dem Einfuegen der SfxUndoAction am - zweiten SfxUndoManager einzufuegen. Waehrend der zweite SfxUndoManager - vom ersten ferngesteuert wird, duerfen an ihm weder Actions eingefuegt werden, - noch darf Undo/Redo aufgerufen werden. + SfxLinkUndoAction is used to link two SfxUndoManager. The Undo/Redos inserted + in the first SfxUndoManager redict their Undo/Redo to the second. With this it + does not matter, if the undo/redo initially was on the first or the second. + After inserting SfxLinkUndoAction on the first SfxUndoManager, you have to + insert it on the second as well. While the second SfxUndoManager is steered + from the first, you must not insert neither Actions nor issue a undo/redo + command to the second, while it is steered by the first. */ { |