vcl/source/window/builder.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 1449f862606abb57fd7dffdf257ce3895b120a02 Author: Tor Lillqvist <[email protected]> Date: Thu Nov 6 11:59:22 2014 +0200 Be more specific in warning Change-Id: I96d5dc1267af714e78e431581592e75f0bff73f4 diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 68f5c9d..9431819 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -293,7 +293,8 @@ VclBuilder::VclBuilder(vcl::Window *pParent, const OUString& sUIDir, const OUStr { NumericFormatter *pTarget = dynamic_cast<NumericFormatter*>(get<vcl::Window>(aI->m_sID)); const Adjustment *pAdjustment = get_adjustment_by_name(aI->m_sValue); - SAL_WARN_IF(!pTarget || !pAdjustment, "vcl", "missing elements of spinbutton/adjustment"); + SAL_WARN_IF(!pTarget, "vcl", "missing NumericFormatter element of spinbutton/adjustment"); + SAL_WARN_IF(!pAdjustment, "vcl", "missing Adjustment element of spinbutton/adjustment"); if (pTarget && pAdjustment) mungeAdjustment(*pTarget, *pAdjustment); } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
