summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/poolfmt.cxx
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-06-17 10:06:43 +0000
committerOliver Specht <os@openoffice.org>2002-06-17 10:06:43 +0000
commit77f38b700ff50a39ace21caaaedd45aed081b3f6 (patch)
tree2d9e4ef6554357592638a3a3f05b4ec0087846d6 /sw/source/core/doc/poolfmt.cxx
parentd7b6d4b254a950b47e1d379c34d0e97f481d7a38 (diff)
#98281# SvxFrameDirectionItem defaulted to FRMDIR_HORI_LEFT_TOP for all page styles
Diffstat (limited to 'sw/source/core/doc/poolfmt.cxx')
-rw-r--r--sw/source/core/doc/poolfmt.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index b01cb4280df4..3f588bb995c2 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: poolfmt.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: os $ $Date: 2002-06-05 12:25:03 $
+ * last change: $Author: os $ $Date: 2002-06-17 11:06:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -135,6 +135,9 @@
#ifndef _SVX_CHARROTATEITEM_HXX
#include <svx/charrotateitem.hxx>
#endif
+#ifndef _SVX_FRMDIRITEM_HXX
+#include <svx/frmdiritem.hxx>
+#endif
#ifndef _VIEWOPT_HXX
#include <viewopt.hxx>
#endif
@@ -1647,6 +1650,7 @@ SwPageDesc* SwDoc::GetPageDescFromPool( USHORT nId, String* pDesc,
aUL.SetLower( (USHORT)aLR.GetLeft() );
SwAttrSet aSet( GetAttrPool(), aPgFrmFmtSetRange );
+ aSet.Put(SvxFrameDirectionItem());
BOOL bSetLeft = TRUE;
switch( nId )