From 00c6b2976e5326cd94ce81ab6d750a2c2cd99cbb Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 9 Dec 2018 11:40:30 +0100 Subject: 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 --- sw/source/ui/fmtui/tmpdlg.cxx | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sw/source/ui/fmtui') 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(rPage).SetFormatUsed( true, false ); } - else if (rId == "columns") - { - if( nType == SfxStyleFamily::Frame ) - static_cast(rPage).SetFrameMode(true); - static_cast(rPage).SetFormatUsed( true ); - } else if (rId == "macros") { SfxAllItemSet aNewSet(*aSet.GetPool()); -- cgit v1.2.3