summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/base/xplugin.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-14 12:13:45 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-14 12:13:45 +0100
commit1a64ddfe1d1deeb1779dfa73a4fc8aad089dc968 (patch)
treeb5c0282fdbd2a35206ba10775baafedc0dda2de2 /extensions/source/plugin/base/xplugin.cxx
parent41fb6b154197078bf0abe89c1279cc6ce0d3e0ed (diff)
removetooltypes01: #i112600# remove tooltypes from extensions
Diffstat (limited to 'extensions/source/plugin/base/xplugin.cxx')
-rw-r--r--extensions/source/plugin/base/xplugin.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx
index a501d23f269b..b031df45e2af 100644
--- a/extensions/source/plugin/base/xplugin.cxx
+++ b/extensions/source/plugin/base/xplugin.cxx
@@ -78,7 +78,7 @@ void PluginDisposer::onShot()
{
if( m_pPlugin->isDisposable() )
{
- ULONG nEvent;
+ sal_uLong nEvent;
Application::PostUserEvent( nEvent, LINK( m_pPlugin, XPlugin_Impl, secondLevelDispose ), (void*)m_pPlugin );
}
}
@@ -1026,7 +1026,7 @@ void PluginInputStream::load()
aUrl.SetSmartProtocol( INET_PROT_FILE );
aUrl.SetSmartURL(
String( getStream()->url,
- ::sal::static_int_cast< USHORT, size_t >( strlen( getStream()->url ) ),
+ ::sal::static_int_cast< sal_uInt16, size_t >( strlen( getStream()->url ) ),
RTL_TEXTENCODING_MS_1252
) );
try
@@ -1071,8 +1071,8 @@ void PluginInputStream::writeBytes( const Sequence<sal_Int8>& Buffer ) throw()
if( m_nMode == -1 || !m_pPlugin->getPluginComm() )
return;
- UINT32 nPos = m_aFileStream.Tell();
- UINT32 nBytes = 0;
+ sal_uInt32 nPos = m_aFileStream.Tell();
+ sal_uInt32 nBytes = 0;
while( m_nMode != NP_ASFILEONLY &&
m_nWritePos < nPos &&
(nBytes = m_pPlugin->getPluginComm()-> NPP_WriteReady(