summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/drawbase.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/inc/drawbase.hxx')
-rw-r--r--sw/source/uibase/inc/drawbase.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/drawbase.hxx b/sw/source/uibase/inc/drawbase.hxx
index 247609943118..6aeb4455a3a1 100644
--- a/sw/source/uibase/inc/drawbase.hxx
+++ b/sw/source/uibase/inc/drawbase.hxx
@@ -40,7 +40,7 @@ protected:
bool m_bCreateObj :1;
bool m_bInsForm :1;
- Point GetDefaultCenterPos();
+ Point GetDefaultCenterPos() const;
public:
SwDrawBase(SwWrtShell *pSh, SwEditWin* pWin, SwView* pView);
virtual ~SwDrawBase();
@@ -57,7 +57,7 @@ public:
void BreakCreate();
void SetSlotId(sal_uInt16 nSlot) {m_nSlotId = nSlot;}
- sal_uInt16 GetSlotId() { return m_nSlotId;}
+ sal_uInt16 GetSlotId() const { return m_nSlotId;}
virtual void Activate(const sal_uInt16 nSlotId); // activate function
virtual void Deactivate(); // deactivate function