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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue May 5 07:43:05 UTC 2020


 sw/source/uibase/app/docst.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 017f90788c330d2e35a9c05a56b564d0ab4aafaf
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon May 4 21:13:27 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue May 5 09:42:30 2020 +0200

    nFamily is already set to SfxStyleFamily::Para
    
    Change-Id: Idbe36ef183148ea126e90ff14f011d403dbaa62f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93447
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sw/source/uibase/app/docst.cxx b/sw/source/uibase/app/docst.cxx
index 9b7d70ae15c7..a26e30f99d1a 100644
--- a/sw/source/uibase/app/docst.cxx
+++ b/sw/source/uibase/app/docst.cxx
@@ -366,8 +366,6 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq )
 
             if( !pArgs )
             {
-                nFamily = SfxStyleFamily::Para;
-
                 switch (nSlot)
                 {
                     case SID_STYLE_NEW_BY_EXAMPLE:


More information about the Libreoffice-commits mailing list