ported trunk commit 3078: bug correction in chat smiley substitution

git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3082 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2010-06-07 18:23:28 +00:00
parent c94a5c4e67
commit 27943d2e8c
2 changed files with 2 additions and 4 deletions

View File

@ -55,10 +55,8 @@ void EmbedInHtmlImg::InitFromAwkwardHash(const QHash< QString, QString >& hash)
* @param[in,out] currentElement The current node (which is of type Element)
* @param[in] embedInfos The regular expression and the type of embedding to use
*/
void embedHtml(QDomDocument& doc, QDomElement& currentElement, const EmbedInHtml& _embedInfos)
void embedHtml(QDomDocument& doc, QDomElement& currentElement, EmbedInHtml& embedInfos)
{
EmbedInHtml embedInfos(_embedInfos) ;
if(embedInfos.myRE.pattern().length() == 0) // we'll get stuck with an empty regexp
return;

View File

@ -103,7 +103,7 @@ public:
};
void embedHtml(QDomDocument& doc, QDomElement& currentElement, const EmbedInHtml& embedInfos);
void embedHtml(QDomDocument& doc, QDomElement& currentElement, EmbedInHtml& embedInfos);
} // namespace RsChat