summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2002-04-25 09:37:50 +0000
committerChristian Lippka <cl@openoffice.org>2002-04-25 09:37:50 +0000
commit83e89852e63659cb4ada2927d35bbbffa551fdb0 (patch)
tree17b41a37064e5bd37bc8169158f53b7e81f4728f /svx/source/svdraw
parent9c7048a9f208743187312d50f48310e9c9e5e3e4 (diff)
#98860# replaced the 2 boolean items with the SvxWritingModeItem
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdfppt.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdfppt.cxx b/svx/source/svdraw/svdfppt.cxx
index 59a3770bb8aa..698c59e247e6 100644
--- a/svx/source/svdraw/svdfppt.cxx
+++ b/svx/source/svdraw/svdfppt.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdfppt.cxx,v $
*
- * $Revision: 1.78 $
+ * $Revision: 1.79 $
*
- * last change: $Author: sj $ $Date: 2002-04-05 12:00:59 $
+ * last change: $Author: cl $ $Date: 2002-04-25 10:37:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -101,6 +101,8 @@
#include <bulitem.hxx>
#include "polysc3d.hxx"
#include "extrud3d.hxx"
+#include "writingmodeitem.hxx"
+
#ifndef _EEITEMID_HXX
#include "eeitemid.hxx"
#endif
@@ -1367,7 +1369,7 @@ SdrObject* SdrEscherImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, voi
}
- aSet.Put( SfxBoolItem( SDRATTR_TEXTDIRECTION_LEFT_TO_RIGHT, bVerticalText != sal_False ) );
+ aSet.Put( SvxWritingModeItem( bVerticalText ? com::sun::star::text::WritingMode_TB_RL : com::sun::star::text::WritingMode_LR_TB ) );
aSet.Put( SdrTextAutoGrowWidthItem( bAutoGrowWidth ) );
aSet.Put( SdrTextAutoGrowHeightItem( bAutoGrowHeight ) );