summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-03 09:13:34 +0200
committerNoel Grandin <noel@peralex.com>2014-04-03 09:17:55 +0200
commita718b02f8e24d7c167a56456523bc921b12e4f64 (patch)
tree0926504c7b45b88cda0997748ea11238cf411851 /svx
parentc3a89936abc7967ebe8916ca83cb38f6837f9aa1 (diff)
vcl: sal_Bool->bool and cleanup
- remove unused PFilterDlgCall typedef - remove bool parameter from PFilterCall typedef - it was always being called with false, and nothing was reading it Change-Id: Ic56127e7d55254a7b9b65849a21cb286f52344d1
Diffstat (limited to 'svx')
-rw-r--r--svx/source/fmcomp/gridcell.cxx8
-rw-r--r--svx/source/fmcomp/gridctrl.cxx4
-rw-r--r--svx/source/form/tbxform.cxx2
3 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index 8527e8587868..28ba5017742d 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -907,7 +907,7 @@ void DbCellControl::Init( Window& rParent, const Reference< XRowSet >& _rxCursor
MouseSettings aMouseSettings = aSettings.GetMouseSettings();
aMouseSettings.SetWheelBehavior( nVclSetting );
aSettings.SetMouseSettings( aMouseSettings );
- m_pWindow->SetSettings( aSettings, sal_True );
+ m_pWindow->SetSettings( aSettings, true );
}
}
catch( const Exception& )
@@ -2522,7 +2522,7 @@ void DbComboBox::Init( Window& rParent, const Reference< XRowSet >& xCursor )
aStyleSettings.SetSelectionOptions(
aStyleSettings.GetSelectionOptions() | SELECTION_OPTION_SHOWFIRST);
aSettings.SetStyleSettings(aStyleSettings);
- m_pWindow->SetSettings(aSettings, sal_True);
+ m_pWindow->SetSettings(aSettings, true);
// some initial properties
Reference< XPropertySet > xModel(m_rColumn.getModel());
@@ -2835,7 +2835,7 @@ void DbFilterField::CreateControl(Window* pParent, const Reference< ::com::sun::
aStyleSettings.SetSelectionOptions(
aStyleSettings.GetSelectionOptions() | SELECTION_OPTION_SHOWFIRST);
aSettings.SetStyleSettings(aStyleSettings);
- m_pWindow->SetSettings(aSettings, sal_True);
+ m_pWindow->SetSettings(aSettings, true);
if (!m_bFilterList)
{
@@ -2856,7 +2856,7 @@ void DbFilterField::CreateControl(Window* pParent, const Reference< ::com::sun::
aStyleSettings.SetSelectionOptions(
aStyleSettings.GetSelectionOptions() | SELECTION_OPTION_SHOWFIRST);
aSettings.SetStyleSettings(aStyleSettings);
- m_pWindow->SetSettings(aSettings, sal_True);
+ m_pWindow->SetSettings(aSettings, true);
}
}
}
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 03b322f210de..db4c11988808 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -383,8 +383,8 @@ DbGridControl::NavigationBar::NavigationBar(Window* pParent, WinBits nStyle)
MouseSettings aMouseSettings = aSettings.GetMouseSettings();
aMouseSettings.SetButtonRepeat(aMouseSettings.GetButtonRepeat() / 4);
aSettings.SetMouseSettings(aMouseSettings);
- m_aNextBtn.SetSettings(aSettings, sal_True);
- m_aPrevBtn.SetSettings(aSettings, sal_True);
+ m_aNextBtn.SetSettings(aSettings, true);
+ m_aPrevBtn.SetSettings(aSettings, true);
m_aFirstBtn.Show();
m_aPrevBtn.Show();
diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx
index ff2ab013c41c..a3018438f5b0 100644
--- a/svx/source/form/tbxform.cxx
+++ b/svx/source/form/tbxform.cxx
@@ -423,7 +423,7 @@ SvxFmTbxNextRec::SvxFmTbxNextRec( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& r
MouseSettings aMouseSettings = aSettings.GetMouseSettings();
aMouseSettings.SetButtonRepeat(aMouseSettings.GetButtonRepeat() / 4);
aSettings.SetMouseSettings(aMouseSettings);
- rTbx.SetSettings(aSettings, sal_True);
+ rTbx.SetSettings(aSettings, true);
}