summaryrefslogtreecommitdiff
path: root/include/toolkit
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 /include/toolkit
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 'include/toolkit')
-rw-r--r--include/toolkit/helper/vclunohelper.hxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/toolkit/helper/vclunohelper.hxx b/include/toolkit/helper/vclunohelper.hxx
index 2dbf25320a24..91d0905814e3 100644
--- a/include/toolkit/helper/vclunohelper.hxx
+++ b/include/toolkit/helper/vclunohelper.hxx
@@ -25,7 +25,6 @@
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
-#include <com/sun/star/awt/FontSlant.hpp>
#include <com/sun/star/awt/MouseEvent.hpp>
#include <vcl/bitmapex.hxx>
@@ -104,12 +103,6 @@ public:
static vcl::Font CreateFont( const css::awt::FontDescriptor& rDescr, const vcl::Font& rInitFont );
static vcl::Font CreateFont( const css::uno::Reference< css::awt::XFont >& rxFont );
static css::awt::SimpleFontMetric CreateFontMetric( const FontMetric& rFontMetric );
- static float ConvertFontWidth( FontWidth eWidth );
- static FontWidth ConvertFontWidth( float f );
- static float ConvertFontWeight( FontWeight eWeight );
- static FontWeight ConvertFontWeight( float f );
- static css::awt::FontSlant ConvertFontSlant( FontItalic eWeight );
- static FontItalic ConvertFontSlant( css::awt::FontSlant );
// Rectangle
static bool IsZero(const css::awt::Rectangle& rRect);