cppcheck: useInitializationList

Change-Id: I85488439b06fddd73074757f1149dec5d988099d
Reviewed-on: https://gerrit.libreoffice.org/22161
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara
2016-02-05 15:09:29 +00:00
parent 42294e47bb
commit 512dd45652

View File

@@ -185,11 +185,10 @@ TextApiObject* TextApiObject::getImplementation( const css::uno::Reference< css:
return pImpl;
}
TextAPIEditSource::TextAPIEditSource( const TextAPIEditSource& rSource )
: SvxEditSource( *this )
TextAPIEditSource::TextAPIEditSource(const TextAPIEditSource& rSource)
: SvxEditSource(*this)
, m_xImpl(rSource.m_xImpl) // shallow copy; uses internal refcounting
{
// shallow copy; uses internal refcounting
m_xImpl = rSource.m_xImpl;
}
SvxEditSource* TextAPIEditSource::Clone() const