diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-18 09:46:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-18 12:32:30 +0000 |
commit | 34dc97c79165a038fd1262902a414fe78882aaba (patch) | |
tree | db27e5b67c2c82881aa3802130949eaed8224cdc /canvas/source/cairo/cairo_canvas.cxx | |
parent | 69d0d5f567f1418060f0c925b0dada2cb608eacc (diff) |
move IsCairoWorking to vclplug level and rename
Change-Id: Id31de932afa61df6933d61ddba971f5d7060f0c1
Diffstat (limited to 'canvas/source/cairo/cairo_canvas.cxx')
-rw-r--r-- | canvas/source/cairo/cairo_canvas.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/cairo/cairo_canvas.cxx b/canvas/source/cairo/cairo_canvas.cxx index 74da4c94efca..58bd7f0a030f 100644 --- a/canvas/source/cairo/cairo_canvas.cxx +++ b/canvas/source/cairo/cairo_canvas.cxx @@ -92,8 +92,8 @@ namespace cairocanvas if( !pSysData || !pSysData->nSize ) throw lang::NoSupportException( "Passed SystemGraphicsData invalid!" ); - bool bHasXRender = IsCairoWorking(pOutDev); - ENSURE_ARG_OR_THROW( bHasXRender == true, "SpriteCanvas::SpriteCanvas: No RENDER extension" ); + bool bHasCairo = pOutDev->SupportsCairo(); + ENSURE_ARG_OR_THROW(bHasCairo == true, "SpriteCanvas::SpriteCanvas: No Cairo capability"); // setup helper maDeviceHelper.init( *this, *pOutDev ); |