summaryrefslogtreecommitdiff
path: root/sw/inc/unostyle.hxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-11-27 13:07:09 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-11-27 17:44:30 +0100
commitfe151f719d33128139f01bed89271c02849336a4 (patch)
treedb2e8588d5ac741b2deaf9aa472a86b37032156f /sw/inc/unostyle.hxx
parent1e44f3d60ebe3e31e2b4075c1a10dc6a6f2db449 (diff)
keep containers in a map to simplify things
Change-Id: I20db506fb232c408b7b96e3b1a54da44f342d8bd
Diffstat (limited to 'sw/inc/unostyle.hxx')
-rw-r--r--sw/inc/unostyle.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 8aabdff3c082..7a96fbb545ba 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -62,11 +62,7 @@ class SwXStyleFamilies : public cppu::WeakImplHelper
{
SwDocShell* m_pDocShell;
- css::uno::Reference< css::container::XNameContainer > m_xCharStyles;
- css::uno::Reference< css::container::XNameContainer > m_xParaStyles;
- css::uno::Reference< css::container::XNameContainer > m_xFrameStyles;
- css::uno::Reference< css::container::XNameContainer > m_xPageStyles;
- css::uno::Reference< css::container::XNameContainer > m_xNumberingStyles;
+ std::map<SfxStyleFamily, css::uno::Reference<css::container::XNameContainer>> m_vContainers;
protected:
virtual ~SwXStyleFamilies();
public: