summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/NetChartType.cxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-07-11 22:02:46 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-13 07:26:45 +0000
commit5ce65d04fd3a6ca69be72e8415b74470c230f2e5 (patch)
tree4bcd65e53c712b3dc4d7599453c385ba0304ba88 /chart2/source/model/template/NetChartType.cxx
parent22023b104cd1e024aecc28a6161bea519a584407 (diff)
chart2: cleanup local var assignments
and remove comments about a gcc 3.3 workaround. some comments went obsolete with other commits like 367105e0248c7b80b60b2554d04f5f248b4259b3 Change-Id: I15fff464e2f71a6ade29c141bb17216770f54ced Reviewed-on: https://gerrit.libreoffice.org/27127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/model/template/NetChartType.cxx')
-rw-r--r--chart2/source/model/template/NetChartType.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/model/template/NetChartType.cxx b/chart2/source/model/template/NetChartType.cxx
index c1ca343530d5..42ede75df302 100644
--- a/chart2/source/model/template/NetChartType.cxx
+++ b/chart2/source/model/template/NetChartType.cxx
@@ -102,9 +102,7 @@ struct StaticNetChartTypeInfoHelper_Initializer
{
::cppu::OPropertyArrayHelper* operator()()
{
- // using assignment for broken gcc 3.3
- static ::cppu::OPropertyArrayHelper aPropHelper = ::cppu::OPropertyArrayHelper(
- Sequence< beans::Property >() );
+ static ::cppu::OPropertyArrayHelper aPropHelper(Sequence< beans::Property >{});
return &aPropHelper;
}
};