diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/asynclink.hxx | 2 | ||||
-rw-r--r-- | include/svtools/brwbox.hxx | 2 | ||||
-rw-r--r-- | include/svtools/calendar.hxx | 2 | ||||
-rw-r--r-- | include/svtools/contextmenuhelper.hxx | 3 | ||||
-rw-r--r-- | include/svtools/fmtfield.hxx | 2 | ||||
-rw-r--r-- | include/svtools/grfmgr.hxx | 5 | ||||
-rw-r--r-- | include/svtools/headbar.hxx | 2 | ||||
-rw-r--r-- | include/svtools/javacontext.hxx | 5 | ||||
-rw-r--r-- | include/svtools/parhtml.hxx | 3 | ||||
-rw-r--r-- | include/svtools/ruler.hxx | 4 | ||||
-rw-r--r-- | include/svtools/toolbarmenu.hxx | 2 | ||||
-rw-r--r-- | include/svtools/transfer.hxx | 8 | ||||
-rw-r--r-- | include/svtools/treelistbox.hxx | 9 | ||||
-rw-r--r-- | include/svtools/valueset.hxx | 4 |
14 files changed, 21 insertions, 32 deletions
diff --git a/include/svtools/asynclink.hxx b/include/svtools/asynclink.hxx index 2c1421cd1c49..abb3308755ec 100644 --- a/include/svtools/asynclink.hxx +++ b/include/svtools/asynclink.hxx @@ -66,7 +66,7 @@ public: void CreateMutex(); void operator=( const Link<void*,void>& rLink ) { _aLink = rLink; } - void Call( void* pObj, bool bAllowDoubles = false, bool bUseTimer = false ); + void Call( void* pObj, bool bAllowDoubles = false ); void ClearPendingCall( ); }; diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index 0dcc075855a5..edd86df02004 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -481,7 +481,7 @@ public: // movement of visible area long ScrollColumns( long nColumns ); long ScrollRows( long nRows ); - void MakeFieldVisible( long nRow, sal_uInt16 nColId, bool bComplete = false ); + void MakeFieldVisible( long nRow, sal_uInt16 nColId ); // access and movement of cursor long GetCurRow() const { return nCurRow; } diff --git a/include/svtools/calendar.hxx b/include/svtools/calendar.hxx index 8a11638676e1..362019ecd8fe 100644 --- a/include/svtools/calendar.hxx +++ b/include/svtools/calendar.hxx @@ -229,7 +229,7 @@ private: sal_uInt16 nDay, sal_uInt16 nMonth, sal_uInt16 nYear, DayOfWeek eDayOfWeek, bool bBack = true, bool bOther = false, sal_uLong nToday = 0); - SVT_DLLPRIVATE void ImplDraw(vcl::RenderContext& rRenderContext, bool bPaint = false); + SVT_DLLPRIVATE void ImplDraw(vcl::RenderContext& rRenderContext); SVT_DLLPRIVATE void ImplUpdateDate( const Date& rDate ); SVT_DLLPRIVATE void ImplUpdateSelection( IntDateSet* pOld ); SVT_DLLPRIVATE void ImplMouseSelect( const Date& rDate, sal_uInt16 nHitTest, diff --git a/include/svtools/contextmenuhelper.hxx b/include/svtools/contextmenuhelper.hxx index f0927967883e..b200691de223 100644 --- a/include/svtools/contextmenuhelper.hxx +++ b/include/svtools/contextmenuhelper.hxx @@ -52,8 +52,7 @@ class SVT_DLLPUBLIC ContextMenuHelper public: // create context menu helper // ARGS: xFrame = frame defines the context of the context menu - // bAutoRefresh = specifies that the context will be constant or not - ContextMenuHelper( const css::uno::Reference< css::frame::XFrame >& xFrame, bool bAutoRefresh=true ); + ContextMenuHelper( const css::uno::Reference< css::frame::XFrame >& xFrame ); ~ContextMenuHelper(); // methods to complete a popup menu (set images, labels, enable/disable states) diff --git a/include/svtools/fmtfield.hxx b/include/svtools/fmtfield.hxx index c6ff30c82eba..ef04c004c44e 100644 --- a/include/svtools/fmtfield.hxx +++ b/include/svtools/fmtfield.hxx @@ -95,7 +95,7 @@ protected: bool m_bUseInputStringForFormatting; public: - FormattedField(vcl::Window* pParent, WinBits nStyle = 0, SvNumberFormatter* pInitialFormatter = nullptr, sal_Int32 nFormatKey = 0); + FormattedField(vcl::Window* pParent, WinBits nStyle = 0, SvNumberFormatter* pInitialFormatter = nullptr); // Min-/Max-management bool HasMinValue() const { return m_bHasMin; } diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx index 7b31fd5860c3..f5e94b278be0 100644 --- a/include/svtools/grfmgr.hxx +++ b/include/svtools/grfmgr.hxx @@ -606,10 +606,7 @@ public: void SetMaxCacheSize( sal_uLong nNewCacheSize ); sal_uLong GetMaxCacheSize() const; - void SetMaxObjCacheSize( - sal_uLong nNewMaxObjSize, - bool bDestroyGreaterCached = false - ); + void SetMaxObjCacheSize( sal_uLong nNewMaxObjSize ); void SetCacheTimeout( sal_uLong nTimeoutSeconds ); diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx index b2ccc9594659..60f05ec53882 100644 --- a/include/svtools/headbar.hxx +++ b/include/svtools/headbar.hxx @@ -261,7 +261,7 @@ private: SVT_DLLPRIVATE void ImplDrawItem(vcl::RenderContext& rRenderContext, sal_uInt16 nPos, bool bHigh = false, bool bDrag = false, const Rectangle* pRect = nullptr); SVT_DLLPRIVATE void ImplUpdate( sal_uInt16 nPos, - bool bEnd = false, bool bDirect = false ); + bool bEnd = false ); SVT_DLLPRIVATE void ImplStartDrag( const Point& rPos, bool bCommand ); SVT_DLLPRIVATE void ImplDrag( const Point& rPos ); SVT_DLLPRIVATE void ImplEndDrag( bool bCancel ); diff --git a/include/svtools/javacontext.hxx b/include/svtools/javacontext.hxx index 59ed720e880d..c4732c234547 100644 --- a/include/svtools/javacontext.hxx +++ b/include/svtools/javacontext.hxx @@ -38,14 +38,13 @@ namespace svt { public: - /** The parameter bShowErrorsOnce controls whether a message box is + /** A message box is only displayed once for a recurring Java error. That is only the first time JavaInteractionHandler.handle is called with a particular Request then the message box is shown. Afterwards nothing happens. */ - JavaContext( const css::uno::Reference< css::uno::XCurrentContext> & ctx, - bool bReportErrorOnce = true ); + JavaContext( const css::uno::Reference< css::uno::XCurrentContext> & ctx ); virtual ~JavaContext(); // XInterface diff --git a/include/svtools/parhtml.hxx b/include/svtools/parhtml.hxx index e4f38e27614a..6a2d65201aba 100644 --- a/include/svtools/parhtml.hxx +++ b/include/svtools/parhtml.hxx @@ -102,8 +102,7 @@ public: sal_uInt32 GetNumber() const; // ... as number sal_Int32 GetSNumber() const; // ... as number - void GetNumbers( std::vector<sal_uInt32> &rNumbers, // ... as numbers - bool bSpaceDelim=false ) const; + void GetNumbers( std::vector<sal_uInt32> &rNumbers ) const; // ... as numbers void GetColor( Color& ) const; // ... as color // ... as enum; pOptEnums is an HTMLOptionEnum array diff --git a/include/svtools/ruler.hxx b/include/svtools/ruler.hxx index 740e4427ff2f..775f26dbc288 100644 --- a/include/svtools/ruler.hxx +++ b/include/svtools/ruler.hxx @@ -672,9 +672,9 @@ private: SVT_DLLPRIVATE void ImplCalc(); SVT_DLLPRIVATE void ImplFormat(vcl::RenderContext& rRenderContext); SVT_DLLPRIVATE void ImplInitExtraField( bool bUpdate ); - SVT_DLLPRIVATE void ImplInvertLines(vcl::RenderContext& rRenderContext, bool bErase = false); + SVT_DLLPRIVATE void ImplInvertLines(vcl::RenderContext& rRenderContext); SVT_DLLPRIVATE void ImplDraw(vcl::RenderContext& rRenderContext); - SVT_DLLPRIVATE void ImplDrawExtra(vcl::RenderContext& rRenderContext, bool bPaint = false); + SVT_DLLPRIVATE void ImplDrawExtra(vcl::RenderContext& rRenderContext); SVT_DLLPRIVATE void ImplUpdate( bool bMustCalc = false ); virtual void ApplySettings(vcl::RenderContext& rRenderContext) override; diff --git a/include/svtools/toolbarmenu.hxx b/include/svtools/toolbarmenu.hxx index 86eca3e9d155..53ad67319749 100644 --- a/include/svtools/toolbarmenu.hxx +++ b/include/svtools/toolbarmenu.hxx @@ -118,7 +118,7 @@ private: void implPaint(vcl::RenderContext& rRenderContext, ToolbarMenuEntry* pThisOnly = nullptr, bool bHighlight = false); - void implHighlightEntry(vcl::RenderContext& rRenderContext, int nHighlightEntry, bool bHighlight); + void implHighlightEntry(vcl::RenderContext& rRenderContext, int nHighlightEntry); void implHighlightAtPosition(const MouseEvent& rMEvt, bool bMBDown); void implChangeHighlightEntry( int nEntry ); diff --git a/include/svtools/transfer.hxx b/include/svtools/transfer.hxx index 61d8cd12e75c..806c5350815e 100644 --- a/include/svtools/transfer.hxx +++ b/include/svtools/transfer.hxx @@ -100,12 +100,11 @@ struct AcceptDropEvent AcceptDropEvent( sal_Int8 nAction, const Point& rPosPixel, - const css::datatransfer::dnd::DropTargetDragEvent& rDragEvent, - bool bLeaving = false ) : + const css::datatransfer::dnd::DropTargetDragEvent& rDragEvent ) : mnAction( nAction ), maPosPixel( rPosPixel ), maDragEvent( rDragEvent ), - mbLeaving( bLeaving ), + mbLeaving( false ), mbDefault( false ) {} }; @@ -256,8 +255,7 @@ public: void CopyToClipboard( vcl::Window *pWindow ) const; void CopyToSelection( vcl::Window *pWindow ) const; void StartDrag( vcl::Window* pWindow, sal_Int8 nDragSourceActions, - sal_Int32 nDragPointer = DND_POINTER_NONE, - sal_Int32 nDragImage = DND_IMAGE_NONE ); + sal_Int32 nDragPointer = DND_POINTER_NONE ); static void ClearSelection( vcl::Window *pWindow ); diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index 9c45ffef51df..3ca4500444f0 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -305,8 +305,7 @@ protected: bool CheckDragAndDropMode( SvTreeListBox* pSource, sal_Int8 ); void ImplShowTargetEmphasis( SvTreeListEntry* pEntry, bool bShow); - void EnableSelectionAsDropTarget( bool bEnable = true, - bool bWithChildren = true ); + void EnableSelectionAsDropTarget( bool bEnable = true ); // Standard impl returns 0; derived classes which support D'n'D must override using Window::GetDropTarget; virtual SvTreeListEntry* GetDropTarget( const Point& ); @@ -564,12 +563,10 @@ protected: SVT_DLLPRIVATE void ImpEntryInserted( SvTreeListEntry* pEntry ); SVT_DLLPRIVATE void PaintEntry1( SvTreeListEntry&, long nLine, vcl::RenderContext& rRenderContext, - SvLBoxTabFlags nTabFlagMask = SvLBoxTabFlags::ALL, - bool bHasClipRegion=false ); + SvLBoxTabFlags nTabFlagMask = SvLBoxTabFlags::ALL ); SVT_DLLPRIVATE void InitTreeView(); - SVT_DLLPRIVATE SvLBoxItem* GetItem_Impl( SvTreeListEntry*, long nX, SvLBoxTab** ppTab, - sal_uInt16 nEmptyWidth ); + SVT_DLLPRIVATE SvLBoxItem* GetItem_Impl( SvTreeListEntry*, long nX, SvLBoxTab** ppTab ); SVT_DLLPRIVATE void ImplInitStyle(); protected: diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index 3a0cd0b9459e..7b6d0970a36c 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -282,8 +282,8 @@ protected: virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() override; public: - ValueSet( vcl::Window* pParent, WinBits nWinStyle, bool bDisableTransientChildren = false ); - ValueSet( vcl::Window* pParent, const ResId& rResId, bool bDisableTransientChildren = false ); + ValueSet( vcl::Window* pParent, WinBits nWinStyle ); + ValueSet( vcl::Window* pParent, const ResId& rResId ); virtual ~ValueSet(); virtual void dispose() override; |