summaryrefslogtreecommitdiff
path: root/vcl/source/window
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-09-03 19:42:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-09-04 09:43:38 +0200
commit45c2e2edd5589ab355cfc2790a97b650b81861df (patch)
tree3bfaa29fdd39e68d7d3cec98525fbcde26ef0717 /vcl/source/window
parentd362c0625fa92e0f4d4472f197bd1d68fba522f1 (diff)
don't warn about perfectly ok small-button style
Change-Id: I60bd07d9ff9100a6a20b3c0cb65c9b9d33767029 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102021 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, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index d54ec1b477a3..e182fc265b66 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -3945,7 +3945,7 @@ std::vector<vcl::EnumContext::Context> VclBuilder::handleStyle(xmlreader::XmlRea
OUString aPriority2(aPriority.getStr(), aPriority.getLength(), RTL_TEXTENCODING_UTF8);
nPriority = aPriority2.toInt32();
}
- else
+ else if (classStyle != "small-button")
{
SAL_WARN("vcl.builder", "unknown class: " << classStyle);
}