diff options
author | Hans-Joachim Lankenau <hjs@openoffice.org> | 2004-06-25 16:10:01 +0000 |
---|---|---|
committer | Hans-Joachim Lankenau <hjs@openoffice.org> | 2004-06-25 16:10:01 +0000 |
commit | ae1bb54c50f391ab528b6e89b10158f5666c70b0 (patch) | |
tree | f263b02e81281885db327a86dfc156645962a8b4 | |
parent | 028b94cd6c4efc763a189efe55d45dbb9451cb3d (diff) |
INTEGRATION: CWS tune04 (1.14.64); FILE MERGED
2004/06/11 12:53:45 cmc 1.14.64.1: #i29636# turn global objects into local static data protected with swishy double-locked templated template
-rw-r--r-- | toolkit/inc/toolkit/controls/geometrycontrolmodel.hxx | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/toolkit/inc/toolkit/controls/geometrycontrolmodel.hxx b/toolkit/inc/toolkit/controls/geometrycontrolmodel.hxx index e882b1678b9a..64ec86a16d0c 100644 --- a/toolkit/inc/toolkit/controls/geometrycontrolmodel.hxx +++ b/toolkit/inc/toolkit/controls/geometrycontrolmodel.hxx @@ -2,9 +2,9 @@ * * $RCSfile: geometrycontrolmodel.hxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: kz $ $Date: 2003-12-11 11:54:33 $ + * last change: $Author: hjs $ $Date: 2004-06-25 17:10:01 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -272,23 +272,6 @@ FORWARD_DECLARE_INTERFACE( script, XNameContainer ) :public OGeometryControlModel_Base ,public ::comphelper::OIdPropertyArrayUsageHelper< OCommonGeometryControlModel > { - typedef ::std::hash_map< ::rtl::OUString, sal_Int32, ::comphelper::UStringHash > HashMapString2Int; - typedef ::std::vector< ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > > PropSeqArray; - typedef ::std::vector< ::std::vector< sal_Int32 > > IntArrayArray; - - // for creating class-unique PropertySetInfo's, we need some info: - static HashMapString2Int s_aServiceSpecifierMap; - // this one maps from a String, which is the service specifier for our aggregate, to a unique id - static PropSeqArray s_aAggregateProperties; - // this one contains the properties which belong to all the unique ids in s_aServiceSpecifierMap - static IntArrayArray s_aAmbiguousPropertyIds; - // the ids of the properties which we as well as our aggregate supply - // For such props, we let our base class handle them, and whenever such a prop is set, we forward this - // to our aggregate. - - // With this, we can ensure that two instances of this class share the same PropertySetInfo if and only - // if both aggregates have the same service specifier. - private: ::rtl::OUString m_sServiceSpecifier; // the service specifier of our aggregate sal_Int32 m_nPropertyMapId; // our unique property info id, used to look up in s_aAggregateProperties |