diff options
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r-- | sw/source/uibase/wrtsh/select.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh2.cxx | 4 |
2 files changed, 4 insertions, 4 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? diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx index cb690424a655..6e52a5ee8a1e 100644 --- a/sw/source/uibase/wrtsh/wrtsh2.cxx +++ b/sw/source/uibase/wrtsh/wrtsh2.cxx @@ -422,7 +422,7 @@ void SwWrtShell::ClickToINetAttr( const SwFormatINetFormat& rItem, sal_uInt16 nF { SwCallMouseEvent aCallEvent; aCallEvent.Set( &rItem ); - GetDoc()->CallEvent( SFX_EVENT_MOUSECLICK_OBJECT, aCallEvent, false ); + GetDoc()->CallEvent( SFX_EVENT_MOUSECLICK_OBJECT, aCallEvent ); } // So that the implementation of templates is displayed immediately @@ -452,7 +452,7 @@ bool SwWrtShell::ClickToINetGrf( const Point& rDocPt, sal_uInt16 nFilter ) { SwCallMouseEvent aCallEvent; aCallEvent.Set( EVENT_OBJECT_URLITEM, pFnd ); - GetDoc()->CallEvent( SFX_EVENT_MOUSECLICK_OBJECT, aCallEvent, false ); + GetDoc()->CallEvent( SFX_EVENT_MOUSECLICK_OBJECT, aCallEvent ); } ::LoadURL(*this, sURL, nFilter, sTargetFrameName); |