Kaydet (Commit) f62cb42d authored tarafından Julien Nabet's avatar Julien Nabet

cppcheck: fix reassign

Change-Id: Ic1f02c6734cbb0ac4846f0003f70091d5d5b4315
üst e6edfb63
......@@ -488,10 +488,9 @@ namespace
{
sal_Bool lcl_queryContent(const OUString& _sName,Reference< XNameContainer >& _xNameContainer,Any& _rRet,OUString& _sSimpleName)
{
sal_Bool bRet = sal_False;
sal_Int32 nIndex = 0;
OUString sName = _sName.getToken(0,'/',nIndex);
bRet = _xNameContainer->hasByName(sName);
sal_Bool bRet = _xNameContainer->hasByName(sName);
if ( bRet )
{
_rRet = _xNameContainer->getByName(_sSimpleName = sName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment