summaryrefslogtreecommitdiffstats
path: root/canvas/source/opengl/ogl_canvascustomsprite.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/opengl/ogl_canvascustomsprite.cxx')
-rw-r--r--canvas/source/opengl/ogl_canvascustomsprite.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/opengl/ogl_canvascustomsprite.cxx b/canvas/source/opengl/ogl_canvascustomsprite.cxx
index c7ca59b28291..903a0edfc93b 100644
--- a/canvas/source/opengl/ogl_canvascustomsprite.cxx
+++ b/canvas/source/opengl/ogl_canvascustomsprite.cxx
@@ -38,7 +38,7 @@ namespace oglcanvas
mfAlpha(0.0),
mfPriority(0.0)
{
- ENSURE_OR_THROW( rRefDevice.get(),
+ ENSURE_OR_THROW( rRefDevice,
"CanvasCustomSprite::CanvasCustomSprite(): Invalid sprite canvas" );
::canvas::tools::setIdentityAffineMatrix2D(maTransformation);