~ubuntu-branches/ubuntu/saucy/kig/saucy

« back to all changes in this revision

Viewing changes to filters/native-filter.cc

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, Jonathan Riddell, Harald Sitter
  • Date: 2012-11-19 15:58:49 UTC
  • mfrom: (1.1.16)
  • Revision ID: package-import@ubuntu.com-20121119155849-l709sjsbjijx422a
Tags: 4:4.9.80-0ubuntu1
[ Jonathan Riddell ]
* New upstream beta release

[ Harald Sitter ]
* Add libboost-python-dev as build dep to enable python script support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
  {
194
194
    notSupported( file, i18n( "This file was created by Kig version \"%1\", "
195
195
                              "which this version cannot open.", version ) );
196
 
    return false;
 
196
    return 0;
197
197
  }
198
198
  else if ( major == 0 && minor <= 3 )
199
199
  {
204
204
                              "version (0.4 to 0.6),\n"
205
205
                              "and then save it again, which will save it in the "
206
206
                              "new format.", version ) );
207
 
    return false;
 
207
    return 0;
208
208
  }
209
209
  else if ( major == 0 && minor <= 6 )
210
210
    return load04( file, main );
300
300
          if ( ( !imp ) && !error.isEmpty() )
301
301
          {
302
302
            parseError( file, error );
303
 
            return false;
 
303
            return 0;
304
304
          }
305
305
          o = new ObjectConstCalcer( imp );
306
306
        }
338
338
                                      "Perhaps you have compiled Kig without support "
339
339
                                      "for this object type,"
340
340
                                      "or perhaps you are using an older Kig version.", tmp ) );
341
 
            return false;
 
341
            return 0;
342
342
          };
343
343
 
344
344
          std::vector<ObjectCalcer*> parents;
463
463
          if ( ( !imp ) && !error.isEmpty() )
464
464
          {
465
465
            parseError( file, error );
466
 
            return false;
 
466
            return 0;
467
467
          }
468
468
          o = new ObjectConstCalcer( imp );
469
469
        }
531
531
                                        "Perhaps you have compiled Kig without support "
532
532
                                        "for this object type,"
533
533
                                        "or perhaps you are using an older Kig version.", tmp ) );
534
 
              return false;
 
534
              return 0;
535
535
            }
536
536
          }
537
537