summaryrefslogtreecommitdiff
path: root/writerfilter/source
diff options
context:
space:
mode:
authorPriyankaGaikwad <priyanka.gaikwad@synerzip.com>2014-04-09 14:50:39 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-04-15 08:55:29 +0000
commit1f274be55e8c7028bf003786e9b2784909760d07 (patch)
treef8e6726c096c7437b77df1502cfeed579d4beb45 /writerfilter/source
parent762660eec225d69f5284f22f6ff5f4b4108fe288 (diff)
Line spacing is not preserved for styles.
Description : In StyleSheetTable.cxx, while setting the property "ParaInteropGrabBag" throws an exception. Hence rest of the properties are not set. Implimentation : Skip that property so that rest of the properties will not be lost. Change-Id: Id488de71bc5f893a7401420d9e63e4405b90f760 Reviewed-on: https://gerrit.libreoffice.org/8902 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'writerfilter/source')
-rw-r--r--writerfilter/source/dmapper/StyleSheetTable.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx
index a37caca4185f..3548ec33820d 100644
--- a/writerfilter/source/dmapper/StyleSheetTable.cxx
+++ b/writerfilter/source/dmapper/StyleSheetTable.cxx
@@ -1113,7 +1113,8 @@ void StyleSheetTable::ApplyStyleSheets( FontTablePtr rFontTable )
// Don't add the style name properties
bool bIsParaStyleName = aPropValues[nProp].Name == "ParaStyleName";
bool bIsCharStyleName = aPropValues[nProp].Name == "CharStyleName";
- if ( !bIsParaStyleName && !bIsCharStyleName )
+ bool bIsParaInteropGrabBag = aPropValues[nProp].Name == "ParaInteropGrabBag";
+ if ( !bIsParaStyleName && !bIsCharStyleName && !bIsParaInteropGrabBag)
{
aSortedPropVals.Insert( aPropValues[nProp] );
}