diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2017-03-12 20:29:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-14 06:08:20 +0000 |
commit | b24a9f8b3537ee5c200c1d52fc51157f1ac55e9d (patch) | |
tree | ce5a92947fdc7c93732652b5c69c9d932b1270f6 /sw | |
parent | 41c7ee5f0a3d0e128134665d709fd46e663fd373 (diff) |
make o3tl::strong_int constructor explicit
Could have sworn I did this originally, somehow it got lost.
Also fix a thinko in tools::ResId I introduced in commit
2b70fb58be039fbd05ea833a40b1b3e9f922e45c
"Use o3tl::strong_int on RESOURCE_TYPE"
Change-Id: Id3b39962255297010cd1feaaca6d822168311081
Reviewed-on: https://gerrit.libreoffice.org/35108
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uiview/view2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx index e14f7a7f7b26..50928019c4f9 100644 --- a/sw/source/uibase/uiview/view2.cxx +++ b/sw/source/uibase/uiview/view2.cxx @@ -467,7 +467,7 @@ bool SwView::InsertGraphicDlg( SfxRequest& rReq ) rSh.SetFrameFormat( pFormat ); } - RESOURCE_TYPE nResId = 0; + sal_uInt32 nResId(0); switch( nError ) { case GRFILTER_OPENERROR: |