vcl/source/image/ImplImage.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit cf678e2ae6ffe04cbb8ba615aed60c0f82eeb5ce
Author: Noel Grandin <[email protected]>
AuthorDate: Tue Oct 14 10:47:12 2025 +0200
Commit: Noel Grandin <[email protected]>
CommitDate: Tue Oct 14 14:25:17 2025 +0200
no need to SAL_WARN about this twice
the call to loadStockAtScale will already warn
Change-Id: I3e8138b0018f5fea02601d185f9bacfd76bbe8d6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192375
Tested-by: Jenkins
Reviewed-by: Noel Grandin <[email protected]>
diff --git a/vcl/source/image/ImplImage.cxx b/vcl/source/image/ImplImage.cxx
index 3ef3ca668eaf..50061f46a2a1 100644
--- a/vcl/source/image/ImplImage.cxx
+++ b/vcl/source/image/ImplImage.cxx
@@ -123,8 +123,6 @@ Size ImplImage::getSizePixel()
maSizePixel = maBitmap.GetSizePixel();
aRet = maSizePixel;
}
- else
- SAL_WARN_IF(!bOptional, "vcl", "Failed to load stock icon " <<
maStockName);
}
return aRet;
}