[Libreoffice-commits] core.git: Branch 'aoo/trunk' - svx/source
Armin Le Grand
alg at apache.org
Mon Jan 27 14:08:35 PST 2014
svx/source/svdraw/svdotext.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 87d70c66f26713a6d1ffc2562f3ce266530593ec
Author: Armin Le Grand <alg at apache.org>
Date: Mon Jan 27 21:14:39 2014 +0000
i123932 Init only needed items in
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 76f2e38..41eee32 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -655,7 +655,11 @@ void SdrTextObj::AdaptTextMinSize()
if(bW || bH)
{
- SfxItemSet aSet(GetObjectItemSet());
+ SfxItemSet aSet(
+ *GetObjectItemSet().GetPool(),
+ SDRATTR_TEXT_MINFRAMEHEIGHT, SDRATTR_TEXT_AUTOGROWHEIGHT,
+ SDRATTR_TEXT_MINFRAMEWIDTH, SDRATTR_TEXT_AUTOGROWWIDTH, // contains SDRATTR_TEXT_MAXFRAMEWIDTH
+ 0, 0);
if(bW)
{
More information about the Libreoffice-commits
mailing list