diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-06-06 15:41:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-06-06 21:36:20 +0200 |
commit | 3f59f4a7e667b571640572f9316216ec73aeca7d (patch) | |
tree | e3fca19897e7df2caa638bb7b294909c3f5ff32b /vcl | |
parent | b97cc798c468c8936f78453b3330806eff481828 (diff) |
add x-office-calendar to allow symbolic names
for gen map to existing sc/res/date.png
Change-Id: Id85f5df27fd93deb7d1e653ae6cac1fb471d3470
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116761
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/bitmaps.hlst | 17 | ||||
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
2 files changed, 11 insertions, 8 deletions
diff --git a/vcl/inc/bitmaps.hlst b/vcl/inc/bitmaps.hlst index 0f99c607c9ed..16daf18fef89 100644 --- a/vcl/inc/bitmaps.hlst +++ b/vcl/inc/bitmaps.hlst @@ -131,14 +131,15 @@ #define SPINNER_64_12 "vcl/res/spinner-64-12.png" //end, Throbber::getDefaultImageURLs -#define IMG_WARN "dbaccess/res/exwarning.png" -#define IMG_ERROR "dbaccess/res/exerror.png" -#define IMG_INFO "dbaccess/res/exinfo.png" -#define IMG_ADD "extensions/res/scanner/plus.png" -#define IMG_REMOVE "extensions/res/scanner/minus.png" -#define IMG_COPY "cmd/sc_copy.png" -#define IMG_PASTE "cmd/sc_paste.png" -#define IMG_MENU "sfx2/res/menu.png" +#define IMG_WARN "dbaccess/res/exwarning.png" +#define IMG_ERROR "dbaccess/res/exerror.png" +#define IMG_INFO "dbaccess/res/exinfo.png" +#define IMG_ADD "extensions/res/scanner/plus.png" +#define IMG_REMOVE "extensions/res/scanner/minus.png" +#define IMG_COPY "cmd/sc_copy.png" +#define IMG_PASTE "cmd/sc_paste.png" +#define IMG_MENU "sfx2/res/menu.png" +#define IMG_CALENDAR "sc/res/date.png" #define RID_BMP_TREENODE_COLLAPSED "res/plus.png" #define RID_BMP_TREENODE_EXPANDED "res/minus.png" diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index ef293d737f59..e80bf84df992 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -108,6 +108,8 @@ namespace return IMG_PASTE; else if (sType == u"open-menu-symbolic") return IMG_MENU; + else if (sType == u"x-office-calendar") + return IMG_CALENDAR; return OUString(); } |