Kaydet (Commit) 922d80ad authored tarafından Miklos Vajna's avatar Miklos Vajna

fix build

Change-Id: I4b90c3a40099757b24ed14768083295d9048502e
üst c412cba2
...@@ -560,16 +560,12 @@ sal_Bool SwWrtShell::PageCrsr(SwTwips lOffset, sal_Bool bSelect) ...@@ -560,16 +560,12 @@ sal_Bool SwWrtShell::PageCrsr(SwTwips lOffset, sal_Bool bSelect)
// Because only ViewShell::EndAction() is called at the end, // Because only ViewShell::EndAction() is called at the end,
// no updating of the display of the cursor position takes place. // no updating of the display of the cursor position takes place.
// The CrsrShell-Actionparentheses cannot be used, because it // The CrsrShell-Actionparentheses cannot be used, because it
// always leads to displaying the cursor, thus also, // always leads to displaying the cursor, thus also, da sie immer zu einer Anzeige des Cursors fuehrt, also auch,
da sie immer zu einer Anzeige des Cursors fuehrt, also auch, // if after the scroll scrolled in a region without a wenn nach dem Blaettern in einen Bereich ohne gueltige Position
// if after the scroll scrolled in a region without a // valid postition. geblaettert wurde.
wenn nach dem Blaettern in einen Bereich ohne gueltige Position
// valid postition.
geblaettert wurde.
// ViewShell::StartAction(); // ViewShell::StartAction();
PageMove eDir = lOffset > 0? MV_PAGE_DOWN: MV_PAGE_UP; PageMove eDir = lOffset > 0? MV_PAGE_DOWN: MV_PAGE_UP;
// Change of direction and stack present // Change of direction and stack present Richtungswechsel und Stack vorhanden
Richtungswechsel und Stack vorhanden
if( eDir != ePageMove && ePageMove != MV_NO && PopCrsr( sal_True, bSelect )) if( eDir != ePageMove && ePageMove != MV_NO && PopCrsr( sal_True, bSelect ))
return sal_True; return sal_True;
......
...@@ -842,8 +842,7 @@ int SwWrtShell::IntelligentCut(int nSelection, sal_Bool bCut) ...@@ -842,8 +842,7 @@ int SwWrtShell::IntelligentCut(int nSelection, sal_Bool bCut)
{ {
// On multiple selection no intelligent drag and drop // On multiple selection no intelligent drag and drop
// there are multiple cursors, since a second was placed // there are multiple cursors, since a second was placed
// already at the target postion. // already at the target postion. an die Zielposition gesetzt wurde
an die Zielposition gesetzt wurde
if( IsAddMode() || !(nSelection & nsSelectionType::SEL_TXT) ) if( IsAddMode() || !(nSelection & nsSelectionType::SEL_TXT) )
return sal_False; return sal_False;
......
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