diff options
author | Albert Thuswaldner <albert.thuswaldner@gmail.com> | 2011-04-07 15:47:21 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-04-07 15:49:17 +0300 |
commit | 265a8353a0bd75c9416110b4a27bbff45c0491d5 (patch) | |
tree | c561cb668bb4a6c62aa746a07aae19dfcc129aa7 /svx/source/engine3d/e3dundo.cxx | |
parent | 7074b7b7be105cccb6a914860814b4a98ebfdcaf (diff) |
Translation of German comments
Diffstat (limited to 'svx/source/engine3d/e3dundo.cxx')
-rw-r--r-- | svx/source/engine3d/e3dundo.cxx | 78 |
1 files changed, 15 insertions, 63 deletions
diff --git a/svx/source/engine3d/e3dundo.cxx b/svx/source/engine3d/e3dundo.cxx index 51ce68346940..bacb8b06781b 100644 --- a/svx/source/engine3d/e3dundo.cxx +++ b/svx/source/engine3d/e3dundo.cxx @@ -39,20 +39,12 @@ TYPEINIT1(E3dUndoAction, SfxUndoAction); -/************************************************************************\ -|* -|* Destruktor der Basisklasse -|* -\************************************************************************/ E3dUndoAction::~E3dUndoAction () { } -/************************************************************************\ -|* -|* Repeat gibt es nicht -|* -\************************************************************************/ +// Repeat does not exist + sal_Bool E3dUndoAction::CanRepeat(SfxRepeatTarget&) const { return sal_False; @@ -68,50 +60,30 @@ TYPEINIT1(E3dRotateUndoAction, E3dUndoAction); ************************************************************************/ -/************************************************************************\ -|* -|* Undodestruktor fuer 3D-Rotation -|* -\************************************************************************/ +// Undo destructor for 3D-Rotation + E3dRotateUndoAction::~E3dRotateUndoAction () { } -/************************************************************************\ -|* -|* Undo fuer 3D-Rotation ueber die Rotationsmatrizen -|* -\************************************************************************/ +// Undo for 3D-Rotation on the Rotation matrix + void E3dRotateUndoAction::Undo () { E3DModifySceneSnapRectUpdater aUpdater(pMy3DObj); pMy3DObj->SetTransform(aMyOldRotation); } -/************************************************************************\ -|* -|* Undo fuer 3D-Rotation ueber die Rotationsmatrizen -|* -\************************************************************************/ +// Redo for 3D-Rotation on the Rotation matrix + void E3dRotateUndoAction::Redo () { E3DModifySceneSnapRectUpdater aUpdater(pMy3DObj); pMy3DObj->SetTransform(aMyNewRotation); } -/************************************************************************* -|* -|* E3dAttributesUndoAction -|* -\************************************************************************/ - TYPEINIT1(E3dAttributesUndoAction, SdrUndoAction); -/************************************************************************* -|* -|* Konstruktor -|* -\************************************************************************/ E3dAttributesUndoAction::E3dAttributesUndoAction( SdrModel &rModel, E3dView* p3dView, E3dObject* pInObject, @@ -127,54 +99,34 @@ E3dAttributesUndoAction::E3dAttributesUndoAction( SdrModel &rModel, { } -/************************************************************************* -|* -|* Destruktor -|* -\************************************************************************/ E3dAttributesUndoAction::~E3dAttributesUndoAction() { } -/************************************************************************* -|* -|* Undo() -|* Implementiert ueber Set3DAttributes(), um die Attribute nur an einer -|* Stelle pflegen zu muessen! -|* -\************************************************************************/ +// Undo() implemented through Set3DAttributes() to only maintain the attributes +// in one place + void E3dAttributesUndoAction::Undo() { E3DModifySceneSnapRectUpdater aUpdater(pObject); pObject->SetMergedItemSetAndBroadcast(aOldSet); } -/************************************************************************* -|* -|* Redo() -|* -\************************************************************************/ void E3dAttributesUndoAction::Redo() { E3DModifySceneSnapRectUpdater aUpdater(pObject); pObject->SetMergedItemSetAndBroadcast(aNewSet); } -/************************************************************************* -|* -|* Mehrfaches Undo nicht moeglich -|* -\************************************************************************/ +// Multiple Undo is not possible + sal_Bool E3dAttributesUndoAction::CanRepeat(SfxRepeatTarget& /*rView*/) const { return sal_False; } -/************************************************************************* -|* -|* Mehrfaches Undo nicht moeglich -|* -\************************************************************************/ +// Multiple Undo is not possible + void E3dAttributesUndoAction::Repeat() { } |