summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2022-01-19 11:12:27 +0200
committerTor Lillqvist <tml@collabora.com>2022-01-19 11:39:59 +0100
commit78a2a55d87a1c9d65953332f3226e7a64921ce78 (patch)
tree65b578c8c9075d34572c37081d13054ebbe7f978 /vcl/source
parent06aaa1c81b2e927f575abd4d2a6e0d134f459aa5 (diff)
Fix typo in SAL_WARN() call
Change-Id: Idce259d582101901f6a9abf553c58039d05c694f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128593 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/layout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index cb89f0f5fee2..774f7990b95e 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -645,7 +645,7 @@ void VclButtonBox::setAllocation(const Size &rAllocation)
tools::Long nExtraSpace = nAllocPrimaryDimension - nMainPrimaryDimension;
if (nExtraSpace < 0)
{
- SAL_WARN("vcl.layout", "nExtra space went negative, setting to zero");
+ SAL_WARN("vcl.layout", "nExtraSpace went negative, setting to zero");
nExtraSpace = 0;
}
nExtraSpace += (aReq.m_aMainGroupDimensions.size()-1) * nSpacing;