summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbatitle.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbatitle.hxx')
-rw-r--r--sc/source/ui/vba/vbatitle.hxx2
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";