diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-30 15:34:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-31 11:44:36 +0000 |
commit | 6527b4073c72d3fdf2307a58a06023fe28fd9960 (patch) | |
tree | 9a6637dd50d6b86ce42c616cab2c5be2c12fdf46 /include/vcl/toolbox.hxx | |
parent | 127a34ef2cf9fe0ac13a273c12c6d45ef57eaf49 (diff) |
loplugin:countusersofdefaultparams
Change-Id: I697b9081424acdc61107709392baa8af8ce29028
Reviewed-on: https://gerrit.libreoffice.org/28497
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/toolbox.hxx')
-rw-r--r-- | include/vcl/toolbox.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index 96a25803fe7a..a0f74c9aad4e 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -180,7 +180,7 @@ private: SAL_DLLPRIVATE void ImplFormat( bool bResize = false ); SAL_DLLPRIVATE void ImplDrawSpin(vcl::RenderContext& rRenderContext); SAL_DLLPRIVATE void ImplDrawSeparator(vcl::RenderContext& rRenderContext, sal_uInt16 nPos, const Rectangle& rRect); - SAL_DLLPRIVATE void ImplDrawItem(vcl::RenderContext& rRenderContext, sal_uInt16 nPos, sal_uInt16 nHighlight = 0 ); + SAL_DLLPRIVATE void ImplDrawItem(vcl::RenderContext& rRenderContext, sal_uInt16 nPos, sal_uInt16 nHighlight ); using Window::ImplInvalidate; SAL_DLLPRIVATE void ImplInvalidate( bool bNewCalc = false, bool bFullPaint = false ); SAL_DLLPRIVATE void ImplUpdateItem( sal_uInt16 nIndex = 0xFFFF ); @@ -215,7 +215,7 @@ private: ToolBox& operator= (const ToolBox &) = delete; public: - SAL_DLLPRIVATE void ImplFloatControl( bool bStart, FloatingWindow* pWindow = nullptr ); + SAL_DLLPRIVATE void ImplFloatControl( bool bStart, FloatingWindow* pWindow ); SAL_DLLPRIVATE void ImplDisableFlatButtons(); static SAL_DLLPRIVATE int ImplGetDragWidth( ToolBox* pThis ); @@ -230,7 +230,7 @@ public: SAL_DLLPRIVATE void ImplDrawConstantBackground(vcl::RenderContext& rRenderContext, const vcl::Region &rRegion, bool bIsInPopupMode); SAL_DLLPRIVATE void ImplDrawBackground(vcl::RenderContext& rRenderContext, const Rectangle &rRect); - SAL_DLLPRIVATE void ImplErase(vcl::RenderContext& rRenderContext, const Rectangle &rRect, bool bHighlight = false, bool bHasOpenPopup = false ); + SAL_DLLPRIVATE void ImplErase(vcl::RenderContext& rRenderContext, const Rectangle &rRect, bool bHighlight, bool bHasOpenPopup = false ); SAL_DLLPRIVATE void ImplDrawBorder(vcl::RenderContext& rRenderContext); static SAL_DLLPRIVATE const ImplToolItem *ImplGetFirstClippedItem( const ToolBox* pThis ); @@ -300,7 +300,7 @@ public: /// Insert a command (like '.uno:Save'). virtual void InsertItem( const OUString& rCommand, const css::uno::Reference<css::frame::XFrame>& rFrame, - ToolBoxItemBits nBits = ToolBoxItemBits::NONE, + ToolBoxItemBits nBits, const Size& rRequestedSize = Size(), sal_uInt16 nPos = TOOLBOX_APPEND ); void InsertItem( sal_uInt16 nItemId, const Image& rImage, @@ -403,7 +403,7 @@ public: /// Shows or hides items. void ShowItem(sal_uInt16 nItemId, bool bVisible = true); /// Overload to provide ShowItem via command id. - void ShowItem(const OUString& rCommand, bool bVisible = true) { ShowItem(GetItemId(rCommand), bVisible); } + void ShowItem(const OUString& rCommand, bool bVisible) { ShowItem(GetItemId(rCommand), bVisible); } /// Convenience method to hide items (via ShowItem). void HideItem(sal_uInt16 nItemId) { ShowItem( nItemId, false ); } @@ -447,7 +447,7 @@ public: WinBits GetStyle() const { return mnWinStyle; } // enable/disable undocking - void Lock( bool bLock = true ); + void Lock( bool bLock ); // read configuration to determine locking behaviour static bool AlwaysLocked(); |