diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 22:06:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 22:06:29 +0100 |
commit | a22ac2c218870033822120bf0b0d6cfde6ce799f (patch) | |
tree | 10d6bd7d7191bb93134a071198b6740a8c56cc1a /editeng/source/uno | |
parent | 7f69bfe2d7b7082b430136815d1aca1fb158868c (diff) |
callcatcher: remove unused methods
Diffstat (limited to 'editeng/source/uno')
-rw-r--r-- | editeng/source/uno/unonrule.cxx | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx index 8861b6ca125a..d3915e770d21 100644 --- a/editeng/source/uno/unonrule.cxx +++ b/editeng/source/uno/unonrule.cxx @@ -499,44 +499,6 @@ const SvxNumRule& SvxGetNumRule( Reference< XIndexReplace > xRule ) throw( Illeg return pRule->getNumRule(); } -bool SvxGetNumRule( Reference< XIndexReplace > xRule, SvxNumRule& rNumRule ) -{ - SvxUnoNumberingRules* pRule = SvxUnoNumberingRules::getImplementation( xRule ); - if( pRule ) - { - rNumRule = pRule->getNumRule(); - } - else if( xRule.is() ) - { - try - { - pRule = new SvxUnoNumberingRules( rNumRule ); - - Reference< XIndexReplace > xDestRule( pRule ); - - const sal_Int32 nCount = min( xRule->getCount(), xDestRule->getCount() ); - sal_Int32 nLevel; - for( nLevel = 0; nLevel < nCount; nLevel++ ) - { - xDestRule->replaceByIndex( nLevel, xRule->getByIndex( nLevel ) ); - } - - rNumRule = pRule->getNumRule(); - } - catch( Exception& ) - { - return false; - } - } - else - { - return false; - } - - return true; -} - -/////////////////////////////////////////////////////////////////////// com::sun::star::uno::Reference< com::sun::star::container::XIndexReplace > SvxCreateNumRule( const SvxNumRule* pRule ) throw() { DBG_ASSERT( pRule, "No default SvxNumRule!" ); |