summaryrefslogtreecommitdiff
path: root/sw/inc/unosett.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-01 21:25:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-02 14:53:48 +0100
commit09bdea8900c5ce79df3e8f2b7fbeeed06a5b4111 (patch)
treebf8ccafec8f39df52a0b1c595e7c8a355630ac04 /sw/inc/unosett.hxx
parent15f14ec79477142cf2bcb1484511b7bea6f1485b (diff)
remove static objects from static_initialization_and_destruction chain
Diffstat (limited to 'sw/inc/unosett.hxx')
-rw-r--r--sw/inc/unosett.hxx3
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; }
};