summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2007-04-25 14:02:50 +0000
committerRüdiger Timm <rt@openoffice.org>2007-04-25 14:02:50 +0000
commitb954354937bb279120319df95bb05b6a3114ab7d (patch)
tree69f2b9d0d9f636a7c75bd3c43e2e7cd7fd9200c2
parent585dbf31981fd4831278f0e8113494efb66f91ee (diff)
INTEGRATION: CWS sixtyfour11 (1.16.136); FILE MERGED
2007/02/20 10:31:08 kendy 1.16.136.1: #i74692# Let the form control properties dialog show even on 64bit.
-rw-r--r--sfx2/source/control/objface.cxx29
1 files changed, 14 insertions, 15 deletions
diff --git a/sfx2/source/control/objface.cxx b/sfx2/source/control/objface.cxx
index 11d9cd7baf0e..6b2a2bbb58c0 100644
--- a/sfx2/source/control/objface.cxx
+++ b/sfx2/source/control/objface.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: objface.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 15:51:28 $
+ * last change: $Author: rt $ $Date: 2007-04-25 15:02:50 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -88,9 +88,9 @@ struct SfxObjectUI_Impl
BOOL bVisible;
BOOL bContext;
String* pName;
- ULONG nFeature;
+ sal_uInt32 nFeature;
- SfxObjectUI_Impl(USHORT n, const ResId& rResId, BOOL bVis, ULONG nFeat) :
+ SfxObjectUI_Impl(USHORT n, const ResId& rResId, BOOL bVis, sal_uInt32 nFeat) :
nPos(n),
aResId(rResId.GetId(), rResId.GetResMgr()),
bVisible(bVis),
@@ -140,7 +140,7 @@ struct SfxInterface_Impl
}
};
-static SfxObjectUI_Impl* CreateObjectBarUI_Impl( USHORT nPos, const ResId& rResId, ULONG nFeature, const String *pStr );
+static SfxObjectUI_Impl* CreateObjectBarUI_Impl( USHORT nPos, const ResId& rResId, sal_uInt32 nFeature, const String *pStr );
//====================================================================
@@ -432,14 +432,14 @@ void SfxInterface::RegisterObjectBar( USHORT nPos, const ResId& rResId,
}
-void SfxInterface::RegisterObjectBar( USHORT nPos, const ResId& rResId, ULONG nFeature, const String *pStr )
+void SfxInterface::RegisterObjectBar( USHORT nPos, const ResId& rResId, sal_uInt32 nFeature, const String *pStr )
{
SfxObjectUI_Impl* pUI = CreateObjectBarUI_Impl( nPos, rResId, nFeature, pStr );
if ( pUI )
pImpData->pObjectBars->Append(pUI);
}
-SfxObjectUI_Impl* CreateObjectBarUI_Impl( USHORT nPos, const ResId& rResId, ULONG nFeature, const String *pStr )
+SfxObjectUI_Impl* CreateObjectBarUI_Impl( USHORT nPos, const ResId& rResId, sal_uInt32 nFeature, const String *pStr )
{
if ((nPos & SFX_VISIBILITY_MASK) == 0)
nPos |= SFX_VISIBILITY_STANDARD;
@@ -524,7 +524,7 @@ void SfxInterface::RegisterChildWindow(USHORT nId, BOOL bContext, const String*
RegisterChildWindow( nId, bContext, 0UL, pChildWinName );
}
-void SfxInterface::RegisterChildWindow(USHORT nId, BOOL bContext, ULONG nFeature, const String*)
+void SfxInterface::RegisterChildWindow(USHORT nId, BOOL bContext, sal_uInt32 nFeature, const String*)
{
SfxObjectUI_Impl* pUI = new SfxObjectUI_Impl(0, nId, TRUE, nFeature);
pUI->bContext = bContext;
@@ -537,7 +537,7 @@ void SfxInterface::RegisterStatusBar(const ResId& rResId)
}
-ULONG SfxInterface::GetChildWindowId (USHORT nNo) const
+sal_uInt32 SfxInterface::GetChildWindowId (USHORT nNo) const
{
if ( pGenoType )
{
@@ -554,13 +554,13 @@ ULONG SfxInterface::GetChildWindowId (USHORT nNo) const
USHORT nCWCount = pImpData->pChildWindows->Count();
DBG_ASSERT( nNo<nCWCount,"ChildWindow ist unbekannt!" );
#endif
- ULONG nRet = (ULONG) (*pImpData->pChildWindows)[nNo]->aResId.GetId();
+ sal_uInt32 nRet = (*pImpData->pChildWindows)[nNo]->aResId.GetId();
if ( (*pImpData->pChildWindows)[nNo]->bContext )
- nRet += ( (ULONG) nClassId ) << 16;
+ nRet += sal_uInt32( nClassId ) << 16;
return nRet;
}
-ULONG SfxInterface::GetChildWindowFeature (USHORT nNo) const
+sal_uInt32 SfxInterface::GetChildWindowFeature (USHORT nNo) const
{
if ( pGenoType )
{
@@ -577,8 +577,7 @@ ULONG SfxInterface::GetChildWindowFeature (USHORT nNo) const
USHORT nCWCount = pImpData->pChildWindows->Count();
DBG_ASSERT( nNo<nCWCount,"ChildWindow ist unbekannt!" );
#endif
- ULONG nRet = (ULONG) (*pImpData->pChildWindows)[nNo]->nFeature;
- return nRet;
+ return (*pImpData->pChildWindows)[nNo]->nFeature;
}
//--------------------------------------------------------------------
@@ -630,7 +629,7 @@ const String* SfxInterface::GetObjectBarName ( USHORT nNo ) const
return (*pImpData->pObjectBars)[nNo]->pName;
}
-ULONG SfxInterface::GetObjectBarFeature ( USHORT nNo ) const
+sal_uInt32 SfxInterface::GetObjectBarFeature ( USHORT nNo ) const
{
BOOL bGenoType = (pGenoType != 0 && !pGenoType->HasName());
if ( bGenoType )