summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/source/xstor/xstorage.cxx2
-rw-r--r--package/source/xstor/xstorage.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/source/xstor/xstorage.cxx b/package/source/xstor/xstorage.cxx
index 27d84e97fa6f..ddadab15afce 100644
--- a/package/source/xstor/xstorage.cxx
+++ b/package/source/xstor/xstorage.cxx
@@ -376,7 +376,7 @@ void OStorage_Impl::SetReadOnlyWrap( OStorage& aStorage )
m_aReadOnlyWrapVector.emplace_back( &aStorage );
}
-void OStorage_Impl::RemoveReadOnlyWrap( OStorage& aStorage )
+void OStorage_Impl::RemoveReadOnlyWrap( const OStorage& aStorage )
{
for ( StorageHoldersType::iterator pStorageIter = m_aReadOnlyWrapVector.begin();
pStorageIter != m_aReadOnlyWrapVector.end();)
diff --git a/package/source/xstor/xstorage.hxx b/package/source/xstor/xstorage.hxx
index 1929cc9df305..92cfc62c14eb 100644
--- a/package/source/xstor/xstorage.hxx
+++ b/package/source/xstor/xstorage.hxx
@@ -190,7 +190,7 @@ struct OStorage_Impl
~OStorage_Impl();
void SetReadOnlyWrap( OStorage& aStorage );
- void RemoveReadOnlyWrap( OStorage& aStorage );
+ void RemoveReadOnlyWrap( const OStorage& aStorage );
void OpenOwnPackage();
void ReadContents();