diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-07 19:11:11 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-08 22:58:21 +0100 |
commit | 1535f39388223de53e4b923c6f7bb71ee32c1858 (patch) | |
tree | 9f123414f83b64970b64b3b60b5429b63fc30dba /include/xmloff/xmlnumi.hxx | |
parent | sw: refactor SwXNumberingRules (diff) | |
download | core-1535f39388223de53e4b923c6f7bb71ee32c1858.tar.gz core-1535f39388223de53e4b923c6f7bb71ee32c1858.zip |
sw: store Outline Numbering as ODF fragment instead of SfxPoolItems
This should be less fragile and re-uses some xmloff and unocore code.
Storing from ~SwBaseNumRules() does not work because other gobals that
the export code relies on are already dead at the time it is called from
a terminate() listener, so store when the dialog updates a format.
Change-Id: I4e148b82d0a338ec7ffa6429c6e162db79f8c44e
Diffstat (limited to 'include/xmloff/xmlnumi.hxx')
-rw-r--r-- | include/xmloff/xmlnumi.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/xmloff/xmlnumi.hxx b/include/xmloff/xmlnumi.hxx index 4e7bc1591d5c..413b9ffa0dfa 100644 --- a/include/xmloff/xmlnumi.hxx +++ b/include/xmloff/xmlnumi.hxx @@ -30,7 +30,8 @@ class SvI18NMap; class SvxXMLListLevelStyleContext_Impl; typedef std::vector<SvxXMLListLevelStyleContext_Impl *> SvxXMLListStyle_Impl; -class SvxXMLListStyleContext : public SvXMLStyleContext +class XMLOFF_DLLPUBLIC SvxXMLListStyleContext + : public SvXMLStyleContext { const OUString sIsPhysical; const OUString sNumberingRules; @@ -47,7 +48,7 @@ class SvxXMLListStyleContext : public SvXMLStyleContext protected: - virtual void SetAttribute( sal_uInt16 nPrefixKey, + SAL_DLLPRIVATE virtual void SetAttribute( sal_uInt16 nPrefixKey, const OUString& rLocalName, const OUString& rValue ) SAL_OVERRIDE; |