From fa470e01d84a8b6060ab6aa8e5f14e0a52897f06 Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 11 Apr 2008 13:05:03 +0000 Subject: INTEGRATION: CWS notes3 (1.30.6); FILE MERGED 2008/03/14 23:41:52 mod 1.30.6.3: WaE 2008/03/13 11:04:56 mba 1.30.6.2: RESYNC: (1.30-1.31); FILE MERGED 2008/02/22 21:00:47 mod 1.30.6.1: move focus stuff to SetActivePostit, fix for undo related bugs --- sw/source/ui/wrtsh/wrtsh2.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sw/source/ui/wrtsh/wrtsh2.cxx') diff --git a/sw/source/ui/wrtsh/wrtsh2.cxx b/sw/source/ui/wrtsh/wrtsh2.cxx index 33a248ffcf57..640f351d3db6 100644 --- a/sw/source/ui/wrtsh/wrtsh2.cxx +++ b/sw/source/ui/wrtsh/wrtsh2.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: wrtsh2.cxx,v $ - * $Revision: 1.32 $ + * $Revision: 1.33 $ * * This file is part of OpenOffice.org. * @@ -102,8 +102,7 @@ void SwWrtShell::Insert(SwField &rFld) StartUndo(UNDO_INSERT, &aRewriter); - USHORT nType = rFld.GetTyp()->Which(); - if( HasSelection() && nType != RES_POSTITFLD) + if( HasSelection() ) DelRight(); SwEditShell::Insert(rFld); -- cgit