openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1561850 - /openoffice/trunk/main/svx/source/svdraw/svdotext.cxx
Date Mon, 27 Jan 2014 21:14:39 GMT
Author: alg
Date: Mon Jan 27 21:14:39 2014
New Revision: 1561850

URL: http://svn.apache.org/r1561850
Log:
i123932 Init only needed items in 

Modified:
    openoffice/trunk/main/svx/source/svdraw/svdotext.cxx

Modified: openoffice/trunk/main/svx/source/svdraw/svdotext.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/svx/source/svdraw/svdotext.cxx?rev=1561850&r1=1561849&r2=1561850&view=diff
==============================================================================
--- openoffice/trunk/main/svx/source/svdraw/svdotext.cxx (original)
+++ openoffice/trunk/main/svx/source/svdraw/svdotext.cxx Mon Jan 27 21:14:39 2014
@@ -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)
             {



Mime
View raw message