summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/iframe.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-04 10:33:59 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-04 13:41:15 +0000
commitafd3ab436bf920ef80c642891e9e63133fca41a0 (patch)
tree69b5beddd7840c7acbd9f48b7f9ba36d3b21f105 /sfx2/source/doc/iframe.cxx
parent8372d8532ba3aa3d1ec346a73d8fe9f406001f79 (diff)
loplugin:constantparam in sfx2
Change-Id: I9a5a9fd1f4f43e0b7ef13d14979cb231f6aa9d46 Reviewed-on: https://gerrit.libreoffice.org/23801 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/doc/iframe.cxx')
-rw-r--r--sfx2/source/doc/iframe.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
index 4b2d79d9703c..32c312e7e94f 100644
--- a/sfx2/source/doc/iframe.cxx
+++ b/sfx2/source/doc/iframe.cxx
@@ -107,13 +107,11 @@ public:
class IFrameWindow_Impl : public vcl::Window
{
public:
- IFrameWindow_Impl( vcl::Window *pParent,
- bool bHasBorder,
- WinBits nWinBits = 0 );
+ IFrameWindow_Impl( vcl::Window *pParent, bool bHasBorder );
};
-IFrameWindow_Impl::IFrameWindow_Impl( vcl::Window *pParent, bool bHasBorder, WinBits nWinBits )
- : Window( pParent, nWinBits | WB_CLIPCHILDREN | WB_NODIALOGCONTROL | WB_DOCKBORDER )
+IFrameWindow_Impl::IFrameWindow_Impl( vcl::Window *pParent, bool bHasBorder )
+ : Window( pParent, WB_CLIPCHILDREN | WB_NODIALOGCONTROL | WB_DOCKBORDER )
{
if ( !bHasBorder )
SetBorderStyle( WindowBorderStyle::NOBORDER );