diff options
author | Serge Krot <Serge.Krot@cib.de> | 2020-01-03 20:08:45 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-01-06 15:55:25 +0100 |
commit | 92ccf53b2a8102299ac2c3e2612bb507d3a79c0f (patch) | |
tree | 8e531d755fc6876db72a4d48f8bd702728a2043f /sd/source/ui/unoidl/unoobj.cxx | |
parent | f29a5020ee7bbfff1860cdd94c271ef30937fa95 (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>
Diffstat (limited to 'sd/source/ui/unoidl/unoobj.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unoobj.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx index ae275dd57e82..d87821f8c677 100644 --- a/sd/source/ui/unoidl/unoobj.cxx +++ b/sd/source/ui/unoidl/unoobj.cxx @@ -852,8 +852,7 @@ bool SdXShape::IsEmptyPresObj() const if( pTextObj == nullptr ) return true; - const std::unique_ptr<OutlinerParaObject> pParaObj(pTextObj->GetEditOutlinerParaObject()); - return !pParaObj; + return !pTextObj->CanCreateEditOutlinerParaObject(); } return false; |