summaryrefslogtreecommitdiff
path: root/svx/source/items/drawitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/items/drawitem.cxx')
-rwxr-xr-x[-rw-r--r--]svx/source/items/drawitem.cxx50
1 files changed, 25 insertions, 25 deletions
diff --git a/svx/source/items/drawitem.cxx b/svx/source/items/drawitem.cxx
index 8e0a2a04592f..d19325d5b387 100644..100755
--- a/svx/source/items/drawitem.cxx
+++ b/svx/source/items/drawitem.cxx
@@ -34,7 +34,7 @@
#include <svx/svxids.hrc>
-#include "drawitem.hxx"
+#include "svx/drawitem.hxx"
#include <svx/xtable.hxx>
using namespace ::com::sun::star;
@@ -105,19 +105,19 @@ SfxPoolItem* SvxColorTableItem::Clone( SfxItemPool * ) const
// -----------------------------------------------------------------------
-bool SvxColorTableItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
+bool SvxColorTableItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
// Please ask CD if you want to change this.
- sal_Int64 aValue = sal_Int64( (ULONG)pColorTable );
+ sal_Int64 aValue = sal_Int64( (sal_uLong)pColorTable );
rVal = uno::makeAny( aValue );
return true;
}
// -----------------------------------------------------------------------
-bool SvxColorTableItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
+bool SvxColorTableItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ )
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
@@ -125,7 +125,7 @@ bool SvxColorTableItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*n
sal_Int64 aValue = 0;
if ( rVal >>= aValue )
{
- pColorTable = (XColorTable *)(ULONG)aValue;
+ pColorTable = (XColorTable *)(sal_uLong)aValue;
return true;
}
@@ -189,19 +189,19 @@ SfxPoolItem* SvxGradientListItem::Clone( SfxItemPool * ) const
// -----------------------------------------------------------------------
-bool SvxGradientListItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
+bool SvxGradientListItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
// Please ask CD if you want to change this.
- sal_Int64 aValue = sal_Int64( (ULONG)pGradientList );
+ sal_Int64 aValue = sal_Int64( (sal_uLong)pGradientList );
rVal = uno::makeAny( aValue );
return true;
}
// -----------------------------------------------------------------------
-bool SvxGradientListItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
+bool SvxGradientListItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ )
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
@@ -209,7 +209,7 @@ bool SvxGradientListItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /
sal_Int64 aValue = 0;
if ( rVal >>= aValue )
{
- pGradientList = (XGradientList *)(ULONG)aValue;
+ pGradientList = (XGradientList *)(sal_uLong)aValue;
return true;
}
@@ -273,19 +273,19 @@ SfxPoolItem* SvxHatchListItem::Clone( SfxItemPool * ) const
// -----------------------------------------------------------------------
-bool SvxHatchListItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
+bool SvxHatchListItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
// Please ask CD if you want to change this.
- sal_Int64 aValue = sal_Int64( (ULONG)pHatchList );
+ sal_Int64 aValue = sal_Int64( (sal_uLong)pHatchList );
rVal = uno::makeAny( aValue );
return true;
}
// -----------------------------------------------------------------------
-bool SvxHatchListItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
+bool SvxHatchListItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ )
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
@@ -293,7 +293,7 @@ bool SvxHatchListItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nM
sal_Int64 aValue = 0;
if ( rVal >>= aValue )
{
- pHatchList = (XHatchList *)(ULONG)aValue;
+ pHatchList = (XHatchList *)(sal_uLong)aValue;
return true;
}
@@ -357,19 +357,19 @@ SfxPoolItem* SvxBitmapListItem::Clone( SfxItemPool * ) const
// -----------------------------------------------------------------------
-bool SvxBitmapListItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
+bool SvxBitmapListItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
// Please ask CD if you want to change this.
- sal_Int64 aValue = sal_Int64( (ULONG)pBitmapList );
+ sal_Int64 aValue = sal_Int64( (sal_uLong)pBitmapList );
rVal = uno::makeAny( aValue );
return true;
}
// -----------------------------------------------------------------------
-bool SvxBitmapListItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
+bool SvxBitmapListItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ )
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
@@ -377,7 +377,7 @@ bool SvxBitmapListItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*n
sal_Int64 aValue = 0;
if ( rVal >>= aValue )
{
- pBitmapList = (XBitmapList *)(ULONG)aValue;
+ pBitmapList = (XBitmapList *)(sal_uLong)aValue;
return true;
}
@@ -443,25 +443,25 @@ SfxPoolItem* SvxDashListItem::Clone( SfxItemPool * ) const
// -----------------------------------------------------------------------
-bool SvxDashListItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
+bool SvxDashListItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
- sal_Int64 aValue = sal_Int64( (ULONG)pDashList );
+ sal_Int64 aValue = sal_Int64( (sal_uLong)pDashList );
rVal = uno::makeAny( aValue );
return true;
}
// -----------------------------------------------------------------------
-bool SvxDashListItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
+bool SvxDashListItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ )
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
sal_Int64 aValue = 0;
if ( rVal >>= aValue )
{
- pDashList = (XDashList *)(ULONG)aValue;
+ pDashList = (XDashList *)(sal_uLong)aValue;
return true;
}
@@ -532,25 +532,25 @@ SfxPoolItem* SvxLineEndListItem::Clone( SfxItemPool * ) const
// -----------------------------------------------------------------------
-bool SvxLineEndListItem::QueryValue( com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ ) const
+bool SvxLineEndListItem::QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ ) const
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
- sal_Int64 aValue = sal_Int64( (ULONG)pLineEndList );
+ sal_Int64 aValue = sal_Int64( (sal_uLong)pLineEndList );
rVal = uno::makeAny( aValue );
return true;
}
// -----------------------------------------------------------------------
-bool SvxLineEndListItem::PutValue( const com::sun::star::uno::Any& rVal, BYTE /*nMemberId*/ )
+bool SvxLineEndListItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/ )
{
// This is only a quick helper to have UI support for these list items. Don't use
// this method to query for a valid UNO representation.
sal_Int64 aValue = 0;
if ( rVal >>= aValue )
{
- pLineEndList = (XLineEndList *)(ULONG)aValue;
+ pLineEndList = (XLineEndList *)(sal_uLong)aValue;
return true;
}