summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-12-08 15:24:45 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-12-08 16:35:13 -0500
commit6163291b25d2dac74ac353c3879fdc520bee747e (patch)
tree867b244699ad3763652800f9ff5151e1e4ffafaa /include
parentae93dac18ec099282676c1434fa95420c0451761 (diff)
Move IndexedStyleSheets to the Imp(l) class.
And remove #include <vector> which wasn't really used. Change-Id: I05bbc7848c753795f859f80725be6332d8e5ce46
Diffstat (limited to 'include')
-rw-r--r--include/svl/style.hxx16
1 files changed, 1 insertions, 15 deletions
diff --git a/include/svl/style.hxx b/include/svl/style.hxx
index 78c1bc418b62..34ba57b73c0a 100644
--- a/include/svl/style.hxx
+++ b/include/svl/style.hxx
@@ -24,7 +24,6 @@
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <rtl/ref.hxx>
-#include <vector>
#include <comphelper/weak.hxx>
#include <cppuhelper/implbase2.hxx>
#include <svl/svldllapi.h>
@@ -273,15 +272,6 @@ public:
* Not an actual public function. Do not call it from non-subclasses.
*/
SfxStyleSheetBase& Add( const SfxStyleSheetBase& );
-
-private:
- /** This member holds the indexed style sheets.
- *
- * @internal
- * This member is private and not protected in order to have more control which style sheets are added
- * where. Ideally, all calls which add/remove/change style sheets are done in the base class.
- */
- boost::shared_ptr<svl::IndexedStyleSheets> mIndexedStyleSheets;
};
@@ -302,11 +292,7 @@ public:
virtual bool SetParent( const OUString& ) SAL_OVERRIDE;
protected:
- SfxStyleSheet() // do not use! needed by MSVC at compile time to satisfy ImplInheritanceHelper2
- : SfxStyleSheetBase(OUString("dummy"), NULL, SFX_STYLE_FAMILY_ALL, 0)
- {
- assert(false);
- }
+ SfxStyleSheet(); // do not use! needed by MSVC at compile time to satisfy ImplInheritanceHelper2
virtual ~SfxStyleSheet();
};