diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-05 17:35:31 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-05 17:39:21 +0300 |
commit | 8f51cde01f3183305e5c48a8edc3e62543381e16 (patch) | |
tree | 6a35267a40b42c2d764de5c110b74c39467c8eb6 /svtools/inc | |
parent | a8e65dcd93202cfaa52272a811dc5374dbc88593 (diff) |
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.
Diffstat (limited to 'svtools/inc')
-rw-r--r-- | svtools/inc/svtools/fileview.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/inc/svtools/fileview.hxx b/svtools/inc/svtools/fileview.hxx index 37d8e2fc3f26..d56826fcf4c5 100644 --- a/svtools/inc/svtools/fileview.hxx +++ b/svtools/inc/svtools/fileview.hxx @@ -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; |