summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/output3.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2001-05-21 17:19:05 +0000
committerNiklas Nebel <nn@openoffice.org>2001-05-21 17:19:05 +0000
commit3af262b542d4de160404c6ac7188bb84773f8c5d (patch)
tree27fd452c187d1a19ccd6201df33510ed5ed4fcc5 /sc/source/ui/view/output3.cxx
parentf7f2c987723ff26f7f5f0ee16deab0b891f7b176 (diff)
#44993# hyphenation in drawing objects
Diffstat (limited to 'sc/source/ui/view/output3.cxx')
-rw-r--r--sc/source/ui/view/output3.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sc/source/ui/view/output3.cxx b/sc/source/ui/view/output3.cxx
index a648d028b4f5..4245d680bf78 100644
--- a/sc/source/ui/view/output3.cxx
+++ b/sc/source/ui/view/output3.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: output3.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: nn $ $Date: 2001-05-14 08:43:38 $
+ * last change: $Author: nn $ $Date: 2001-05-21 18:17:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -67,6 +67,7 @@
// INCLUDE ---------------------------------------------------------------
+#include <svx/eeitem.hxx>
#include <svx/svdograf.hxx>
#include <svx/svdoole2.hxx>
#include <svx/svdpage.hxx>
@@ -292,6 +293,10 @@ void ScOutputData::DrawSelectiveObjects( USHORT nLayer, const Rectangle& rRect,
if (bDraw)
{
+ // set model's hyphenator on demand
+ if ( ((const SfxBoolItem&)pObject->GetItemSet().Get(EE_PARA_HYPHENATE)).GetValue() )
+ pModel->UseHyphenator();
+
if (pObject == pEditObj)
{
aInfoRec.nPaintMode|=SDRPAINTMODE_TEXTEDIT;