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/sfx2 | |
parent | d7bebc89c19d70344a8d71c729bbcb3a59004114 (diff) |
override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/objsh.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/shell.hxx | 4 | ||||
-rw-r--r-- | include/sfx2/thumbnailview.hxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index d1cd9f4138c2..10fea30971bb 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -293,7 +293,7 @@ public: bool DoSaveAs( SfxMedium &rNewStor ); bool DoSaveObjectAs( SfxMedium &rNewStor, bool bCommit ); - // TODO/LATER: currently only overloaded in Calc, should be made non-virtual + // TODO/LATER: currently only overridden in Calc, should be made non-virtual virtual bool DoSaveCompleted( SfxMedium* pNewStor=0 ); virtual bool LoadOwnFormat( SfxMedium& pMedium ); diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx index 69d8e750442b..f0e98a5f10b1 100644 --- a/include/sfx2/shell.hxx +++ b/include/sfx2/shell.hxx @@ -176,7 +176,7 @@ public: virtual ~SfxShell(); /** - With this virtual method, which is automatically overloaded by each subclass + With this virtual method, which is automatically overridden by each subclass with its own slots through the macro <SFX_DECL_INTERFACE>, one can access each of the <SfxInterface> instance beloning to the subclass. @@ -223,7 +223,7 @@ public: If the slot does not have a Status, a SfxVoidItem is returned. The status is set directly in this Set when pStateSet != 0 , so that - overloaded Slots of the <SfxShell> Subclasses and also in the Status + overridden Slots of the <SfxShell> Subclasses and also in the Status method of the base implementation can be called. [Example] diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx index 298ea3df3157..57ce556a53ea 100644 --- a/include/sfx2/thumbnailview.hxx +++ b/include/sfx2/thumbnailview.hxx @@ -59,7 +59,7 @@ namespace drawinglayer { 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. @@ -130,13 +130,13 @@ namespace drawinglayer { -------------------------------------------------------------------------- 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 |