summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorJörg Barfurth <jb@openoffice.org>2001-06-20 19:33:42 +0000
committerJörg Barfurth <jb@openoffice.org>2001-06-20 19:33:42 +0000
commitdef927b7ac209447276e29e764d844d9e6d079eb (patch)
treedc9b004cfd1834e1b2a0791a0e231efa4e241ed9 /configmgr
parent27729b9dd8c1fced6cac9f841567c71ef12a77e1 (diff)
Use global getUnoInterfaceType() from apitypes.hxx
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/treemgr/template.cxx6
-rw-r--r--configmgr/source/treemgr/templateimpl.cxx7
-rw-r--r--configmgr/source/treemgr/templateimpl.hxx13
3 files changed, 10 insertions, 16 deletions
diff --git a/configmgr/source/treemgr/template.cxx b/configmgr/source/treemgr/template.cxx
index d49770bfcd75..64b78ef79eb4 100644
--- a/configmgr/source/treemgr/template.cxx
+++ b/configmgr/source/treemgr/template.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: template.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: jb $ $Date: 2001-04-19 15:13:15 $
+ * last change: $Author: jb $ $Date: 2001-06-20 20:33:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -183,7 +183,7 @@ TemplateHolder makeSimpleTemplate(UnoType const& aType, Attributes const& aAttrs
TemplateHolder makeTreeTemplate(OUString const& sName, OUString const& sModule, SpecialTemplateProvider const& aProvider)
{
TemplateName aNames( TemplateName::parseTemplateNames(sName,sModule) );
- return TemplateImplHelper::makeSpecialTemplate( aNames,aProvider, TemplateImplHelper::getUnoInterfaceType(), Attributes());
+ return TemplateImplHelper::makeSpecialTemplate( aNames,aProvider, configapi::getUnoInterfaceType(), Attributes());
}
//-----------------------------------------------------------------------------
diff --git a/configmgr/source/treemgr/templateimpl.cxx b/configmgr/source/treemgr/templateimpl.cxx
index 4683e0ae3f7d..647f81f9b336 100644
--- a/configmgr/source/treemgr/templateimpl.cxx
+++ b/configmgr/source/treemgr/templateimpl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: templateimpl.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: as $ $Date: 2001-05-03 08:51:21 $
+ * last change: $Author: jb $ $Date: 2001-06-20 20:33:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -63,7 +63,6 @@
#include "templateimpl.hxx"
#include "treeprovider.hxx"
-#include "apitypes.hxx"
#include "strdecl.hxx"
#include "typeconverter.hxx"
@@ -413,7 +412,7 @@ namespace
switch (this->result) // transition depends on previous state
{
case NotFound:
- this->type = TemplateImplHelper::getUnoInterfaceType();
+ this->type = configapi::getUnoInterfaceType();
this->result = SomeTree;
break;
diff --git a/configmgr/source/treemgr/templateimpl.hxx b/configmgr/source/treemgr/templateimpl.hxx
index 61504f509e4f..423bbfbb43c0 100644
--- a/configmgr/source/treemgr/templateimpl.hxx
+++ b/configmgr/source/treemgr/templateimpl.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: templateimpl.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: jb $ $Date: 2001-04-19 15:13:15 $
+ * last change: $Author: jb $ $Date: 2001-06-20 20:33:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,6 +62,8 @@
#ifndef CONFIGMGR_TEMPLATEIMPL_HXX_
#define CONFIGMGR_TEMPLATEIMPL_HXX_
+#include "apitypes.hxx"
+
#include "template.hxx"
#include "configpath.hxx"
@@ -177,13 +179,6 @@ namespace configmgr
public:
//-----------------------------------------------------------------
- static UnoType getUnoInterfaceType()
- {
- uno::Reference<uno::XInterface> const * const p = 0;
- return getCppuType(p);
- }
- //-----------------------------------------------------------------
-
static UnoType getNoTypeAvailable()
{
return getVoidCppuType();