diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-08 23:08:34 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-09 00:00:47 +0100 |
commit | 2f69e16c723aab48ad59d17397d8946ec0a48138 (patch) | |
tree | f59943e7a27ad60eda30cab8cdc3e8e716401db2 /include/svtools | |
parent | translate all remaining abuses of "ueberladen" (diff) | |
download | core-2f69e16c723aab48ad59d17397d8946ec0a48138.tar.gz core-2f69e16c723aab48ad59d17397d8946ec0a48138.zip |
override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/brwbox.hxx | 4 | ||||
-rw-r--r-- | include/svtools/treelistbox.hxx | 2 | ||||
-rw-r--r-- | include/svtools/valueset.hxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/svtools/brwbox.hxx b/include/svtools/brwbox.hxx index 1384ff7fc23e..5fb89b0823ba 100644 --- a/include/svtools/brwbox.hxx +++ b/include/svtools/brwbox.hxx @@ -345,7 +345,7 @@ protected: // software plug for database access // RowCount is counted automatically - // (with the help of RowInserted and RowRemoved), so overloading of + // (with the help of RowInserted and RowRemoved), so overriding of // the method is needless public: virtual long GetRowCount() const SAL_OVERRIDE; @@ -428,7 +428,7 @@ public: BrowserMode nMode = 0 ); virtual ~BrowseBox(); - // inherited overloaded handler + // override inherited handler virtual void StateChanged( StateChangedType nStateChange ) SAL_OVERRIDE; virtual void MouseButtonDown( const MouseEvent& rEvt ) SAL_OVERRIDE; virtual void MouseMove( const MouseEvent& rEvt ) SAL_OVERRIDE; diff --git a/include/svtools/treelistbox.hxx b/include/svtools/treelistbox.hxx index f4fba4daa1fc..9a6c24d80046 100644 --- a/include/svtools/treelistbox.hxx +++ b/include/svtools/treelistbox.hxx @@ -279,7 +279,7 @@ protected: void ImplShowTargetEmphasis( SvTreeListEntry* pEntry, bool bShow); void EnableSelectionAsDropTarget( bool bEnable = true, bool bWithChildren = true ); - // Standard impl returns 0; must be overloaded by derived classes which support D'n'D + // Standard impl returns 0; derived classes which support D'n'D must override using Window::GetDropTarget; virtual SvTreeListEntry* GetDropTarget( const Point& ); diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index 10db4d5c5a03..28a74a7dbd73 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -54,7 +54,7 @@ The amount of columns drawn by the control and whether the items should be encircled can be specified. Optional a NoSelection or name field could be shown. By default image and color items are supported. Items could be drawn by oneself if InsertItem() is only called with -an ID. To achieve this the UserDraw handler needs to be overloaded. The +an ID. To achieve this the UserDraw handler needs to be overridden. The description text could be specified afterwards in case of UserDraw and any other items. @@ -152,13 +152,13 @@ activated before Paint by calling Format(). -------------------------------------------------------------------------- If Drag and Drop will be called from the ValueSet the Command-Handler has to -be overloaded. From this StartDrag needs to be called. If this method returns +be overridden. From this StartDrag needs to be called. If this method returns sal_True the drag-process could be initiated by ExecuteDrag(), otherwise no processing will take place. This method makes sure that ValueSet stops its processing and as appropriate selects the entry. Therefore the calling of Select-Handler within this function must be expected. -For dropping QueryDrop() and Drop() need to be overloaded and ShowDropPos() +For dropping QueryDrop() and Drop() need to be overridden and ShowDropPos() and HideDropPos() should be called within these methods. To show the insertion point ShowDropPos() has to be called within the QueryDrop-Handler. ShowDropPos() also scrolls the ValueSet if the passed |