From 09bdea8900c5ce79df3e8f2b7fbeeed06a5b4111 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 1 Apr 2012 21:25:49 +0100 Subject: remove static objects from static_initialization_and_destruction chain --- sw/inc/unosett.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sw/inc') diff --git a/sw/inc/unosett.hxx b/sw/inc/unosett.hxx index b22783062589..a3073f261894 100644 --- a/sw/inc/unosett.hxx +++ b/sw/inc/unosett.hxx @@ -159,7 +159,6 @@ class SwXNumberingRules : public cppu::WeakAggImplHelper5 SwNumRule* pNumRule; const SfxItemPropertySet* m_pPropertySet; sal_Bool bOwnNumRuleCreated; - static String sInvalidStyle; protected: virtual ~SwXNumberingRules(); @@ -217,7 +216,7 @@ public: const String* GetBulletFontNames() const {return sNewBulletFontNames;} const SwNumRule* GetNumRule() {return pNumRule;} - static const String& GetInvalidStyle(); + static bool isInvalidStyle(const rtl::OUString &rName); void Invalidate() {pDocShell = 0;} const String& GetCreatedNumRuleName() const{return sCreatedNumRuleName; } }; -- cgit