summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJody Goldberg <jody@gnome.org>2011-04-27 15:54:55 +0200
committerPetr Mladek <pmladek@suse.cz>2011-04-27 15:54:55 +0200
commitd57ccd2dfcff2d6115cc59e18465421b7ca79b87 (patch)
treedf87f560f9aa2a89b0e6151582e7fd33f3f040c5
parent16b7d8ab9622e53cc211499288e2883cd6007f0d (diff)
writer-default-as-optimal-page-wrap.diff: Optimal Page Wrap by default
for graphics insertion (X#59831)
-rw-r--r--sw/source/core/doc/poolfmt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index b6b13ecd53..1bafb37c2d 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: