summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlstyle.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlstyle.cxx')
-rw-r--r--xmloff/source/style/xmlstyle.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmloff/source/style/xmlstyle.cxx b/xmloff/source/style/xmlstyle.cxx
index 48779f48f583..108b21f43120 100644
--- a/xmloff/source/style/xmlstyle.cxx
+++ b/xmloff/source/style/xmlstyle.cxx
@@ -216,7 +216,7 @@ void SvXMLStyleContext::Finish( sal_Bool /*bOverwrite*/ )
{
}
-BOOL SvXMLStyleContext::IsTransient() const
+sal_Bool SvXMLStyleContext::IsTransient() const
{
return sal_False;
}
@@ -366,7 +366,7 @@ const SvXMLStyleContext *SvXMLStylesContext_Impl::FindStyleChildContext(
#endif
((SvXMLStylesContext_Impl *)this)->pIndices =
new SvXMLStyleIndices_Impl(
- sal::static_int_cast< USHORT >(aStyles.Count()), 5 );
+ sal::static_int_cast< sal_uInt16 >(aStyles.Count()), 5 );
for( sal_uInt32 i=0; i < aStyles.Count(); i++ )
{
SvXMLStyleIndex_Impl* pStyleIndex = new SvXMLStyleIndex_Impl( aStyles.GetObject(i));
@@ -384,7 +384,7 @@ const SvXMLStyleContext *SvXMLStylesContext_Impl::FindStyleChildContext(
if( pIndices )
{
SvXMLStyleIndex_Impl aIndex( nFamily, rName );
- ULONG nPos = 0;
+ sal_uIntPtr nPos = 0;
if( pIndices->Seek_Entry( &aIndex, &nPos ) )
pStyle = pIndices->GetObject( nPos )->GetStyle();
}