summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-11-23 13:39:36 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-11-23 14:26:00 +0100
commit0bf72934d73fb3c52fbeee25bb63332739b94696 (patch)
tree2421609c03c23ecfca0c783969389561b8407e7b
parent1347dc450b13cac8643db3ccb2670838dc82d138 (diff)
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@yahoo.fr>
-rw-r--r--sfx2/source/doc/doctempl.cxx3
1 files changed, 1 insertions, 2 deletions
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;
}