summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 17:41:38 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 17:41:38 +0000
commitee651a093fe147c0985e7e8fadc57462d7996139 (patch)
treeb1f26c7ddf9853dd0cd3022bd52d66e94c8b16b7 /xmloff/source
parent0f225a6cda865a8d1f3b8b56008eda1cd25c3cd1 (diff)
INTEGRATION: CWS warnings01 (1.5.32); FILE MERGED
2005/11/17 15:19:22 pl 1.5.32.2: #i55991# removed warnings 2005/11/03 17:47:08 cl 1.5.32.1: warning free code changes for unxlngi6
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/text/XMLIndexTOCStylesContext.cxx21
1 files changed, 9 insertions, 12 deletions
diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.cxx b/xmloff/source/text/XMLIndexTOCStylesContext.cxx
index ad3b008bd189..532152b7b2ce 100644
--- a/xmloff/source/text/XMLIndexTOCStylesContext.cxx
+++ b/xmloff/source/text/XMLIndexTOCStylesContext.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: XMLIndexTOCStylesContext.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 15:10:13 $
+ * last change: $Author: hr $ $Date: 2006-06-19 18:41:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -108,13 +108,10 @@ XMLIndexTOCStylesContext::XMLIndexTOCStylesContext(
SvXMLImport& rImport,
Reference<XPropertySet> & rPropSet,
sal_uInt16 nPrfx,
- const OUString& rLocalName ) :
- SvXMLImportContext(rImport, nPrfx, rLocalName),
- rTOCPropertySet(rPropSet),
- aStyleNames(),
- nOutlineLevel(-1),
- sLevelParagraphStyles(RTL_CONSTASCII_USTRINGPARAM(
- sAPI_LevelParagraphStyles))
+ const OUString& rLocalName )
+: SvXMLImportContext(rImport, nPrfx, rLocalName)
+, sLevelParagraphStyles(RTL_CONSTASCII_USTRINGPARAM(sAPI_LevelParagraphStyles))
+, rTOCPropertySet(rPropSet)
{
}
@@ -176,12 +173,12 @@ void XMLIndexTOCStylesContext::EndElement()
}
SvXMLImportContext *XMLIndexTOCStylesContext::CreateChildContext(
- sal_uInt16 nPrefix,
+ sal_uInt16 p_nPrefix,
const OUString& rLocalName,
const Reference<XAttributeList> & xAttrList )
{
// check for index-source-style
- if ( (XML_NAMESPACE_TEXT == nPrefix) &&
+ if ( (XML_NAMESPACE_TEXT == p_nPrefix) &&
IsXMLToken( rLocalName, XML_INDEX_SOURCE_STYLE ) )
{
// find text:style-name attribute and record in aStyleNames
@@ -201,6 +198,6 @@ SvXMLImportContext *XMLIndexTOCStylesContext::CreateChildContext(
}
// always return default context; we already got the interesting info
- return SvXMLImportContext::CreateChildContext(nPrefix, rLocalName,
+ return SvXMLImportContext::CreateChildContext(p_nPrefix, rLocalName,
xAttrList);
}