Use valid UNOIDL identifiers in css.frame.Status.ItemState
These are present since OOo 2.0, but are unpublished and appear to be rarely used, so changing them is hopefully OK. Change-Id: I144eceb074cfdd91777f4c940cbfbc0dd73d4347
This commit is contained in:
@@ -34,15 +34,15 @@ constants ItemState
|
||||
{
|
||||
/** specifies an unknown state.
|
||||
*/
|
||||
const short unknown = 0;
|
||||
const short UNKNOWN = 0;
|
||||
|
||||
/** specifies that the property is currently disabled.
|
||||
*/
|
||||
const short disabled = 1;
|
||||
const short DISABLED = 1;
|
||||
|
||||
/** specifies that the property is currently read-only.
|
||||
*/
|
||||
const short read_only = 2;
|
||||
const short READ_ONLY = 2;
|
||||
|
||||
/** specifies that the property is currently in a don't care state.
|
||||
|
||||
@@ -51,15 +51,15 @@ constants ItemState
|
||||
for a property at the same time.
|
||||
</p>
|
||||
*/
|
||||
const short dont_care = 16;
|
||||
const short DONT_CARE = 16;
|
||||
|
||||
/** specifies that the property is currently in a default state.
|
||||
*/
|
||||
const short default_value = 32;
|
||||
const short DEFAULT_VALUE = 32;
|
||||
|
||||
/** specifies that the property is currently in a set state.
|
||||
*/
|
||||
const short set = 64;
|
||||
const short SET = 64;
|
||||
};
|
||||
|
||||
|
||||
|
@@ -813,7 +813,7 @@ void SAL_CALL SfxDispatchController_Impl::addStatusListener(const ::com::sun::st
|
||||
{
|
||||
// Use special uno struct to transport don't care state
|
||||
::com::sun::star::frame::status::ItemStatus aItemStatus;
|
||||
aItemStatus.State = ::com::sun::star::frame::status::ItemState::dont_care;
|
||||
aItemStatus.State = ::com::sun::star::frame::status::ItemState::DONT_CARE;
|
||||
aState = makeAny( aItemStatus );
|
||||
}
|
||||
|
||||
@@ -902,7 +902,7 @@ void SfxDispatchController_Impl::StateChanged( sal_uInt16 nSID, SfxItemState eSt
|
||||
{
|
||||
// Use special uno struct to transport don't care state
|
||||
::com::sun::star::frame::status::ItemStatus aItemStatus;
|
||||
aItemStatus.State = ::com::sun::star::frame::status::ItemState::dont_care;
|
||||
aItemStatus.State = ::com::sun::star::frame::status::ItemState::DONT_CARE;
|
||||
aState = makeAny( aItemStatus );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user