diff options
Diffstat (limited to 'forms/source/component/Edit.hxx')
-rw-r--r-- | forms/source/component/Edit.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx index f202959f6bc0..af552528333c 100644 --- a/forms/source/component/Edit.hxx +++ b/forms/source/component/Edit.hxx @@ -32,7 +32,7 @@ struct ImplSVEvent; namespace frm { -class OEditModel : public OEditBaseModel +class OEditModel final : public OEditBaseModel { ::std::unique_ptr< ::dbtools::FormattedColumnValue > m_pValueFormatter; @@ -43,7 +43,7 @@ class OEditModel : public OEditBaseModel public: DECLARE_DEFAULT_LEAF_XTOR( OEditModel ); -protected: +private: void enableFormattedWriteFake() { m_bWritingFormattedFake = true; } void disableFormattedWriteFake() { m_bWritingFormattedFake = false; } bool lastReadWasFormattedFake() const { return (getLastReadVersion() & PF_FAKE_FORMATTED_FIELD) != 0; } @@ -85,7 +85,7 @@ public: // XEventListener using OBoundControlModel::disposing; -protected: +private: // OControlModel overridables virtual void writeAggregate( const css::uno::Reference< css::io::XObjectOutputStream >& _rxOutStream ) const override; virtual void readAggregate( const css::uno::Reference< css::io::XObjectInputStream >& _rxInStream ) override; @@ -101,12 +101,10 @@ protected: virtual bool approveDbColumnType( sal_Int32 _nColumnType ) override; -protected: virtual sal_uInt16 getPersistenceFlags() const override; virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) override; -private: bool implActsAsRichText( ) const; }; |