--- comphelper/inc/comphelper/ofopxmlhelper.hxx	13 Oct 2006 11:40:08 -0000	1.2
+++ comphelper/inc/comphelper/ofopxmlhelper.hxx	7 Aug 2007 08:13:14 -0000	1.2.84.1
@@ -71,7 +71,7 @@ class COMPHELPER_DLLPUBLIC OFOPXMLHelper
 	::rtl::OUString m_aRelElement;
 	::rtl::OUString m_aIDAttr;
 	::rtl::OUString m_aTypeAttr;
-	::rtl::OUString m_aTargetTypeAttr;
+	::rtl::OUString m_aTargetModeAttr;
 	::rtl::OUString m_aTargetAttr;
 
 	// ContentType related strings
--- comphelper/source/xml/ofopxmlhelper.cxx	7 Nov 2006 14:50:10 -0000	1.3
+++ comphelper/source/xml/ofopxmlhelper.cxx	6 Aug 2007 15:11:43 -0000	1.3.74.1
@@ -102,7 +102,7 @@ void SAL_CALL OFOPXMLHelper::WriteRelati
 	::rtl::OUString aRelElement( RTL_CONSTASCII_USTRINGPARAM( "Relationship" ) );
 	::rtl::OUString aIDAttr( RTL_CONSTASCII_USTRINGPARAM( "Id" ) );
 	::rtl::OUString aTypeAttr( RTL_CONSTASCII_USTRINGPARAM( "Type" ) );
-	::rtl::OUString aTargetTypeAttr( RTL_CONSTASCII_USTRINGPARAM( "TargetType" ) );
+	::rtl::OUString aTargetModeAttr( RTL_CONSTASCII_USTRINGPARAM( "TargetMode" ) );
 	::rtl::OUString aTargetAttr( RTL_CONSTASCII_USTRINGPARAM( "Target" ) );
 	::rtl::OUString aCDATAString( RTL_CONSTASCII_USTRINGPARAM ( "CDATA" ) );
 	::rtl::OUString aWhiteSpace( RTL_CONSTASCII_USTRINGPARAM ( " " ) );
@@ -126,7 +126,7 @@ void SAL_CALL OFOPXMLHelper::WriteRelati
 		{
 			if ( aSequence[nInd][nSecInd].First.equals( aIDAttr )
 			  || aSequence[nInd][nSecInd].First.equals( aTypeAttr )
-			  || aSequence[nInd][nSecInd].First.equals( aTargetTypeAttr )
+			  || aSequence[nInd][nSecInd].First.equals( aTargetModeAttr )
 			  || aSequence[nInd][nSecInd].First.equals( aTargetAttr ) )
 			{
 				pAttrList->AddAttribute( aSequence[nInd][nSecInd].First, aCDATAString, aSequence[nInd][nSecInd].Second );
@@ -245,7 +245,7 @@ OFOPXMLHelper::OFOPXMLHelper( sal_uInt16
 , m_aRelElement( RTL_CONSTASCII_USTRINGPARAM( "Relationship" ) )
 , m_aIDAttr( RTL_CONSTASCII_USTRINGPARAM( "Id" ) )
 , m_aTypeAttr( RTL_CONSTASCII_USTRINGPARAM( "Type" ) )
-, m_aTargetTypeAttr( RTL_CONSTASCII_USTRINGPARAM( "TargetType" ) )
+, m_aTargetModeAttr( RTL_CONSTASCII_USTRINGPARAM( "TargetMode" ) )
 , m_aTargetAttr( RTL_CONSTASCII_USTRINGPARAM( "Target" ) )
 , m_aTypesElement( RTL_CONSTASCII_USTRINGPARAM( "Types" ) )
 , m_aDefaultElement( RTL_CONSTASCII_USTRINGPARAM( "Default" ) )
@@ -320,7 +320,7 @@ void SAL_CALL OFOPXMLHelper::startElemen
 
 			::rtl::OUString aTypeValue = xAttribs->getValueByName( m_aTypeAttr );
 			::rtl::OUString aTargetValue = xAttribs->getValueByName( m_aTargetAttr );
-			::rtl::OUString aTargetTypeValue = xAttribs->getValueByName( m_aTargetTypeAttr );
+			::rtl::OUString aTargetModeValue = xAttribs->getValueByName( m_aTargetModeAttr );
 
 			m_aResultSeq[nNewEntryNum-1][++nAttrNum - 1].First = m_aIDAttr;
 			m_aResultSeq[nNewEntryNum-1][nAttrNum - 1].Second = aIDValue;
@@ -337,10 +337,10 @@ void SAL_CALL OFOPXMLHelper::startElemen
 				m_aResultSeq[nNewEntryNum-1][nAttrNum - 1].Second = aTargetValue;
 			}
 
-			if ( aTargetTypeValue.getLength() )
+			if ( aTargetModeValue.getLength() )
 			{
-				m_aResultSeq[nNewEntryNum-1][++nAttrNum - 1].First = m_aTargetTypeAttr;
-				m_aResultSeq[nNewEntryNum-1][nAttrNum - 1].Second = aTargetTypeValue;
+				m_aResultSeq[nNewEntryNum-1][++nAttrNum - 1].First = m_aTargetModeAttr;
+				m_aResultSeq[nNewEntryNum-1][nAttrNum - 1].Second = aTargetModeValue;
 			}
 
 			m_aResultSeq[nNewEntryNum-1].realloc( nAttrNum );
