summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-06 09:09:32 +0200
committerNoel Grandin <noel@peralex.com>2015-10-06 09:26:14 +0200
commit8a248d69cc807ac076c7da13cd69e114f0dde0ce (patch)
tree42734b2ae5ed30ab783eb00be1952b324e9b0751 /package
parenteed51624b380bdb0d831be91b24b1129de71489f (diff)
loplugin:mergeclasses
in this case, just rename the baseclass so that it matches the other places we do this Change-Id: I21704db7352f72e43636dde9e92c8bef61b7e251
Diffstat (limited to 'package')
-rw-r--r--package/source/xstor/owriteablestream.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx
index df1b442aa50e..07bdf3d47d44 100644
--- a/package/source/xstor/owriteablestream.hxx
+++ b/package/source/xstor/owriteablestream.hxx
@@ -55,14 +55,11 @@ namespace com { namespace sun { namespace star { namespace uno {
class XComponentContext;
} } } }
-struct PreCreationStruct
+struct MutexHolder
{
const rtl::Reference<SotMutexHolder> m_rMutexRef;
- PreCreationStruct()
- : m_rMutexRef( new SotMutexHolder )
- {}
-
+ MutexHolder() : m_rMutexRef( new SotMutexHolder ) {}
};
namespace package {
@@ -76,7 +73,7 @@ typedef ::std::list< OInputCompStream* > InputStreamsList_Impl;
struct OStorage_Impl;
class OWriteStream;
-struct OWriteStream_Impl : public PreCreationStruct
+struct OWriteStream_Impl : public MutexHolder
{
friend struct OStorage_Impl;
friend class OWriteStream;