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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/filter/ww8/rtfsdrexport.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtw8esh.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx index 7eedcc45064d..0aa351aa4c77 100644 --- a/sw/source/filter/ww8/rtfsdrexport.cxx +++ b/sw/source/filter/ww8/rtfsdrexport.cxx @@ -624,7 +624,7 @@ sal_Int32 RtfSdrExport::StartShape() */ if (pTextObj->IsTextEditActive()) { - pOwnedParaObj = pTextObj->GetEditOutlinerParaObject(); + pOwnedParaObj = pTextObj->CreateEditOutlinerParaObject(); pParaObj = pOwnedParaObj.get(); } else diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index 33f2bccd2cfe..4001977502c3 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -1323,7 +1323,7 @@ void WW8Export::WriteSdrTextObj(const SdrTextObj& rTextObj, sal_uInt8 nTyp) */ if (rTextObj.IsTextEditActive()) { - pParaObj = rTextObj.GetEditOutlinerParaObject().release(); + pParaObj = rTextObj.CreateEditOutlinerParaObject().release(); bOwnParaObj = true; } else |