diff options
Diffstat (limited to 'sc/source/ui/vba/vbatitle.hxx')
-rw-r--r-- | sc/source/ui/vba/vbatitle.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/vba/vbatitle.hxx b/sc/source/ui/vba/vbatitle.hxx index 9b40f2a452d9..7777e66c84d7 100644 --- a/sc/source/ui/vba/vbatitle.hxx +++ b/sc/source/ui/vba/vbatitle.hxx @@ -135,7 +135,7 @@ public: css::uno::Sequence< OUString > getServiceNames() override { static css::uno::Sequence< OUString > aServiceNames; - if ( aServiceNames.getLength() == 0 ) + if ( !aServiceNames.hasElements() ) { aServiceNames.realloc( 1 ); aServiceNames[ 0 ] = "ooo.vba.excel.XTitle"; |