diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-12-14 16:03:03 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-12-14 16:03:03 +0000 |
commit | 9dfe5700af45f5e60abe3035ea950dc7b72e2b3b (patch) | |
tree | 092ebf168d081d89b34af05af317a0848bec35a4 /sd/source/ui/func/fusearch.cxx | |
parent | 0b7415ea753cdff22866d0a21bc6572a3dcab663 (diff) |
INTEGRATION: CWS impressfunctions (1.8.40); FILE MERGED
2005/10/28 10:57:40 cl 1.8.40.1: #125341# reworked FuPoor classes to use refcounting
Diffstat (limited to 'sd/source/ui/func/fusearch.cxx')
-rw-r--r-- | sd/source/ui/func/fusearch.cxx | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/sd/source/ui/func/fusearch.cxx b/sd/source/ui/func/fusearch.cxx index 08ba380e82c7..d783dc18062d 100644 --- a/sd/source/ui/func/fusearch.cxx +++ b/sd/source/ui/func/fusearch.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fusearch.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2005-09-09 04:50:02 $ + * last change: $Author: rt $ $Date: 2005-12-14 17:03:03 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -97,6 +97,17 @@ FuSearch::FuSearch ( pSdOutliner(NULL), bOwnOutliner(FALSE) { +} + +FunctionReference FuSearch::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq ) +{ + FunctionReference xFunc( new FuSearch( pViewSh, pWin, pView, pDoc, rReq ) ); + xFunc->DoExecute(rReq); + return xFunc; +} + +void FuSearch::DoExecute( SfxRequest& rReq ) +{ pViewShell->GetViewFrame()->GetBindings().Invalidate( SidArraySpell ); if ( pViewShell->ISA(DrawViewShell) ) @@ -114,8 +125,6 @@ FuSearch::FuSearch ( pSdOutliner->PrepareSpelling(); } - - /************************************************************************* |* |* Destruktor |