https://bugs.freedesktop.org/show_bug.cgi?id=38885

--- Comment #3 from Ricardo Montania <rica...@linuxafundo.com.br> ---
I have interest on it.

On a first look, I saw that SmNodeToTextVisitor is a class constructor, and
need an pNode and a OUString rText as argument to be constructed. But
SmNode::CreateTextFromNode need only an OUString, and the pNode is created
inside the method. Is that a problem?

And, in SmNode::CreateTextFromNode there is a verification for the number of
subNodes, and in SmNodeToTextVisitor we have this virification only in Visitor
method in according with the node. Then, to replace CreateTextFromNode should I
call SmNodeToTextVisitor constructor and then call the Visitor method according
to the case?

Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to