~ubuntu-branches/ubuntu/breezy/koffice/breezy

« back to all changes in this revision

Viewing changes to filters/olefilters/lib/klaola.cc

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
*/
19
19
 
20
20
#include <klaola.h>
21
 
#include <myfile.h>
 
21
#include <kdebug.h>
 
22
 
 
23
const int KLaola::s_area = 30510;
22
24
 
23
25
KLaola::KLaola(const myFile &file) {
24
26
 
53
55
 
54
56
    // current path=root dirHandle
55
57
    m_currentPath.clear();
56
 
    m_currentPath.append(m_nodeTree.getFirst()->getFirst()->node);
 
58
    if ( !m_nodeTree.isEmpty() )
 
59
        m_currentPath.append(m_nodeTree.getFirst()->getFirst()->node);
57
60
}
58
61
 
59
62
KLaola::~KLaola() {