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

Heiko Tietze (via logerrit) logerrit at kemper.freedesktop.org
Wed Aug 14 08:00:04 UTC 2019


 sw/source/core/doc/poolfmt.cxx |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 744f70386727c78a19bd7c1de7425392b98783c7
Author:     Heiko Tietze <tietze.heiko at gmail.com>
AuthorDate: Tue Aug 13 11:48:22 2019 +0200
Commit:     Heiko Tietze <heiko.tietze at documentfoundation.org>
CommitDate: Wed Aug 14 09:59:14 2019 +0200

    Resolves tdf#126257 - Writer styles hierarchical organization
    
    Index styles moved below Index Heading
    
    Change-Id: I178dcb668abe225a25ce35108b1bba4a73ffa960
    Reviewed-on: https://gerrit.libreoffice.org/77394
    Tested-by: Jenkins
    Reviewed-by: Heiko Tietze <heiko.tietze at documentfoundation.org>

diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 811099a7cc99..25e14f832019 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -282,14 +282,16 @@ sal_uInt16 GetPoolParent( sal_uInt16 nId )
             case RES_POOLCOLL_REGISTER_BASE:
                     nRet = RES_POOLCOLL_STANDARD;               break;
 
+            case RES_POOLCOLL_TOX_IDXH:
+                    nRet = RES_POOLCOLL_HEADLINE_BASE;          break;
+
             case RES_POOLCOLL_TOX_USERH:
             case RES_POOLCOLL_TOX_CNTNTH:
-            case RES_POOLCOLL_TOX_IDXH:
             case RES_POOLCOLL_TOX_ILLUSH:
             case RES_POOLCOLL_TOX_OBJECTH:
             case RES_POOLCOLL_TOX_TABLESH:
             case RES_POOLCOLL_TOX_AUTHORITIESH:
-                    nRet = RES_POOLCOLL_HEADLINE_BASE;          break;
+                    nRet = RES_POOLCOLL_TOX_IDXH;               break;
 
             default:
                     nRet = RES_POOLCOLL_REGISTER_BASE;          break;


More information about the Libreoffice-commits mailing list