summaryrefslogtreecommitdiff
path: root/sw/source/core/tox/ToxLinkProcessor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/tox/ToxLinkProcessor.cxx')
-rw-r--r--sw/source/core/tox/ToxLinkProcessor.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/tox/ToxLinkProcessor.cxx b/sw/source/core/tox/ToxLinkProcessor.cxx
index 30b0cbfa1cfb..bd2d6f8937e7 100644
--- a/sw/source/core/tox/ToxLinkProcessor.cxx
+++ b/sw/source/core/tox/ToxLinkProcessor.cxx
@@ -42,8 +42,8 @@ ToxLinkProcessor::CloseLink(sal_Int32 endPosition, const OUString& url)
const OUString& characterStyle = startedLink.mCharacterStyle;
sal_uInt16 poolId = ObtainPoolId(characterStyle);
- closedLink->mINetFmt.SetVisitedFmtAndId(characterStyle, poolId);
- closedLink->mINetFmt.SetINetFmtAndId(characterStyle, poolId);
+ closedLink->mINetFormat.SetVisitedFormatAndId(characterStyle, poolId);
+ closedLink->mINetFormat.SetINetFormatAndId(characterStyle, poolId);
mClosedLinks.push_back(closedLink);
}
@@ -61,10 +61,10 @@ ToxLinkProcessor::ObtainPoolId(const OUString& characterStyle) const
void
-ToxLinkProcessor::InsertLinkAttributes(SwTxtNode& node)
+ToxLinkProcessor::InsertLinkAttributes(SwTextNode& node)
{
for (ClosedLink& clink : mClosedLinks) {
- node.InsertItem(clink.mINetFmt, clink.mStartTextPos, clink.mEndTextPos);
+ node.InsertItem(clink.mINetFormat, clink.mStartTextPos, clink.mEndTextPos);
}
}