[Libreoffice-commits] core.git: editeng/source include/editeng

Kohei Yoshida kohei.yoshida at collabora.com
Mon Mar 17 19:50:54 PDT 2014


 editeng/source/items/borderline.cxx |    5 ++++-
 include/editeng/borderline.hxx      |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 87efec9cc27b18aa09e50c289b503ba1127eb0b8
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Mon Mar 17 21:00:26 2014 -0400

    Make this non-inline.
    
    Change-Id: I2002f7278b63b7678a5274e4213ab9dfb50e525e

diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index d3eef13..d58f8c3 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 3465a02..c080a94 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


More information about the Libreoffice-commits mailing list