Merge "Added FileReader and FileWriter classes to wrap FileCloser" into devel/master
[platform/core/uifw/dali-adaptor.git] / adaptors / common / orientation-impl.cpp
index 73c2a4d..0e3fd0e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -19,7 +19,6 @@
 #include "orientation-impl.h"
 
 // EXTERNAL INCLUDES
-#include <Ecore.h>
 #include <dali/integration-api/debug.h>
 
 // INTERNAL INCLUDES
@@ -67,7 +66,7 @@ int Orientation::GetDegrees() const
 
 float Orientation::GetRadians() const
 {
-  return Math::PI * (float)mOrientation / 180.0f;
+  return Math::PI * float(mOrientation) / 180.0f;
 }
 
 Orientation::OrientationSignalType& Orientation::ChangedSignal()