[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sw/source

Petr Mladek pmladek at kemper.freedesktop.org
Wed Apr 27 06:55:53 PDT 2011


 sw/source/core/doc/poolfmt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d57ccd2dfcff2d6115cc59e18465421b7ca79b87
Author: Jody Goldberg <jody at gnome.org>
Date:   Wed Apr 27 15:54:55 2011 +0200

    writer-default-as-optimal-page-wrap.diff: Optimal Page Wrap by default
    
    for graphics insertion (X#59831)

diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index b6b13ec..1bafb37 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -1308,7 +1308,7 @@ SwFmt* SwDoc::GetFmtFromPool( sal_uInt16 nId )
             aSet.Put( SwFmtAnchor( FLY_AT_PARA ));
             aSet.Put( SwFmtHoriOrient( 0, text::HoriOrientation::CENTER, text::RelOrientation::FRAME ));
             aSet.Put( SwFmtVertOrient( 0, text::VertOrientation::TOP, text::RelOrientation::FRAME ));
-            aSet.Put( SwFmtSurround( SURROUND_NONE ));
+            aSet.Put( SwFmtSurround( SURROUND_IDEAL ));
         }
         break;
     case RES_POOLFRM_FORMEL:


More information about the Libreoffice-commits mailing list