diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-05 23:11:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-08 10:51:11 +0000 |
commit | 0aa5b4398e0bdd01315b2521fc2c827b58f49d39 (patch) | |
tree | 37ca8f7365ada48f9e3cd9c28fbfa50295b25479 /svtools/inc | |
parent | bc5e09608952caf57d72c81cca43af7a930b3b19 (diff) |
move java options page .ui to cui and adapt code
Change-Id: I481a4bbe06a5d0b3fb8701181d49d84d628fdd32
Diffstat (limited to 'svtools/inc')
-rw-r--r-- | svtools/inc/svtools/svlbitm.hxx | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/svtools/inc/svtools/svlbitm.hxx b/svtools/inc/svtools/svlbitm.hxx index 21a7fc3b5449..c9a40b35a190 100644 --- a/svtools/inc/svtools/svlbitm.hxx +++ b/svtools/inc/svtools/svlbitm.hxx @@ -62,8 +62,8 @@ public: ~SvLBoxButtonData(); sal_uInt16 GetIndex( sal_uInt16 nItemState ); - inline long Width(); - inline long Height(); + long Width(); + long Height(); void SetLink( const Link& rLink) { aLink=rLink; } const Link& GetLink() const { return aLink; } sal_Bool IsRadio(); @@ -73,7 +73,11 @@ public: void StoreButtonState( SvTreeListEntry* pEntry, sal_uInt16 nItemFlags ); SvButtonState ConvertToButtonState( sal_uInt16 nItemFlags ) const; - inline SvButtonState GetActButtonState() const; + SvButtonState GetActButtonState() const + { + return eState; + } + SvTreeListEntry* GetActEntry() const; Image aBmps[24]; // Indizes siehe Konstanten BMP_ .... @@ -84,25 +88,6 @@ public: sal_Bool HasDefaultImages( void ) const; }; -inline long SvLBoxButtonData::Width() -{ - if ( !bDataOk ) - SetWidthAndHeight(); - return nWidth; -} - -inline long SvLBoxButtonData::Height() -{ - if ( !bDataOk ) - SetWidthAndHeight(); - return nHeight; -} - -inline SvButtonState SvLBoxButtonData::GetActButtonState() const -{ - return eState; -} - // ********************************************************************** class SVT_DLLPUBLIC SvLBoxString : public SvLBoxItem |