summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-05 09:15:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-05 09:25:25 +0000
commita0183e89b7bb687f6fa09acbb72babdee9cdb6b0 (patch)
tree8cefea252aca850e02c2926317d43fa918ead47a /reportdesign
parent4acffa65b58c8bd359215345dca2c61e2c5ceba5 (diff)
callcatcher: update unused code
Change-Id: I81b6f8af2b5c539b7adb507e787497b5ed51fa39
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/api/Section.cxx19
-rw-r--r--reportdesign/source/core/inc/Section.hxx3
2 files changed, 0 insertions, 22 deletions
diff --git a/reportdesign/source/core/api/Section.cxx b/reportdesign/source/core/api/Section.cxx
index 3ce3a2d8476f..465087310658 100644
--- a/reportdesign/source/core/api/Section.cxx
+++ b/reportdesign/source/core/api/Section.cxx
@@ -516,25 +516,6 @@ void SAL_CALL OSection::removeVetoableChangeListener( const OUString& PropertyNa
SectionPropertySet::removeVetoableChangeListener( PropertyName, aListener );
}
-void OSection::lcl_copySection(const uno::Reference< report::XSection>& _xSource,uno::Reference< report::XSection>& _xDest)
-{
- if ( _xSource.is() )
- {
- ::comphelper::copyProperties(_xSource.get(),_xDest.get());
- sal_Int32 nCount = _xSource->getCount();
- for(sal_Int32 i = 0;i != nCount;++i)
- {
- uno::Reference<util::XCloneable> xClone(_xSource->getByIndex(i),uno::UNO_QUERY);
- OSL_ENSURE(xClone.is(),"No XCloneable interface found!");
- if ( xClone.is() )
- {
- uno::Reference< drawing::XShape> xShape(xClone->createClone(),uno::UNO_QUERY);
- _xDest->add(xShape);
- }
- }
- }
-}
-
void SAL_CALL OSection::add( const uno::Reference< drawing::XShape >& xShape ) throw (uno::RuntimeException, std::exception)
{
{
diff --git a/reportdesign/source/core/inc/Section.hxx b/reportdesign/source/core/inc/Section.hxx
index f0a3031fc22b..03d06fcd2bf9 100644
--- a/reportdesign/source/core/inc/Section.hxx
+++ b/reportdesign/source/core/inc/Section.hxx
@@ -228,9 +228,6 @@ namespace reportdesign
static OSection* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxComponent );
static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
- static void lcl_copySection(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& _xSource
- ,::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& _xDest);
-
void notifyElementAdded(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape);
void notifyElementRemoved(const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& xShape);
};