summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-08-20 11:29:29 +0200
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-08-20 11:32:57 +0200
commitb95d203bc17c83ec0fe5139f519d53ed1d842d3a (patch)
tree71e9834149b782991a69580d4900a8dc771ac6a3 /sw/inc
parent4967a9d8f96987354b8b55d861e2e3f6fa93e7a4 (diff)
fdo#53175: Don't load the default values of the styles in writerfilter
...or we may have some additional properties set on some styles. Change-Id: I5a5d307931a2a6c1f25bd2da93381d8de65c2480
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/IDocumentSettingAccess.hxx3
-rw-r--r--sw/inc/doc.hxx1
2 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/IDocumentSettingAccess.hxx b/sw/inc/IDocumentSettingAccess.hxx
index d912376be748..dd907f2f2aa8 100644
--- a/sw/inc/IDocumentSettingAccess.hxx
+++ b/sw/inc/IDocumentSettingAccess.hxx
@@ -93,7 +93,8 @@ namespace com { namespace sun { namespace star { namespace i18n { struct Forbidd
LABEL_DOCUMENT,
PURGE_OLE,
KERN_ASIAN_PUNCTUATION,
- MATH_BASELINE_ALIGNMENT
+ MATH_BASELINE_ALIGNMENT,
+ STYLES_NODEFAULT
};
public:
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index e6b617fe121d..c18635e5bc56 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -566,6 +566,7 @@ private:
// floating screen objects as given by its
// attribute 'WrapInfluenceOnObjPos'.
bool mbMathBaselineAlignment : 1; // TL 2010-10-29 #i972#
+ bool mbStylesNoDefault : 1;
// non-ui-compatibility flags:
bool mbOldNumbering : 1;