Kaydet (Commit) 41c25375 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS warnings01 (1.52.32); FILE MERGED

2006/01/31 08:07:50 sb 1.52.32.4: #i53898# Made code warning-free.
2006/01/25 19:19:36 sb 1.52.32.3: RESYNC: (1.52-1.54); FILE MERGED
2005/11/17 15:19:29 pl 1.52.32.2: #i55991# removed warnings
2005/11/03 17:47:13 cl 1.52.32.1: warning free code changes for unxlngi6
üst 058bdba6
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: txtparai.cxx,v $ * $RCSfile: txtparai.cxx,v $
* *
* $Revision: 1.54 $ * $Revision: 1.55 $
* *
* last change: $Author: rt $ $Date: 2005-11-14 09:10:32 $ * last change: $Author: hr $ $Date: 2006-06-19 18:50:41 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -228,12 +228,12 @@ XMLImpCharContext_Impl::XMLImpCharContext_Impl( ...@@ -228,12 +228,12 @@ XMLImpCharContext_Impl::XMLImpCharContext_Impl(
} }
XMLImpCharContext_Impl::XMLImpCharContext_Impl( XMLImpCharContext_Impl::XMLImpCharContext_Impl(
SvXMLImport& rImport, SvXMLImport& rImp,
sal_uInt16 nPrfx, sal_uInt16 nPrfx,
const OUString& rLName, const OUString& rLName,
const Reference< xml::sax::XAttributeList > & xAttrList, const Reference< xml::sax::XAttributeList > &,
sal_Int16 nControl ) : sal_Int16 nControl ) :
SvXMLImportContext( rImport, nPrfx, rLName ) SvXMLImportContext( rImp, nPrfx, rLName )
{ {
GetImport().GetTextImport()->InsertControlCharacter( nControl ); GetImport().GetTextImport()->InsertControlCharacter( nControl );
} }
...@@ -425,9 +425,9 @@ XMLImpHyperlinkContext_Impl::XMLImpHyperlinkContext_Impl( ...@@ -425,9 +425,9 @@ XMLImpHyperlinkContext_Impl::XMLImpHyperlinkContext_Impl(
sal_Bool& rIgnLeadSpace ) : sal_Bool& rIgnLeadSpace ) :
SvXMLImportContext( rImport, nPrfx, rLName ), SvXMLImportContext( rImport, nPrfx, rLName ),
rHints( rHnts ), rHints( rHnts ),
rIgnoreLeadingSpace( rIgnLeadSpace ),
pHint( new XMLHyperlinkHint_Impl( pHint( new XMLHyperlinkHint_Impl(
GetImport().GetTextImport()->GetCursorAsRange()->getStart() ) ) GetImport().GetTextImport()->GetCursorAsRange()->getStart() ) ),
rIgnoreLeadingSpace( rIgnLeadSpace )
{ {
OUString sShow; OUString sShow;
const SvXMLTokenMap& rTokenMap = const SvXMLTokenMap& rTokenMap =
...@@ -549,7 +549,7 @@ XMLImpRubyBaseContext_Impl::XMLImpRubyBaseContext_Impl( ...@@ -549,7 +549,7 @@ XMLImpRubyBaseContext_Impl::XMLImpRubyBaseContext_Impl(
SvXMLImport& rImport, SvXMLImport& rImport,
sal_uInt16 nPrfx, sal_uInt16 nPrfx,
const OUString& rLName, const OUString& rLName,
const Reference< xml::sax::XAttributeList > & xAttrList, const Reference< xml::sax::XAttributeList > &,
XMLHints_Impl& rHnts, XMLHints_Impl& rHnts,
sal_Bool& rIgnLeadSpace ) : sal_Bool& rIgnLeadSpace ) :
SvXMLImportContext( rImport, nPrfx, rLName ), SvXMLImportContext( rImport, nPrfx, rLName ),
...@@ -680,9 +680,9 @@ XMLImpRubyContext_Impl::XMLImpRubyContext_Impl( ...@@ -680,9 +680,9 @@ XMLImpRubyContext_Impl::XMLImpRubyContext_Impl(
sal_Bool& rIgnLeadSpace ) : sal_Bool& rIgnLeadSpace ) :
SvXMLImportContext( rImport, nPrfx, rLName ), SvXMLImportContext( rImport, nPrfx, rLName ),
rHints( rHnts ), rHints( rHnts ),
rIgnoreLeadingSpace( rIgnLeadSpace ),
pHint( new XMLRubyHint_Impl( pHint( new XMLRubyHint_Impl(
GetImport().GetTextImport()->GetCursorAsRange()->getStart() ) ) GetImport().GetTextImport()->GetCursorAsRange()->getStart() ) ),
rIgnoreLeadingSpace( rIgnLeadSpace )
{ {
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0; sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
for( sal_Int16 i=0; i < nAttrCount; i++ ) for( sal_Int16 i=0; i < nAttrCount; i++ )
...@@ -805,10 +805,9 @@ XMLIndexMarkImportContext_Impl::XMLIndexMarkImportContext_Impl( ...@@ -805,10 +805,9 @@ XMLIndexMarkImportContext_Impl::XMLIndexMarkImportContext_Impl(
enum XMLTextPElemTokens eTok, enum XMLTextPElemTokens eTok,
XMLHints_Impl& rHnts) : XMLHints_Impl& rHnts) :
SvXMLImportContext(rImport, nPrefix, rLocalName), SvXMLImportContext(rImport, nPrefix, rLocalName),
rHints(rHnts),
eToken(eTok),
sAlternativeText(RTL_CONSTASCII_USTRINGPARAM("AlternativeText")), sAlternativeText(RTL_CONSTASCII_USTRINGPARAM("AlternativeText")),
sID() rHints(rHnts),
eToken(eTok)
{ {
} }
...@@ -1278,14 +1277,14 @@ XMLImpSpanContext_Impl::XMLImpSpanContext_Impl( ...@@ -1278,14 +1277,14 @@ XMLImpSpanContext_Impl::XMLImpSpanContext_Impl(
#ifdef CONV_STAR_FONTS #ifdef CONV_STAR_FONTS
,sal_uInt8 nSFConvFlags ,sal_uInt8 nSFConvFlags
#endif #endif
) : )
SvXMLImportContext( rImport, nPrfx, rLName ), : SvXMLImportContext( rImport, nPrfx, rLName )
rHints( rHnts ), , sTextFrame(RTL_CONSTASCII_USTRINGPARAM("TextFrame"))
rIgnoreLeadingSpace( rIgnLeadSpace ), , rHints( rHnts )
pHint( 0 ), , pHint( 0 )
sTextFrame(RTL_CONSTASCII_USTRINGPARAM("TextFrame")) , rIgnoreLeadingSpace( rIgnLeadSpace )
#ifdef CONV_STAR_FONTS #ifdef CONV_STAR_FONTS
,nStarFontsConvFlags( nSFConvFlags & (CONV_FROM_STAR_BATS|CONV_FROM_STAR_MATH) ) , nStarFontsConvFlags( nSFConvFlags & (CONV_FROM_STAR_BATS|CONV_FROM_STAR_MATH) )
#endif #endif
{ {
OUString aStyleName; OUString aStyleName;
...@@ -1332,9 +1331,7 @@ SvXMLImportContext *XMLImpSpanContext_Impl::CreateChildContext( ...@@ -1332,9 +1331,7 @@ SvXMLImportContext *XMLImpSpanContext_Impl::CreateChildContext(
) )
{ {
SvXMLImportContext *pContext = 0; SvXMLImportContext *pContext = 0;
sal_uInt16 nTextFrameType = 0;
sal_Bool bObjectOLE = sal_False;
switch( nToken ) switch( nToken )
{ {
case XML_TOK_TEXT_SPAN: case XML_TOK_TEXT_SPAN:
...@@ -1935,8 +1932,6 @@ SvXMLImportContext *XMLParaContext::CreateChildContext( ...@@ -1935,8 +1932,6 @@ SvXMLImportContext *XMLParaContext::CreateChildContext(
sal_uInt16 nPrefix, const OUString& rLocalName, sal_uInt16 nPrefix, const OUString& rLocalName,
const Reference< xml::sax::XAttributeList > & xAttrList ) const Reference< xml::sax::XAttributeList > & xAttrList )
{ {
SvXMLImportContext *pContext = 0;
const SvXMLTokenMap& rTokenMap = const SvXMLTokenMap& rTokenMap =
GetImport().GetTextImport()->GetTextPElemTokenMap(); GetImport().GetTextImport()->GetTextPElemTokenMap();
sal_uInt16 nToken = rTokenMap.Get( nPrefix, rLocalName ); sal_uInt16 nToken = rTokenMap.Get( nPrefix, rLocalName );
...@@ -1971,8 +1966,7 @@ TYPEINIT1( XMLNumberedParaContext, SvXMLImportContext ); ...@@ -1971,8 +1966,7 @@ TYPEINIT1( XMLNumberedParaContext, SvXMLImportContext );
XMLNumberedParaContext::XMLNumberedParaContext( XMLNumberedParaContext::XMLNumberedParaContext(
SvXMLImport& rImport, SvXMLImport& rImport,
sal_uInt16 nPrfx, sal_uInt16 nPrfx,
const OUString& rLName, const OUString& rLName ) :
const Reference< xml::sax::XAttributeList > & xAttrList ) :
SvXMLImportContext( rImport, nPrfx, rLName ) SvXMLImportContext( rImport, nPrfx, rLName )
{ {
} }
...@@ -1991,7 +1985,7 @@ XMLNumberedParaContext::XMLNumberedParaContext( ...@@ -1991,7 +1985,7 @@ XMLNumberedParaContext::XMLNumberedParaContext(
return pContext; return pContext;
} }
void XMLNumberedParaContext::Characters( const OUString& rChars ) void XMLNumberedParaContext::Characters( const OUString& )
{ {
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment