summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/pntlock.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/pntlock.hxx')
-rw-r--r--sc/source/ui/inc/pntlock.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/inc/pntlock.hxx b/sc/source/ui/inc/pntlock.hxx
index 6a514c7e1f03..1e1163afedc5 100644
--- a/sc/source/ui/inc/pntlock.hxx
+++ b/sc/source/ui/inc/pntlock.hxx
@@ -50,8 +50,8 @@ public:
bool GetModified() const { return bModified; }
/** for recovery after reset */
- void SetLevel(sal_uInt16 nNew, bool bDoc)
- { if (bDoc) nDocLevel = nNew; else nLevel = nNew; }
+ void SetDocLevel(sal_uInt16 nNew)
+ { nDocLevel = nNew; }
};
#endif