summaryrefslogtreecommitdiffstats
path: root/basic/source/inc/image.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/inc/image.hxx')
-rw-r--r--basic/source/inc/image.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/inc/image.hxx b/basic/source/inc/image.hxx
index f286e3e286fb..bc64dc6730d6 100644
--- a/basic/source/inc/image.hxx
+++ b/basic/source/inc/image.hxx
@@ -81,7 +81,7 @@ public:
// nVer is set to version
// of image
bool Save( SvStream&, sal_uInt32 = B_CURVERSION );
- bool IsError() { return bError; }
+ bool IsError() const { return bError; }
const char* GetCode() const { return pCode.get(); }
sal_uInt32 GetCodeSize() const { return nCodeSize; }
@@ -89,7 +89,7 @@ public:
OUString GetString( short nId ) const;
const SbxObject* FindType (const OUString& aTypeName) const;
- const SbxArrayRef& GetEnums() { return rEnums; }
+ const SbxArrayRef& GetEnums() const { return rEnums; }
void SetFlag( SbiImageFlags n ) { nFlags |= n; }
bool IsFlag( SbiImageFlags n ) const { return bool(nFlags & n); }