summaryrefslogtreecommitdiff
path: root/sw/inc/ToxLinkProcessor.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-20 16:59:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-20 16:59:18 +0000
commit8c32579d4840997e0bfd6075d5b6ecb66d468aa9 (patch)
tree957c8baa21342fde4782b3e3829f3d1c94cf84fe /sw/inc/ToxLinkProcessor.hxx
parent4a149184210c4ec2e0f0fc2cfeeb0787100110be (diff)
Revert "doesn't seem to be a reason start and end are swapped"
breaks tests apparently This reverts commit 92bfe7e3052a7540c81d9fa152f55920ad00b8ee.
Diffstat (limited to 'sw/inc/ToxLinkProcessor.hxx')
-rw-r--r--sw/inc/ToxLinkProcessor.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/ToxLinkProcessor.hxx b/sw/inc/ToxLinkProcessor.hxx
index 30fa07e852d4..699c0ec9887e 100644
--- a/sw/inc/ToxLinkProcessor.hxx
+++ b/sw/inc/ToxLinkProcessor.hxx
@@ -70,7 +70,7 @@ private:
*/
struct ClosedLink {
ClosedLink(const OUString& url, sal_Int32 startPosition, sal_Int32 endPosition) :
- mINetFormat(url, OUString()), mStartTextPos(startPosition), mEndTextPos(endPosition) {
+ mINetFormat(url, OUString()), mStartTextPos(endPosition), mEndTextPos(startPosition) {
}
SwFormatINetFormat mINetFormat;
sal_Int32 mStartTextPos;