diff options
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r-- | basctl/source/basicide/baside2.cxx | 2 | ||||
-rw-r--r-- | basctl/source/basicide/baside2b.cxx | 6 | ||||
-rw-r--r-- | basctl/source/basicide/bastypes.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index 1aa12a407315..06bc28ade190 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -1295,7 +1295,7 @@ sal_uInt16 ModulWindow::StartSearchAndReplace( const SvxSearchItem& rSearchItem, if ( ( rSearchItem.GetCommand() == SVX_SEARCHCMD_FIND ) || ( rSearchItem.GetCommand() == SVX_SEARCHCMD_FIND_ALL ) ) { - nFound = pView->Search( rSearchItem.GetSearchOptions() , bForward ); + nFound = pView->Search( rSearchItem.GetSearchOptions() , bForward ) ? 1 : 0; } else if ( ( rSearchItem.GetCommand() == SVX_SEARCHCMD_REPLACE ) || ( rSearchItem.GetCommand() == SVX_SEARCHCMD_REPLACE_ALL ) ) diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx index 07b0a9944ef5..51094d002fba 100644 --- a/basctl/source/basicide/baside2b.cxx +++ b/basctl/source/basicide/baside2b.cxx @@ -2653,14 +2653,14 @@ void CodeCompleteListBox::InsertSelectedEntry() if( !((OUString) GetEntry( GetSelectEntryPos() )).isEmpty() ) {//if the user selected something - GetParentEditView()->InsertText( (OUString) GetEntry(GetSelectEntryPos()), sal_False ); + GetParentEditView()->InsertText( (OUString) GetEntry(GetSelectEntryPos()), false ); } } else { if( !((OUString) GetEntry( GetSelectEntryPos() )).isEmpty() ) {//if the user selected something - GetParentEditView()->InsertText( (OUString) GetEntry(GetSelectEntryPos()), sal_False ); + GetParentEditView()->InsertText( (OUString) GetEntry(GetSelectEntryPos()), false ); } } HideAndRestoreFocus(); @@ -2741,7 +2741,7 @@ void CodeCompleteListBox::KeyInput( const KeyEvent& rKeyEvt ) GetParentEditView()->SetSelection( aTextSelection ); GetParentEditView()->DeleteSelected(); - GetParentEditView()->InsertText( GetSelectEntry(), sal_False ); + GetParentEditView()->InsertText( GetSelectEntry(), false ); } } break; diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index eb1299947a31..bf478e970bfb 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -344,7 +344,7 @@ void DockingWindow::Hide () Show(false); } -sal_Bool DockingWindow::Docking( const Point& rPos, Rectangle& rRect ) +bool DockingWindow::Docking( const Point& rPos, Rectangle& rRect ) { if (!IsDockingPrevented() && aDockingRect.IsInside(rPos)) { @@ -383,7 +383,7 @@ void DockingWindow::ToggleFloatingMode() DockThis(); } -sal_Bool DockingWindow::PrepareToggleFloatingMode() +bool DockingWindow::PrepareToggleFloatingMode() { if (IsFloatingMode()) { |