fix XPdfDecomposer
accidentally pushed the test commit:
commit d3e0130b1e
Author: Noel Grandin <noel.grandin@collabora.co.uk>
Date: Fri Sep 8 14:02:13 2023 +0200
XPdfDecomposer does not need to implement XAggreggation
Change-Id: I8d65d69723120648020654ded658d0fa7c62d906
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156769
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
committed by
Noel Grandin
parent
dc69edc50c
commit
2d4f840a95
@@ -10,7 +10,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include <basegfx/matrix/b2dhommatrixtools.hxx>
|
||||
#include <cppuhelper/implbase2.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <drawinglayer/primitive2d/bitmapprimitive2d.hxx>
|
||||
#include <drawinglayer/primitive2d/Primitive2DContainer.hxx>
|
||||
@@ -32,19 +32,13 @@ using namespace css;
|
||||
namespace
|
||||
{
|
||||
/// Class to convert the PDF data into a XPrimitive2D (containing only a bitmap).
|
||||
class XPdfDecomposer
|
||||
: public ::cppu::WeakAggImplHelper2<graphic::XPdfDecomposer, lang::XServiceInfo>
|
||||
class XPdfDecomposer : public ::cppu::WeakImplHelper<graphic::XPdfDecomposer, lang::XServiceInfo>
|
||||
{
|
||||
public:
|
||||
explicit XPdfDecomposer(uno::Reference<uno::XComponentContext> const& context);
|
||||
XPdfDecomposer(const XPdfDecomposer&) = delete;
|
||||
XPdfDecomposer& operator=(const XPdfDecomposer&) = delete;
|
||||
|
||||
void SAL_CALL setDelegator(css::uno::Reference<css::uno::XInterface> const&) final
|
||||
{
|
||||
assert(false);
|
||||
}
|
||||
|
||||
// XPdfDecomposer
|
||||
uno::Sequence<uno::Reference<graphic::XPrimitive2D>> SAL_CALL
|
||||
getDecomposition(const uno::Reference<util::XBinaryDataContainer>& xDataContainer,
|
||||
|
||||
Reference in New Issue
Block a user