~ubuntu-branches/ubuntu/gutsy/libwpd/gutsy

« back to all changes in this revision

Viewing changes to src/lib/WPXProperty.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2006-10-24 12:14:42 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20061024121442-z8c0itk65vgwmu3g
Tags: 0.8.7-4
update debian/copyright, mmh... 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* libwpd
2
 
 * Copyright (C) 2004 William Lachance (william.lachance@sympatico.ca)
 
2
 * Copyright (C) 2004 William Lachance (wrlach@gmail.com)
3
3
 * Copyright (C) 2005 Net Integration Technologies (http://www.net-itech.com)
4
4
 *
5
5
 * This library is free software; you can redistribute it and/or
168
168
 
169
169
WPXString WPXBoolProperty::getStr() const 
170
170
171
 
        WPXString str; 
172
 
 
173
171
        if (getInt())
174
 
                str.sprintf("true"); 
 
172
                return "true"; 
175
173
        else
176
 
                str.sprintf("false"); 
177
 
 
178
 
        return str; 
 
174
                return "false"; 
179
175
}
180
176
 
181
177
WPXProperty * WPXBoolProperty::clone() const