diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-02 14:13:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-03 06:49:18 +0100 |
commit | e4423520845ca4f566474e57cd0c0988034e0c7c (patch) | |
tree | 8d89e8f70cd4bfdd583c7f20fc52d7e505440195 /drawinglayer/source/primitive2d | |
parent | 660e538ee77109bc3e7dff4491164d696e503abc (diff) |
loplugin:unusedmethods
Change-Id: I922778e8ced0ad922d90a153b0eda47abbec94ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127868
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/primitive2d')
-rw-r--r-- | drawinglayer/source/primitive2d/Primitive2DContainer.cxx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drawinglayer/source/primitive2d/Primitive2DContainer.cxx b/drawinglayer/source/primitive2d/Primitive2DContainer.cxx index b6c30a1c43bf..85ab03951996 100644 --- a/drawinglayer/source/primitive2d/Primitive2DContainer.cxx +++ b/drawinglayer/source/primitive2d/Primitive2DContainer.cxx @@ -140,30 +140,8 @@ void Primitive2DContainer::append(Primitive2DContainer&& rSource) std::make_move_iterator(rSource.end())); } -void Primitive2DContainer::append(const Primitive2DSequence& rSource) -{ - for (const auto& rPrimitive : rSource) - append(static_cast<const UnoPrimitive2D*>(rPrimitive.get())->getBasePrimitive2D()); -} - UnoPrimitive2D::~UnoPrimitive2D() {} -basegfx::B2DRange -UnoPrimitive2D::getB2DRange(const geometry::ViewInformation2D& rViewInformation) const -{ - std::unique_lock aGuard(m_aMutex); - return mxPrimitive->getB2DRange(rViewInformation); -} - -sal_uInt32 UnoPrimitive2D::getPrimitive2DID() const { return mxPrimitive->getPrimitive2DID(); } - -void UnoPrimitive2D::get2DDecomposition(Primitive2DDecompositionVisitor& rVisitor, - const geometry::ViewInformation2D& rViewInformation) const -{ - std::unique_lock aGuard(m_aMutex); - mxPrimitive->get2DDecomposition(rVisitor, rViewInformation); -} - css::uno::Sequence<::css::uno::Reference<::css::graphic::XPrimitive2D>> SAL_CALL UnoPrimitive2D::getDecomposition( const css::uno::Sequence<css::beans::PropertyValue>& rViewParameters) |