diff options
Diffstat (limited to 'canvas/source/opengl/ogl_spritecanvas.cxx')
-rw-r--r-- | canvas/source/opengl/ogl_spritecanvas.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/opengl/ogl_spritecanvas.cxx b/canvas/source/opengl/ogl_spritecanvas.cxx index ed2de8179748..ccc0025172b5 100644 --- a/canvas/source/opengl/ogl_spritecanvas.cxx +++ b/canvas/source/opengl/ogl_spritecanvas.cxx @@ -43,7 +43,7 @@ namespace oglcanvas void SpriteCanvas::initialize() { // Only call initialize when not in probe mode - if( maArguments.getLength() == 0 ) + if( !maArguments.hasElements() ) return; SAL_INFO("canvas.ogl", "SpriteCanvas::initialize called" ); |