diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 09:21:53 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:11:34 +0000 |
commit | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (patch) | |
tree | efbfb952f3236a6f56540ddae6a896c8c73774a0 /include/svtools/ruler.hxx | |
parent | f12e483589888f87843026ceff5ae3c1e615ca02 (diff) |
Formatting changes across all modules
+ Removed comment cruft
+ Tab formatting in number of files
+ Some commented out code removed
+ Tab characters replaced with spaces
+ Newline cleanup in quite a few files
+ Tweak header guard #endifs
Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc
Reviewed-on: https://gerrit.libreoffice.org/22221
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'include/svtools/ruler.hxx')
-rw-r--r-- | include/svtools/ruler.hxx | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index 33106c0b7a47..740e4427ff2f 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -456,13 +456,11 @@ Tips for the use of the ruler: *************************************************************************/ -// - WinBits - #define WB_EXTRAFIELD ((WinBits)0x00004000) #define WB_RIGHT_ALIGNED ((WinBits)0x00008000) #define WB_STDRULER WB_HORZ -// - Ruler-Type - enum RulerType { RULER_TYPE_DONTKNOW, RULER_TYPE_OUTSIDE, RULER_TYPE_MARGIN1, RULER_TYPE_MARGIN2, @@ -483,11 +481,9 @@ enum RulerExtra { RULER_EXTRA_DONTKNOW, #define RULER_MOUSE_BORDERWIDTH 5 #define RULER_MOUSE_MARGINWIDTH 3 -// - RulerMargin - #define RULER_MARGIN_SIZEABLE ((sal_uInt16)0x0001) -// - RulerBorder - #define RULER_BORDER_SIZEABLE ((sal_uInt16)0x0001) #define RULER_BORDER_MOVEABLE ((sal_uInt16)0x0002) @@ -505,7 +501,6 @@ struct RulerBorder long nMaxPos; }; -// - RulerIndent - #define RULER_INDENT_TOP ((sal_uInt16)0x0000) #define RULER_INDENT_BOTTOM ((sal_uInt16)0x0001) @@ -518,7 +513,6 @@ struct RulerIndent sal_uInt16 nStyle; }; -// - RulerTab - #define RULER_TAB_LEFT ((sal_uInt16)0x0000) #define RULER_TAB_RIGHT ((sal_uInt16)0x0001) @@ -535,15 +529,13 @@ struct RulerTab }; - -// - RulerLine - - struct RulerLine { long nPos; sal_uInt16 nStyle; }; + struct RulerSelection { long nPos; @@ -565,6 +557,7 @@ struct RulerSelection {} }; + struct RulerUnitData { MapUnit eMapUnit; // MAP_UNIT for calculation @@ -576,6 +569,7 @@ struct RulerUnitData sal_Char aUnitStr[8]; // Unit string }; + // Data for drawing ruler tabstops struct RulerTabData { @@ -597,7 +591,6 @@ struct RulerTabData sal_uInt16 textoff; }; -// - Ruler - class ImplRulerData; |