diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-01 21:25:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-02 14:53:48 +0100 |
commit | 09bdea8900c5ce79df3e8f2b7fbeeed06a5b4111 (patch) | |
tree | bf8ccafec8f39df52a0b1c595e7c8a355630ac04 /sw/inc | |
parent | 15f14ec79477142cf2bcb1484511b7bea6f1485b (diff) |
remove static objects from static_initialization_and_destruction chain
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/unosett.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
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; } }; |