diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/HtmlWriter.hxx | 8 | ||||
-rw-r--r-- | include/svtools/htmlout.hxx | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/svtools/HtmlWriter.hxx b/include/svtools/HtmlWriter.hxx index acfeb651266c..66d211211ed4 100644 --- a/include/svtools/HtmlWriter.hxx +++ b/include/svtools/HtmlWriter.hxx @@ -32,11 +32,11 @@ public: void prettyPrint(bool bChoice); - void start(OString aElement); + void start(const OString &aElement); void end(); - void write(OString aContent); - void attribute(OString aAttribute, OString aValue); - void single(OString aContent); + void write(const OString &aContent); + void attribute(const OString &aAttribute, const OString &aValue); + void single(const OString &aContent); void endAttribute(); }; diff --git a/include/svtools/htmlout.hxx b/include/svtools/htmlout.hxx index dd3b24510df8..f904a05b3f20 100644 --- a/include/svtools/htmlout.hxx +++ b/include/svtools/htmlout.hxx @@ -108,7 +108,7 @@ struct HTMLOutFuncs struct HtmlWriterHelper { - SVT_DLLPUBLIC static void applyColor( HtmlWriter& rHtmlWriter, OString aAttributeName, const Color& rColor); + SVT_DLLPUBLIC static void applyColor( HtmlWriter& rHtmlWriter, const OString &aAttributeName, const Color& rColor); }; #endif |