summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-10-08 09:18:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-10-08 14:48:04 +0200
commitbc43f0e8643abdba19207c3c6f40d9439e971c80 (patch)
treeef7fbb48139aa37609e68ce6817d15eb5176ac78 /vcl
parentec20aee719aef1ff6fec6e09685dafcfd28fb2a7 (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.cxx2
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);
}