diff options
Diffstat (limited to 'toolkit/inc/toolkit/controls/formattedcontrol.hxx')
-rw-r--r-- | toolkit/inc/toolkit/controls/formattedcontrol.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/toolkit/inc/toolkit/controls/formattedcontrol.hxx b/toolkit/inc/toolkit/controls/formattedcontrol.hxx index 40ba795487cc..7c4b22a434ae 100644 --- a/toolkit/inc/toolkit/controls/formattedcontrol.hxx +++ b/toolkit/inc/toolkit/controls/formattedcontrol.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -45,8 +45,8 @@ namespace toolkit // =================================================================== class UnoControlFormattedFieldModel : public UnoControlModel { - protected: - ::com::sun::star::uno::Any ImplGetDefaultValue( sal_uInt16 nPropId ) const; + protected: + ::com::sun::star::uno::Any ImplGetDefaultValue( sal_uInt16 nPropId ) const; ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper(); ::com::sun::star::uno::Any m_aCachedFormat; bool m_bRevokedAsClient; @@ -70,9 +70,9 @@ namespace toolkit public: UnoControlFormattedFieldModel(); UnoControlFormattedFieldModel( const UnoControlFormattedFieldModel& rModel ) : UnoControlModel( rModel ) {;} - - UnoControlModel* Clone() const { return new UnoControlFormattedFieldModel( *this ); } - + + UnoControlModel* Clone() const { return new UnoControlFormattedFieldModel( *this ); } + // ::com::sun::star::io::XPersistObject ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException); @@ -94,11 +94,11 @@ namespace toolkit // UnoControlModel virtual void ImplNormalizePropertySequence( - const sal_Int32 _nCount, /// the number of entries in the arrays - sal_Int32* _pHandles, /// the handles of the properties to set - ::com::sun::star::uno::Any* _pValues, /// the values of the properties to set - sal_Int32* _pValidHandles /// pointer to the valid handles, allowed to be adjusted - ) const SAL_THROW(()); + const sal_Int32 _nCount, /// the number of entries in the arrays + sal_Int32* _pHandles, /// the handles of the properties to set + ::com::sun::star::uno::Any* _pValues, /// the values of the properties to set + sal_Int32* _pValidHandles /// pointer to the valid handles, allowed to be adjusted + ) const SAL_THROW(()); private: void impl_updateTextFromValue_nothrow(); void impl_updateCachedFormatter_nothrow(); @@ -112,17 +112,17 @@ namespace toolkit { public: UnoFormattedFieldControl(); - ::rtl::OUString GetComponentServiceName(); + ::rtl::OUString GetComponentServiceName(); // ::com::sun::star::awt::XTextListener void SAL_CALL textChanged( const ::com::sun::star::awt::TextEvent& rEvent ) throw(::com::sun::star::uno::RuntimeException); - + // ::com::sun::star::lang::XServiceInfo DECLIMPL_SERVICEINFO_DERIVED( UnoFormattedFieldControl, UnoEditControl, szServiceName2_UnoControlFormattedField ) }; //........................................................................ -} // namespace toolkit +} // namespace toolkit //........................................................................ #endif // TOOLKIT_FORMATTED_CONTROL_HXX |