Kaydet (Commit) 7147dc4d authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS warnings01 (1.5.34); FILE MERGED

2006/04/07 18:41:05 sb 1.5.34.2: RESYNC: (1.5-1.6); FILE MERGED
2005/11/16 22:47:19 pl 1.5.34.1: #i55991# removed warnings
üst 00fb927d
......@@ -4,9 +4,9 @@
*
* $RCSfile: XMLFontAutoStylePool.cxx,v $
*
* $Revision: 1.6 $
* $Revision: 1.7 $
*
* last change: $Author: vg $ $Date: 2006-03-16 12:19:15 $
* last change: $Author: hr $ $Date: 2006-06-19 18:29:11 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -192,13 +192,13 @@ OUString XMLFontAutoStylePool::Add(
sal_Int16 nPitch,
rtl_TextEncoding eEnc )
{
OUString sName;
OUString sPoolName;
XMLFontAutoStylePoolEntry_Impl aTmp( rFamilyName, rStyleName, nFamily,
nPitch, eEnc );
ULONG nPos;
if( pPool->Seek_Entry( &aTmp, &nPos ) )
{
sName = pPool->GetObject( nPos )->GetName();
sPoolName = pPool->GetObject( nPos )->GetName();
}
else
{
......@@ -236,7 +236,7 @@ OUString XMLFontAutoStylePool::Add(
pNames->Insert( new OUString( sName ) );
}
return sName;
return sPoolName;
}
::rtl::OUString XMLFontAutoStylePool::Find(
......@@ -306,7 +306,7 @@ void XMLFontAutoStylePool::exportXML()
GetExport().AddAttribute( XML_NAMESPACE_STYLE,
XML_FONT_CHARSET, sTmp );
SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE,
SvXMLElementExport aElement( GetExport(), XML_NAMESPACE_STYLE,
XML_FONT_FACE,
sal_True, sal_True );
}
......
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