Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 04/02/2013 02:50 PM, Thorsten Behrens wrote:
Markus Mohrhard wrote:
The line that throws the exception is: ENSURE_ARG_OR_THROW(
bHasXRender == true, "SpriteCanvas::SpriteCanvas: No RENDER
extension" );

Do you have an idea how to fix this? I sadly have no clue about
canvas or the new style uno services so I'm a bit lost here.

So this _should_ normally catch the exception in
canvas/source/factory/cf_service.cxx and simply try a different
canvas that might actually work within the constraints. Also doing
bitmap rendering probably does not require the spritecanvas service,
but com.sun.star.rendering.Canvas should do.

Another fallout from <http://cgit.freedesktop.org/libreoffice/core/commit/?id=31170413ae3786bf44564e813d7291354e939a77> "API CHANGE: com.sun.star.lang.IllegalArgumentException."

Addressed now with <http://cgit.freedesktop.org/libreoffice/core/commit/?id=67d724e46579462d906477f52cf7919338bab834> "Adapt code to IllegalArgumentException being a RuntimeException."

Stephan


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.