summaryrefslogtreecommitdiff
path: root/xmloff/source/style/PageMasterExportPropMapper.cxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2011-01-12 23:30:44 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-19 17:57:17 +0100
commitb624e6e6cf2ecfc6e6e983af45212fce5e731006 (patch)
tree1deb43c8ce1fe134fd337cc00077cbfcb169e177 /xmloff/source/style/PageMasterExportPropMapper.cxx
parent9818095b8ee55ce45e2ff5b9b0d92b7e1484a45d (diff)
ODF export of new border types
Diffstat (limited to 'xmloff/source/style/PageMasterExportPropMapper.cxx')
-rwxr-xr-xxmloff/source/style/PageMasterExportPropMapper.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/style/PageMasterExportPropMapper.cxx b/xmloff/source/style/PageMasterExportPropMapper.cxx
index 38c74d128356..6a9b9d1d7a2f 100755
--- a/xmloff/source/style/PageMasterExportPropMapper.cxx
+++ b/xmloff/source/style/PageMasterExportPropMapper.cxx
@@ -46,11 +46,12 @@ using namespace ::xmloff::token;
//______________________________________________________________________________
-inline sal_Bool lcl_HasSameLineWidth( const table::BorderLine& rLine1, const table::BorderLine& rLine2 )
+inline sal_Bool lcl_HasSameLineWidth( const table::BorderLine2& rLine1, const table::BorderLine2& rLine2 )
{
return (rLine1.InnerLineWidth == rLine2.InnerLineWidth) &&
(rLine1.OuterLineWidth == rLine2.OuterLineWidth) &&
- (rLine1.LineDistance == rLine2.LineDistance);
+ (rLine1.LineDistance == rLine2.LineDistance) &&
+ (rLine1.LineWidth == rLine2.LineWidth);
}
inline sal_Bool operator==( const table::BorderLine2& rLine1, const table::BorderLine2& rLine2 )