summaryrefslogtreecommitdiff
path: root/cui/source/options/connpooloptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/connpooloptions.cxx')
-rw-r--r--cui/source/options/connpooloptions.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx
index 76bbafa54faa..451b28af785d 100644
--- a/cui/source/options/connpooloptions.cxx
+++ b/cui/source/options/connpooloptions.cxx
@@ -65,7 +65,7 @@ namespace offapp
virtual void Init();
void Update(const DriverPoolingSettings& _rSettings);
- virtual String GetCellText( long nRow, USHORT nColId ) const;
+ virtual String GetCellText( long nRow, sal_uInt16 nColId ) const;
// the handler will be called with a DriverPoolingSettings::const_iterator as parameter,
// or NULL if no valid current row exists
@@ -82,13 +82,13 @@ namespace offapp
sal_Bool isModified() const;
protected:
- virtual void InitController( ::svt::CellControllerRef& rController, long nRow, USHORT nCol );
- virtual ::svt::CellController* GetController( long nRow, USHORT nCol );
+ virtual void InitController( ::svt::CellControllerRef& rController, long nRow, sal_uInt16 nCol );
+ virtual ::svt::CellController* GetController( long nRow, sal_uInt16 nCol );
- virtual void PaintCell( OutputDevice& rDev, const Rectangle& rRect, USHORT nColId ) const;
+ virtual void PaintCell( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColId ) const;
- virtual BOOL SeekRow( long nRow );
- virtual BOOL SaveModified();
+ virtual sal_Bool SeekRow( long nRow );
+ virtual sal_Bool SaveModified();
virtual sal_Bool IsTabAllowed(sal_Bool _bForward) const;
@@ -97,7 +97,7 @@ namespace offapp
virtual void CursorMoved();
protected:
- virtual sal_uInt32 GetTotalCellWidth(long nRow, USHORT nColId);
+ virtual sal_uInt32 GetTotalCellWidth(long nRow, sal_uInt16 nColId);
private:
@@ -216,7 +216,7 @@ namespace offapp
}
//--------------------------------------------------------------------
- sal_uInt32 DriverListControl::GetTotalCellWidth(long nRow, USHORT nColId)
+ sal_uInt32 DriverListControl::GetTotalCellWidth(long nRow, sal_uInt16 nColId)
{
return GetDataWindow().GetTextWidth(GetCellText(nRow, nColId));
}
@@ -254,7 +254,7 @@ namespace offapp
}
//--------------------------------------------------------------------
- String DriverListControl::GetCellText( long nRow, USHORT nColId ) const
+ String DriverListControl::GetCellText( long nRow, sal_uInt16 nColId ) const
{
String sReturn;
if (nRow > m_aSettings.size())
@@ -269,25 +269,25 @@ namespace offapp
}
//--------------------------------------------------------------------
- void DriverListControl::InitController( ::svt::CellControllerRef& rController, long nRow, USHORT nCol )
+ void DriverListControl::InitController( ::svt::CellControllerRef& rController, long nRow, sal_uInt16 nCol )
{
rController->GetWindow().SetText(GetCellText(nRow, nCol));
}
//--------------------------------------------------------------------
- ::svt::CellController* DriverListControl::GetController( long /*nRow*/, USHORT /*nCol*/ )
+ ::svt::CellController* DriverListControl::GetController( long /*nRow*/, sal_uInt16 /*nCol*/ )
{
return NULL;
}
//--------------------------------------------------------------------
- BOOL DriverListControl::SaveModified()
+ sal_Bool DriverListControl::SaveModified()
{
- return TRUE;
+ return sal_True;
}
//--------------------------------------------------------------------
- BOOL DriverListControl::SeekRow( long _nRow )
+ sal_Bool DriverListControl::SeekRow( long _nRow )
{
DriverListControl_Base::SeekRow(_nRow);
@@ -300,7 +300,7 @@ namespace offapp
}
//--------------------------------------------------------------------
- void DriverListControl::PaintCell( OutputDevice& rDev, const Rectangle& rRect, USHORT nColId ) const
+ void DriverListControl::PaintCell( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColId ) const
{
OSL_ENSURE(m_aSeekRow != m_aSettings.end(), "DriverListControl::PaintCell: invalid row!");
@@ -399,7 +399,7 @@ namespace offapp
}
//--------------------------------------------------------------------
- BOOL ConnectionPoolOptionsPage::FillItemSet(SfxItemSet& _rSet)
+ sal_Bool ConnectionPoolOptionsPage::FillItemSet(SfxItemSet& _rSet)
{
commitTimeoutField();