summaryrefslogtreecommitdiff
path: root/sw/source/ui/uiview/viewsrch.cxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-10-20 13:52:05 +0000
committerjp <jp@openoffice.org>2000-10-20 13:52:05 +0000
commit0403fd9060df1f77fcf8984e16caf09035182470 (patch)
tree5ff4121da132529ab04d854a182803111c793063 /sw/source/ui/uiview/viewsrch.cxx
parent75c0a101618e822dd29947b220b6b75455438ab1 (diff)
Bug #79645#: ExecSearch - RepeatSearch without SearchItem must create it's own item
Diffstat (limited to 'sw/source/ui/uiview/viewsrch.cxx')
-rw-r--r--sw/source/ui/uiview/viewsrch.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sw/source/ui/uiview/viewsrch.cxx b/sw/source/ui/uiview/viewsrch.cxx
index c8bab2b4e17f..55901d59b403 100644
--- a/sw/source/ui/uiview/viewsrch.cxx
+++ b/sw/source/ui/uiview/viewsrch.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewsrch.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:14:49 $
+ * last change: $Author: jp $ $Date: 2000-10-20 14:52:05 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -251,6 +251,8 @@ void __EXPORT SwView::ExecSearch(SfxRequest& rReq, BOOL bNoMessage)
if (nSlot == FN_REPEAT_SEARCH)
{
ASSERT(pSrchItem, "Search-Item fehlt");
+ if( !pSrchItem )
+ pSrchItem = new SvxSearchItem;
}
else
{
@@ -832,6 +834,9 @@ void SwView::StateSearch(SfxItemSet &rSet)
/*------------------------------------------------------------------------
$Log: not supported by cvs2svn $
+ Revision 1.1.1.1 2000/09/18 17:14:49 hr
+ initial import
+
Revision 1.57 2000/09/18 16:06:14 willem.vandorp
OpenOffice header added.