summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-02 12:35:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-02 16:31:48 +0000
commit2f33a8cd231d3842a1e5521e3a61d8e73517137b (patch)
tree184c69d8545ce64cfc1c9e25fe4df9319eb252f4 /chart2
parentfb41ebff32371ee7a7e07f671f7c769a8bb18718 (diff)
coverity#1403662 Mixing enum types
Change-Id: Ic5e797c65dfc736a9ef0ab14f3ae563216143947 Reviewed-on: https://gerrit.libreoffice.org/36020 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/DummyXShape.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index b066f39a2d2d..322a21ec000e 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -27,7 +27,7 @@
#include <cppuhelper/supportsservice.hxx>
#include <cppuhelper/implbase.hxx>
#include <editeng/unoprnms.hxx>
-#include <toolkit/helper/vclunohelper.hxx>
+#include <vcl/unohelp.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/matrix/b3dhommatrix.hxx>
@@ -741,13 +741,13 @@ struct FontAttribSetter
else if(rPropName == "CharWeight")
{
float fWeight = rProp.second.get<float>();
- FontWeight eFontWeight = VCLUnoHelper::ConvertFontWeight(fWeight);
+ FontWeight eFontWeight = vcl::unohelper::ConvertFontWeight(fWeight);
mrFont.SetWeight(eFontWeight);
}
else if(rPropName == "ChartWidth")
{
float fWidth = rProp.second.get<float>();
- FontWidth eFontWidth = VCLUnoHelper::ConvertFontWidth(fWidth);
+ FontWidth eFontWidth = vcl::unohelper::ConvertFontWidth(fWidth);
mrFont.SetAverageFontWidth(eFontWidth);
}
}