summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/inc/cellsuno.hxx6
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/cellsuno.hxx b/sc/inc/cellsuno.hxx
index e4a245fa78c7..74cd07cc7b05 100644
--- a/sc/inc/cellsuno.hxx
+++ b/sc/inc/cellsuno.hxx
@@ -188,7 +188,7 @@ private:
sal_Int64 nObjectId;
sal_Bool bChartColAsHdr;
sal_Bool bChartRowAsHdr;
- sal_Bool bCursorOnly;
+ bool bCursorOnly;
sal_Bool bGotDataChangedHint;
XModifyListenerArr_Impl aValueListeners;
@@ -255,8 +255,8 @@ public:
void SetNewRange(const ScRange& rNew); // for cursor
void SetNewRanges(const ScRangeList& rNew);
- void SetCursorOnly(sal_Bool bSet);
- sal_Bool IsCursorOnly() const { return bCursorOnly; }
+ void SetCursorOnly(bool bSet);
+ bool IsCursorOnly() const { return bCursorOnly; }
// XSheetOperation
virtual double SAL_CALL computeFunction( ::com::sun::star::sheet::GeneralFunction nFunction )
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index ddf3dbdde909..6340667e85ab 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -1731,7 +1731,7 @@ void ScCellRangesBase::SetNewRanges(const ScRangeList& rNew)
RefChanged();
}
-void ScCellRangesBase::SetCursorOnly( sal_Bool bSet )
+void ScCellRangesBase::SetCursorOnly( bool bSet )
{
// set for a selection object that is created from the cursor position
// without anything selected (may contain several sheets)