summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-01 09:34:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-04 08:44:19 +0200
commit326295bf10985a19ac913f988980c8761c301967 (patch)
tree0b02ea6717888077e73c4837aafddd6a10dfc183 /chart2
parentdfaceb70ec2f6feda6a73b8be00a7f168dfe075b (diff)
new loplugin:redundantpointerops
Change-Id: I8428d86ea9628d69c2b40b36feee3da428a9fe1d Reviewed-on: https://gerrit.libreoffice.org/41787 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/model/main/UndoManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/main/UndoManager.cxx b/chart2/source/model/main/UndoManager.cxx
index 7e5894b012cb..6d6e9ef915da 100644
--- a/chart2/source/model/main/UndoManager.cxx
+++ b/chart2/source/model/main/UndoManager.cxx
@@ -319,7 +319,7 @@ namespace chart
Reference< XInterface > SAL_CALL UndoManager::getParent( )
{
UndoManagerMethodGuard aGuard( *m_pImpl );
- return *&m_pImpl->getParent();
+ return m_pImpl->getParent();
}
void SAL_CALL UndoManager::setParent( const Reference< XInterface >& )