diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /sw/source/ui/uiview/srcview.cxx | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'sw/source/ui/uiview/srcview.cxx')
-rw-r--r-- | sw/source/ui/uiview/srcview.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/uiview/srcview.cxx b/sw/source/ui/uiview/srcview.cxx index 1d5ac4c0d4a0..a2b0660e8780 100644 --- a/sw/source/ui/uiview/srcview.cxx +++ b/sw/source/ui/uiview/srcview.cxx @@ -594,7 +594,7 @@ sal_uInt16 SwSrcView::StartSearchAndReplace(const SvxSearchItem& rSearchItem, { case SVX_SEARCHCMD_FIND: case SVX_SEARCHCMD_FIND_ALL: - nFound = pTextView->Search( aSearchOpt, bForward ); + nFound = pTextView->Search( aSearchOpt, bForward ) ? 1 : 0; break; case SVX_SEARCHCMD_REPLACE_ALL: bAll = sal_True; @@ -821,9 +821,9 @@ void SwSrcView::Load(SwDocShell* pDocShell) pStream->SetStreamCharSet( eDestEnc ); pStream->Seek(0); TextEngine* pTextEngine = aEditWin.GetTextEngine(); - pTextEngine->EnableUndo(sal_False); + pTextEngine->EnableUndo(false); aEditWin.Read(*pStream); - pTextEngine->EnableUndo(sal_True); + pTextEngine->EnableUndo(true); } else { |