diff options
author | Serge Krot <Serge.Krot@cib.de> | 2020-01-03 20:08:45 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-07 05:56:19 +0100 |
commit | e88a993b5b0a1a6245a0ae9e1d1e9f365ec7cba3 (patch) | |
tree | 9d74e5d4560c7ad49506724ec50df4c37dc138f9 /include | |
parent | e4a58d8df28451952d55604b1ab97b55467b6e05 (diff) |
tdf#129708 speed-up: check if we could create outline instead of creation of it
Change-Id: I0629b4e6ccae4ab9be0142fe39c627f2f9a8f5ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86199
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
(cherry picked from commit 92ccf53b2a8102299ac2c3e2612bb507d3a79c0f)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86278
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdotext.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx index d49f1221dc98..78e09d508199 100644 --- a/include/svx/svdotext.hxx +++ b/include/svx/svdotext.hxx @@ -492,7 +492,8 @@ public: virtual void NbcSetOutlinerParaObject(std::unique_ptr<OutlinerParaObject> pTextObject) override; void NbcSetOutlinerParaObjectForText( std::unique_ptr<OutlinerParaObject> pTextObject, SdrText* pText ); virtual OutlinerParaObject* GetOutlinerParaObject() const override; - std::unique_ptr<OutlinerParaObject> GetEditOutlinerParaObject() const; + bool CanCreateEditOutlinerParaObject() const; + std::unique_ptr<OutlinerParaObject> CreateEditOutlinerParaObject() const; virtual void NbcReformatText() override; |