diff options
Diffstat (limited to 'cppcanvas/source/wrapper/implspritecanvas.cxx')
-rw-r--r-- | cppcanvas/source/wrapper/implspritecanvas.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cppcanvas/source/wrapper/implspritecanvas.cxx b/cppcanvas/source/wrapper/implspritecanvas.cxx index 9d720cdef5b0..8aa875b2a491 100644 --- a/cppcanvas/source/wrapper/implspritecanvas.cxx +++ b/cppcanvas/source/wrapper/implspritecanvas.cxx @@ -49,6 +49,9 @@ namespace cppcanvas mxSpriteCanvas( rCanvas ), mpTransformArbiter( new TransformationArbiter() ) { +#if defined __clang__ && defined _MSC_VER // workaround clang-cl ABI bug PR25641 + (void) (ColorSharedPtr()); +#endif OSL_ENSURE( mxSpriteCanvas.is(), "ImplSpriteCanvas::ImplSpriteCanvas(): Invalid canvas" ); } |