summaryrefslogtreecommitdiff
path: root/sw/inc/unocoll.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-15 23:21:05 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-20 16:40:08 +0200
commit00b5f1ef2e06d5ae2ce7469710e85c4a06c20a5f (patch)
tree1ecc3c0d541f1d6be7ce4128f7feaa6d466eed9d /sw/inc/unocoll.hxx
parentbcbab38792f47cb1e27a8fb4bc0523ea135a2e75 (diff)
i#105557: thread-safe caching of SwXFrame instances
Replace SwXFrames::GetObject() with factory functions that use the WeakReference SwFrmFmt::m_wXObject to cache the instance in a thread-safe way. Change-Id: If56e4d7f95cb4f2e112139f228fb832ae9bf7d76
Diffstat (limited to 'sw/inc/unocoll.hxx')
-rw-r--r--sw/inc/unocoll.hxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/inc/unocoll.hxx b/sw/inc/unocoll.hxx
index 26034303ecd6..5c4caef407a9 100644
--- a/sw/inc/unocoll.hxx
+++ b/sw/inc/unocoll.hxx
@@ -338,7 +338,6 @@ public:
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
FlyCntType GetType()const{return eType;}
- static SwXFrame* GetObject( SwFrmFmt& rFmt, FlyCntType eType );
};