summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-01-12 14:28:04 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2017-01-18 08:40:23 +0100
commitb88c2165f2a553d944a99ce78ccf867531221f7e (patch)
tree67d265911ed74f56524116499d1f39a06dfac060
parentbd1ac6d7aca2fa472e5d1a552671bff29b88dd59 (diff)
Prevent warning b/c of unreachable code
Change-Id: If18350314600132b2663e99b85abe3684585e6cf
-rw-r--r--vcl/source/window/builder.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index dba80c0d5bad..2d71eb80050b 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1764,16 +1764,16 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
}
}
}
- SAL_WARN_IF(!xWindow, "vcl.layout", "probably need to implement " << name.getStr() << " or add a make" << name.getStr() << " function");
+ //SAL_WARN_IF(!xWindow, "vcl.layout", "probably need to implement " << name.getStr() << " or add a make" << name.getStr() << " function");
if (xWindow)
{
xWindow->SetHelpId(m_sHelpRoot + id);
- SAL_INFO("vcl.layout", "for " << name.getStr() <<
+ /*SAL_INFO("vcl.layout", "for " << name.getStr() <<
", created " << xWindow.get() << " child of " <<
pParent << "(" << xWindow->mpWindowImpl->mpParent.get() << "/" <<
xWindow->mpWindowImpl->mpRealParent.get() << "/" <<
xWindow->mpWindowImpl->mpBorderWindow.get() << ") with helpid " <<
- xWindow->GetHelpId().getStr());
+ xWindow->GetHelpId().getStr());*/
m_aChildren.push_back(WinAndId(id, xWindow, bVertical));
}
return xWindow;