Kaydet (Commit) 39b2b14a authored tarafından Stefan Knorr (astron)'s avatar Stefan Knorr (astron)

svtools/source/brwbox: translate comments

üst 21c646a8
......@@ -78,7 +78,7 @@ void BrowserHeader::EndDrag()
sal_uInt16 nId = GetCurItemId();
if ( nId )
{
// Handle-Column?
// handle column?
if ( nId == USHRT_MAX-1 )
nId = 0;
......@@ -92,8 +92,8 @@ void BrowserHeader::EndDrag()
else
{
// column drag
// Hat sich die Position eigentlich veraendert
// Handlecolumn beruecksichtigen
// did the position actually change?
// take the handle column into account
sal_uInt16 nOldPos = _pBrowseBox->GetColumnPos(nId),
nNewPos = GetItemPos( nId );
......
......@@ -407,7 +407,7 @@ void BrowserDataWin::StartDrag( sal_Int8 _nAction, const Point& _rPosPixel )
//-------------------------------------------------------------------
void BrowserDataWin::Command( const CommandEvent& rEvt )
{
// Scrollmaus-Event?
// scroll mouse event?
BrowseBox *pBox = GetParent();
if ( ( (rEvt.GetCommand() == COMMAND_WHEEL) ||
(rEvt.GetCommand() == COMMAND_STARTAUTOSCROLL) ||
......@@ -488,7 +488,7 @@ void BrowserDataWin::MouseButtonDown( const MouseEvent& rEvt )
void BrowserDataWin::MouseMove( const MouseEvent& rEvt )
{
// Pseudo MouseMoves verhindern
// avoid pseudo MouseMoves
Point aNewPos = OutputToScreenPixel( rEvt.GetPosPixel() );
if ( ( aNewPos == aLastMousePos ) )
return;
......@@ -532,14 +532,14 @@ IMPL_LINK_NOARG_INLINE_END(BrowserDataWin, RepeatedMouseMove)
void BrowserDataWin::MouseButtonUp( const MouseEvent& rEvt )
{
// Pseudo MouseMoves verhindern
// avoid pseudo MouseMoves
Point aNewPos = OutputToScreenPixel( rEvt.GetPosPixel() );
aLastMousePos = aNewPos;
// Move an die aktuelle Position simulieren
// simulate a move to the current position
MouseMove( rEvt );
// eigentliches Up-Handling
// actual button up handling
ReleaseMouse();
if ( aMouseTimer.IsActive() )
aMouseTimer.Stop();
......
......@@ -187,7 +187,7 @@ namespace svt
//------------------------------------------------------------------------------
void EditBrowseBox::Init()
{
// spaetes Construieren,
// late construction
}
//------------------------------------------------------------------------------
......@@ -1024,7 +1024,7 @@ namespace svt
nEditCol = nCol;
if ((GetSelectRowCount() && GetSelection() != NULL) || GetSelectColumnCount() ||
(aMouseEvent.Is() && (aMouseEvent.IsDown() || aMouseEvent->GetClicks() > 1))) // bei MouseDown passiert noch nichts
(aMouseEvent.Is() && (aMouseEvent.IsDown() || aMouseEvent->GetClicks() > 1))) // nothing happens on MouseDown
{
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment