[Libreoffice-commits] core.git: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Dec 9 12:23:37 UTC 2018


 sw/source/ui/fmtui/tmpdlg.cxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 00c6b2976e5326cd94ce81ab6d750a2c2cd99cbb
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sun Dec 9 11:40:30 2018 +0100
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Dec 9 13:23:15 2018 +0100

    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 at yahoo.fr>

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());


More information about the Libreoffice-commits mailing list