~ubuntu-branches/ubuntu/lucid/libwpd/lucid

« back to all changes in this revision

Viewing changes to src/lib/WP5Listener.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2007-01-11 15:15:57 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070111151557-rn1kysabqbccx3as
Tags: 0.8.8-2
run make check for stream check; build-depend on libcppunit-dev 

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include "WP5FileStructure.h"
29
29
#include "WPXFileStructure.h"
30
30
#include "libwpd_internal.h"
 
31
#include "WP5PrefixData.h"
31
32
 
32
33
WP5Listener::WP5Listener() :
33
 
        m_prefixData(NULL)
 
34
        m_prefixData(0)
34
35
{
35
36
}
36
37
 
39
40
        if (m_prefixData)
40
41
                return m_prefixData->getGeneralPacketData(type); 
41
42
        else
42
 
                return NULL;
 
43
                return 0;
43
44
}