diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-11 16:45:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-11 16:45:21 +0100 |
commit | c9d7427707ca36f60079833f53efd435202fe231 (patch) | |
tree | 42c89072112f2aed44cebb1dec980be1fecac455 /svtools | |
parent | 08914f9a3a0501c23ee21a7b363df814135c8b3a (diff) |
Unused bForce parameter
Change-Id: I3081269acf9fa2c5bef01d96a84018271196f7b3
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/inc/svtools/inettbc.hxx | 2 | ||||
-rw-r--r-- | svtools/source/control/inettbc.cxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svtools/inc/svtools/inettbc.hxx b/svtools/inc/svtools/inettbc.hxx index 2a2540609b12..c4419de5b4eb 100644 --- a/svtools/inc/svtools/inettbc.hxx +++ b/svtools/inc/svtools/inettbc.hxx @@ -48,7 +48,7 @@ friend class SvtURLBox_Impl; sal_Bool bIsAutoCompleteEnabled : 1; SVT_DLLPRIVATE sal_Bool ProcessKey( const KeyCode& rCode ); - SVT_DLLPRIVATE void TryAutoComplete( sal_Bool bForce ); + SVT_DLLPRIVATE void TryAutoComplete(); SVT_DLLPRIVATE void UpdatePicklistForSmartProtocol_Impl(); DECL_DLLPRIVATE_LINK( AutoCompleteHdl_Impl, void* ); using Window::ImplInit; diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx index 01e6d3d8701e..ceed216572fd 100644 --- a/svtools/source/control/inettbc.cxx +++ b/svtools/source/control/inettbc.cxx @@ -817,13 +817,13 @@ void SvtMatchContext_Impl::doExecute() return; } -void SvtURLBox::TryAutoComplete( sal_Bool bForce ) +void SvtURLBox::TryAutoComplete() { if( Application::AnyInput( VCL_INPUT_KEYBOARD ) ) return; String aCurText = GetText(); Selection aSelection( GetSelection() ); - if( aSelection.Max() != aCurText.Len() && !bForce ) + if( aSelection.Max() != aCurText.Len() ) return; sal_uInt16 nLen = (sal_uInt16)aSelection.Min(); aCurText.Erase( nLen ); @@ -1127,7 +1127,7 @@ IMPL_LINK_NOARG(SvtURLBox, AutoCompleteHdl_Impl) { if ( GetSubEdit()->GetAutocompleteAction() == AUTOCOMPLETE_KEYINPUT ) { - TryAutoComplete( sal_False ); + TryAutoComplete(); return 1L; } |