summaryrefslogtreecommitdiff
path: root/sc/source/filter/starcalc/collect.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-12 16:03:22 +0200
committerNoel Grandin <noel@peralex.com>2014-02-14 14:15:13 +0200
commitb6c97e3facc4f05d59bb9bee2b9a4b2cfaa5d587 (patch)
tree49ccc78e1eab0d29cafa6da006162807f1ca2b34 /sc/source/filter/starcalc/collect.hxx
parent4d29e945b9e4504c6ec59141cdba099499520e06 (diff)
sal_Bool->bool
Change-Id: I9c6502d635f36bc619352d0c14e7d617bb4ee2f8
Diffstat (limited to 'sc/source/filter/starcalc/collect.hxx')
-rw-r--r--sc/source/filter/starcalc/collect.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/filter/starcalc/collect.hxx b/sc/source/filter/starcalc/collect.hxx
index a8249759d26a..33001f881b4c 100644
--- a/sc/source/filter/starcalc/collect.hxx
+++ b/sc/source/filter/starcalc/collect.hxx
@@ -25,7 +25,7 @@
class ScDataObject
{
public:
- ScDataObject() {}
+ ScDataObject() {}
virtual ~ScDataObject();
virtual ScDataObject* Clone() const = 0;
};
@@ -36,23 +36,23 @@ protected:
sal_uInt16 nCount;
sal_uInt16 nLimit;
sal_uInt16 nDelta;
- ScDataObject** pItems;
+ ScDataObject** pItems;
public:
ScCollection(sal_uInt16 nLim = 4, sal_uInt16 nDel = 4);
ScCollection(const ScCollection& rCollection);
- virtual ~ScCollection();
+ virtual ~ScCollection();
virtual ScDataObject* Clone() const;
- sal_Bool AtInsert(sal_uInt16 nIndex, ScDataObject* pScDataObject);
- virtual sal_Bool Insert(ScDataObject* pScDataObject);
+ bool AtInsert(sal_uInt16 nIndex, ScDataObject* pScDataObject);
+ bool Insert(ScDataObject* pScDataObject);
- ScDataObject* At(sal_uInt16 nIndex) const;
- virtual sal_uInt16 IndexOf(ScDataObject* pScDataObject) const;
- sal_uInt16 GetCount() const;
+ ScDataObject* At(sal_uInt16 nIndex) const;
+ sal_uInt16 IndexOf(ScDataObject* pScDataObject) const;
+ sal_uInt16 GetCount() const;
- ScDataObject* operator[]( const sal_uInt16 nIndex) const {return At(nIndex);}
- ScCollection& operator=( const ScCollection& rCol );
+ ScDataObject* operator[]( const sal_uInt16 nIndex) const { return At(nIndex); }
+ ScCollection& operator= ( const ScCollection& rCol );
};
#endif