diff options
author | Noel <noel.grandin@collabora.co.uk> | 2021-02-21 12:33:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-21 16:13:31 +0100 |
commit | 78040af9acea0ab681aa54ff23844b647bc9b4f3 (patch) | |
tree | 6fb704389c3e98594d6bf2f187bf295aa42c77ef /sc/source/core/data/dpobject.cxx | |
parent | 8f231fc5df201c45d16bce0b4b17f727842b2121 (diff) |
loplugin:refcounting in sc
Change-Id: Id0ba24985aab36b931fa74b266dc5bf0bef62bb7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111273
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data/dpobject.cxx')
-rw-r--r-- | sc/source/core/data/dpobject.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx index f9951cb8da04..b31d9045f79e 100644 --- a/sc/source/core/data/dpobject.cxx +++ b/sc/source/core/data/dpobject.cxx @@ -751,8 +751,7 @@ void ScDPObject::CreateObjects() pData->SetEmptyFlags(pSaveData->GetIgnoreEmptyRows(), pSaveData->GetRepeatIfEmpty()); pData->ReloadCacheTable(); - ScDPSource* pSource = new ScDPSource( pData ); - xSource = pSource; + xSource = new ScDPSource( pData ); } } |