summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2010-01-05 13:01:54 +0100
committerJens-Heiner Rechtien <hr@openoffice.org>2010-01-05 13:01:54 +0100
commited383d527d0301d7ab122df5f18557263ae11adc (patch)
tree5f63978d8e12fdf9c00da5c010fff7e15497e1c1 /xmloff
parentb59becd5b260818a3ffdfbb4b4670e7b9fdfbc57 (diff)
parent1dae2adc81df0ad4ea200ec7267f9b493ff86e17 (diff)
CWS-TOOLING: integrate CWS sb116
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/txtimp.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 7817fa7c4c19..af20bfbb23dc 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -1568,15 +1568,7 @@ void XMLTextImportHelper::AddOutlineStyleCandidate( const sal_Int8 nOutlineLevel
{
if( !mpOutlineStylesCandidates )
{
-#ifdef IRIX
- /* GCC 2 bug when member function is called as part of an array
- * initialiser
- */
- sal_Int8 count = xChapterNumbering->getCount();
- mpOutlineStylesCandidates = new ::std::vector<OUString>[count];
-#else
mpOutlineStylesCandidates = new ::std::vector<OUString>[xChapterNumbering->getCount()];
-#endif
}
mpOutlineStylesCandidates[nOutlineLevel-1].push_back( rStyleName );
}