summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-10-05 17:35:31 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-10-05 17:39:21 +0300
commit8f51cde01f3183305e5c48a8edc3e62543381e16 (patch)
tree6a35267a40b42c2d764de5c110b74c39467c8eb6 /svtools
parenta8e65dcd93202cfaa52272a811dc5374dbc88593 (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')
-rw-r--r--svtools/inc/svtools/fileview.hxx2
-rw-r--r--svtools/source/contnr/fileview.cxx2
2 files changed, 2 insertions, 2 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;
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 404c667a8069..21f306b14672 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -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 )
{