diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-01-15 14:42:32 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-01-17 11:33:14 -0500 |
commit | c04cff6e12b83d47dec4bc7cf86049fe2ba8ff6c (patch) | |
tree | 3e7250b9b021abcb681bddeeb08b1700b4b23d71 /include/svx/framelink.hxx | |
parent | e128bf2aef50c91e918b2a9657ebc8cfb68bb4fd (diff) |
Make thse constructors non-inline.
Change-Id: Iaf23a9962c9dd748247cb986ffabb1a5ba173c09
Diffstat (limited to 'include/svx/framelink.hxx')
-rw-r--r-- | include/svx/framelink.hxx | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx index 952d66e73806..ebdc010b69d7 100644 --- a/include/svx/framelink.hxx +++ b/include/svx/framelink.hxx @@ -108,25 +108,16 @@ class SVX_DLLPUBLIC Style { public: /** Constructs an invisible frame style. */ - inline explicit Style() - : meRefMode( REFMODE_CENTERED ) - , mnType( ::com::sun::star::table::BorderLineStyle::SOLID ) - { Clear(); } + explicit Style(); /** Constructs a frame style with passed line widths. */ - inline explicit Style( double nP, double nD, double nS, editeng::SvxBorderStyle nType ) : - meRefMode( REFMODE_CENTERED ), mnType( nType ) - { Clear(); Set( nP, nD, nS ); } + explicit Style( double nP, double nD, double nS, editeng::SvxBorderStyle nType ); /** Constructs a frame style with passed color and line widths. */ - inline explicit Style( const Color& rColorPrim, const Color& rColorSecn, const Color& rColorGap, bool bUseGapColor, - double nP, double nD, double nS, editeng::SvxBorderStyle nType ) : - meRefMode( REFMODE_CENTERED ), mnType( nType ) - { Set( rColorPrim, rColorSecn, rColorGap, bUseGapColor, nP, nD, nS ); } + explicit Style( const Color& rColorPrim, const Color& rColorSecn, const Color& rColorGap, bool bUseGapColor, + double nP, double nD, double nS, editeng::SvxBorderStyle nType ); /** Constructs a frame style from the passed SvxBorderLine struct. */ - inline explicit Style( const editeng::SvxBorderLine& rBorder, double fScale = 1.0, sal_uInt16 nMaxWidth = SAL_MAX_UINT16 ) : - meRefMode( REFMODE_CENTERED ) { Set( rBorder, fScale, nMaxWidth ); } + explicit Style( const editeng::SvxBorderLine& rBorder, double fScale = 1.0, sal_uInt16 nMaxWidth = SAL_MAX_UINT16 ); /** Constructs a frame style from the passed SvxBorderLine struct. Clears the style, if pBorder is 0. */ - inline explicit Style( const editeng::SvxBorderLine* pBorder, double fScale = 1.0, sal_uInt16 nMaxWidth = SAL_MAX_UINT16 ) : - meRefMode( REFMODE_CENTERED ) { Set( pBorder, fScale, nMaxWidth ); } + explicit Style( const editeng::SvxBorderLine* pBorder, double fScale = 1.0, sal_uInt16 nMaxWidth = SAL_MAX_UINT16 ); inline RefMode GetRefMode() const { return meRefMode; } inline const Color& GetColorPrim() const { return maColorPrim; } |