diff options
Diffstat (limited to 'forms/source/component/FormattedFieldWrapper.hxx')
-rw-r--r-- | forms/source/component/FormattedFieldWrapper.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/forms/source/component/FormattedFieldWrapper.hxx b/forms/source/component/FormattedFieldWrapper.hxx index a66ddc997e16..77e196d5855f 100644 --- a/forms/source/component/FormattedFieldWrapper.hxx +++ b/forms/source/component/FormattedFieldWrapper.hxx @@ -37,21 +37,18 @@ typedef ::cppu::WeakAggImplHelper3 < css::io::XPersistObject , css::util::XCloneable > OFormattedFieldWrapper_Base; -class OFormattedFieldWrapper : public OFormattedFieldWrapper_Base +class OFormattedFieldWrapper final : public OFormattedFieldWrapper_Base { css::uno::Reference< css::uno::XComponentContext> m_xContext; -protected: css::uno::Reference< css::uno::XAggregation> m_xAggregate; rtl::Reference< OEditModel > m_pEditPart; // if we act as formatted this is used to write the EditModel part css::uno::Reference< css::io::XPersistObject> m_xFormattedPart; -private: OFormattedFieldWrapper(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory); -protected: virtual ~OFormattedFieldWrapper() override; public: @@ -78,7 +75,7 @@ public: // XCloneable virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override; -protected: +private: /// ensure we're in a defined state, which means a FormattedModel _OR_ an EditModel void ensureAggregate(); }; |