diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-02-13 19:00:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-02-13 19:48:22 +0100 |
commit | 71fa2bc2061168b9a74cdb4b0428b00ea902666f (patch) | |
tree | 79a33be2bd71f2c9eef73947db8f861ef33d13f5 /starmath/inc/mathml | |
parent | 02e4f6c44295004f5c7201a7aa2744fd0518ba9d (diff) |
no need to allocate these return values on the heap
Change-Id: I4fd440c79c388527183a84676b2f32930f3bf8ec
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110845
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc/mathml')
-rw-r--r-- | starmath/inc/mathml/starmathdatabase.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/inc/mathml/starmathdatabase.hxx b/starmath/inc/mathml/starmathdatabase.hxx index b40a932809a4..cf8cf8b3b9d1 100644 --- a/starmath/inc/mathml/starmathdatabase.hxx +++ b/starmath/inc/mathml/starmathdatabase.hxx @@ -263,7 +263,7 @@ SmToken Identify_Postfix_SmXMLOperatorContext_Impl(sal_Unicode cChar); * @param cColor * @param parser color */ -std::unique_ptr<SmColorTokenTableEntry> Identify_Color_Parser(sal_uInt32 cColor); +SmColorTokenTableEntry Identify_Color_Parser(sal_uInt32 cColor); /** * Identifies color from color code cColor. @@ -271,7 +271,7 @@ std::unique_ptr<SmColorTokenTableEntry> Identify_Color_Parser(sal_uInt32 cColor) * @param cColor * @param parser color */ -std::unique_ptr<SmColorTokenTableEntry> Identify_Color_HTML(sal_uInt32 cColor); +SmColorTokenTableEntry Identify_Color_HTML(sal_uInt32 cColor); /** * Identifies color from color code cColor. @@ -283,7 +283,7 @@ std::unique_ptr<SmColorTokenTableEntry> Identify_Color_HTML(sal_uInt32 cColor); * @param cColor * @param parser color */ -std::unique_ptr<SmColorTokenTableEntry> Identify_Color_MATHML(sal_uInt32 cColor); +SmColorTokenTableEntry Identify_Color_MATHML(sal_uInt32 cColor); /** * Identifies color from color code cColor. @@ -291,7 +291,7 @@ std::unique_ptr<SmColorTokenTableEntry> Identify_Color_MATHML(sal_uInt32 cColor) * @param cColor * @param parser color */ -std::unique_ptr<SmColorTokenTableEntry> Identify_Color_DVIPSNAMES(sal_uInt32 cColor); +SmColorTokenTableEntry Identify_Color_DVIPSNAMES(sal_uInt32 cColor); /** * Identifies color from color name. @@ -315,7 +315,7 @@ const SmColorTokenTableEntry* Identify_ColorName_Parser(const OUString& colornam * @param cColor * @param parser color */ -std::unique_ptr<SmColorTokenTableEntry> Identify_ColorName_HTML(const OUString& colorname); +SmColorTokenTableEntry Identify_ColorName_HTML(const OUString& colorname); /** * Identifies color from color name. |