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 | |
parent | ByteString->rtl::OString (diff) | |
download | core-40fbc430fdd9366cd0047724f831929378cdf679.tar.gz core-40fbc430fdd9366cd0047724f831929378cdf679.zip |
callcatcher: some unused code
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/txtparae.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 16 |
2 files changed, 0 insertions, 18 deletions
diff --git a/xmloff/inc/xmloff/txtparae.hxx b/xmloff/inc/xmloff/txtparae.hxx index 17b0b3d65dae..cb095ebcfc75 100644 --- a/xmloff/inc/xmloff/txtparae.hxx +++ b/xmloff/inc/xmloff/txtparae.hxx @@ -673,8 +673,6 @@ public: SinglePropertySetInfoCache& GetCharStyleNamesPropInfoCache() { return aCharStyleNamesPropInfoCache; } - sal_Int32 GetHeadingLevel( const ::rtl::OUString& rStyleName ); - void PushNewTextListsHelper(); void PopTextListsHelper(); 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() { |