summaryrefslogtreecommitdiffstats
path: root/basctl/source/basicide/baside2b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basctl/source/basicide/baside2b.cxx')
-rw-r--r--basctl/source/basicide/baside2b.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index 4cbd2fe8c6b0..627c62eb0ec9 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -877,7 +877,7 @@ void EditorWindow::HandleCodeCompletion()
std::vector< OUString > aMethVect = aTypeCompletor.GetXIdlClassMethods();//methods
aEntryVect.insert(aEntryVect.end(), aMethVect.begin(), aMethVect.end() );
}
- if( aEntryVect.size() > 0 )
+ if( !aEntryVect.empty() )
SetupAndShowCodeCompleteWnd( aEntryVect, aSel );
}
}