Kaydet (Commit) 8f51cde0 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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.
üst a8e65dcd
...@@ -93,7 +93,7 @@ protected: ...@@ -93,7 +93,7 @@ protected:
public: public:
SvtFileView( Window* pParent, const ResId& rResId, sal_Bool bOnlyFolder, sal_Bool bMultiSelection ); 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(); ~SvtFileView();
const String& GetViewURL() const; const String& GetViewURL() const;
......
...@@ -1238,7 +1238,7 @@ SvtFileView::SvtFileView( Window* pParent, const ResId& rResId, ...@@ -1238,7 +1238,7 @@ SvtFileView::SvtFileView( Window* pParent, const ResId& rResId,
pHeaderBar->SetEndDragHdl( LINK( this, SvtFileView, HeaderEndDrag_Impl ) ); 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 ) Control( pParent, rResId )
{ {
......
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