summaryrefslogtreecommitdiff
path: root/include/toolkit/helper
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-04 11:41:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-04 12:34:14 +0100
commit3d8eee45c9256ec66458fc4fe1cf6c6814075bae (patch)
tree457eb269db2b4aa9bb199751736eac0de29f9737 /include/toolkit/helper
parent332a67afdc3d3c89c272aa3871e780cd30f34b36 (diff)
coverity#705388 Mixing enum types
Change-Id: If80361ac234c5079c9fcadb0a2f5fa05ea6b407b
Diffstat (limited to 'include/toolkit/helper')
-rw-r--r--include/toolkit/helper/vclunohelper.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/toolkit/helper/vclunohelper.hxx b/include/toolkit/helper/vclunohelper.hxx
index 74c6ade01193..d4a96e9d4062 100644
--- a/include/toolkit/helper/vclunohelper.hxx
+++ b/include/toolkit/helper/vclunohelper.hxx
@@ -25,9 +25,9 @@
#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>
-
namespace com { namespace sun { namespace star { namespace uno {
class XInterface;
}}}}
@@ -106,6 +106,8 @@ public:
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( ::com::sun::star::awt::Rectangle rRect );