summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/ShapeController.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-18 16:04:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-19 05:41:29 +0000
commitafaa10da25729f2aa5ca7df86d6bbea83d45cccf (patch)
tree52a4b843dd16f0115d1938f9e9891ed540973a29 /chart2/source/controller/main/ShapeController.cxx
parentnew loplugin: useuniqueptr: svgio (diff)
downloadcore-afaa10da25729f2aa5ca7df86d6bbea83d45cccf.tar.gz
core-afaa10da25729f2aa5ca7df86d6bbea83d45cccf.zip
make SfxItemSet with SAL_WARN_UNUSED
Change-Id: Ia74ca329d8438f614169031acfbe0406faf7c281 Reviewed-on: https://gerrit.libreoffice.org/33268 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/main/ShapeController.cxx')
-rw-r--r--chart2/source/controller/main/ShapeController.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx
index 8c68892a498e..58b70e6bfecc 100644
--- a/chart2/source/controller/main/ShapeController.cxx
+++ b/chart2/source/controller/main/ShapeController.cxx
@@ -303,8 +303,6 @@ void ShapeController::executeDispatch_FormatArea()
pFact->CreateSvxAreaTabDialog( pParent, &aAttr, &pDrawModelWrapper->getSdrModel(), true ) );
if ( pDlg.get() )
{
- SfxItemPool& rItemPool = pDrawViewWrapper->GetModel()->GetItemPool();
- SfxItemSet aSet( rItemPool, rItemPool.GetFirstWhich(), rItemPool.GetLastWhich() );
if ( pDlg->Execute() == RET_OK )
{
const SfxItemSet* pOutAttr = pDlg->GetOutputItemSet();