diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-30 07:59:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-30 14:07:20 +0100 |
commit | 1889728897e16800d58773a302eb5232a6fada76 (patch) | |
tree | 9c2dc5ec0054da6705b37920c1e5f2f8a4f064da /xmloff/source/text | |
parent | e60911f5fc6f76032942cd16c24a8f2673dae5d2 (diff) |
remove static OUStrings from static_initialization_and_destruction chain
Diffstat (limited to 'xmloff/source/text')
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 029fd97be203..522d43fd558e 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -225,11 +225,7 @@ namespace framebound_map_t m_vFrameBoundsOf; const Reference<XEnumerationAccess> m_xEnumAccess; void Fill(const filter_t& rFilter); - static const OUString our_sAnchorType; - static const OUString our_sAnchorFrame; }; - const OUString BoundFrames::our_sAnchorType(RTL_CONSTASCII_USTRINGPARAM("AnchorType")); - const OUString BoundFrames::our_sAnchorFrame(RTL_CONSTASCII_USTRINGPARAM("AnchorFrame")); class FieldParamExporter { @@ -340,6 +336,8 @@ void BoundFrames::Fill(const filter_t& rFilter) const Reference< XEnumeration > xEnum = m_xEnumAccess->createEnumeration(); if(!xEnum.is()) return; + const OUString our_sAnchorType(RTL_CONSTASCII_USTRINGPARAM("AnchorType")); + const OUString our_sAnchorFrame(RTL_CONSTASCII_USTRINGPARAM("AnchorFrame")); while(xEnum->hasMoreElements()) { Reference<XPropertySet> xPropSet(xEnum->nextElement(), UNO_QUERY); |