diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-07-29 19:22:59 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-07-29 19:36:35 +0200 |
commit | 10ada83716e7c7d591d2c7d5c19cc5920db38faf (patch) | |
tree | b29591fe42aa79fcf7a2aad4593efb4f11272506 /toolkit/inc | |
parent | c03cdb3968c18f95da82ab58c6cc2050fccc4707 (diff) |
Partially revert "Remove unused defines"
This partially reverts 00240d049790d11c4ef35de7a294819107197efd
http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html
Change-Id: Ib682cd258cca12e742be5fb1715b2aecfe0a761e
Diffstat (limited to 'toolkit/inc')
-rw-r--r-- | toolkit/inc/toolkit/helper/property.hxx | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/toolkit/inc/toolkit/helper/property.hxx b/toolkit/inc/toolkit/helper/property.hxx index a681640dbd56..dd4bdd1f7d40 100644 --- a/toolkit/inc/toolkit/helper/property.hxx +++ b/toolkit/inc/toolkit/helper/property.hxx @@ -83,10 +83,10 @@ namespace rtl { #define BASEPROPERTY_TIME 33 // sal_Int32 #define BASEPROPERTY_TIMEMIN 34 // sal_Int32 #define BASEPROPERTY_TIMEMAX 35 // sal_Int32 -// BASEPROPERTY_VALUE_INT32 36 // sal_Int32 -// BASEPROPERTY_VALUEMIN_INT32 37 // sal_Int32 -// BASEPROPERTY_VALUEMAX_INT32 38 // sal_Int32 -// BASEPROPERTY_VALUESTEP_INT32 39 // sal_Int32 +#define BASEPROPERTY_VALUE_INT32 36 // sal_Int32 +#define BASEPROPERTY_VALUEMIN_INT32 37 // sal_Int32 +#define BASEPROPERTY_VALUEMAX_INT32 38 // sal_Int32 +#define BASEPROPERTY_VALUESTEP_INT32 39 // sal_Int32 #define BASEPROPERTY_EDITMASK 40 // ::rtl::OUString #define BASEPROPERTY_LITERALMASK 41 // ::rtl::OUString #define BASEPROPERTY_IMAGEURL 42 // ::rtl::OUString @@ -107,7 +107,7 @@ namespace rtl { #define BASEPROPERTY_DEFAULTBUTTON 57 // sal_Bool #define BASEPROPERTY_HELPURL 58 // ::rtl::OUString #define BASEPROPERTY_AUTOTOGGLE 59 // sal_Bool -// BASEPROPERTY_FOCUSSELECTIONHIDE 60 // sal_Bool +//#define BASEPROPERTY_FOCUSSELECTIONHIDE 60 // sal_Bool #define BASEPROPERTY_FORMATKEY 61 // sal_Bool #define BASEPROPERTY_FORMATSSUPPLIER 62 // ::com::sun::star::util::XNumberFormatsSupplier #define BASEPROPERTY_EFFECTIVE_VALUE 63 // Any (double or string) @@ -237,6 +237,10 @@ namespace rtl { #define PROPERTY_ALIGN_CENTER 1 #define PROPERTY_ALIGN_RIGHT 2 +#define PROPERTY_STATE_OFF 0 +#define PROPERTY_STATE_ON 1 +#define PROPERTY_STATE_DONTCARE 2 + TOOLKIT_DLLPUBLIC sal_uInt16 GetPropertyId( const ::rtl::OUString& rPropertyName ); const ::com::sun::star::uno::Type* GetPropertyType( sal_uInt16 nPropertyId ); TOOLKIT_DLLPUBLIC const ::rtl::OUString& GetPropertyName( sal_uInt16 nPropertyId ); |