Bug 421080

Summary: Duplicated if branches in KoTableCellStyle.cpp
Product: [Applications] krita Reporter: Rafał Mikrut <mikrutrafal>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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