diff options
author | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2011-02-17 23:08:53 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedricbosdo@openoffice.org> | 2011-03-19 17:57:18 +0100 |
commit | c0c2e9ed18b29c109ef1194e9b7b4fb48fa5f787 (patch) | |
tree | 5054fe59eba170eb4cb64a5506499e19e841d96a /editeng/inc | |
parent | 2001821bc9cf0ab285662a2beff279a7346594ba (diff) |
Fixed RTF import/export of new border lines
Diffstat (limited to 'editeng/inc')
-rwxr-xr-x | editeng/inc/editeng/borderline.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/inc/editeng/borderline.hxx b/editeng/inc/editeng/borderline.hxx index f66244de589f..3c6ba741ac38 100755 --- a/editeng/inc/editeng/borderline.hxx +++ b/editeng/inc/editeng/borderline.hxx @@ -202,7 +202,7 @@ public: bool HasPriority( const SvxBorderLine& rOtherLine ) const; - bool isEmpty() const { return m_aWidthImpl.IsEmpty( ); } + bool isEmpty() const { return m_aWidthImpl.IsEmpty( ) || m_nStyle == NO_STYLE || m_nWidth == 0; } bool isDouble() const { return m_aWidthImpl.IsDouble(); } sal_uInt16 GetScaledWidth() const { return GetOutWidth() + GetInWidth() + GetDistance(); } |