~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to libs/flake/commands/KoPathBreakAtPointCommand.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    for (; it != sortedPointDataList.constEnd(); ++it) {
42
42
        KoPathShape * pathShape = it->pathShape;
43
43
        KoPathPoint * point = pathShape->pointByIndex(it->pointIndex);
44
 
        if( ! point )
 
44
        if(! point)
45
45
            continue;
46
46
 
47
47
        // check if subpath is closed and the point is start or end point of the subpath
48
 
        if( ! pathShape->isClosedSubpath( it->pointIndex.first ) ) {
49
 
            if( it->pointIndex.second == 0
50
 
                || it->pointIndex.second == pathShape->subpathPointCount(it->pointIndex.first) ) {
 
48
        if(! pathShape->isClosedSubpath(it->pointIndex.first)) {
 
49
            if(it->pointIndex.second == 0
 
50
                || it->pointIndex.second == pathShape->subpathPointCount(it->pointIndex.first)) {
51
51
                continue;
52
52
            }
53
53
        }