summaryrefslogtreecommitdiff
path: root/sc/inc/userdat.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/userdat.hxx')
-rw-r--r--sc/inc/userdat.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/userdat.hxx b/sc/inc/userdat.hxx
index e05662757193..769f19bd62cd 100644
--- a/sc/inc/userdat.hxx
+++ b/sc/inc/userdat.hxx
@@ -45,8 +45,8 @@ public:
explicit ScDrawObjData();
- const tools::Rectangle & getShapeRect() { return maShapeRect; };
- const tools::Rectangle & getLastCellRect() { return maLastCellRect; };
+ const tools::Rectangle & getShapeRect() const { return maShapeRect; };
+ const tools::Rectangle & getLastCellRect() const { return maLastCellRect; };
void setShapeRect(const ScDocument* rDoc, tools::Rectangle rNewRect, bool bIsVisible=true)
{
// bIsVisible should be false when the object is hidden obviously. we dont want to store the old cell rect in that