Bug 421080 - Duplicated if branches in KoTableCellStyle.cpp
Summary: Duplicated if branches in KoTableCellStyle.cpp
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-05 20:25 UTC by Rafał Mikrut
Modified: 2020-05-06 08:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mikrut 2020-05-05 20:25:43 UTC
```
    }

    if (styleStack.hasProperty(KoXmlNS::style, "repeat-content")) {
        setRepeatContent(styleStack.property(KoXmlNS::style, "repeat-content") == "true");
    }

    if (styleStack.hasProperty(KoXmlNS::style, "repeat-content")) {
        setRepeatContent(styleStack.property(KoXmlNS::style, "repeat-content") == "true");
    }

```
https://invent.kde.org/kde/krita/-/blob/master/plugins/flake/textshape/kotext/styles/KoTableCellStyle.cpp#L675-681
Comment 1 Halla Rempt 2020-05-06 08:12:11 UTC
Git commit 423c474205c0091b127aa90340b4c5e29f072e92 by Boudewijn Rempt.
Committed on 06/05/2020 at 08:08.
Pushed by rempt into branch 'krita/4.3'.

Remove duplicated statement

M  +0    -4    plugins/flake/textshape/kotext/styles/KoTableCellStyle.cpp

https://invent.kde.org/kde/krita/commit/423c474205c0091b127aa90340b4c5e29f072e92
Comment 2 Halla Rempt 2020-05-06 08:12:41 UTC
Git commit 052f2f4927d21bc8004ca4d9188b5fb98d96a26f by Boudewijn Rempt.
Committed on 06/05/2020 at 08:12.
Pushed by rempt into branch 'master'.

Remove duplicated statement
(cherry picked from commit 423c474205c0091b127aa90340b4c5e29f072e92)

M  +0    -4    plugins/flake/textshape/kotext/styles/KoTableCellStyle.cpp

https://invent.kde.org/kde/krita/commit/052f2f4927d21bc8004ca4d9188b5fb98d96a26f