libreofficekit/source/gtk/lokdocview.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 4a9ccc24b65070729720bc121cdc281fff96c302 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Mon Nov 8 14:54:54 2021 +0100 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Mon Nov 8 15:46:29 2021 +0100 libreofficekit: fix lokdocview crash on startup Regression from commit 1597cc5b3e07dd24cb4cb10b35b1e93545e4b929 (convert #defines to OUStringLiteral, 2021-07-29), the problem is that this the new path was instdir/programhandle_image_middle.png instead of the old: instdir/program/../share/libreofficekit/handle_image_middle.png This is external code, just revert back to the old code. Change-Id: I816e67091a2cd6bf07138a5166363803022bab8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124869 Reviewed-by: Miklos Vajna <vmik...@collabora.com> Tested-by: Jenkins diff --git a/libreofficekit/source/gtk/lokdocview.cxx b/libreofficekit/source/gtk/lokdocview.cxx index b0fffd490219..41b8f0cc320a 100644 --- a/libreofficekit/source/gtk/lokdocview.cxx +++ b/libreofficekit/source/gtk/lokdocview.cxx @@ -35,7 +35,7 @@ #endif // Cursor bitmaps from the installation set. -constexpr OUStringLiteral CURSOR_HANDLE_DIR = u"/../share/libreofficekit/"; +#define CURSOR_HANDLE_DIR "/../share/libreofficekit/" // Number of handles around a graphic selection. #define GRAPHIC_HANDLE_COUNT 8 // Maximum Zoom allowed