summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-05-10 15:56:35 +0000
committerKurt Zenker <kz@openoffice.org>2007-05-10 15:56:35 +0000
commit37785046e192ca4bc5d58e1a2b3d504ef54afaf4 (patch)
treefd0c89b48a69ae6bb7d7de5bc963232999aac45b /sc
parent8ff33d12cc9e6591609416c55c344ab41fbe250a (diff)
INTEGRATION: CWS pchfix04 (1.12.104); FILE MERGED
2007/05/09 08:34:13 hjs 1.12.104.3: RESYNC: (1.13-1.14); FILE MERGED 2007/04/26 04:37:51 hjs 1.12.104.2: RESYNC: (1.12-1.13); FILE MERGED 2007/02/05 08:35:31 os 1.12.104.1: #i73604# usage of ITEMID_* removed
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/drawfunc/drtxtob1.cxx16
1 files changed, 7 insertions, 9 deletions
diff --git a/sc/source/ui/drawfunc/drtxtob1.cxx b/sc/source/ui/drawfunc/drtxtob1.cxx
index cb39559acbc5..08a721a5bfd7 100644
--- a/sc/source/ui/drawfunc/drtxtob1.cxx
+++ b/sc/source/ui/drawfunc/drtxtob1.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: drtxtob1.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: rt $ $Date: 2007-04-26 09:52:57 $
+ * last change: $Author: kz $ $Date: 2007-05-10 16:56:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -42,9 +42,7 @@
#include "scitems.hxx"
#include <svx/eeitem.hxx>
-#define ITEMID_FIELD EE_FEATURE_FIELD
-#include "eetext.hxx"
#include <svx/svxdlg.hxx>
#include <svx/brkitem.hxx>
#include <svx/hyznitem.hxx>
@@ -110,11 +108,11 @@ BOOL ScDrawTextObjectBar::ExecuteParaDlg( const SfxItemSet& rArgs,
// Muss natuerlich noch geaendert werden
// aNewAttr.Put( SvxParaDlgLimitsItem( 567 * 50, 5670) );
- aNewAttr.Put( SvxHyphenZoneItem() );
- aNewAttr.Put( SvxFmtBreakItem() );
- aNewAttr.Put( SvxFmtSplitItem() );
- aNewAttr.Put( SvxWidowsItem() );
- aNewAttr.Put( SvxOrphansItem() );
+ aNewAttr.Put( SvxHyphenZoneItem( sal_False, SID_ATTR_PARA_HYPHENZONE ) );
+ aNewAttr.Put( SvxFmtBreakItem( SVX_BREAK_NONE, SID_ATTR_PARA_PAGEBREAK ) );
+ aNewAttr.Put( SvxFmtSplitItem( sal_True, SID_ATTR_PARA_SPLIT) );
+ aNewAttr.Put( SvxWidowsItem( 0, SID_ATTR_PARA_WIDOWS) );
+ aNewAttr.Put( SvxOrphansItem( 0, SID_ATTR_PARA_ORPHANS) );
//CHINA001 ScParagraphDlg* pDlg = new ScParagraphDlg( pViewData->GetDialogParent(),
//CHINA001 &aNewAttr );