summaryrefslogtreecommitdiff
path: root/include/sot
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-09-17 23:39:46 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-10-27 13:59:08 +0100
commitf8dac0391c4aa6d4d378919326aacd935d7bd462 (patch)
tree2562f993a51f1da82143794161d04602e93eca05 /include/sot
parented931ff93d6156001fd90da6a58a757f8b006bfe (diff)
Use mutable instead of const_cast'ing this
Change-Id: I790cd140166bf0041abebbe0c4d9c15e931628f1
Diffstat (limited to 'include/sot')
-rw-r--r--include/sot/stg.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx
index 6b6bebed2165..2c2e7ab72be2 100644
--- a/include/sot/stg.hxx
+++ b/include/sot/stg.hxx
@@ -48,7 +48,7 @@ typedef struct SvGUID ClsId;
class SOT_DLLPUBLIC StorageBase : public SvRefBase
{
protected:
- sal_uLong m_nError; // error code
+ mutable sal_uLong m_nError; // error code
StreamMode m_nMode; // open mode
bool m_bAutoCommit;
StorageBase();