From d80740fc9b457887ae6857969fa5fb828e12d278 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 14 Jul 2011 21:16:35 +0100 Subject: callcatcher: remove unused non-class level methods --- xmloff/source/text/txtsecte.cxx | 13 ------------- xmloff/source/xforms/xformsapi.cxx | 26 -------------------------- xmloff/source/xforms/xformsapi.hxx | 3 --- 3 files changed, 42 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/text/txtsecte.cxx b/xmloff/source/text/txtsecte.cxx index 201407e79371..fd5df175244e 100644 --- a/xmloff/source/text/txtsecte.cxx +++ b/xmloff/source/text/txtsecte.cxx @@ -75,19 +75,6 @@ using ::com::sun::star::container::XIndexReplace; using ::com::sun::star::container::XNamed; using ::com::sun::star::lang::XServiceInfo; -Reference lcl_findXText(const Reference& rSect) -{ - Reference xText; - - Reference xTextContent(rSect, UNO_QUERY); - if (xTextContent.is()) - { - xText.set(xTextContent->getAnchor()->getText()); - } - - return xText; -} - void XMLTextParagraphExport::exportListAndSectionChange( Reference & rPrevSection, const Reference & rNextSectionContent, diff --git a/xmloff/source/xforms/xformsapi.cxx b/xmloff/source/xforms/xformsapi.cxx index e07c9f0e46a4..f47e7aaeab4f 100644 --- a/xmloff/source/xforms/xformsapi.cxx +++ b/xmloff/source/xforms/xformsapi.cxx @@ -191,32 +191,6 @@ void lcl_setValue( Reference& xPropertySet, xPropertySet->setPropertyValue( rName, rAny ); } - -Reference lcl_getXFormsModel( const Reference& xDoc ) -{ - Reference xRet; - try - { - Reference xSupplier( xDoc, UNO_QUERY ); - if( xSupplier.is() ) - { - Reference xForms = xSupplier->getXForms(); - if( xForms.is() ) - { - Sequence aNames = xForms->getElementNames(); - if( aNames.getLength() > 0 ) - xRet.set( xForms->getByName( aNames[0] ), UNO_QUERY ); - } - } - } - catch( const Exception& ) - { - ; // no success! - } - - return xRet; -} - #define TOKEN_MAP_ENTRY(NAMESPACE,TOKEN) { XML_NAMESPACE_##NAMESPACE, xmloff::token::XML_##TOKEN, xmloff::token::XML_##TOKEN } static SvXMLTokenMapEntry aTypes[] = { diff --git a/xmloff/source/xforms/xformsapi.hxx b/xmloff/source/xforms/xformsapi.hxx index a29c0be5986a..bfe2fd51a7a0 100644 --- a/xmloff/source/xforms/xformsapi.hxx +++ b/xmloff/source/xforms/xformsapi.hxx @@ -71,9 +71,6 @@ void lcl_setValue( lcl_setValue( xPropSet, rName, com::sun::star::uno::makeAny( aValue ) ); } - -com::sun::star::uno::Reference lcl_getXFormsModel( const com::sun::star::uno::Reference& ); - sal_uInt16 lcl_getTypeClass( const com::sun::star::uno::Reference& xRepository, const SvXMLNamespaceMap& rNamespaceMap, -- cgit