summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLIndexTOCSourceContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLIndexTOCSourceContext.cxx')
-rw-r--r--xmloff/source/text/XMLIndexTOCSourceContext.cxx14
1 files changed, 4 insertions, 10 deletions
diff --git a/xmloff/source/text/XMLIndexTOCSourceContext.cxx b/xmloff/source/text/XMLIndexTOCSourceContext.cxx
index 77dc6312a11f..60ea983c80a7 100644
--- a/xmloff/source/text/XMLIndexTOCSourceContext.cxx
+++ b/xmloff/source/text/XMLIndexTOCSourceContext.cxx
@@ -40,22 +40,16 @@ using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Any;
using ::com::sun::star::xml::sax::XAttributeList;
-const sal_Char sAPI_CreateFromOutline[] = "CreateFromOutline";
-const sal_Char sAPI_CreateFromMarks[] = "CreateFromMarks";
-const sal_Char sAPI_Level[] = "Level";
-const sal_Char sAPI_CreateFromLevelParagraphStyles[] = "CreateFromLevelParagraphStyles";
-
-
XMLIndexTOCSourceContext::XMLIndexTOCSourceContext(
SvXMLImport& rImport,
sal_uInt16 nPrfx,
const OUString& rLocalName,
Reference<XPropertySet> & rPropSet)
: XMLIndexSourceBaseContext(rImport, nPrfx, rLocalName, rPropSet, true)
-, sCreateFromMarks(sAPI_CreateFromMarks)
-, sLevel(sAPI_Level)
-, sCreateFromOutline(sAPI_CreateFromOutline)
-, sCreateFromLevelParagraphStyles(sAPI_CreateFromLevelParagraphStyles)
+, sCreateFromMarks("CreateFromMarks")
+, sLevel("Level")
+, sCreateFromOutline("CreateFromOutline")
+, sCreateFromLevelParagraphStyles("CreateFromLevelParagraphStyles")
// use all chapters by default
, nOutlineLevel(rImport.GetTextImport()->GetChapterNumbering()->getCount())
, bUseOutline(true)