From 6163291b25d2dac74ac353c3879fdc520bee747e Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 8 Dec 2014 15:24:45 -0500 Subject: Move IndexedStyleSheets to the Imp(l) class. And remove #include which wasn't really used. Change-Id: I05bbc7848c753795f859f80725be6332d8e5ce46 --- include/svl/style.hxx | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'include') 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 #include -#include #include #include #include @@ -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 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(); }; -- cgit