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

shivammore (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 23 13:04:48 UTC 2020


 sw/inc/poolfmt.hxx                              |    4 ++--
 sw/source/core/doc/DocumentStylePoolManager.cxx |    4 ++--
 sw/source/filter/ww8/writerwordglue.cxx         |    2 +-
 sw/source/filter/ww8/wrtw8sty.cxx               |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 71ae87c0cd9f27504c72cc26c339c2a0eb527dde
Author:     shivammore <shivamkm1692000 at gmail.com>
AuthorDate: Wed Mar 18 11:16:45 2020 +0530
Commit:     Michael Stahl <michael.stahl at cib.de>
CommitDate: Mon Mar 23 14:04:14 2020 +0100

    tdf#39674 Translate some German variable names
    Words translated
    TITEL->TITLE
    SUBTITEL->SUBTITLE
    
    Change-Id: If26f3b53b0ee960522515a640bc0367df257bf57
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90679
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Michael Stahl <michael.stahl at cib.de>

diff --git a/sw/inc/poolfmt.hxx b/sw/inc/poolfmt.hxx
index 5fb0ace5e941..f23589032b9b 100644
--- a/sw/inc/poolfmt.hxx
+++ b/sw/inc/poolfmt.hxx
@@ -420,8 +420,8 @@ RES_POOLCOLL_REGISTER_END,
 /// Group chapter / document.
 RES_POOLCOLL_DOC_BEGIN = COLL_DOC_BITS,
 
-RES_POOLCOLL_DOC_TITEL = RES_POOLCOLL_DOC_BEGIN,        ///< Doc. title.
-RES_POOLCOLL_DOC_SUBTITEL,                              ///< Doc. subtitle.
+RES_POOLCOLL_DOC_TITLE = RES_POOLCOLL_DOC_BEGIN,        ///< Doc. title.
+RES_POOLCOLL_DOC_SUBTITLE,                              ///< Doc. subtitle.
 RES_POOLCOLL_DOC_APPENDIX,                              ///< Doc. appendix.
 
 RES_POOLCOLL_DOC_END,
diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx
index db49e53506da..1dc4c4e9ea9d 100644
--- a/sw/source/core/doc/DocumentStylePoolManager.cxx
+++ b/sw/source/core/doc/DocumentStylePoolManager.cxx
@@ -1293,7 +1293,7 @@ SwTextFormatColl* DocumentStylePoolManager::GetTextCollFromPool( sal_uInt16 nId,
                             0, SwNumRule::GetBullIndent( 4 ), 0, PT_6 );
             break;
 
-        case RES_POOLCOLL_DOC_TITEL:            // Document Title
+        case RES_POOLCOLL_DOC_TITLE:            // Document Title
             {
                 SetAllScriptItem( aSet, SvxWeightItem( WEIGHT_BOLD, RES_CHRATR_WEIGHT ) );
                 SetAllScriptItem( aSet, SvxFontHeightItem( PT_28, 100, RES_CHRATR_FONTSIZE ) );
@@ -1304,7 +1304,7 @@ SwTextFormatColl* DocumentStylePoolManager::GetTextCollFromPool( sal_uInt16 nId,
             }
             break;
 
-        case RES_POOLCOLL_DOC_SUBTITEL:         // Document subtitle
+        case RES_POOLCOLL_DOC_SUBTITLE:         // Document subtitle
             {
                 SvxULSpaceItem aUL( PT_3, PT_6, RES_UL_SPACE );
                 aSet.Put( aUL );
diff --git a/sw/source/filter/ww8/writerwordglue.cxx b/sw/source/filter/ww8/writerwordglue.cxx
index 8893386a6d1c..8ed09d51099b 100644
--- a/sw/source/filter/ww8/writerwordglue.cxx
+++ b/sw/source/filter/ww8/writerwordglue.cxx
@@ -151,7 +151,7 @@ namespace myImplHelpers
             RES_NONE, RES_NONE, RES_POOLCOLL_HEADLINE_BASE, RES_NONE,
             RES_POOLCOLL_SIGNATURE, RES_NONE, RES_POOLCOLL_TEXT,
             RES_POOLCOLL_TEXT_MOVE, RES_NONE, RES_NONE, RES_NONE, RES_NONE,
-            RES_NONE, RES_NONE, RES_POOLCOLL_DOC_SUBTITEL
+            RES_NONE, RES_NONE, RES_POOLCOLL_DOC_SUBTITLE
         };
 
         OSL_ENSURE(SAL_N_ELEMENTS(aArr) == 75, "Style Array has false size");
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx
index 9725eac43ae9..e2c4e5808c2e 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -251,7 +251,7 @@ sal_uInt16 MSWordStyles::GetWWId( const SwFormat& rFormat )
         case RES_POOLCOLL_NUM_LEVEL3:       nRet = 59;  break;
         case RES_POOLCOLL_NUM_LEVEL4:       nRet = 60;  break;
         case RES_POOLCOLL_NUM_LEVEL5:       nRet = 61;  break;
-        case RES_POOLCOLL_DOC_TITEL:        nRet = 62;  break;
+        case RES_POOLCOLL_DOC_TITLE:        nRet = 62;  break;
         case RES_POOLCOLL_DOC_APPENDIX:     nRet = 63;  break;
         case RES_POOLCOLL_SIGNATURE:        nRet = 64;  break;
         case RES_POOLCOLL_TEXT:             nRet = 66;  break;
@@ -261,7 +261,7 @@ sal_uInt16 MSWordStyles::GetWWId( const SwFormat& rFormat )
         case RES_POOLCOLL_BULLET_NONUM3:    nRet = 70;  break;
         case RES_POOLCOLL_BULLET_NONUM4:    nRet = 71;  break;
         case RES_POOLCOLL_BULLET_NONUM5:    nRet = 72;  break;
-        case RES_POOLCOLL_DOC_SUBTITEL:     nRet = 74;  break;
+        case RES_POOLCOLL_DOC_SUBTITLE:     nRet = 74;  break;
         case RES_POOLCOLL_GREETING:         nRet = 75;  break;
         case RES_POOLCOLL_TEXT_IDENT:       nRet = 77;  break;
 


More information about the Libreoffice-commits mailing list