summaryrefslogtreecommitdiff
path: root/reportdesign/inc/UndoEnv.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-02 08:38:50 +0200
committerNoel Grandin <noel@peralex.com>2014-05-02 08:49:23 +0200
commite23c98d713ababb72de0616831a2abe0e48387f5 (patch)
treefaf799c4dad34949c7ac50f4ddad5b1d94bb2375 /reportdesign/inc/UndoEnv.hxx
parent17dcf76ef87c15b8b83465a7c29b96dc2d05cde9 (diff)
reportdesign: sal_Bool->bool
Change-Id: I7a269dbf163f4c839b6c553c7b096185fe2f8a01
Diffstat (limited to 'reportdesign/inc/UndoEnv.hxx')
-rw-r--r--reportdesign/inc/UndoEnv.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/reportdesign/inc/UndoEnv.hxx b/reportdesign/inc/UndoEnv.hxx
index d087b303899f..4c0985053c83 100644
--- a/reportdesign/inc/UndoEnv.hxx
+++ b/reportdesign/inc/UndoEnv.hxx
@@ -48,7 +48,7 @@ namespace rptui
protected:
virtual ~OXUndoEnvironment();
- void SetUndoMode(sal_Bool _bUndo);
+ void SetUndoMode(bool _bUndo);
public:
OXUndoEnvironment(OReportModel& _rModel);
@@ -77,21 +77,21 @@ namespace rptui
:m_rUndoEnv(_rUndoEnv)
{
m_rUndoEnv.Lock();
- m_rUndoEnv.SetUndoMode(sal_True);
+ m_rUndoEnv.SetUndoMode(true);
}
~OUndoMode()
{
- m_rUndoEnv.SetUndoMode(sal_False);
+ m_rUndoEnv.SetUndoMode(false);
m_rUndoEnv.UnLock();
}
};
void Lock();
void UnLock();
- sal_Bool IsLocked() const;
+ bool IsLocked() const;
// returns sal_True is we are in UNDO
- sal_Bool IsUndoMode() const;
+ bool IsUndoMode() const;
// access control
struct Accessor { friend class OReportModel; private: Accessor() { } };