diff options
author | Oliver Specht <os@openoffice.org> | 2002-09-13 12:19:33 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-09-13 12:19:33 +0000 |
commit | 68fea5d2878395c5dbbbed1c4b69e98e3b455789 (patch) | |
tree | 13be0b5456bc4ed0ba48bc1ac178d10fa5185373 /sw/source/core/crsr/findattr.cxx | |
parent | e1c8486083687152a782df0871422136869b56f4 (diff) |
#100992# changed treatment of maximum undoable replace operations
Diffstat (limited to 'sw/source/core/crsr/findattr.cxx')
-rw-r--r-- | sw/source/core/crsr/findattr.cxx | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/sw/source/core/crsr/findattr.cxx b/sw/source/core/crsr/findattr.cxx index 03b574ea20fc..0bbad5479312 100644 --- a/sw/source/core/crsr/findattr.cxx +++ b/sw/source/core/crsr/findattr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: findattr.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: os $ $Date: 2002-05-13 12:09:29 $ + * last change: $Author: os $ $Date: 2002-09-13 13:12:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -59,6 +59,12 @@ * ************************************************************************/ +#ifdef PRECOMPILED +#include "core_pch.hxx" +#endif + +#pragma hdrstop + #ifndef _COM_SUN_STAR_LANG_LOCALE_HPP_ #include <com/sun/star/lang/Locale.hpp> #endif @@ -73,12 +79,6 @@ #include <tools/isolang.hxx> #endif -#ifdef PRECOMPILED -#include "core_pch.hxx" -#endif - -#pragma hdrstop - #ifndef _HINTIDS_HXX #include <hintids.hxx> #endif @@ -135,6 +135,9 @@ #ifndef _CRSSKIP_HXX #include <crsskip.hxx> #endif +#ifndef _UNDOBJ_HXX +#include <undobj.hxx> +#endif using namespace com::sun::star; using namespace com::sun::star::lang; @@ -1462,7 +1465,7 @@ int SwFindParaAttr::IsReplaceMode() const ULONG SwCursor::Find( const SfxItemSet& rSet, FASTBOOL bNoCollections, - SwDocPositions nStart, SwDocPositions nEnde, + SwDocPositions nStart, SwDocPositions nEnde, BOOL& bCancel, FindRanges eFndRngs, const SearchOptions* pSearchOpt, const SfxItemSet* pReplSet ) { @@ -1481,7 +1484,7 @@ ULONG SwCursor::Find( const SfxItemSet& rSet, FASTBOOL bNoCollections, SwFindParaAttr aSwFindParaAttr( rSet, bNoCollections, pSearchOpt, pReplSet, *this ); - ULONG nRet = FindAll(aSwFindParaAttr, nStart, nEnde, eFndRngs ); + ULONG nRet = FindAll(aSwFindParaAttr, nStart, nEnde, eFndRngs, bCancel ); pDoc->SetOle2Link( aLnk ); if( nRet && bReplace ) pDoc->SetModified(); |