INTEGRATION: CWS rptchart02 (1.3.4); FILE MERGED

2008/04/16 06:27:40 oj 1.3.4.2: RESYNC: (1.3-1.4); FILE MERGED
2008/04/03 06:35:18 oj 1.3.4.1: #i86343# remove unused code
This commit is contained in:
Rüdiger Timm 2008-06-16 12:28:13 +00:00
parent 214b05b316
commit 9964095f40

View file

@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: Functions.cxx,v $
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* This file is part of OpenOffice.org.
*
@ -60,18 +60,6 @@ OFunctions::~OFunctions()
DBG_DTOR( rpt_OFunctions,NULL);
}
//--------------------------------------------------------------------------
void OFunctions::copyFunctions(const uno::Reference< report::XFunctions >& _xSource)
{
sal_Int32 nCount = _xSource->getCount();
for (sal_Int32 i = 0; i != nCount; ++i)
{
uno::Reference<report::XFunction> xDestFunction = new OFunction(m_xContext);
m_aFunctions.push_back(xDestFunction);
uno::Reference<report::XFunction> xSourceFunction(_xSource->getByIndex(i),uno::UNO_QUERY);
::comphelper::copyProperties(xSourceFunction.get(),xDestFunction.get());
}
}
// -----------------------------------------------------------------------------
void SAL_CALL OFunctions::dispose() throw(uno::RuntimeException)
{
cppu::WeakComponentImplHelperBase::dispose();