Kaydet (Commit) 7c673d27 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bin some noise comments

Change-Id: I5815d8fe9a77c04ec73ac105decce3cc154487c5
üst 5d77b738
...@@ -22,9 +22,6 @@ ...@@ -22,9 +22,6 @@
#include <o3tl/typed_flags_set.hxx> #include <o3tl/typed_flags_set.hxx>
#include <o3tl/enumarray.hxx> #include <o3tl/enumarray.hxx>
// defines ---------------------------------------------------------------
// copy from border.hxx
// Border-Modes for SvxBorderTabPage // Border-Modes for SvxBorderTabPage
enum class SwBorderModes enum class SwBorderModes
{ {
...@@ -33,6 +30,7 @@ enum class SwBorderModes ...@@ -33,6 +30,7 @@ enum class SwBorderModes
TABLE = 0x02, TABLE = 0x02,
FRAME = 0x04, FRAME = 0x04,
}; };
namespace o3tl namespace o3tl
{ {
template<> struct typed_flags<SwBorderModes> : is_typed_flags<SwBorderModes, 0x07> {}; template<> struct typed_flags<SwBorderModes> : is_typed_flags<SwBorderModes, 0x07> {};
...@@ -54,7 +52,6 @@ namespace o3tl ...@@ -54,7 +52,6 @@ namespace o3tl
// flags for SvxBorderTabPage // flags for SvxBorderTabPage
#define SVX_HIDESHADOWCTL 0x01 #define SVX_HIDESHADOWCTL 0x01
// copy from chardlg.hxx
#define DISABLE_CASEMAP ((sal_uInt16)0x0001) #define DISABLE_CASEMAP ((sal_uInt16)0x0001)
#define DISABLE_WORDLINE ((sal_uInt16)0x0002) #define DISABLE_WORDLINE ((sal_uInt16)0x0002)
#define DISABLE_BLINK ((sal_uInt16)0x0004) #define DISABLE_BLINK ((sal_uInt16)0x0004)
...@@ -97,22 +94,17 @@ const o3tl::enumarray<SvxNumValCategory, double> fSvxNumValConst = { ...@@ -97,22 +94,17 @@ const o3tl::enumarray<SvxNumValCategory, double> fSvxNumValConst = {
0.0 // SvxNumValCategory::NoValue 0.0 // SvxNumValCategory::NoValue
}; };
// copy from page.hxx
// enum ------------------------------------------------------------------
enum SvxModeType enum SvxModeType
{ {
SVX_PAGE_MODE_STANDARD, SVX_PAGE_MODE_STANDARD,
SVX_PAGE_MODE_CENTER, SVX_PAGE_MODE_CENTER,
SVX_PAGE_MODE_PRESENTATION SVX_PAGE_MODE_PRESENTATION
}; };
// define ----------------------------------------------------------------
// 1/2 cm in TWIPS // 1/2 cm in TWIPS
// Is also used for minimum size of LayFrms of any kind // Is also used for minimum size of LayFrms of any kind
#define MM50 283 //from original svx/inc/paragrph.hxx #define MM50 283 //from original svx/inc/paragrph.hxx
//--------------from original svx/inc/tabstpge.hxx
enum class TabulatorDisableFlags { enum class TabulatorDisableFlags {
TypeLeft = 0x0001, TypeLeft = 0x0001,
TypeRight = 0x0002, TypeRight = 0x0002,
...@@ -131,7 +123,6 @@ namespace o3tl { ...@@ -131,7 +123,6 @@ namespace o3tl {
template<> struct typed_flags<TabulatorDisableFlags> : is_typed_flags<TabulatorDisableFlags, 0x1ff> {}; template<> struct typed_flags<TabulatorDisableFlags> : is_typed_flags<TabulatorDisableFlags, 0x1ff> {};
} }
#endif #endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment