summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-01-15 14:42:32 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-01-17 11:33:14 -0500
commitc04cff6e12b83d47dec4bc7cf86049fe2ba8ff6c (patch)
tree3e7250b9b021abcb681bddeeb08b1700b4b23d71 /svx
parente128bf2aef50c91e918b2a9657ebc8cfb68bb4fd (diff)
Make thse constructors non-inline.
Change-Id: Iaf23a9962c9dd748247cb986ffabb1a5ba173c09
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/framelink.cxx31
1 files changed, 31 insertions, 0 deletions
diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx
index 20fdd3f68c3d..93e16a0c57b0 100644
--- a/svx/source/dialog/framelink.cxx
+++ b/svx/source/dialog/framelink.cxx
@@ -1124,6 +1124,37 @@ void lclDrawDiagFrameBorders(
#define SCALEVALUE( value ) lclScaleValue( value, fScale, nMaxWidth )
+Style::Style()
+ : meRefMode( REFMODE_CENTERED )
+ , mnType( ::com::sun::star::table::BorderLineStyle::SOLID )
+{ Clear(); }
+
+Style::Style( double nP, double nD, double nS, editeng::SvxBorderStyle nType ) :
+ meRefMode( REFMODE_CENTERED ), mnType( nType )
+{
+ Clear();
+ Set( nP, nD, nS );
+}
+
+Style::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 );
+}
+
+Style::Style( const editeng::SvxBorderLine& rBorder, double fScale, sal_uInt16 nMaxWidth ) :
+ meRefMode( REFMODE_CENTERED )
+{
+ Set( rBorder, fScale, nMaxWidth );
+}
+
+Style::Style( const editeng::SvxBorderLine* pBorder, double fScale, sal_uInt16 nMaxWidth ) :
+ meRefMode( REFMODE_CENTERED )
+{
+ Set( pBorder, fScale, nMaxWidth );
+}
+
void Style::Clear()
{
Set( Color(), Color(), Color(), false, 0, 0, 0 );