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

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Tue May 18 07:07:45 UTC 2021


 sw/inc/strings.hrc                  |    1 +
 sw/source/uibase/utlui/attrdesc.cxx |    3 +++
 2 files changed, 4 insertions(+)

New commits:
commit 592d7252402048691a1f3e65fa25c059c1b87e6d
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon May 17 21:08:48 2021 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue May 18 09:07:10 2021 +0200

    Related: tdf#138604 sw: advertise AT_CHAR as "to char"
    
    Change-Id: Ia657a590dfc4471e3ad54f1168a257e5f6fc1424
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115720
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

diff --git a/sw/inc/strings.hrc b/sw/inc/strings.hrc
index 237a8f91c83a..f3b47ca33077 100644
--- a/sw/inc/strings.hrc
+++ b/sw/inc/strings.hrc
@@ -1112,6 +1112,7 @@
 #define STR_FRM_MINHEIGHT                       NC_("STR_FRM_MINHEIGHT", "Min. height:")
 #define STR_FLY_AT_PARA                         NC_("STR_FLY_AT_PARA", "to paragraph")
 #define STR_FLY_AS_CHAR                         NC_("STR_FLY_AS_CHAR", "as character")
+#define STR_FLY_AT_CHAR                         NC_("STR_FLY_AT_CHAR", "to character")
 #define STR_FLY_AT_PAGE                         NC_("STR_FLY_AT_PAGE", "to page")
 #define STR_POS_X                               NC_("STR_POS_X", "X Coordinate:")
 #define STR_POS_Y                               NC_("STR_POS_Y", "Y Coordinate:")
diff --git a/sw/source/uibase/utlui/attrdesc.cxx b/sw/source/uibase/utlui/attrdesc.cxx
index 6331992935c4..e20b38787f97 100644
--- a/sw/source/uibase/utlui/attrdesc.cxx
+++ b/sw/source/uibase/utlui/attrdesc.cxx
@@ -439,6 +439,9 @@ bool SwFormatAnchor::GetPresentation
         case RndStdIds::FLY_AS_CHAR:
             pId = STR_FLY_AS_CHAR;
             break;
+        case RndStdIds::FLY_AT_CHAR:
+            pId = STR_FLY_AT_CHAR;
+            break;
         case RndStdIds::FLY_AT_PAGE:
             pId = STR_FLY_AT_PAGE;
             break;


More information about the Libreoffice-commits mailing list