diff options
author | Jan Holesovsky <kendy@collabora.com> | 2015-01-03 23:50:02 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-01-04 02:15:05 +0100 |
commit | 5badba2028ebf3ce399ed659c78b3590f364c67e (patch) | |
tree | d4223a9ef5723f7b753a08cce75f024b17822306 /include | |
parent | 5f363ce8bc563f64271744026cf0e16830cf9b06 (diff) |
A bit of cleanup.
Change-Id: Ia7c5cf07dba7f65ee65dab67a0a32975c8026dce
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/simptabl.hxx | 2 | ||||
-rw-r--r-- | include/svtools/svtabbx.hxx | 2 | ||||
-rw-r--r-- | include/svx/ctredlin.hxx | 29 |
3 files changed, 12 insertions, 21 deletions
diff --git a/include/svtools/simptabl.hxx b/include/svtools/simptabl.hxx index 821a1d73753f..006973422190 100644 --- a/include/svtools/simptabl.hxx +++ b/include/svtools/simptabl.hxx @@ -96,7 +96,7 @@ public: sal_uInt16 nCol=HEADERBAR_APPEND, HeaderBarItemBits nBits = HIB_STDSTYLE); - void SetTabs( long* pTabs, MapUnit = MAP_APPFONT ); + void SetTabs(const long* pTabs, MapUnit = MAP_APPFONT); void ClearHeader(); diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx index 24450a3083a2..807eef998675 100644 --- a/include/svtools/svtabbx.hxx +++ b/include/svtools/svtabbx.hxx @@ -65,7 +65,7 @@ protected: public: SvTabListBox( vcl::Window* pParent, WinBits = WB_BORDER ); virtual ~SvTabListBox(); - void SetTabs( long* pTabs, MapUnit = MAP_APPFONT ); + void SetTabs(const long* pTabs, MapUnit = MAP_APPFONT); sal_uInt16 TabCount() const { return (sal_uInt16)nTabCount; } using SvTreeListBox::GetTab; long GetTab( sal_uInt16 nTab ) const; diff --git a/include/svx/ctredlin.hxx b/include/svx/ctredlin.hxx index 2eb1f17bc1ae..9d8d3c789fb0 100644 --- a/include/svx/ctredlin.hxx +++ b/include/svx/ctredlin.hxx @@ -42,9 +42,7 @@ #define FLT_DATE_BETWEEN 4 #define FLT_DATE_SAVE 5 - -// Struct for sorting data - +/// Struct for sorting data. class SVX_DLLPUBLIC RedlinData { public: @@ -55,6 +53,7 @@ public: void* pData; }; +/// Entries for list. class SvxRedlinEntry : public SvTreeListEntry { public: @@ -62,7 +61,7 @@ public: virtual ~SvxRedlinEntry(); }; -// Class for the representation of Strings depending on the font +/// Class for the representation of Strings depending on the font. class SvLBoxColorString : public SvLBoxString { private: @@ -75,6 +74,10 @@ public: SvLBoxColorString(); virtual ~SvLBoxColorString(); + /** Paint function of the SvLBoxColorString class. + + The relevant text with the selected color is drawn in the output device. + */ virtual void Paint( const Point& rPos, SvTreeListBox& rOutDev, const SvViewDataEntry* pView, const SvTreeListEntry* pEntry) SAL_OVERRIDE; @@ -109,8 +112,6 @@ protected: virtual sal_Int32 ColCompare(SvTreeListEntry*,SvTreeListEntry*) SAL_OVERRIDE; virtual void InitEntry(SvTreeListEntry*, const OUString&, const Image&, const Image&, SvLBoxButtonKind) SAL_OVERRIDE; - - public: SvxRedlinTable(SvSimpleTableContainer& rParent, WinBits nBits = WB_BORDER); @@ -165,9 +166,7 @@ public: const Link& GetColCompareHdl() const { return aColCompareLink; } }; - -// Filter- Tabpage - +/// Tabpage with the filter text entries etc. class SVX_DLLPUBLIC SvxTPFilter: public TabPage { private: @@ -208,7 +207,6 @@ private: DECL_LINK( ModifyDate, void* ); DECL_LINK( RefHandle, PushButton* ); - protected: void ShowDateFields(sal_uInt16 nKind); @@ -232,7 +230,7 @@ public: void SetLastTime(const tools::Time &aTime); void SetDateMode(sal_uInt16 nMode); - sal_uInt16 GetDateMode(); + sal_uInt16 GetDateMode(); void ClearAuthors(); void InsertAuthor( const OUString& rString, sal_Int32 nPos = LISTBOX_APPEND ); @@ -242,7 +240,6 @@ public: void SetComment(const OUString& rComment); OUString GetComment()const; - // Methods for Calc { void SetRange(const OUString& rString); OUString GetRange() const; @@ -293,15 +290,10 @@ public: void Enable( bool bEnable = true, bool bChild = true ); void Disable( bool bChild = true ); - // } Methods for Calc }; - - -// View- Tabpage - - +/// Tabpage with the redlining entries. class SVX_DLLPUBLIC SvxTPView: public TabPage { private: @@ -399,7 +391,6 @@ public: SvxRedlinTable* GetViewTable(); }; - #endif // INCLUDED_SVX_CTREDLIN_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |