diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-08 09:18:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-10-08 14:48:04 +0200 |
commit | bc43f0e8643abdba19207c3c6f40d9439e971c80 (patch) | |
tree | ef7fbb48139aa37609e68ce6817d15eb5176ac78 /vcl | |
parent | ec20aee719aef1ff6fec6e09685dafcfd28fb2a7 (diff) |
add 'destructive-action' to the yes of delete header/footer messageboxes
Change-Id: If4d22caac6d1c6ce12b22e0f3d4395f349539e36
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123254
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 45237e03fb83..8d927e0edd1c 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -3870,7 +3870,7 @@ std::vector<vcl::EnumContext::Context> VclBuilder::handleStyle(xmlreader::XmlRea OUString aPriority2(aPriority.getStr(), aPriority.getLength(), RTL_TEXTENCODING_UTF8); nPriority = aPriority2.toInt32(); } - else if (classStyle != "small-button") + else if (classStyle != "small-button" && classStyle != "destructive-action") { SAL_WARN("vcl.builder", "unknown class: " << classStyle); } |