summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/parawin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/parawin.cxx b/formula/source/ui/dlg/parawin.cxx
index e8a86ada7214..6ffd0c6e7684 100644
--- a/formula/source/ui/dlg/parawin.cxx
+++ b/formula/source/ui/dlg/parawin.cxx
@@ -396,7 +396,7 @@ void ParaWin::SetArgNameFont(sal_uInt16 no,const vcl::Font& aFont)
void ParaWin::SetEdFocus()
{
UpdateArgDesc(0);
- if(0<aParaArray.size())
+ if(!aParaArray.empty())
aArgInput[0].GetArgEdPtr()->GrabFocus();
}