summaryrefslogtreecommitdiff
path: root/automation
diff options
context:
space:
mode:
authorCarsten Driesner <cd@openoffice.org>2011-01-21 13:06:20 +0100
committerCarsten Driesner <cd@openoffice.org>2011-01-21 13:06:20 +0100
commita70e0c663fd991116fe99658851feb4692d32322 (patch)
treecd4ca2696da3b4436151b44d2ac28f1eec2b0c7b /automation
parent7a765fa73c22cda9f8d82b7045122f01a54d5272 (diff)
removetooltypes01: #i112600# Fix build problems on non-pro
Diffstat (limited to 'automation')
-rw-r--r--automation/source/server/XMLParser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/automation/source/server/XMLParser.cxx b/automation/source/server/XMLParser.cxx
index 3e3054bb9073..a2aab7ab1e94 100644
--- a/automation/source/server/XMLParser.cxx
+++ b/automation/source/server/XMLParser.cxx
@@ -671,14 +671,14 @@ void StatementCommand::HandleSAXParser()
break;
case RC_SAXGetElementPath:
{
- DBG_ASSERT( sizeof( ULONG ) == sizeof ( void* ), "Pointertype has different size than ULONG");
+ DBG_ASSERT( sizeof( sal_uIntPtr ) == sizeof ( void* ), "Pointertype has different size than sal_uIntPtr");
String aPath;
aPath.AppendAscii( "*:" );
aPath.Append( String::CreateFromInt64( pSAXParser->GetTimestamp() ) );
aPath.AppendAscii( ":" );
NodeRef xNode=pSAXParser->GetCurrentNode();
Node* pNode = (Node*)(&xNode);
- aPath.Append( String::CreateFromInt64( (sal_uLong)pNode ) );
+ aPath.Append( String::CreateFromInt64( (sal_uIntPtr)pNode ) );
pRet->GenReturn ( RET_Value, nMethodId, aPath );
}
break;