From cc1be7312d9f6bd4a4ea742c6d1e3cb9293631cc Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Fri, 22 Apr 2022 16:53:32 +0900 Subject: svx: move SvxTableShape into own file and externalize MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0c4b37ebafa56ed50286bdcec1f2a8d5e1362f8d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133918 Tested-by: Tomaž Vajngerl Reviewed-by: Tomaž Vajngerl --- svx/source/unodraw/shapeimpl.hxx | 17 ----------------- svx/source/unodraw/tableshape.cxx | 1 + svx/source/unodraw/unopage.cxx | 1 + 3 files changed, 2 insertions(+), 17 deletions(-) (limited to 'svx') diff --git a/svx/source/unodraw/shapeimpl.hxx b/svx/source/unodraw/shapeimpl.hxx index 0ccf22071194..44b3bcdea0e2 100644 --- a/svx/source/unodraw/shapeimpl.hxx +++ b/svx/source/unodraw/shapeimpl.hxx @@ -84,23 +84,6 @@ public: virtual void Create( SdrObject* pNewOpj, SvxDrawPage* pNewPage ) override; }; - -class SvxTableShape : public SvxShape -{ -protected: - // override these for special property handling in subcasses. Return true if property is handled - virtual bool setPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, const css::uno::Any& rValue ) override; - virtual bool getPropertyValueImpl( const OUString& rName, const SfxItemPropertyMapEntry* pProperty, css::uno::Any& rValue ) override; - - virtual void lock() override; - virtual void unlock() override; - -public: - - explicit SvxTableShape(SdrObject* pObj); - virtual ~SvxTableShape() noexcept override; -}; - SvxUnoPropertyMapProvider& getSvxMapProvider(); #endif diff --git a/svx/source/unodraw/tableshape.cxx b/svx/source/unodraw/tableshape.cxx index 69823ea3043b..b9220516411a 100644 --- a/svx/source/unodraw/tableshape.cxx +++ b/svx/source/unodraw/tableshape.cxx @@ -21,6 +21,7 @@ #include "UnoGraphicExporter.hxx" #include "shapeimpl.hxx" +#include #include #include #include diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index f676e743e548..ee91c36c9afe 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -41,6 +41,7 @@ #include #include #include "shapeimpl.hxx" +#include #include #include #include -- cgit