summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh/select.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:51:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:51:46 +0200
commit3b7609446ba50b6181843ce05f48c100087f3006 (patch)
tree8d75eb6130056197ff31391a2891d4919ca0fcef /sw/source/uibase/wrtsh/select.cxx
parenta003d8c59d0324ab3f44ec608f473e654ce48902 (diff)
loplugin:defaultparams
Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799
Diffstat (limited to 'sw/source/uibase/wrtsh/select.cxx')
-rw-r--r--sw/source/uibase/wrtsh/select.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx
index 89065f4d2843..e7a3806b95e2 100644
--- a/sw/source/uibase/wrtsh/select.cxx
+++ b/sw/source/uibase/wrtsh/select.cxx
@@ -327,7 +327,7 @@ void SwWrtShell::UnSelectFrm()
{
// Remove Frame selection with guaranteed invalid position
Point aPt(LONG_MIN, LONG_MIN);
- SelectObj(aPt, 0);
+ SelectObj(aPt);
SwTransferable::ClearSelection( *this );
}
@@ -875,7 +875,7 @@ int SwWrtShell::IntelligentCut(int nSelection, bool bCut)
return NO_WORD;
cPrev = GetChar(false, -1);
- cNext = GetChar(true);
+ cNext = GetChar();
int cWord = NO_WORD;
// is a word selected?