sfx2/source/doc/doctempl.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 0bf72934d73fb3c52fbeee25bb63332739b94696 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sat Nov 23 13:39:36 2019 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sat Nov 23 14:26:00 2019 +0100 cppcheck: performing initialization in initialization list (sfx2/doctempl) Change-Id: I91f077fc6c3e74ea1c0470a562e3d762ab3b1439 Reviewed-on: https://gerrit.libreoffice.org/83550 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sfx2/source/doc/doctempl.cxx b/sfx2/source/doc/doctempl.cxx index 02744f627657..bf8d8587b1c2 100644 --- a/sfx2/source/doc/doctempl.cxx +++ b/sfx2/source/doc/doctempl.cxx @@ -1319,9 +1319,8 @@ const OUString& DocTempl_EntryData_Impl::GetTargetURL() RegionData_Impl::RegionData_Impl( const SfxDocTemplate_Impl* pParent, const OUString& rTitle ) + : mpParent(pParent), maTitle(rTitle) { - maTitle = rTitle; - mpParent = pParent; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits