summaryrefslogtreecommitdiff
path: root/editeng/source/uno
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-14 22:06:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-14 22:06:29 +0100
commita22ac2c218870033822120bf0b0d6cfde6ce799f (patch)
tree10d6bd7d7191bb93134a071198b6740a8c56cc1a /editeng/source/uno
parent7f69bfe2d7b7082b430136815d1aca1fb158868c (diff)
callcatcher: remove unused methods
Diffstat (limited to 'editeng/source/uno')
-rw-r--r--editeng/source/uno/unonrule.cxx38
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!" );