diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-09-17 23:39:46 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-10-27 13:59:08 +0100 |
commit | f8dac0391c4aa6d4d378919326aacd935d7bd462 (patch) | |
tree | 2562f993a51f1da82143794161d04602e93eca05 /include/sot/stg.hxx | |
parent | ed931ff93d6156001fd90da6a58a757f8b006bfe (diff) |
Use mutable instead of const_cast'ing this
Change-Id: I790cd140166bf0041abebbe0c4d9c15e931628f1
Diffstat (limited to 'include/sot/stg.hxx')
-rw-r--r-- | include/sot/stg.hxx | 2 |
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(); |