summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-12-02 00:37:13 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-12-27 16:51:25 +0100
commit42798dc46a3e9a178ca5bc85e63865686daec0ef (patch)
tree20133cbf044c7fd434d70408896b768cfef1b6bc /basic
parent59e3e041ccd119e72dee053172531a59832336c7 (diff)
sal_uIntPtr to sal_uInt32
Change-Id: I856ee7aa28d45dd69b030e3db05701b415009fde
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbxmod.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 73428af604b2..55d9a65523e4 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -842,7 +842,7 @@ void SbModule::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
// side effects when using name as variable implicitly
bool bForwardToSbxObject = true;
- sal_uIntPtr nId = pHint->GetId();
+ const sal_uInt32 nId = pHint->GetId();
if( (nId == SBX_HINT_DATAWANTED || nId == SBX_HINT_DATACHANGED) &&
pVar->GetName().equalsIgnoreAsciiCase( "name" ) )
{
@@ -954,7 +954,7 @@ void SbModule::SetSource32( const OUString& r )
// Broadcast of a hint to all Basics
-static void _SendHint( SbxObject* pObj, sal_uIntPtr nId, SbMethod* p )
+static void _SendHint( SbxObject* pObj, sal_uInt32 nId, SbMethod* p )
{
// Self a BASIC?
if( dynamic_cast<const StarBASIC *>(pObj) != nullptr && pObj->IsBroadcaster() )
@@ -969,7 +969,7 @@ static void _SendHint( SbxObject* pObj, sal_uIntPtr nId, SbMethod* p )
}
}
-static void SendHint( SbxObject* pObj, sal_uIntPtr nId, SbMethod* p )
+static void SendHint( SbxObject* pObj, sal_uInt32 nId, SbMethod* p )
{
while( pObj->GetParent() )
pObj = pObj->GetParent();