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:
@@ -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
|
||||
|
Reference in New Issue
Block a user