20#ifndef INCLUDED_TOOLS_WEAKBASE_HXX
21#define INCLUDED_TOOLS_WEAKBASE_HXX
30template<
class reference_type >
36template<
class reference_type >
42template<
class reference_type >
48template<
class reference_type >
51 mpWeakConnection = std::move(rWeakRef.mpWeakConnection);
55template<
class reference_type >
58 return mpWeakConnection->mpReference !=
nullptr;
61template<
class reference_type >
64 auto pWeakBase = mpWeakConnection->mpReference;
67 assert(
dynamic_cast<reference_type *
>(pWeakBase));
68 return static_cast<reference_type *
>(pWeakBase);
71template<
class reference_type >
75 mpWeakConnection = pReference->getWeakConnection();
80template<
class reference_type >
86template<
class reference_type >
92template<
class reference_type >
98template<
class reference_type >
101 return mpWeakConnection->mpReference == pReferenceObject;
104template<
class reference_type >
110template<
class reference_type >
116template<
class reference_type >
119 return mpWeakConnection->mpReference < handle.
mpWeakConnection->mpReference;
122template<
class reference_type >
125 return mpWeakConnection->mpReference > handle.
mpWeakConnection->mpReference;
128template<
class reference_type >
132 if (&rReference !=
this)
137template<
class reference_type >
141 mpWeakConnection = std::move(rReference.mpWeakConnection);
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)