summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-03-18 12:53:39 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-03-18 12:54:26 +1100
commita83698b980424be214829b3ee7cdbf8d2a778755 (patch)
treea312b0d6b1443da6c8c7e5a8fc2aa3cc3842b29d /UnoControls
parent6aa3e71bdd95b26cc807ae77ba6387fe80298001 (diff)
tools: split out color macros into own header
Change-Id: Ib983601d60a3dae1e738bb385dfbb36094bdb064
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/inc/basecontrol.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx
index 81ec49195151..1ecd6a840df7 100644
--- a/UnoControls/inc/basecontrol.hxx
+++ b/UnoControls/inc/basecontrol.hxx
@@ -83,6 +83,7 @@
#include <com/sun/star/awt/XView.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <osl/mutex.hxx>
+#include <tools/colordata.hxx>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/component.hxx>
@@ -96,11 +97,6 @@ namespace com { namespace sun { namespace star { namespace uno {
namespace unocontrols{
-// macros
-
-#define TRGB_COLORDATA(TRANSPARENCE,RED,GREEN,BLUE) \
- ((sal_Int32)(((sal_uInt32)((sal_uInt8)(BLUE))))|(((sal_uInt32)((sal_uInt8)(GREEN)))<<8)|(((sal_uInt32)((sal_uInt8)(RED)))<<16)|(((sal_uInt32)((sal_uInt8)(TRANSPARENCE)))<<24))
-
// structs
struct IMPL_MutexContainer