diff options
Diffstat (limited to 'canvas/source/opengl')
-rw-r--r-- | canvas/source/opengl/ogl_canvascustomsprite.cxx | 2 | ||||
-rw-r--r-- | canvas/source/opengl/ogl_textlayout.cxx | 2 |
2 files changed, 2 insertions, 2 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); diff --git a/canvas/source/opengl/ogl_textlayout.cxx b/canvas/source/opengl/ogl_textlayout.cxx index aa5a35296a97..89e7a16a681f 100644 --- a/canvas/source/opengl/ogl_textlayout.cxx +++ b/canvas/source/opengl/ogl_textlayout.cxx @@ -78,7 +78,7 @@ namespace oglcanvas { ::osl::MutexGuard aGuard( m_aMutex ); - ENSURE_OR_THROW( mpFont.get(), + ENSURE_OR_THROW( mpFont, "TextLayout::queryTextBounds(): invalid font" ); // fake text bounds by either taking the advancement values, |