WaE: 'argument' : truncation of constant value
FILEVIEW_SHOW_NONE 0x80 so it doesn't fit into a sal_Int8. So make the nFlags argument to the second SvtFileView constructor sal_uInt8 instead.
This commit is contained in:
parent
a8e65dcd93
commit
8f51cde01f
2 changed files with 2 additions and 2 deletions
|
@ -93,7 +93,7 @@ protected:
|
|||
|
||||
public:
|
||||
SvtFileView( Window* pParent, const ResId& rResId, sal_Bool bOnlyFolder, sal_Bool bMultiSelection );
|
||||
SvtFileView( Window* pParent, const ResId& rResId, sal_Int8 nFlags );
|
||||
SvtFileView( Window* pParent, const ResId& rResId, sal_uInt8 nFlags );
|
||||
~SvtFileView();
|
||||
|
||||
const String& GetViewURL() const;
|
||||
|
|
|
@ -1238,7 +1238,7 @@ SvtFileView::SvtFileView( Window* pParent, const ResId& rResId,
|
|||
pHeaderBar->SetEndDragHdl( LINK( this, SvtFileView, HeaderEndDrag_Impl ) );
|
||||
}
|
||||
|
||||
SvtFileView::SvtFileView( Window* pParent, const ResId& rResId, sal_Int8 nFlags ) :
|
||||
SvtFileView::SvtFileView( Window* pParent, const ResId& rResId, sal_uInt8 nFlags ) :
|
||||
|
||||
Control( pParent, rResId )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue