diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-12-09 11:40:30 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-12-09 13:23:15 +0100 |
commit | 00c6b2976e5326cd94ce81ab6d750a2c2cd99cbb (patch) | |
tree | 700e23e84f666af17216fcfa5a7ce86e7019b3a2 /sw/source | |
parent | 2a81eee109f1bb55538e3897e382f738dab644d8 (diff) |
cppcheck: multicondition "columns" in sw/tmpdlg
weld writer page style dialog and SvxBorderBackgroundDlg
writer, format page is complete
a2304f62e963b413b7575bedfb8d34e5f2d3ea58
+
SwTemplateDlg is now unused
2fc2f235b94de9f70a28aee90564745cda313489
Change-Id: I67c3ed5b2724ac7d8dacc42ad6eabf4ec68739a8
Reviewed-on: https://gerrit.libreoffice.org/64836
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index 262115338bf9..97c0acbe8396 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -518,12 +518,6 @@ void SwTemplateDlgController::PageCreated(const OString& rId, SfxTabPage &rPage { static_cast<SwWrapTabPage&>(rPage).SetFormatUsed( true, false ); } - else if (rId == "columns") - { - if( nType == SfxStyleFamily::Frame ) - static_cast<SwColumnPage&>(rPage).SetFrameMode(true); - static_cast<SwColumnPage&>(rPage).SetFormatUsed( true ); - } else if (rId == "macros") { SfxAllItemSet aNewSet(*aSet.GetPool()); |