diff options
Diffstat (limited to 'vbahelper/source/msforms')
-rw-r--r-- | vbahelper/source/msforms/vbacontrols.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/msforms/vbacontrols.cxx b/vbahelper/source/msforms/vbacontrols.cxx index 309ff71e929f..543a4bfcd56f 100644 --- a/vbahelper/source/msforms/vbacontrols.cxx +++ b/vbahelper/source/msforms/vbacontrols.cxx @@ -128,7 +128,7 @@ public: virtual ::sal_Bool SAL_CALL hasElements( ) throw (uno::RuntimeException) { - return ( mControls.size() > 0 ); + return ( !mControls.empty() ); } // XNameAcess |