From dc8c9d8052293055f31b56fcd5db56ce13306a65 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 17 Oct 2017 17:48:11 +0200 Subject: xmloff: document return value Change-Id: I0b2012d2134a94603d95ce5a955f03944e344561 --- include/xmloff/xmlprhdl.hxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'include/xmloff') diff --git a/include/xmloff/xmlprhdl.hxx b/include/xmloff/xmlprhdl.hxx index 0aba91b432f4..9c9a6f79b8de 100644 --- a/include/xmloff/xmlprhdl.hxx +++ b/include/xmloff/xmlprhdl.hxx @@ -36,7 +36,6 @@ struct XMLPropertyState; */ class XMLOFF_DLLPUBLIC XMLPropertyHandler { - // ??? const SvXMLUnitConverter& rUnitConverter Do we need this ? public: // Just needed for virtual destruction @@ -46,9 +45,14 @@ public: By default the Any-equal-operator is called. */ virtual bool equals( const css::uno::Any& r1, const css::uno::Any& r2 ) const; - /// Imports the given value in cas of the given XML-data-type + /** Imports the given value according to the XML-data-type corresponding to + the derived class. + @retval true if the value was successfully converted to Any + @retval false if the value was not recognised (warning will be printed) + */ virtual bool importXML( const OUString& rStrImpValue, css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const =0; - /// Exports the given value in case of the given XML-data-type + /// Exports the given value according to the XML-data-type corresponding to + /// the derived class. virtual bool exportXML( OUString& rStrExpValue, const css::uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const =0; }; -- cgit