summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-27 16:29:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-27 20:12:58 +0200
commitde9c2b37961b5f7ddeed2a7597b08458b9760932 (patch)
treeb09c759106711590ef48515af648b6fc36869c25 /vcl/source/window
parent0c21f6600d5e86d4d408e4a59680e8954232db24 (diff)
map gtk-new symbol to SymbolType::PLUS
Change-Id: Id2fdbc9873377871c929b10e8152151bec02812c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99516 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/builder.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index caec0ae3b57e..6bbfef0d9574 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -132,6 +132,8 @@ namespace
eRet = SymbolType::HELP;
else if (sType == "gtk-close")
eRet = SymbolType::CLOSE;
+ else if (sType == "gtk-new")
+ eRet = SymbolType::PLUS;
else if (!mapStockToImageResource(sType).isEmpty())
eRet = SymbolType::IMAGE;
return eRet;