summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtparae.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-01 22:44:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-02 09:58:53 +0000
commit40fbc430fdd9366cd0047724f831929378cdf679 (patch)
tree011f20a5a4daf60ceb3e7a4459ca53388009d187 /xmloff/source/text/txtparae.cxx
parent057d3225203543f6d0f2d658d884ed11241e88ee (diff)
callcatcher: some unused code
Diffstat (limited to 'xmloff/source/text/txtparae.cxx')
-rw-r--r--xmloff/source/text/txtparae.cxx16
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()
{