[Libreoffice-commits] core.git: sw/inc

Caolán McNamara caolanm at redhat.com
Fri Jan 20 17:00:23 UTC 2017


 sw/inc/ToxLinkProcessor.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8c32579d4840997e0bfd6075d5b6ecb66d468aa9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jan 20 16:59:18 2017 +0000

    Revert "doesn't seem to be a reason start and end are swapped"
    
    breaks tests apparently
    
    This reverts commit 92bfe7e3052a7540c81d9fa152f55920ad00b8ee.

diff --git a/sw/inc/ToxLinkProcessor.hxx b/sw/inc/ToxLinkProcessor.hxx
index 30fa07e..699c0ec 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;


More information about the Libreoffice-commits mailing list