summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/inc/hints.hxx10
-rw-r--r--sc/source/core/tool/hints.cxx2
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/hints.hxx b/sc/inc/hints.hxx
index af45f86ed111..79e6d4455dec 100644
--- a/sc/inc/hints.hxx
+++ b/sc/inc/hints.hxx
@@ -27,8 +27,8 @@
class ScPaintHint : public SfxHint
{
ScRange aRange;
- sal_uInt16 nParts;
- sal_Bool bPrint; // flag indicating whether print/preview if affected
+ sal_uInt16 nParts;
+ bool bPrint; // flag indicating whether print/preview if affected
ScPaintHint(); // disabled
@@ -37,7 +37,7 @@ public:
ScPaintHint( const ScRange& rRng, sal_uInt16 nPaint = PAINT_ALL );
~ScPaintHint();
- void SetPrintFlag(sal_Bool bSet) { bPrint = bSet; }
+ void SetPrintFlag(bool bSet) { bPrint = bSet; }
const ScRange& GetRange() const { return aRange; }
SCCOL GetStartCol() const { return aRange.aStart.Col(); }
@@ -46,8 +46,8 @@ public:
SCCOL GetEndCol() const { return aRange.aEnd.Col(); }
SCROW GetEndRow() const { return aRange.aEnd.Row(); }
SCTAB GetEndTab() const { return aRange.aEnd.Tab(); }
- sal_uInt16 GetParts() const { return nParts; }
- sal_Bool GetPrintFlag() const { return bPrint; }
+ sal_uInt16 GetParts() const { return nParts; }
+ bool GetPrintFlag() const { return bPrint; }
};
class ScUpdateRefHint : public SfxHint
diff --git a/sc/source/core/tool/hints.cxx b/sc/source/core/tool/hints.cxx
index 45c9f75eeb7b..28c8873cf80c 100644
--- a/sc/source/core/tool/hints.cxx
+++ b/sc/source/core/tool/hints.cxx
@@ -32,7 +32,7 @@ TYPEINIT1(ScDataPilotModifiedHint, SfxHint);
ScPaintHint::ScPaintHint( const ScRange& rRng, sal_uInt16 nPaint ) :
aRange( rRng ),
nParts( nPaint ),
- bPrint( sal_True )
+ bPrint( true )
{
}