summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-23 09:42:09 +0200
committerNoel Grandin <noel@peralex.com>2016-08-23 09:54:16 +0200
commitf091a4d82e383b2beab91ecd01d9f6a700377a2e (patch)
tree8d462c15bef61a8814980a75eaebd57d4536c95c /sc/source/ui/view
parentf8d980a813fb0125a2d7bb332450b2ab1d943031 (diff)
convert SearchLabel to scoped enum
Change-Id: I0c62a3166b9284895f119c600776dc2c7d6d1078
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/viewfun2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 85f969e87a95..a92d2bea2985 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1657,7 +1657,7 @@ void ScViewFunc::AutoFormat( sal_uInt16 nFormatNo )
bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
bool bAddUndo, bool bIsApi )
{
- SvxSearchDialogWrapper::SetSearchLabel(SL_Empty);
+ SvxSearchDialogWrapper::SetSearchLabel(SearchLabel::Empty);
ScDocShell* pDocSh = GetViewData().GetDocShell();
ScDocument& rDoc = pDocSh->GetDocument();
ScMarkData& rMark = GetViewData().GetMarkData();
@@ -1792,9 +1792,9 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
if (!bIsApi)
{
if ( nStartTab == nEndTab )
- SvxSearchDialogWrapper::SetSearchLabel(SL_EndSheet);
+ SvxSearchDialogWrapper::SetSearchLabel(SearchLabel::EndSheet);
else
- SvxSearchDialogWrapper::SetSearchLabel(SL_End);
+ SvxSearchDialogWrapper::SetSearchLabel(SearchLabel::End);
ScDocument::GetSearchAndReplaceStart( *pSearchItem, nCol, nRow );
if (pSearchItem->GetBackward())
@@ -1818,7 +1818,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* pSearchItem,
if (!bIsApi)
{
GetViewData().GetViewShell()->libreOfficeKitViewCallback(LOK_CALLBACK_SEARCH_NOT_FOUND, pSearchItem->GetSearchString().toUtf8().getStr());
- SvxSearchDialogWrapper::SetSearchLabel(SL_NotFound);
+ SvxSearchDialogWrapper::SetSearchLabel(SearchLabel::NotFound);
}
break; // break 'while (TRUE)'