summaryrefslogtreecommitdiff
path: root/svx/inc/svdibrow.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/inc/svdibrow.hxx')
-rw-r--r--svx/inc/svdibrow.hxx38
1 files changed, 19 insertions, 19 deletions
diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx
index be3a9ba22cef..7c844e80c71c 100644
--- a/svx/inc/svdibrow.hxx
+++ b/svx/inc/svdibrow.hxx
@@ -47,26 +47,26 @@ friend class ImpItemEdit;
Link aSetDirtyHdl;
ImpItemListRow* pAktChangeEntry;
long nLastWhichOfs;
- USHORT nLastWhich;
- USHORT nLastWhichOben;
- USHORT nLastWhichUnten;
- FASTBOOL bWhichesButNames;
- FASTBOOL bDontHideIneffectiveItems;
- FASTBOOL bDontSortItems;
- FASTBOOL bShowWhichIds;
- FASTBOOL bShowRealValues;
+ sal_uInt16 nLastWhich;
+ sal_uInt16 nLastWhichOben;
+ sal_uInt16 nLastWhichUnten;
+ int bWhichesButNames;
+ int bDontHideIneffectiveItems;
+ int bDontSortItems;
+ int bShowWhichIds;
+ int bShowRealValues;
private:
#if _SOLAR__PRIVATE
void ImpCtor();
- void ImpSetEntry(const ImpItemListRow& rEntry, ULONG nEntryNum);
- ImpItemListRow* ImpGetEntry(ULONG nPos) const { return (ImpItemListRow*)aList.GetObject(nPos); }
+ void ImpSetEntry(const ImpItemListRow& rEntry, sal_uIntPtr nEntryNum);
+ ImpItemListRow* ImpGetEntry(sal_uIntPtr nPos) const { return (ImpItemListRow*)aList.GetObject(nPos); }
void ImpSaveWhich();
void ImpRestoreWhich();
#endif // __PRIVATE
protected:
virtual long GetRowCount() const;
- virtual BOOL SeekRow(long nRow);
- virtual void PaintField(OutputDevice& rDev, const Rectangle& rRect, USHORT nColumnId) const;
+ virtual sal_Bool SeekRow(long nRow);
+ virtual void PaintField(OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColumnId) const;
virtual void DoubleClick(const BrowserMouseEvent&);
virtual void KeyInput(const KeyEvent& rEvt);
virtual void Select();
@@ -78,10 +78,10 @@ public:
virtual ~_SdrItemBrowserControl();
void Clear();
void SetAttributes(const SfxItemSet* pAttr, const SfxItemSet* p2ndSet=NULL);
- ULONG GetCurrentPos() const;
- USHORT GetCurrentWhich() const;
- virtual FASTBOOL BegChangeEntry(ULONG nPos);
- virtual FASTBOOL EndChangeEntry();
+ sal_uIntPtr GetCurrentPos() const;
+ sal_uInt16 GetCurrentWhich() const;
+ virtual int BegChangeEntry(sal_uIntPtr nPos);
+ virtual int EndChangeEntry();
virtual void BrkChangeEntry();
/** GetCellText returns the text at the given position
@@ -92,7 +92,7 @@ public:
@return
the text out of the cell
*/
- virtual String GetCellText(long _nRow, USHORT _nColId) const;
+ virtual String GetCellText(long _nRow, sal_uInt16 _nColId) const;
const ImpItemListRow* GetAktChangeEntry() const { return pAktChangeEntry; }
XubString GetNewEntryValue() const { return pEditControl->GetText(); }
@@ -114,7 +114,7 @@ public:
virtual void GetFocus();
void Clear() { aBrowse.Clear(); }
void SetAttributes(const SfxItemSet* pAttr, const SfxItemSet* p2ndSet=NULL) { aBrowse.SetAttributes(pAttr,p2ndSet); }
- void SetFloatingMode(FASTBOOL /*bOn*/) {}
+ void SetFloatingMode(int /*bOn*/) {}
const _SdrItemBrowserControl& GetBrowserControl() const { return aBrowse; }
_SdrItemBrowserControl& GetBrowserControl() { return aBrowse; }
};
@@ -124,7 +124,7 @@ class SdrView;
class SdrItemBrowser: public _SdrItemBrowserWindow {
Timer aIdleTimer;
SdrView* pView;
- FASTBOOL bDirty;
+ int bDirty;
private:
static Window* ImpGetViewWin(SdrView& rView);
DECL_LINK(IdleHdl,Timer*);