diff options
Diffstat (limited to 'sc/source/ui/view/viewfun2.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun2.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx index c8ba3a77327a..267969276b9d 100644 --- a/sc/source/ui/view/viewfun2.cxx +++ b/sc/source/ui/view/viewfun2.cxx @@ -79,6 +79,7 @@ #include "tabbgcolor.hxx" #include "clipparam.hxx" #include "prnsave.hxx" +#include "searchresults.hxx" #include "tokenarray.hxx" #include <boost/scoped_ptr.hpp> @@ -1657,6 +1658,9 @@ void ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem, if (nCommand == SVX_SEARCHCMD_FIND_ALL || nCommand == SVX_SEARCHCMD_REPLACE_ALL) { + static SearchResults *aSearchResults = new SearchResults(pDoc); + aSearchResults->Show(aMatchedRanges); + rMark.ResetMark(); for (size_t i = 0, n = aMatchedRanges.size(); i < n; ++i) { |