diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-11-06 13:40:30 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-11-06 13:40:30 +0000 |
commit | 032dceae89f63f6b940dac29fdf64ecbc4de451e (patch) | |
tree | 0843c49baf4ca4e4a440b4a65d47f81643d30e6d /svx | |
parent | 021bb81b49b2ecf6c01fa1ba600c65f1a9b4f8a5 (diff) |
INTEGRATION: CWS dba21fini (1.18.74); FILE MERGED
2006/10/23 12:11:24 fs 1.18.74.1: #i70180#
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/inc/gridcell.hxx | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx index f43d1afb75ab..6ae7f7ec02eb 100644 --- a/svx/source/inc/gridcell.hxx +++ b/svx/source/inc/gridcell.hxx @@ -4,9 +4,9 @@ * * $RCSfile: gridcell.hxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: ihi $ $Date: 2006-08-28 15:02:57 $ + * last change: $Author: kz $ $Date: 2006-11-06 14:40:30 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -415,6 +415,13 @@ protected: protected: // DbCellControl virtual void implAdjustGenericFieldSetting( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxModel ); + +protected: + inline void implSetMaxTextLen( sal_Int16 _nMaxLen ) + { + implSetEffectiveMaxTextLen( _nMaxLen ? _nMaxLen : EDIT_NOLIMIT ); + } + virtual void implSetEffectiveMaxTextLen( sal_Int16 _nMaxLen ); }; //================================================================== @@ -447,6 +454,8 @@ protected: // DbCellControl virtual sal_Bool commitControl( ); virtual void updateFromModel( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > _rxModel ); + // DbLimitedLengthField + virtual void implSetEffectiveMaxTextLen( sal_Int16 _nMaxLen ); }; //================================================================== |