summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/canvas.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/canvas.cxx')
-rw-r--r--canvas/source/vcl/canvas.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/vcl/canvas.cxx b/canvas/source/vcl/canvas.cxx
index 59c200c85b7e..c33185b2999c 100644
--- a/canvas/source/vcl/canvas.cxx
+++ b/canvas/source/vcl/canvas.cxx
@@ -74,7 +74,7 @@ namespace vclcanvas
void Canvas::initialize()
{
// #i64742# Only perform initialization when not in probe mode
- if( maArguments.getLength() == 0 )
+ if( !maArguments.hasElements() )
return;
/* maArguments: