drawitem.cxx (f6e50924) drawitem.cxx (97e8a929)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 41 unchanged lines hidden (view full) ---

50//==================================================================
51
52SvxColorTableItem::SvxColorTableItem()
53{
54}
55
56// -----------------------------------------------------------------------
57
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 41 unchanged lines hidden (view full) ---

50//==================================================================
51
52SvxColorTableItem::SvxColorTableItem()
53{
54}
55
56// -----------------------------------------------------------------------
57
58SvxColorTableItem::SvxColorTableItem( XColorTable* pTable, sal_uInt16 nW ) :
58SvxColorTableItem::SvxColorTableItem( XColorList* pTable, sal_uInt16 nW ) :
59 SfxPoolItem( nW ),
60 pColorTable( pTable )
61{
62}
63
64// -----------------------------------------------------------------------
65
66SvxColorTableItem::SvxColorTableItem( const SvxColorTableItem& rItem ) :

--- 48 unchanged lines hidden (view full) ---

115sal_Bool SvxColorTableItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ )
116{
117 // This is only a quick helper to have UI support for these list items. Don't use
118 // this method to query for a valid UNO representation.
119 // Please ask CD if you want to change this.
120 sal_Int64 aValue = 0;
121 if ( rVal >>= aValue )
122 {
59 SfxPoolItem( nW ),
60 pColorTable( pTable )
61{
62}
63
64// -----------------------------------------------------------------------
65
66SvxColorTableItem::SvxColorTableItem( const SvxColorTableItem& rItem ) :

--- 48 unchanged lines hidden (view full) ---

115sal_Bool SvxColorTableItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ )
116{
117 // This is only a quick helper to have UI support for these list items. Don't use
118 // this method to query for a valid UNO representation.
119 // Please ask CD if you want to change this.
120 sal_Int64 aValue = 0;
121 if ( rVal >>= aValue )
122 {
123 pColorTable = (XColorTable *)(sal_uLong)aValue;
123 pColorTable = (XColorList*)(sal_uLong)aValue;
124 return sal_True;
125 }
126
127 return sal_False;
128}
129
130//==================================================================
131//

--- 422 unchanged lines hidden ---
124 return sal_True;
125 }
126
127 return sal_False;
128}
129
130//==================================================================
131//

--- 422 unchanged lines hidden ---