diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-20 13:55:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-23 07:56:34 +0200 |
commit | 8abcd0c38707a61fe5175840f19c2d0a9f8825ee (patch) | |
tree | 5d6071aabac0b6e1eca9a5bd857d83fbe42752ad /svx | |
parent | dc3377528186f4f111553530fa0ffd7f64711f64 (diff) |
use tools::SvRef in ImpSdrObjTextLinkUserData
since the field is SvRefBase-derived
Change-Id: Ie84c48daf93e3805b2db240a497a8496779fe750
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdotxln.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdotxln.cxx b/svx/source/svdraw/svdotxln.cxx index e6d4d4f6825e..5568347090a5 100644 --- a/svx/source/svdraw/svdotxln.cxx +++ b/svx/source/svdraw/svdotxln.cxx @@ -257,7 +257,7 @@ void SdrTextObj::ImpLinkAnmeldung() ImpSdrObjTextLinkUserData* pData=GetLinkUserData(); sfx2::LinkManager* pLinkManager=pModel!=nullptr ? pModel->GetLinkManager() : nullptr; if (pLinkManager!=nullptr && pData!=nullptr && pData->pLink==nullptr) { // don't register twice - pData->pLink.reset( new ImpSdrObjTextLink(this) ); + pData->pLink = new ImpSdrObjTextLink(this); pLinkManager->InsertFileLink(*pData->pLink,OBJECT_CLIENT_FILE,pData->aFileName, !pData->aFilterName.isEmpty() ? &pData->aFilterName : nullptr); |