summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toolkit/source/awt/vclxwindows.cxx4
-rw-r--r--vcl/source/control/ilstbox.cxx2
-rw-r--r--wizards/com/sun/star/wizards/web/FTPDialog.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 2e64ff14a28d..e733efae2485 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -4340,12 +4340,12 @@ void VCLXComboBox::setProperty( const OUString& PropertyName, const ::com::sun::
{
sal_Int16 n = sal_Int16();
if ( Value >>= n )
- pComboBox->EnableAutocomplete( n != 0, true );
+ pComboBox->EnableAutocomplete( n != 0 );
else
{
bool b = bool();
if ( Value >>= b )
- pComboBox->EnableAutocomplete( b, true );
+ pComboBox->EnableAutocomplete( b );
}
}
break;
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 56d64cb1e3e9..5d06f468fa7f 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -266,7 +266,7 @@ sal_Int32 ImplEntryList::FindMatchingEntry( const OUString& rStr, sal_Int32 nSta
}
else
{
- bMatch = rStr.isEmpty() || (pImplEntry->maStr.startsWith(rStr));
+ bMatch = pImplEntry->maStr.startsWith(rStr);
}
if ( bMatch )
{
diff --git a/wizards/com/sun/star/wizards/web/FTPDialog.py b/wizards/com/sun/star/wizards/web/FTPDialog.py
index cb4e2c25ea8a..673102a298db 100644
--- a/wizards/com/sun/star/wizards/web/FTPDialog.py
+++ b/wizards/com/sun/star/wizards/web/FTPDialog.py
@@ -310,7 +310,7 @@ class FTPDialog(WizardDialog):
self.setEnabled(self.btnTestConnection, True)
- # To try the conenction I do some actions that
+ # To try the connection I do some actions that
# seem logical to me: <br/>
# I get a ucb content.
# I list the files in this content.