summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-21 12:53:51 +0100
commite8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch)
treedae18a3acbf29c192118e7c003f80df8da8e21ae /basctl
parent1c8402465cfd4df862409dc310f5f099d044c4d8 (diff)
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2.cxx2
-rw-r--r--basctl/source/basicide/baside2b.cxx6
-rw-r--r--basctl/source/basicide/bastypes.cxx4
-rw-r--r--basctl/source/dlged/propbrw.cxx2
-rw-r--r--basctl/source/inc/bastypes.hxx4
-rw-r--r--basctl/source/inc/propbrw.hxx2
6 files changed, 10 insertions, 10 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())
{
diff --git a/basctl/source/dlged/propbrw.cxx b/basctl/source/dlged/propbrw.cxx
index 384fb736cb13..d03bbb72dfa9 100644
--- a/basctl/source/dlged/propbrw.cxx
+++ b/basctl/source/dlged/propbrw.cxx
@@ -227,7 +227,7 @@ void PropBrw::ImplDestroyController()
}
-sal_Bool PropBrw::Close()
+bool PropBrw::Close()
{
ImplDestroyController();
diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index eb6d0ac42b3d..e4afb64b99eb 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -90,10 +90,10 @@ public:
void Hide ();
protected:
- virtual sal_Bool Docking( const Point& rPos, Rectangle& rRect );
+ virtual bool Docking( const Point& rPos, Rectangle& rRect );
virtual void EndDocking( const Rectangle& rRect, sal_Bool bFloatMode );
virtual void ToggleFloatingMode();
- virtual sal_Bool PrepareToggleFloatingMode();
+ virtual bool PrepareToggleFloatingMode();
virtual void StartDocking();
private:
diff --git a/basctl/source/inc/propbrw.hxx b/basctl/source/inc/propbrw.hxx
index ef4358bd6d63..f8a169539567 100644
--- a/basctl/source/inc/propbrw.hxx
+++ b/basctl/source/inc/propbrw.hxx
@@ -57,7 +57,7 @@ private:
protected:
SdrView* pView;
virtual void Resize();
- virtual sal_Bool Close();
+ virtual bool Close();
typedef std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> > InterfaceArray;