summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-19 08:49:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-19 09:55:18 +0000
commit186dbb68907a2415b8cb2655aa2d1f4850509fb6 (patch)
tree25fed4018ba0acc6fb7e0c8b8cbb09370e9acf61 /reportdesign
parent8f2522f931df9f1f24ef7016ee64d75fd23af000 (diff)
callcatcher: update unused code
Change-Id: If6e0cbf8544ca7a4668cdc67fcf390d8835b7017
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/api/Group.cxx17
-rw-r--r--reportdesign/source/core/inc/Group.hxx2
2 files changed, 0 insertions, 19 deletions
diff --git a/reportdesign/source/core/api/Group.cxx b/reportdesign/source/core/api/Group.cxx
index 9c0c4b0a70e5..b6fa289cefa1 100644
--- a/reportdesign/source/core/api/Group.cxx
+++ b/reportdesign/source/core/api/Group.cxx
@@ -57,23 +57,6 @@ OGroup::~OGroup()
{
}
-void OGroup::copyGroup(const uno::Reference< report::XGroup >& _xSource)
-{
- ::comphelper::copyProperties(_xSource.get(),static_cast<GroupPropertySet*>(this));
-
- if ( _xSource->getHeaderOn() )
- {
- setHeaderOn(sal_True);
- OSection::lcl_copySection(_xSource->getHeader(),m_xHeader);
- }
-
- if ( _xSource->getFooterOn() )
- {
- setFooterOn(sal_True);
- OSection::lcl_copySection(_xSource->getFooter(),m_xFooter);
- }
-}
-
IMPLEMENT_FORWARD_XINTERFACE2(OGroup,GroupBase,GroupPropertySet)
OUString SAL_CALL OGroup::getImplementationName( ) throw(uno::RuntimeException, std::exception)
diff --git a/reportdesign/source/core/inc/Group.hxx b/reportdesign/source/core/inc/Group.hxx
index a4c45dfc3887..58f4ba22b661 100644
--- a/reportdesign/source/core/inc/Group.hxx
+++ b/reportdesign/source/core/inc/Group.hxx
@@ -102,8 +102,6 @@ namespace reportdesign
OGroup(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroups >& _xParent
,const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& context);
- void copyGroup(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup >& _xSource);
-
DECLARE_XINTERFACE( )
// ::com::sun::star::lang::XServiceInfo
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;