Revision 773082

Go back to digest for 17th February 2008

Bug Fixes in Office

Thorsten Zachmann committed changes in /trunk/koffice/plugins/textshape:

o don't delete the used style manager as it can be a shared style manager created and owned by the application
o don't create a style manager for the text shape if there is none.

This fixes crashes due to deleting the style manager of the application.

This also means that if an application wants to use a style manager it has to provide one. Otherwise no style manager is used. I think there is still some code that needs to be updated so that it can work that way also e.g KoTextShapeData::saveOdf.

File Changes

Modified 2 files
  • /trunk/koffice/plugins/textshape
  •   /Layout.cpp
  •   /TextTool.cpp
2 files changed in total