diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-21 16:14:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-22 08:07:23 +0100 |
commit | 56cd3b2b5d395165cd4add2f46ac4ba25a4ea4af (patch) | |
tree | e8c7e48c7ddc4ff85fbcd01c1826a50fd623723d /include | |
parent | 44c7cbd93fa5ad8e9a6eb8494e64cfcfcb019c29 (diff) |
tdf#64914 slow opening large chart
shaves 2% off the load time by avoid the cost of
comphelper::getFromUnoTunnel
Change-Id: I9d0438bd0ad3cf753d34fe181481f3a57193651c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130284
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/unoshape.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/svx/unoshape.hxx b/include/svx/unoshape.hxx index 427904d87c18..61f33f46f9a1 100644 --- a/include/svx/unoshape.hxx +++ b/include/svx/unoshape.hxx @@ -424,6 +424,8 @@ public: { SvxShape::acquire(); } virtual void SAL_CALL release() noexcept override { SvxShape::release(); } + + virtual void addShape(SvxShape& rShape) = 0; }; /*********************************************************************** @@ -437,6 +439,7 @@ private: rtl::Reference< SvxDrawPage> mxPage; void addUnoShape( const css::uno::Reference< css::drawing::XShape >& xShape, size_t nPos ); + void addShape(SvxShape& rShape, size_t nPos); public: SvxShapeGroup(SdrObject* pObj,SvxDrawPage* pDrawPage); @@ -483,6 +486,8 @@ public: // XTypeProvider virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override; + + virtual void addShape(SvxShape& rShape) final override; }; /*********************************************************************** @@ -710,6 +715,8 @@ public: // XTypeProvider virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) override; + + virtual void addShape(SvxShape& rShape) override final; }; /*********************************************************************** |