summaryrefslogtreecommitdiff
path: root/framework/source/uielement/toolbarmanager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/toolbarmanager.cxx')
-rw-r--r--framework/source/uielement/toolbarmanager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index e64eb89944ce..16502d124de6 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -1254,7 +1254,7 @@ void ToolBarManager::RequestImages()
while ( pIter != pEnd )
{
Image aImage;
- if ( aDocGraphicSeq.getLength() > 0 )
+ if ( aDocGraphicSeq.hasElements() )
aImage = Image( aDocGraphicSeq[i] );
if ( !aImage )
{