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:
@@ -187,9 +187,8 @@ TextApiObject* TextApiObject::getImplementation( const css::uno::Reference< css:
|
|||||||
|
|
||||||
TextAPIEditSource::TextAPIEditSource(const TextAPIEditSource& rSource)
|
TextAPIEditSource::TextAPIEditSource(const TextAPIEditSource& rSource)
|
||||||
: SvxEditSource(*this)
|
: 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
|
SvxEditSource* TextAPIEditSource::Clone() const
|
||||||
|
Reference in New Issue
Block a user