summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/fusel.cxx
diff options
context:
space:
mode:
authorJens Carl <j.carl43@gmx.de>2017-04-07 06:14:10 +0000
committerEike Rathke <erack@redhat.com>2017-04-10 15:57:11 +0200
commit52ef09114187776b8556193059cdf63554c657aa (patch)
tree121069b4c48fc8997e74e9519107f1db6e043fe3 /sc/source/ui/drawfunc/fusel.cxx
parentbac6141665049e53c01715a88d46ca04d678ddf0 (diff)
tdf#39468 Translate German comments
Last German comments in sc/ found with "./bin/find-german-comments sc" Change-Id: I88274904c55d5ac4d7057f2ae4de5650815dae2f Reviewed-on: https://gerrit.libreoffice.org/36248 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/ui/drawfunc/fusel.cxx')
-rw-r--r--sc/source/ui/drawfunc/fusel.cxx28
1 files changed, 13 insertions, 15 deletions
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx
index 3a0c6ad35c79..b7f468a77aa4 100644
--- a/sc/source/ui/drawfunc/fusel.cxx
+++ b/sc/source/ui/drawfunc/fusel.cxx
@@ -49,8 +49,8 @@
#include "docuno.hxx"
#include "docsh.hxx"
-// Maximal erlaubte Mausbewegung um noch Drag&Drop zu starten
-//! fusel,fuconstr,futext - zusammenfassen!
+// maximal permitted mouse movement to start Drag&Drop
+//! fusel,fuconstr,futext - combine them!
#define SC_MAXDRAGMOVE 3
// Min necessary mouse motion for normal dragging
#define SC_MINDRAGMOVE 2
@@ -59,7 +59,7 @@ using namespace com::sun::star;
/*************************************************************************
|*
-|* Konstruktor
+|* ctor
|*
\************************************************************************/
@@ -71,7 +71,7 @@ FuSelection::FuSelection(ScTabViewShell* pViewSh, vcl::Window* pWin, ScDrawView*
/*************************************************************************
|*
-|* Destruktor
+|* dtor
|*
\************************************************************************/
@@ -97,7 +97,7 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt)
return true;
}
- bIsInDragMode = false; // irgendwo muss es ja zurueckgesetzt werden (#50033#)
+ bIsInDragMode = false; // somewhere it has to be reset (#50033#)
bool bReturn = FuDraw::MouseButtonDown(rMEvt);
@@ -269,7 +269,7 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt)
if ( pView->MarkObj( aMDPos, -2, false, rMEvt.IsMod1() ) )
{
- //Objekt verschieben
+ // move object
if (pView->IsMarkedHit(aMDPos))
{
@@ -284,18 +284,16 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt)
pView->BegDragObj(aMDPos, nullptr, pHdl);
bReturn = true;
}
- else // Objekt am Rand getroffen
+ else // object at the edge
if (pViewShell->IsDrawSelMode())
bReturn = true;
}
else
{
- // nichts getroffen
-
if (pViewShell->IsDrawSelMode())
{
- //Objekt selektieren
+ // select object
pView->BegMarkObj(aMDPos);
bReturn = true;
@@ -308,7 +306,7 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt)
if (!bIsInDragMode)
{
- // VC rufen selber CaptureMouse
+ // VC calls CaptureMouse itself
pWindow->CaptureMouse();
ForcePointer(&rMEvt);
}
@@ -386,7 +384,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
if ( pView->IsDragObj() )
{
/******************************************************************
- * Objekt wurde verschoben
+ * object was moved
******************************************************************/
if ( rMEvt.IsMod1() )
{
@@ -465,7 +463,7 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
}
/**************************************************************************
- * Ggf. OLE-Objekt beruecksichtigen
+ * maybe consider OLE object
**************************************************************************/
SfxInPlaceClient* pIPClient = pViewShell ? pViewShell->GetIPClient() : nullptr;
@@ -545,8 +543,8 @@ bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
if (pWindow->IsMouseCaptured())
pWindow->ReleaseMouse();
- // Command-Handler fuer Kontext-Menue kommt erst nach MouseButtonUp,
- // darum hier die harte IsLeft-Abfrage
+ // command handler for context menu follows after MouseButtonUp,
+ // therefore here the hard IsLeft call
if ( !bReturn && rMEvt.IsLeft() )
if (pViewShell->IsDrawSelMode())
pViewShell->GetViewData().GetDispatcher().