From cd7006622420b8f56127470cf4bca079e713b4ec Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 9 Jul 2010 14:11:37 +0200 Subject: [PATCH] RTF: fix typo so that hairline table borders gets exported * patches/dev300/border-types-dotted-dashed.diff: Add missing 'else' --- patches/dev300/border-types-dotted-dashed.diff | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/patches/dev300/border-types-dotted-dashed.diff b/patches/dev300/border-types-dotted-dashed.diff index ce3ac9e..05a5c54 100644 --- a/patches/dev300/border-types-dotted-dashed.diff +++ b/patches/dev300/border-types-dotted-dashed.diff @@ -3105,7 +3105,7 @@ index 4e6ac23..ae65c43 100644 + if ( DEF_LINE_WIDTH_0 == pLine->GetOutWidth( ) ) + // Hairline + sLineStr = OOO_STRING_SVTOOLS_RTF_BRDRHAIR; -+ if( 255 >= pLine->GetOutWidth() ) ++ else if( 255 >= pLine->GetOutWidth() ) + { + // Simple width simple + sLineStr = OOO_STRING_SVTOOLS_RTF_BRDRS; -- 1.7.0