From 4142d728f003166ebe520bfdaf672505e585b807 Mon Sep 17 00:00:00 2001 From: Tibor Nagy Date: Wed, 1 Jun 2022 16:10:42 +0200 Subject: tdf#149314 PPTX import: fix internal hyperlink in editor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hyperlinks on text weren't imported correctly if the linked slides have default slide name, resulting broken links in the editor (hyperlinks work well in slide shows without this fix, too). Change-Id: I797fa94134c1346bc83729c713e65b2a268a14c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135245 Tested-by: László Németh Reviewed-by: László Németh --- oox/inc/ooxresid.hxx | 1 + oox/inc/strings.hrc | 1 + 2 files changed, 2 insertions(+) (limited to 'oox/inc') diff --git a/oox/inc/ooxresid.hxx b/oox/inc/ooxresid.hxx index 473e13407ac3..c374b664525c 100644 --- a/oox/inc/ooxresid.hxx +++ b/oox/inc/ooxresid.hxx @@ -14,6 +14,7 @@ #include OUString OoxResId(TranslateId aId); +OUString URLResId(TranslateId aId); #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/oox/inc/strings.hrc b/oox/inc/strings.hrc index c9b4f3cf7230..cd107aa36a02 100644 --- a/oox/inc/strings.hrc +++ b/oox/inc/strings.hrc @@ -14,5 +14,6 @@ #define STR_DIAGRAM_TITLE NC_("STR_DIAGRAM_TITLE", "Chart Title") #define STR_DIAGRAM_AXISTITLE NC_("STR_DIAGRAM_AXISTITLE", "Axis Title") +#define STR_SLIDE_NAME NC_("STR_SLIDE_NAME", "Slide" ) #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ -- cgit