summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdotxln.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/svdraw/svdotxln.cxx')
-rw-r--r--svx/source/svdraw/svdotxln.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdotxln.cxx b/svx/source/svdraw/svdotxln.cxx
index 8af1d8647abe..01055b45afb6 100644
--- a/svx/source/svdraw/svdotxln.cxx
+++ b/svx/source/svdraw/svdotxln.cxx
@@ -257,7 +257,7 @@ void SdrTextObj::ImpRegisterLink()
sfx2::LinkManager* pLinkManager(getSdrModelFromSdrObject().GetLinkManager());
if (pLinkManager!=nullptr && pData!=nullptr && pData->pLink==nullptr) { // don't register twice
pData->pLink = new ImpSdrObjTextLink(this);
- pLinkManager->InsertFileLink(*pData->pLink,OBJECT_CLIENT_FILE,pData->aFileName,
+ pLinkManager->InsertFileLink(*pData->pLink,sfx2::SvBaseLinkObjectType::ClientFile,pData->aFileName,
!pData->aFilterName.isEmpty() ?
&pData->aFilterName : nullptr);
}