diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-11-08 14:54:54 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-11-08 15:46:29 +0100 |
commit | 4a9ccc24b65070729720bc121cdc281fff96c302 (patch) | |
tree | c7f521ef11fad50116ffe660621101df9e963576 /libreofficekit | |
parent | 7e8dcf8b054cb8028f2a1256dae474c4d2ea9c4f (diff) |
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 <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'libreofficekit')
-rw-r--r-- | libreofficekit/source/gtk/lokdocview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |