summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHossein <hossein@libreoffice.org>2021-07-19 13:03:42 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-07-20 13:20:07 +0200
commitae0c6da13c9b92757ff0f4ba360308ee50c701cf (patch)
tree4c53e4a6d99901fabbde99a5e8fd322edafab6b1 /include
parenta4360b155bef02cf3da41e3f05c56d42feef7926 (diff)
tdf#123321 Fix DOC/DOCX export bug which made some lines disappear
* Fix the wrong calculation of SdrPathObj (line) extent while exporting to .doc and .docx formats. This resolves tdf#123321 which cause some lines to disappear after save and reload. This fix does not break tdf#91687 * added tests to make sure this does not happen again, based on the .doc file provided in Bugzilla * Loading the bad exported file in MS Word is OK, but it does not work in LibreOffice, and some of the lines will be hidden. This needs additional work. The regression came from d72e0cadceb0b43928a9b4f18d75c9d5d30afdda Change-Id: Ic5a7af4d29df741204c50590728542e674ee9f91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119116 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> (cherry picked from commit bda4d7a7c3fcc259e023f568606be5dcba818db9) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119185 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdopath.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/svx/svdopath.hxx b/include/svx/svdopath.hxx
index be345a850b7d..134643c4d3ea 100644
--- a/include/svx/svdopath.hxx
+++ b/include/svx/svdopath.hxx
@@ -88,6 +88,7 @@ public:
virtual sal_uInt32 GetHdlCount() const override;
virtual void AddToHdlList(SdrHdlList& rHdlList) const override;
virtual void AddToPlusHdlList(SdrHdlList& rHdlList, SdrHdl& rHdl) const override;
+ virtual const tools::Rectangle& GetLogicRect() const override;
// special drag methods
virtual bool hasSpecialDrag() const override;