summaryrefslogtreecommitdiff
path: root/odk/examples/cpp
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-31 17:15:33 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-03-31 18:57:08 +0000
commitd7a301476dfbec6a70e45808602838078bad780a (patch)
tree9b3d8deb37f31f5fba461aa9c94941833bd3eec7 /odk/examples/cpp
parentd054a817be89c2827f53cd17c2df42ef01e4f4e1 (diff)
Remove commented code in odk/examples
Change-Id: I8b28729d3cc632426efac02028f0d0e332243012 Reviewed-on: https://gerrit.libreoffice.org/3138 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'odk/examples/cpp')
-rw-r--r--odk/examples/cpp/counter/counter.cxx36
1 files changed, 0 insertions, 36 deletions
diff --git a/odk/examples/cpp/counter/counter.cxx b/odk/examples/cpp/counter/counter.cxx
index 572d9c1be730..6f65f5cb735e 100644
--- a/odk/examples/cpp/counter/counter.cxx
+++ b/odk/examples/cpp/counter/counter.cxx
@@ -164,42 +164,6 @@ Reference< XInterface > SAL_CALL MyCounterImpl_create(
//#### EXPORTED ###########################################################
//#########################################################################
-
-/**
- * This function creates an implementation section in the registry and another subkey
- *
- * for each supported service.
- * @param pServiceManager the service manager
- * @param pRegistryKey the registry key
- */
-// extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(void * pServiceManager, void * pRegistryKey)
-// {
-// sal_Bool result = sal_False;
-
-// if (pRegistryKey)
-// {
-// try
-// {
-// Reference< XRegistryKey > xNewKey(
-// reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey(
-// OUString( RTL_CONSTASCII_USTRINGPARAM("/" IMPLNAME "/UNO/SERVICES") ) ) );
-
-// const Sequence< OUString > & rSNL =
-// MyCounterImpl::getSupportedServiceNames_Static();
-// const OUString * pArray = rSNL.getConstArray();
-// for ( sal_Int32 nPos = rSNL.getLength(); nPos--; )
-// xNewKey->createKey( pArray[nPos] );
-
-// return sal_True;
-// }
-// catch (InvalidRegistryException &)
-// {
-// // we should not ignore exceptions
-// }
-// }
-// return result;
-// }
-
/**
* This function is called to get service factories for an implementation.
*