Commits

Anonymous committed 43adf65

INTEGRATION: CWS swenhancedfields2 (1.14.18); FILE MERGED
2008/08/04 14:16:28 b_michaelsen 1.14.18.2: RESYNC: (1.14-1.16); FILE MERGED
2008/04/23 14:29:23 ama 1.14.18.1: #i33737#: Enhanced fields

Comments (0)

Files changed (1)

sw/source/ui/wrtsh/wrtsh3.cxx

  * OpenOffice.org - a multi-platform office productivity suite
  *
  * $RCSfile: wrtsh3.cxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
  *
  * This file is part of OpenOffice.org.
  *
 	return bRet;
 }
 
+bool SwWrtShell::GotoFieldBookmark(SwBookmark *pBkmk)
+{
+   (this->*fnKillSel)( 0, sal_False );
+
+    bool bRet = SwCrsrShell::GotoFieldBookmark(pBkmk);
+    if( bRet && IsSelFrmMode() )
+    {
+        UnSelectFrm();
+        LeaveSelFrmMode();
+    }
+    if( IsSelection() )
+    {
+        fnKillSel = &SwWrtShell::ResetSelect;
+        fnSetCrsr = &SwWrtShell::SetCrsrKillSel;
+    }
+    return bRet;
+}
+
 /*--------------------------------------------------------------------
     Beschreibung: FontWork-Slots invalidieren
  --------------------------------------------------------------------*/