sw/source/core/doc/docfld.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit fd112a3732e24e9af2f102defaf49445d9f932ff
Author: Caolán McNamara <caol...@redhat.com>
Date:   Fri Aug 19 15:08:35 2016 +0100

    Resolves: tdf#100901 crash pressing tab in r-o document with hyperlink
    
    rather odd union in use here. Trying to call SwTextField::GetStart
    on SwTextINetFormat blows up under visual studio.
    
    Change-Id: Ic8145d7645bd6a68ef19e018311a4de6e6958bcb
    (cherry picked from commit 3196e949bb23a33bdb8700dbe27782e0e6c8f1e6)
    Reviewed-on: https://gerrit.libreoffice.org/28243
    Reviewed-by: Eike Rathke <er...@redhat.com>
    Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com>

diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx
index 35e3696..56ef919 100644
--- a/sw/source/core/doc/docfld.cxx
+++ b/sw/source/core/doc/docfld.cxx
@@ -322,9 +322,11 @@ sal_Int32 SetGetExpField::GetCntPosFromContent() const
         switch( eSetGetExpFieldType )
         {
         case TEXTFIELD:
-        case TEXTINET:
             nRet = CNTNT.pTextField->GetStart();
             break;
+        case TEXTINET:
+            nRet = CNTNT.pTextINet->GetStart();
+            break;
         case TEXTTOXMARK:
             nRet = CNTNT.pTextTOX->GetStart();
             break;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to