summaryrefslogtreecommitdiff
path: root/chart2/source/inc/FormattedStringHelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-22 10:25:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-22 19:58:00 +0000
commit88047257087350497009e418850a90f1cd34310a (patch)
treeac9d800ab3cfecc1258e685f4d05906e95cc5218 /chart2/source/inc/FormattedStringHelper.hxx
parent3a4b32c9e1dfc56d9b00e3720834d21c9095f629 (diff)
simplify ViewLegendEntry
we never have more than one FormattedString Change-Id: Id61a2a89a053f49da758a2bb888cef189515458f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149332 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc/FormattedStringHelper.hxx')
-rw-r--r--chart2/source/inc/FormattedStringHelper.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/chart2/source/inc/FormattedStringHelper.hxx b/chart2/source/inc/FormattedStringHelper.hxx
index ef2077c40f69..9e4d33b6af67 100644
--- a/chart2/source/inc/FormattedStringHelper.hxx
+++ b/chart2/source/inc/FormattedStringHelper.hxx
@@ -18,9 +18,9 @@
*/
#pragma once
-#include <vector>
#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
+#include <vector>
namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::chart2 { class XFormattedString2; }
@@ -33,9 +33,8 @@ class FormattedString;
class FormattedStringHelper
{
public:
- static std::vector<
- rtl::Reference< ::chart::FormattedString > >
- createFormattedStringSequence(
+ static rtl::Reference< ::chart::FormattedString >
+ createFormattedString(
const OUString & rString
, const css::uno::Reference< css::beans::XPropertySet > & xTextProperties ) noexcept;
};