diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 02:11:34 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-20 02:11:34 +0000 |
commit | b8ce2a70e422d05c0814fb597c858f0d2f68a8fa (patch) | |
tree | 43fb690843487e4b7cfc7f01d51495db16bd340d /dbaccess | |
parent | INTEGRATION: CWS warnings01 (1.5.50); FILE MERGED (diff) | |
download | core-b8ce2a70e422d05c0814fb597c858f0d2f68a8fa.tar.gz core-b8ce2a70e422d05c0814fb597c858f0d2f68a8fa.zip |
INTEGRATION: CWS warnings01 (1.14.74); FILE MERGED
2006/03/24 15:36:14 fs 1.14.74.1: #i57457# warning-free code (unxlngi6/.pro + unxsoli4.pro)
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/inc/FieldDescControl.hxx | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/dbaccess/source/ui/inc/FieldDescControl.hxx b/dbaccess/source/ui/inc/FieldDescControl.hxx index 0331e5582a5c..846d0c60400a 100644 --- a/dbaccess/source/ui/inc/FieldDescControl.hxx +++ b/dbaccess/source/ui/inc/FieldDescControl.hxx @@ -4,9 +4,9 @@ * * $RCSfile: FieldDescControl.hxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: hr $ $Date: 2005-09-23 12:33:02 $ + * last change: $Author: hr $ $Date: 2006-06-20 03:11:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -130,10 +130,9 @@ namespace dbaui ScrollBar* m_pVertScroll; ScrollBar* m_pHorzScroll; - TOTypeInfoSP m_pPreviousType; + TOTypeInfoSP m_pPreviousType; USHORT nCurChildId; short m_nPos; - short nOldDefaultPos; XubString aYes; XubString aNo; @@ -143,6 +142,9 @@ namespace dbaui ULONG nDelayedGrabFocusEvent; sal_Bool m_bAdded; + bool m_bRightAligned; + + OFieldDescription* pActFieldDescr; DECL_LINK( OnScroll, ScrollBar*); @@ -163,9 +165,14 @@ namespace dbaui void ScrollAllAggregates(); sal_Bool isTextFormat(const OFieldDescription* _pFieldDescr,sal_uInt32& _nFormatKey) const; + protected: - OFieldDescription* pActFieldDescr; // falls geloescht werden soll - sal_Bool m_bRight; + inline void setRightAligned() { m_bRightAligned = true; } + inline bool isRightAligned() const { return m_bRightAligned; } + + inline void saveCurrentFieldDescData() { SaveData( pActFieldDescr ); } + inline OFieldDescription* getCurrentFieldDescData() { return pActFieldDescr; } + inline void setCurrentFieldDescData( OFieldDescription* _pDesc ) { pActFieldDescr = _pDesc; } USHORT CountActiveAggregates() const; @@ -179,7 +186,7 @@ namespace dbaui virtual ::com::sun::star::lang::Locale GetLocale() const = 0; virtual void CellModified(long nRow, USHORT nColId ) = 0; - virtual void SetModified(BOOL bModified) = 0; + virtual void SetModified(BOOL bModified); // base implementation is empty virtual TOTypeInfoSP getTypeInfo(sal_Int32 _nPos) = 0; virtual const OTypeInfoMap* getTypeInfo() const = 0; |