summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editeng/source/items/borderline.cxx5
-rw-r--r--include/editeng/borderline.hxx2
2 files changed, 5 insertions, 2 deletions
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index d3eef130e64c..d58f8c3dbc1c 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -618,7 +618,10 @@ Color SvxBorderLine::GetColorGap( ) const
return aResult;
}
-
+void SvxBorderLine::SetWidth( long nWidth )
+{
+ m_nWidth = nWidth;
+}
OUString SvxBorderLine::GetValueString( SfxMapUnit eSrcUnit,
SfxMapUnit eDestUnit,
diff --git a/include/editeng/borderline.hxx b/include/editeng/borderline.hxx
index 3465a02b1d4c..c080a9413200 100644
--- a/include/editeng/borderline.hxx
+++ b/include/editeng/borderline.hxx
@@ -86,7 +86,7 @@ namespace editeng {
bool HasGapColor() const { return m_pColorGapFn != NULL; }
Color GetColorGap() const;
- void SetWidth( long nWidth = 0 ) { m_nWidth = nWidth; }
+ void SetWidth( long nWidth = 0 );
/** Guess the style and width from the three lines widths values.
When the value of nStyle is SvxBorderLine::DOUBLE, the style set will be guessed