summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Jacobi <sj@openoffice.org>2008-10-29 11:01:59 +0000
committerSven Jacobi <sj@openoffice.org>2008-10-29 11:01:59 +0000
commit027081abbcf610e9e3cf77a6bd5f0b1a97c4e4e4 (patch)
tree915b48629667bdb5cc7589b0fbd9b8b366d847aa
parent93034d6e12651dd27e6a4ce06dee3fd75416b524 (diff)
#i93996# fixed word wrapping problem
-rw-r--r--xmloff/source/draw/sdpropls.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx
index 0aa525be8a..a687085dac 100644
--- a/xmloff/source/draw/sdpropls.cxx
+++ b/xmloff/source/draw/sdpropls.cxx
@@ -48,6 +48,7 @@
#include <com/sun/star/text/WritingMode.hpp>
#include <xmloff/EnumPropertyHdl.hxx>
#include <xmloff/NamedBoolPropertyHdl.hxx>
+#include <xmloff/WordWrapPropertyHdl.hxx>
#include "numithdl.hxx"
#include "XMLBitmapRepeatOffsetPropertyHandler.hxx"
#include "XMLFillBitmapSizePropertyHandler.hxx"
@@ -1131,7 +1132,7 @@ const XMLPropertyHandler* XMLSdPropHdlFactory::GetPropertyHandler( sal_Int32 nTy
pHdl = new XMLNamedBoolPropertyHdl( GetXMLToken(XML_FORWARD), GetXMLToken(XML_REVERSE) );
break;
case XML_TYPE_WRAP_OPTION:
- pHdl = new XMLNamedBoolPropertyHdl( GetXMLToken( XML_WRAP ), GetXMLToken( XML_NO_WRAP ) );
+ pHdl = new XMLWordWrapPropertyHdl( mpImport );
break;
case XML_SD_TYPE_MOVE_PROTECT: