summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-16 13:07:55 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-16 13:07:55 +0000
commit66dfb6623da6cc40162af2c0ecd1055e4b03ff08 (patch)
tree34142d9a106f0de200c1acee921fbcc031d4c015 /configmgr
parentcab095378612dff3244e33d10f40888066957407 (diff)
INTEGRATION: CWS sb88 (1.16.10); FILE MERGED
2008/06/03 15:29:54 sb 1.16.10.1: #i89553 applied patch by cmc
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/treemgr/templateimpl.hxx32
1 files changed, 3 insertions, 29 deletions
diff --git a/configmgr/source/treemgr/templateimpl.hxx b/configmgr/source/treemgr/templateimpl.hxx
index 3586b2114f..507d22737d 100644
--- a/configmgr/source/treemgr/templateimpl.hxx
+++ b/configmgr/source/treemgr/templateimpl.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: templateimpl.hxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
* This file is part of OpenOffice.org.
*
@@ -74,11 +74,6 @@ namespace configmgr
, aModule()
{}
- TemplateName(UnoType const& aType, bool bLocalized)
- : aName(makeSimpleTypeName(aType))
- , aModule(makeSimpleTypeModuleName(bLocalized))
- {}
-
TemplateName(Name const& aName_)
: aName(aName_)
, aModule()
@@ -126,16 +121,11 @@ namespace configmgr
//-----------------------------------------------------------------
static UnoType resolveSimpleTypeName(Name const& aName);
//-----------------------------------------------------------------
- static Name makeSimpleTypeName(UnoType const& aType);
- //-----------------------------------------------------------------
+#if OSL_DEBUG_LEVEL > 0
static Name makeNativeTypeModuleName();
//-----------------------------------------------------------------
static Name makeLocalizedTypeModuleName();
- //-----------------------------------------------------------------
- static Name makeSimpleTypeModuleName(bool bLocalized)
- {
- return bLocalized ? makeLocalizedTypeModuleName() : makeNativeTypeModuleName();
- }
+#endif
//-----------------------------------------------------------------
};
//-------------------------------------------------------------------------
@@ -158,8 +148,6 @@ namespace configmgr
static void assignActualType (Template& aTemplate,UnoType const& aType);
//-----------------------------------------------------------------
- static TemplateHolder makeSpecialTemplate (TemplateName const& _aNames, SpecialTemplateProvider const& aProvider, UnoType const& aType);
-
static TemplateHolder makeElementTemplateWithType(TemplateName const& aNames, TemplateProvider const& _aProvider, data::SetNodeAccess const& _aSet);
//-----------------------------------------------------------------
@@ -172,20 +160,6 @@ namespace configmgr
//-------------------------------------------------------------------------
//---------------------------------------------------------------------
- // class SpecialTemplateProvider_Impl
- //---------------------------------------------------------------------
-
- struct SpecialTemplateProvider_Impl : configmgr::SimpleReferenceObject
- {
- SpecialTemplateProvider_Impl();
-
- TemplateHolder makeTemplate (TemplateName const& aNames, UnoType const& aType);
-
- private:
- TemplateRepository m_aRepository;
- };
-
- //---------------------------------------------------------------------
// class TemplateProvider_Impl
//---------------------------------------------------------------------