diff options
author | Justin Malcolm <malcolm.justin@gmail.com> | 2010-09-28 22:45:09 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-09-28 22:45:09 -0400 |
commit | 4c2fcdee1949996c6f63d1f0645e5cb2edf8e00d (patch) | |
tree | 09149b91a47819d5a0626a600833b7ac819db626 /sc/source/ui/unoobj/miscuno.cxx | |
parent | c062dad9b1d937a975354ceee75b7f16b756c2d2 (diff) |
This gets rid of a great number of the comments
There are a great number of places in calc where code is commented out
with lines staring in "//UNUSED". Since 'git' is being used, there is
no reason to keep old code like this in comments.
Diffstat (limited to 'sc/source/ui/unoobj/miscuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/miscuno.cxx | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/sc/source/ui/unoobj/miscuno.cxx b/sc/source/ui/unoobj/miscuno.cxx index 4fdac0288796..77232a176598 100644 --- a/sc/source/ui/unoobj/miscuno.cxx +++ b/sc/source/ui/unoobj/miscuno.cxx @@ -42,11 +42,6 @@ using ::rtl::OUString; //------------------------------------------------------------------------ -//UNUSED2008-05 SC_SIMPLE_SERVICE_INFO( ScEmptyEnumeration, "ScEmptyEnumeration", "stardiv.unknown" ) -//UNUSED2008-05 SC_SIMPLE_SERVICE_INFO( ScEmptyEnumerationAccess, "ScEmptyEnumerationAccess", "stardiv.unknown" ) -//UNUSED2008-05 SC_SIMPLE_SERVICE_INFO( ScIndexEnumeration, "ScIndexEnumeration", "stardiv.unknown" ) -//UNUSED2008-05 SC_SIMPLE_SERVICE_INFO( ScPrintSettingsObj, "ScPrintSettingsObj", "stardiv.unknown" ) - SC_SIMPLE_SERVICE_INFO( ScNameToIndexAccess, "ScNameToIndexAccess", "stardiv.unknown" ) //------------------------------------------------------------------------ @@ -276,59 +271,6 @@ sal_Bool SAL_CALL ScIndexEnumeration::supportsService( const ::rtl::OUString& Se //------------------------------------------------------------------------ -//UNUSED2008-05 ScEmptyEnumerationAccess::ScEmptyEnumerationAccess() -//UNUSED2008-05 { -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 ScEmptyEnumerationAccess::~ScEmptyEnumerationAccess() -//UNUSED2008-05 { -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 // XEnumerationAccess -//UNUSED2008-05 -//UNUSED2008-05 uno::Reference<container::XEnumeration> SAL_CALL ScEmptyEnumerationAccess::createEnumeration() -//UNUSED2008-05 throw(uno::RuntimeException) -//UNUSED2008-05 { -//UNUSED2008-05 ScUnoGuard aGuard; -//UNUSED2008-05 return new ScEmptyEnumeration; -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 uno::Type SAL_CALL ScEmptyEnumerationAccess::getElementType() throw(uno::RuntimeException) -//UNUSED2008-05 { -//UNUSED2008-05 ScUnoGuard aGuard; -//UNUSED2008-05 return getCppuType((uno::Reference<uno::XInterface>*)0); // or what? -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 sal_Bool SAL_CALL ScEmptyEnumerationAccess::hasElements() throw(uno::RuntimeException) -//UNUSED2008-05 { -//UNUSED2008-05 return FALSE; -//UNUSED2008-05 } - -//------------------------------------------------------------------------ - -//UNUSED2008-05 ScEmptyEnumeration::ScEmptyEnumeration() -//UNUSED2008-05 { -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 ScEmptyEnumeration::~ScEmptyEnumeration() -//UNUSED2008-05 { -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 // XEnumeration -//UNUSED2008-05 -//UNUSED2008-05 sal_Bool SAL_CALL ScEmptyEnumeration::hasMoreElements() throw(uno::RuntimeException) -//UNUSED2008-05 { -//UNUSED2008-05 ScUnoGuard aGuard; -//UNUSED2008-05 return FALSE; -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 uno::Any SAL_CALL ScEmptyEnumeration::nextElement() throw(container::NoSuchElementException, -//UNUSED2008-05 lang::WrappedTargetException, uno::RuntimeException) -//UNUSED2008-05 { -//UNUSED2008-05 ScUnoGuard aGuard; -//UNUSED2008-05 return uno::Any(); -//UNUSED2008-05 } - //------------------------------------------------------------------------ ScNameToIndexAccess::ScNameToIndexAccess( const com::sun::star::uno::Reference< @@ -382,43 +324,5 @@ sal_Bool SAL_CALL ScNameToIndexAccess::hasElements( ) throw(::com::sun::star::u //------------------------------------------------------------------------ -//UNUSED2008-05 ScPrintSettingsObj::ScPrintSettingsObj() -//UNUSED2008-05 { -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 ScPrintSettingsObj::~ScPrintSettingsObj() -//UNUSED2008-05 { -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 // XPropertySet -//UNUSED2008-05 -//UNUSED2008-05 uno::Reference<beans::XPropertySetInfo> SAL_CALL ScPrintSettingsObj::getPropertySetInfo() -//UNUSED2008-05 throw(uno::RuntimeException) -//UNUSED2008-05 { -//UNUSED2008-05 return NULL; -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 void SAL_CALL ScPrintSettingsObj::setPropertyValue( -//UNUSED2008-05 const rtl::OUString& /* aPropertyName */, const uno::Any& /* aValue */ ) -//UNUSED2008-05 throw(beans::UnknownPropertyException, beans::PropertyVetoException, -//UNUSED2008-05 lang::IllegalArgumentException, lang::WrappedTargetException, -//UNUSED2008-05 uno::RuntimeException) -//UNUSED2008-05 { -//UNUSED2008-05 //! later... -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 uno::Any SAL_CALL ScPrintSettingsObj::getPropertyValue( const rtl::OUString& /* aPropertyName */ ) -//UNUSED2008-05 throw(beans::UnknownPropertyException, lang::WrappedTargetException, -//UNUSED2008-05 uno::RuntimeException) -//UNUSED2008-05 { -//UNUSED2008-05 //! later... -//UNUSED2008-05 return uno::Any(); -//UNUSED2008-05 } -//UNUSED2008-05 -//UNUSED2008-05 SC_IMPL_DUMMY_PROPERTY_LISTENER( ScPrintSettingsObj ) - - -//------------------------------------------------------------------------ - |