Index: actionmanager.cpp
===================================================================
RCS file: /cvs/Scribus/scribus/Attic/actionmanager.cpp,v
retrieving revision 1.1.2.2
diff -r1.1.2.2 actionmanager.cpp
477a478
> 	scrActions->insert("extrasDeHyphenateText", new ScrAction(tr("&Dehyphenate Text"), QKeySequence(), ScApp, "extrasDeHyphenateText"));
Index: hyphenator.cpp
===================================================================
RCS file: /cvs/Scribus/scribus/hyphenator.cpp,v
retrieving revision 1.15.2.9
diff -r1.15.2.9 hyphenator.cpp
374a375,409
> 
> /*!
> \fn void Hyphenator::slotDeHyphenate(PageItem* it)
>  \brief Remove all Hyphenations from the whole text frame or its selected parts.
>  \date 2005-04-05
>  \author Thomas R. Koll, <tomk32@tomk32.de>
>  \param it references \see PageItem - text frame.
>  \retval None
>  */
> void Hyphenator::slotDeHyphenate(PageItem* it)
> {
>   doc->DoDrawing = false;
>   uint c;
>   if ( it->HasSel )
>     {
>       for (c=0; c < it->itemText.count(); c++ ) {
> 	if (it->itemText.at(c)->cselect)
> 	  it->itemText.at(c)->cstyle &= 127;
>       }
>     }
>   else
>     {
>       // go to first frame
>       while (it->BackBox)
> 	it = it->BackBox; 
>       do {
> 	for (c=0; c < it->itemText.count(); c++ )
> 	  it->itemText.at(c)->cstyle &= 127;
>       } while (it->NextBox);
>     }
>   qApp->setOverrideCursor(QCursor(ArrowCursor), true);
>   doc->DoDrawing = true;
> 
> }
> 
Index: hyphenator.h
===================================================================
RCS file: /cvs/Scribus/scribus/hyphenator.h,v
retrieving revision 1.6
diff -r1.6 hyphenator.h
49a50
> 	void slotDeHyphenate(PageItem *it);
Index: scribus.cpp
===================================================================
RCS file: /cvs/Scribus/scribus/scribus.cpp,v
retrieving revision 1.228.2.274
diff -r1.228.2.274 scribus.cpp
1243a1244
> 	scrMenuMgr->addMenuItem(scrActions["extrasDeHyphenateText"], "Extras");
9615a9617,9630
> void ScribusApp::doDeHyphenate()
> {
>         if (HaveDoc)
>         {
>                 if (view->SelItem.count() != 0)
>                 {
>                         PageItem *b = view->SelItem.at(0);
>                         if (doc->docHyphenator->Language != b->Language)
>                                 doc->docHyphenator->slotNewDict(b->Language);
>                         doc->docHyphenator->slotDeHyphenate(b);
>                 }
>         }
> }
> 
