summaryrefslogtreecommitdiff
path: root/chart2/source/controller/drawinglayer
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 10:30:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 14:38:52 +0200
commitc289c25523496f58b81e061cea82757c99e99957 (patch)
treef85f43251ddfce0ea6aa23f46729139c04497b2c /chart2/source/controller/drawinglayer
parent07e87211c2b2e98fd176fef2018723b50c8dbb1a (diff)
loplugin:simplifyconstruct in canvas..cui
Change-Id: I02eba1df117a9d0df42bcac13c3251cb4fa6da14 Reviewed-on: https://gerrit.libreoffice.org/60074 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/drawinglayer')
-rw-r--r--chart2/source/controller/drawinglayer/ViewElementListProvider.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
index 36b22e93860d..6f151d647956 100644
--- a/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
+++ b/chart2/source/controller/drawinglayer/ViewElementListProvider.cxx
@@ -52,7 +52,6 @@ using namespace ::com::sun::star;
ViewElementListProvider::ViewElementListProvider( DrawModelWrapper* pDrawModelWrapper )
: m_pDrawModelWrapper( pDrawModelWrapper )
- , m_pFontList(nullptr)
{
}
@@ -118,7 +117,7 @@ XPatternListRef ViewElementListProvider::GetPatternList() const
SdrObjList* ViewElementListProvider::GetSymbolList() const
{
SdrObjList* pSymbolList = nullptr;
- uno::Reference< drawing::XShapes > xSymbols(nullptr);//@todo this keeps the first drawinglayer alive ...
+ uno::Reference< drawing::XShapes > xSymbols;//@todo this keeps the first drawinglayer alive ...
try
{
if(!pSymbolList || !pSymbolList->GetObjCount())