diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2022-04-22 16:53:32 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-05-06 10:51:18 +0200 |
commit | cc1be7312d9f6bd4a4ea742c6d1e3cb9293631cc (patch) | |
tree | a1fe58b07924943d269a0217eeee86e7069de9ea /svx | |
parent | 1ad2fe68308b556bb95d1c1620a3d5e55982260e (diff) |
svx: move SvxTableShape into own file and externalize
Change-Id: I0c4b37ebafa56ed50286bdcec1f2a8d5e1362f8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133918
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/unodraw/shapeimpl.hxx | 17 | ||||
-rw-r--r-- | svx/source/unodraw/tableshape.cxx | 1 | ||||
-rw-r--r-- | svx/source/unodraw/unopage.cxx | 1 |
3 files changed, 2 insertions, 17 deletions
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 <svx/unodraw/SvxTableShape.hxx> #include <svx/unoshprp.hxx> #include <svx/svdotable.hxx> #include <svx/svdpool.hxx> 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 <svx/svdundo.hxx> #include <svx/unopage.hxx> #include "shapeimpl.hxx" +#include <svx/unodraw/SvxTableShape.hxx> #include <svx/dialmgr.hxx> #include <svx/svdobjkind.hxx> #include <svx/unoprov.hxx> |