Kaydet (Commit) d80740fc authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: remove unused non-class level methods

üst cbdc3551
......@@ -75,19 +75,6 @@ using ::com::sun::star::container::XIndexReplace;
using ::com::sun::star::container::XNamed;
using ::com::sun::star::lang::XServiceInfo;
Reference<XText> lcl_findXText(const Reference<XTextSection>& rSect)
{
Reference<XText> xText;
Reference<XTextContent> xTextContent(rSect, UNO_QUERY);
if (xTextContent.is())
{
xText.set(xTextContent->getAnchor()->getText());
}
return xText;
}
void XMLTextParagraphExport::exportListAndSectionChange(
Reference<XTextSection> & rPrevSection,
const Reference<XTextContent> & rNextSectionContent,
......
......@@ -191,32 +191,6 @@ void lcl_setValue( Reference<XPropertySet>& xPropertySet,
xPropertySet->setPropertyValue( rName, rAny );
}
Reference<XPropertySet> lcl_getXFormsModel( const Reference<frame::XModel>& xDoc )
{
Reference<XPropertySet> xRet;
try
{
Reference<XFormsSupplier> xSupplier( xDoc, UNO_QUERY );
if( xSupplier.is() )
{
Reference<XNameContainer> xForms = xSupplier->getXForms();
if( xForms.is() )
{
Sequence<OUString> 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[] =
{
......
......@@ -71,9 +71,6 @@ void lcl_setValue(
lcl_setValue( xPropSet, rName, com::sun::star::uno::makeAny( aValue ) );
}
com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> lcl_getXFormsModel( const com::sun::star::uno::Reference<com::sun::star::frame::XModel>& );
sal_uInt16 lcl_getTypeClass(
const com::sun::star::uno::Reference<com::sun::star::xforms::XDataTypeRepository>& xRepository,
const SvXMLNamespaceMap& rNamespaceMap,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment