summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2011-01-07 08:15:35 -0800
committerJoseph Powers <jpowers27@cox.net>2011-01-07 08:15:35 -0800
commit44343e4979187b55072beb5b38ecd9d70a7c448b (patch)
treec8707504a79f40dee05931197a9b049de14ecda0 /xmloff
parente8bf716e6dc616e67a940be048d2df2673e83fcf (diff)
Remove DECLARE_LIST( XMLSectionList_Impl, XMLSectionImportContext* )
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/xmloff/txtimp.hxx5
-rw-r--r--xmloff/source/text/txtimp.cxx12
2 files changed, 0 insertions, 17 deletions
diff --git a/xmloff/inc/xmloff/txtimp.hxx b/xmloff/inc/xmloff/txtimp.hxx
index 4f1332da1e50..5e776200a08e 100644
--- a/xmloff/inc/xmloff/txtimp.hxx
+++ b/xmloff/inc/xmloff/txtimp.hxx
@@ -375,9 +375,6 @@ enum XMLTextType
#define XML_TEXT_RENAME_TYPE_FRAME 10
#define XML_TEXT_RENAME_TYPE_TABLE 20
-// create type for section list, XMLSectionList_Impl
-DECLARE_LIST( XMLSectionList_Impl, XMLSectionImportContext* )
-
class XMLOFF_DLLPUBLIC XMLTextImportHelper : public UniRefBase,
private boost::noncopyable
{
@@ -457,8 +454,6 @@ public:
bool IsOrganizerMode() const;
bool IsProgress() const;
- XMLSectionList_Impl & GetSectionList();
-
::rtl::OUString ConvertStarFonts( const ::rtl::OUString& rChars,
const ::rtl::OUString& rStyleName,
sal_uInt8& rFlags,
diff --git a/xmloff/source/text/txtimp.cxx b/xmloff/source/text/txtimp.cxx
index 8fb0130edf17..1d895019b675 100644
--- a/xmloff/source/text/txtimp.cxx
+++ b/xmloff/source/text/txtimp.cxx
@@ -129,7 +129,6 @@ static SvXMLTokenMapEntry aTextElemTokenMap[] =
{ XML_NAMESPACE_DRAW, XML_FRAME, XML_TOK_TEXT_FRAME_PAGE },
{ XML_NAMESPACE_DRAW, XML_A, XML_TOK_DRAW_A_PAGE },
{ XML_NAMESPACE_TABLE,XML_TABLE, XML_TOK_TABLE_TABLE },
-// { XML_NAMESPACE_TABLE,XML_SUB_TABLE, XML_TOK_TABLE_SUBTABLE },
{ XML_NAMESPACE_TEXT, XML_VARIABLE_DECLS, XML_TOK_TEXT_VARFIELD_DECLS },
{ XML_NAMESPACE_TEXT, XML_USER_FIELD_DECLS, XML_TOK_TEXT_USERFIELD_DECLS },
{ XML_NAMESPACE_TEXT, XML_SEQUENCE_DECLS, XML_TOK_TEXT_SEQUENCE_DECLS },
@@ -545,8 +544,6 @@ struct SAL_DLLPRIVATE XMLTextImportHelper::Impl
SvXMLImportContextRef m_xAutoStyles;
SvXMLImportContextRef m_xFontDecls;
- XMLSectionList_Impl m_SectionList;
-
UniReference< SvXMLImportPropertyMapper > m_xParaImpPrMap;
UniReference< SvXMLImportPropertyMapper > m_xTextImpPrMap;
UniReference< SvXMLImportPropertyMapper > m_xFrameImpPrMap;
@@ -703,11 +700,6 @@ bool XMLTextImportHelper::IsProgress() const
return m_pImpl->m_bProgress;
}
-XMLSectionList_Impl & XMLTextImportHelper::GetSectionList()
-{
- return m_pImpl->m_SectionList;
-}
-
uno::Reference<container::XNameContainer> const&
XMLTextImportHelper::GetParaStyles() const
{
@@ -2229,7 +2221,6 @@ void XMLTextImportHelper::SetRuby(
rImport.GetStyleDisplayName(
XML_STYLE_FAMILY_TEXT_TEXT, rTextStyleName ) );
if( (sDisplayName.getLength() > 0) &&
-// xPropSetInfo->hasPropertyByName( sRubyCharStyleName ) &&
m_pImpl->m_xTextStyles->hasByName( sDisplayName ))
{
xPropSet->setPropertyValue(sRubyCharStyleName, makeAny(sDisplayName));
@@ -2480,9 +2471,6 @@ SvXMLImportContext *XMLTextImportHelper::CreateTextChildContext(
}
}
-// if( !pContext )
-// pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
-
// handle open redlines
if ( (XML_TOK_TEXT_CHANGE != nToken) &&
(XML_TOK_TEXT_CHANGE_END != nToken) &&