Kaydet (Commit) 710f5dd2 authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Remove some warnings on mingw64

Change-Id: I4fbb543e19ecba879f9982dd4bb8442d77854526
üst 29c101fe
......@@ -349,7 +349,7 @@ void SwCompatibilityOptPage::InitControls( const SfxItemSet& rSet )
bUseOurTabStops, bNoExtLeading, bUseLineSpacing,
bAddTableSpacing, bUseObjPos, bUseOurTextWrapping,
bConsiderWrappingStyle, bExpandWordSpace );
m_aFormattingLB.SetEntryData( nPos, (void*)(long)nOptions );
m_aFormattingLB.SetEntryData( nPos, (void*)(sal_IntPtr)nOptions );
}
m_aFormattingLB.SetDropDownLineCount( m_aFormattingLB.GetEntryCount() );
......
......@@ -198,7 +198,7 @@ void ListBox::ImplLoadRes( const ResId& rResId )
{
sal_uInt16 nPos = InsertEntry( ReadStringRes(), LISTBOX_APPEND );
long nId = ReadLongRes();
sal_IntPtr nId = ReadLongRes();
if( nId )
SetEntryData( nPos, (void *)nId ); // ID as UserData
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment