summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucblockbytes.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/ucbhelper/ucblockbytes.hxx')
-rw-r--r--unotools/source/ucbhelper/ucblockbytes.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/ucblockbytes.hxx b/unotools/source/ucbhelper/ucblockbytes.hxx
index 71ebf42ed088..164c551d8dbf 100644
--- a/unotools/source/ucbhelper/ucblockbytes.hxx
+++ b/unotools/source/ucbhelper/ucblockbytes.hxx
@@ -111,7 +111,7 @@ public:
void SetError( ErrCode nError )
{ m_nError = nError; }
- ErrCode GetError() const
+ ErrCode const & GetError() const
{ return m_nError; }
// calling this method delegates the responsibility to call closeinput to the caller!