summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/itempool.hxx4
-rw-r--r--include/svl/undo.hxx7
2 files changed, 4 insertions, 7 deletions
diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index 98f8a01f426a..8f380da9d233 100644
--- a/include/svl/itempool.hxx
+++ b/include/svl/itempool.hxx
@@ -216,9 +216,9 @@ public:
void SetFileFormatVersion( sal_uInt16 nFileFormatVersion );
bool IsCurrentVersionLoading() const;
- static int IsWhich(sal_uInt16 nId) {
+ static bool IsWhich(sal_uInt16 nId) {
return nId && nId <= SFX_WHICH_MAX; }
- static int IsSlot(sal_uInt16 nId) {
+ static bool IsSlot(sal_uInt16 nId) {
return nId && nId > SFX_WHICH_MAX; }
static const SfxItemPool* GetStoringPool();
diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx
index 00522c67451c..8da6edf2e977 100644
--- a/include/svl/undo.hxx
+++ b/include/svl/undo.hxx
@@ -220,11 +220,8 @@ namespace svl
class SAL_NO_VTABLE IUndoManager
{
public:
- enum
- {
- CurrentLevel = true,
- TopLevel = false
- };
+ static bool const CurrentLevel = true;
+ static bool const TopLevel = false;
virtual ~IUndoManager() { };