[Libreoffice-commits] core.git: sfx2/source

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Sat Nov 23 13:26:54 UTC 2019


 sfx2/source/doc/doctempl.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 0bf72934d73fb3c52fbeee25bb63332739b94696
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Sat Nov 23 13:39:36 2019 +0100
Commit:     Julien Nabet <serval2412 at 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 <serval2412 at 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;
 }
 
 


More information about the Libreoffice-commits mailing list