summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/viewsrch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/viewsrch.cxx')
-rw-r--r--sw/source/uibase/uiview/viewsrch.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/uiview/viewsrch.cxx b/sw/source/uibase/uiview/viewsrch.cxx
index cf6288174c9e..de069eda0ff9 100644
--- a/sw/source/uibase/uiview/viewsrch.cxx
+++ b/sw/source/uibase/uiview/viewsrch.cxx
@@ -80,7 +80,7 @@ struct SwSearchOptions
SwDocPositions eStart, eEnd;
bool bDontWrap;
- SwSearchOptions( SwWrtShell* pSh, bool bBackward );
+ SwSearchOptions( SwWrtShell const * pSh, bool bBackward );
};
/// Adds rMatches using rKey as a key to the rTree tree.
@@ -100,7 +100,7 @@ static void lcl_addContainerToJson(boost::property_tree::ptree& rTree, const OSt
}
/// Emits LOK callbacks (count, selection) for search results.
-static void lcl_emitSearchResultCallbacks(SvxSearchItem* pSearchItem, SwWrtShell* pWrtShell, bool bHighlightAll)
+static void lcl_emitSearchResultCallbacks(SvxSearchItem const * pSearchItem, SwWrtShell const * pWrtShell, bool bHighlightAll)
{
// Emit a callback also about the selection rectangles, grouped by matches.
if (SwPaM* pPaM = pWrtShell->GetCursor())
@@ -761,7 +761,7 @@ void SwView::Replace()
m_pWrtShell->EndAllAction();
}
-SwSearchOptions::SwSearchOptions( SwWrtShell* pSh, bool bBackward )
+SwSearchOptions::SwSearchOptions( SwWrtShell const * pSh, bool bBackward )
{
eStart = SwDocPositions::Curr;
if( bBackward )