summaryrefslogtreecommitdiff
path: root/include/vcl/notebookbar.hxx
diff options
context:
space:
mode:
authorSumit Chauhan <sumitcn25@gmail.com>2019-05-15 00:57:09 +0530
committerSzymon Kłos <szymon.klos@collabora.com>2019-06-04 09:48:41 +0200
commit889a4fed08aecfd45e5706af27510e40932f2732 (patch)
tree385f5c3cc7c41a0a0e7eb00743b6863f8866b024 /include/vcl/notebookbar.hxx
parent79927a934b8a27bd4dee7a263171981e6ca22f8a (diff)
Rendering notebookbar*.ui file from user/share directory
This patch will get the modified customized notebookbar*.ui files from user directory(if present) otherwise the files will be rendered from default shared directory. Change-Id: I9393083bc0429659039c8dd5c10541ffa6661bf7 Reviewed-on: https://gerrit.libreoffice.org/72313 Tested-by: Jenkins Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'include/vcl/notebookbar.hxx')
-rw-r--r--include/vcl/notebookbar.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/notebookbar.hxx b/include/vcl/notebookbar.hxx
index b2e9b8cf9f28..5ca3798587c4 100644
--- a/include/vcl/notebookbar.hxx
+++ b/include/vcl/notebookbar.hxx
@@ -13,6 +13,7 @@
#include <vcl/builder.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/settings.hxx>
+#include <osl/file.hxx>
#include <vector>
namespace com { namespace sun { namespace star { namespace ui { class XContextChangeEventListener; } } } }
@@ -57,6 +58,8 @@ private:
void UpdateDefaultSettings();
void UpdatePersonaSettings();
+ static OUString getCustomizedUIRootDir();
+ static bool doesFileExist(const OUString& sUIDir, const OUString& sUIFile);
};