This patch indends to solve this bug:
http://bugs.freedesktop.org/show_bug.cgi?id=46968
The undo just assigned to SdrTextObj::aRect its previous value. Now it
calls NbcSetLogicRect() for this task. This function calls -- among others
-- NbcSetMinTextFrameHeight(), which is neccessary to avoid this bug.
Regards,
Uray M. János
From ab1e14c564a49e3eb05e3dd9ca4d9d9d537c101a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Uray=20M.=20J=C3=A1nos"?= <uray.janos@gmail.com>
Date: Mon, 30 Jul 2012 11:42:16 +0200
Subject: [PATCH] fdo#46968 fixing undo of textbox resizing
Change-Id: Ic647e5c337987985f749b67113892a01f74ee8f9
---
svx/source/svdraw/svdotext.cxx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index d214f548..76b5b34 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -1457,7 +1457,7 @@ void SdrTextObj::RestGeoData(const SdrObjGeoData& rGeo)
{ // RectsDirty is called by SdrObject
SdrAttrObj::RestGeoData(rGeo);
SdrTextObjGeoData& rTGeo=(SdrTextObjGeoData&)rGeo;
- aRect =rTGeo.aRect;
+ NbcSetLogicRect(rTGeo.aRect);
aGeo =rTGeo.aGeo;
SetTextSizeDirty();
}
--
1.7.7
Context
- [PATCH] fdo#46968: fixing undo of textbox resizing · János Uray
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.