diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-01 22:44:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-02 09:58:53 +0000 |
commit | 40fbc430fdd9366cd0047724f831929378cdf679 (patch) | |
tree | 011f20a5a4daf60ceb3e7a4459ca53388009d187 /xmloff/source | |
parent | ByteString->rtl::OString (diff) | |
download | core-40fbc430fdd9366cd0047724f831929378cdf679.tar.gz core-40fbc430fdd9366cd0047724f831929378cdf679.zip |
callcatcher: some unused code
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 14501ae9f498..dac0b8e5afc5 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -3695,22 +3695,6 @@ void XMLTextParagraphExport::PreventExportOfControlsInMuteSections( // else: no control shape -> nothing to do } } -sal_Int32 XMLTextParagraphExport::GetHeadingLevel( const OUString& rStyleName ) -{ - if( !pHeadingStyles ) - { - pHeadingStyles = new XMLStringVector; - SvxXMLNumRuleExport::GetOutlineStyles( *pHeadingStyles, - GetExport().GetModel() ); - } - for( XMLStringVector::size_type i=0; i < pHeadingStyles->size(); ++i ) - { - if( (*pHeadingStyles)[i] == rStyleName ) - return static_cast < sal_Int32 >( i ); - } - - return -1; -} void XMLTextParagraphExport::PushNewTextListsHelper() { |