summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/iconviewimpl.cxx2
-rw-r--r--svtools/source/contnr/svimpbox.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/iconviewimpl.cxx b/svtools/source/contnr/iconviewimpl.cxx
index ca6696ae3b58..e361414a65da 100644
--- a/svtools/source/contnr/iconviewimpl.cxx
+++ b/svtools/source/contnr/iconviewimpl.cxx
@@ -508,7 +508,7 @@ bool IconViewImpl::KeyInput( const KeyEvent& rKEvt )
// if there is no next entry, take the current one
// this ensures that in case of _one_ entry in the list, this entry is selected when pressing
// the cursor key
- if ( !pNewCursor && pCursor )
+ if (!pNewCursor)
pNewCursor = pCursor;
if( pNewCursor )
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index d48f1125b80d..7ae23714cfe4 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -2149,7 +2149,7 @@ bool SvImpLBox::KeyInput( const KeyEvent& rKEvt)
// if there is no next entry, take the current one
// this ensures that in case of _one_ entry in the list, this entry is selected when pressing
// the cursor key
- if ( !pNewCursor && pCursor )
+ if (!pNewCursor)
pNewCursor = pCursor;
if( pNewCursor )