override the overloading of "overload" to decrease cognitive (over-)load
Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
This commit is contained in:
parent
d7bebc89c1
commit
2f69e16c72
@ -47,7 +47,7 @@ public:
|
||||
virtual void MakeVisible( const Rectangle& rRect, vcl::Window& rWin ) SAL_OVERRIDE;
|
||||
|
||||
protected:
|
||||
// overloaded to handle HitTest for some objects special
|
||||
/// override to handle HitTest for some objects specially
|
||||
using SdrView::CheckSingleSdrObjectHit;
|
||||
virtual SdrObject* CheckSingleSdrObjectHit(const Point& rPnt, sal_uInt16 nTol, SdrObject* pObj, SdrPageView* pPV, sal_uLong nOptions, const SetOfByte* pMVisLay) const SAL_OVERRIDE;
|
||||
};
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include <basic/sbmeth.hxx>
|
||||
|
||||
// basic module for JavaScript sources
|
||||
// All the basic-specific methods must be overloaded virtually and must
|
||||
// All the basic-specific methods must be overridden virtually and must
|
||||
// be deactivated. The differentiation of normal modules is done by RTTI.
|
||||
|
||||
class SbJScriptMethod : public SbMethod
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <basic/sbmod.hxx>
|
||||
|
||||
// basic module for JavaScript sources
|
||||
// All the basic-specific methods must be overloaded virtually and must
|
||||
// All the basic-specific methods must be overridden virtually and must
|
||||
// be deactivated. The differentiation of normal modules is done by RTTI.
|
||||
|
||||
class SbJScriptModule : public SbModule
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
SbUnoStructRefObject( const OUString& aName_, const StructRefInfo& rMemberInfo );
|
||||
virtual ~SbUnoStructRefObject();
|
||||
|
||||
// Find overloaded to support e. g. NameAccess
|
||||
// override Find to support e. g. NameAccess
|
||||
virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE;
|
||||
|
||||
// Force creation of all properties for debugging
|
||||
@ -128,7 +128,7 @@ public:
|
||||
// #76470 do introspection on demand
|
||||
void doIntrospection( void );
|
||||
|
||||
// Find overloaded to support e. g. NameAccess
|
||||
// override Find to support e. g. NameAccess
|
||||
virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE;
|
||||
|
||||
// Force creation of all properties for debugging
|
||||
|
@ -295,7 +295,7 @@ SbxVariable* SbxObject::Find( const OUString& rName, SbxClassType t )
|
||||
}
|
||||
|
||||
// Abbreviated version: The parent-string will be searched
|
||||
// The whole thing recursive, because Call() might be overloaded
|
||||
// The whole thing recursive, because Call() might be overridden
|
||||
// Qualified names are allowed
|
||||
|
||||
bool SbxObject::Call( const OUString& rName, SbxArray* pParam )
|
||||
|
@ -644,10 +644,7 @@ namespace vclcanvas
|
||||
sal_Int32 nCount(0);
|
||||
|
||||
mpRedrawManager->forEachSprite( makeAdder(nCount,sal_Int32(1)) );
|
||||
OUString text(
|
||||
OUString::number(
|
||||
// disambiguate overload...
|
||||
nCount ) );
|
||||
OUString text( OUString::number(nCount) );
|
||||
|
||||
// pad with leading space
|
||||
while( text.getLength() < 3 )
|
||||
|
@ -408,7 +408,7 @@ public:
|
||||
const ::com::sun::star::datatransfer::DataFlavor& aFlavor )
|
||||
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||
|
||||
// lang::XTypeProvider (overloaded method of WeakImplHelper)
|
||||
// lang::XTypeProvider (override method of WeakImplHelper)
|
||||
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL
|
||||
getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||
|
||||
|
@ -152,7 +152,7 @@ OUString SAL_CALL AccessibleChartElement::getImplementationName()
|
||||
return OUString( "AccessibleChartElement" );
|
||||
}
|
||||
|
||||
// ________ AccessibleChartElement::XAccessibleContext (overloaded) ________
|
||||
// ________ AccessibleChartElement::XAccessibleContext (override) ________
|
||||
OUString SAL_CALL AccessibleChartElement::getAccessibleName()
|
||||
throw (::com::sun::star::uno::RuntimeException, std::exception)
|
||||
{
|
||||
@ -160,7 +160,7 @@ OUString SAL_CALL AccessibleChartElement::getAccessibleName()
|
||||
GetInfo().m_aOID.getObjectCID(), GetInfo().m_xChartDocument );
|
||||
}
|
||||
|
||||
// ________ AccessibleChartElement::XAccessibleContext (overloaded) ________
|
||||
// ________ AccessibleChartElement::XAccessibleContext (override) ________
|
||||
OUString SAL_CALL AccessibleChartElement::getAccessibleDescription()
|
||||
throw (::com::sun::star::uno::RuntimeException, std::exception)
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ namespace chart
|
||||
<li>define the getAccessibleName() method of XAccessibleContext</li>
|
||||
<li>set the ChartModel using SetChartModel() for the first node before
|
||||
creating any children</li>
|
||||
<li>overload UpdateChildren()</li>
|
||||
<li>override UpdateChildren()</li>
|
||||
</ul>
|
||||
*/
|
||||
|
||||
@ -100,7 +100,7 @@ public:
|
||||
|
||||
// the following interface is implemented in AccessibleBase, however it is
|
||||
// also a (non-virtual) base class of XAccessibleExtendedComponent Thus
|
||||
// these methods have to be overloaded and forward to AccessibleBase
|
||||
// these methods have to be overridden and forward to AccessibleBase
|
||||
|
||||
// ________ XAccessibleComponent ________
|
||||
virtual sal_Bool SAL_CALL containsPoint( const ::com::sun::star::awt::Point& aPoint ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||
|
@ -144,7 +144,7 @@ protected:
|
||||
*/
|
||||
void RemoveState( sal_Int16 aState ) throw (::com::sun::star::uno::RuntimeException);
|
||||
|
||||
/** has to be overloaded by derived classes that support child elements.
|
||||
/** has to be overridden by derived classes that support child elements.
|
||||
With this method a rescan is initiated that should result in a correct
|
||||
list of children.
|
||||
|
||||
|
@ -59,7 +59,7 @@ protected:
|
||||
/** sends a status event for a specific command to all registered listeners
|
||||
or only the one given when set.
|
||||
|
||||
This method should be overloaded. The implementation should call
|
||||
This method should be overridden. The implementation should call
|
||||
fireStatusEventForURL and pass the xSingleListener argument to this
|
||||
method unchanged.
|
||||
|
||||
|
@ -82,7 +82,7 @@ protected:
|
||||
/** Try to convert the value <code>rValue</code> to the type required by the
|
||||
property associated with <code>nHandle</code>.
|
||||
|
||||
Overload this method to take influence in modification of properties.
|
||||
Override this method to take influence in modification of properties.
|
||||
|
||||
If the conversion changed , </sal_True> is returned and the converted value
|
||||
is in <code>rConvertedValue</code>. The former value is contained in
|
||||
|
@ -42,7 +42,7 @@ namespace chart
|
||||
createDiagramByDataSource
|
||||
|
||||
This does the following steps using some virtual helper-methods, that may be
|
||||
overloaded by derived classes:
|
||||
overridden by derived classes:
|
||||
|
||||
* creates an XDiagram via service-factory.
|
||||
|
||||
@ -124,7 +124,7 @@ protected:
|
||||
virtual OUString SAL_CALL getServiceName()
|
||||
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
|
||||
|
||||
// Methods to overload for automatic creation
|
||||
// Methods to override for automatic creation
|
||||
|
||||
/// returns 2 by default. Supported are 2 and 3
|
||||
virtual sal_Int32 getDimension() const;
|
||||
|
@ -66,7 +66,7 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
|
||||
const Any& /*catalog*/, const OUString& /*schemaPattern*/, const OUString& /*tableNamePattern*/,
|
||||
const OUString& /*columnNamePattern*/ ) throw(SQLException, RuntimeException, std::exception)
|
||||
{
|
||||
SAL_WARN( "connectivity.drivers","Should be overloaded!");
|
||||
SAL_WARN("connectivity.drivers", "ODatabaseMetaData::getColumns() should be overridden!");
|
||||
return new ODatabaseMetaDataResultSet( ODatabaseMetaDataResultSet::eColumns );
|
||||
}
|
||||
|
||||
|
@ -567,7 +567,7 @@ void OCollection::disposeElements()
|
||||
|
||||
Reference< XPropertySet > OCollection::createDescriptor()
|
||||
{
|
||||
OSL_FAIL("Need to be overloaded when used!");
|
||||
OSL_FAIL("createDescriptor() needs to be overridden when used!");
|
||||
throw SQLException();
|
||||
}
|
||||
|
||||
|
@ -297,8 +297,8 @@ void SAL_CALL OTable::alterColumnByIndex( sal_Int32 /*index*/, const Reference<
|
||||
OUString SAL_CALL OTable::getName() throw(::com::sun::star::uno::RuntimeException, std::exception)
|
||||
{
|
||||
// this is only correct for tables who haven't a schema or catalog name
|
||||
OSL_ENSURE(m_CatalogName.isEmpty(),"getName(): forgot to overload getName()!");
|
||||
OSL_ENSURE(m_SchemaName.isEmpty(),"getName(): forgot to overload getName()!");
|
||||
OSL_ENSURE(m_CatalogName.isEmpty(),"getName(): forgot to override getName()!");
|
||||
OSL_ENSURE(m_SchemaName.isEmpty(),"getName(): forgot to override getName()!");
|
||||
return m_Name;
|
||||
}
|
||||
|
||||
|
@ -985,7 +985,7 @@ bool SpellDialog::Notify( NotifyEvent& rNEvt )
|
||||
* FIXME: LoseFocus and GetFocus are signals from vcl that
|
||||
* a window actually got/lost the focus, it never should be
|
||||
* forwarded from another window, that is simply wrong.
|
||||
* FIXME: overloading the virtual methods GetFocus and LoseFocus
|
||||
* FIXME: overriding the virtual methods GetFocus and LoseFocus
|
||||
* in SpellDialogChildWindow by making them pure is at least questionable.
|
||||
* The only sensible thing would be to call the new Method differently,
|
||||
* e.g. DialogGot/LostFocus or so.
|
||||
|
@ -60,7 +60,7 @@ SvxHyperlinkDocTp::SvxHyperlinkDocTp ( vcl::Window *pParent, IconChoiceDialog* p
|
||||
|
||||
SetExchangeSupport ();
|
||||
|
||||
// overload handlers
|
||||
// set handlers
|
||||
m_pBtFileopen->SetClickHdl ( LINK ( this, SvxHyperlinkDocTp, ClickFileopenHdl_Impl ) );
|
||||
m_pBtBrowse->SetClickHdl ( LINK ( this, SvxHyperlinkDocTp, ClickTargetHdl_Impl ) );
|
||||
m_pCbbPath->SetModifyHdl ( LINK ( this, SvxHyperlinkDocTp, ModifiedPathHdl_Impl ) );
|
||||
|
@ -69,7 +69,7 @@ SvxHyperlinkInternetTp::SvxHyperlinkInternetTp ( vcl::Window *pParent,
|
||||
m_pBtBrowse->Enable( true );
|
||||
|
||||
|
||||
// overload handlers
|
||||
// set handlers
|
||||
Link aLink( LINK ( this, SvxHyperlinkInternetTp, Click_SmartProtocol_Impl ) );
|
||||
m_pRbtLinktypInternet->SetClickHdl( aLink );
|
||||
m_pRbtLinktypFTP->SetClickHdl ( aLink );
|
||||
|
@ -63,7 +63,7 @@ SvxHyperlinkMailTp::SvxHyperlinkMailTp ( vcl::Window *pParent, IconChoiceDialog*
|
||||
// set defaults
|
||||
m_pRbtMail->Check ();
|
||||
|
||||
// overload handlers
|
||||
// set handlers
|
||||
m_pRbtMail->SetClickHdl ( LINK ( this, SvxHyperlinkMailTp, Click_SmartProtocol_Impl ) );
|
||||
m_pRbtNews->SetClickHdl ( LINK ( this, SvxHyperlinkMailTp, Click_SmartProtocol_Impl ) );
|
||||
m_pBtAdrBook->SetClickHdl ( LINK ( this, SvxHyperlinkMailTp, ClickAdrBookHdl_Impl ) );
|
||||
|
@ -340,7 +340,7 @@ void OfaMSFilterTabPage2::MSFltrSimpleTable::SetTabs()
|
||||
|
||||
void OfaMSFilterTabPage2::MSFltrSimpleTable::HBarClick()
|
||||
{
|
||||
// sorting is stopped by this overloading
|
||||
// sorting is stopped by this override
|
||||
}
|
||||
|
||||
void OfaMSFilterTabPage2::MSFltrSimpleTable::SetCheckButtonState(
|
||||
|
@ -800,7 +800,7 @@ SvButtonState OfaACorrCheckListBox::GetCheckButtonState( SvTreeListEntry* pEntry
|
||||
|
||||
void OfaACorrCheckListBox::HBarClick()
|
||||
{
|
||||
// sorting is stopped by this overload
|
||||
// sorting is stopped by this override
|
||||
}
|
||||
|
||||
void OfaACorrCheckListBox::KeyInput( const KeyEvent& rKEvt )
|
||||
|
@ -368,7 +368,7 @@ SvxColorTabPage::SvxColorTabPage(vcl::Window* pParent, const SfxItemSet& rInAttr
|
||||
m_pCtlPreviewOld->SetAttributes( aXFillAttr.GetItemSet() );
|
||||
m_pCtlPreviewNew->SetAttributes( aXFillAttr.GetItemSet() );
|
||||
|
||||
// overload handler
|
||||
// set handler
|
||||
m_pLbColor->SetSelectHdl(
|
||||
LINK( this, SvxColorTabPage, SelectColorLBHdl_Impl ) );
|
||||
m_pValSetColorList->SetSelectHdl(
|
||||
|
@ -108,7 +108,7 @@ SvxGradientTabPage::SvxGradientTabPage
|
||||
rXFSet.Put( aXGradientItem );
|
||||
m_pCtlPreview->SetAttributes( aXFillAttr.GetItemSet() );
|
||||
|
||||
// overload the handler
|
||||
// set handler
|
||||
m_pLbGradients->SetSelectHdl(
|
||||
LINK( this, SvxGradientTabPage, ChangeGradientHdl_Impl ) );
|
||||
m_pBtnAdd->SetClickHdl( LINK( this, SvxGradientTabPage, ClickAddHdl_Impl ) );
|
||||
|
@ -303,7 +303,8 @@ private:
|
||||
void addObjectListener(const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent >& _xNewObject);
|
||||
void removeObjectListener(const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent >& _xNewObject);
|
||||
|
||||
/** approve that the object given may be inserted into the container. Should be overloaded by derived classes,
|
||||
/** approve that the object given may be inserted into the container.
|
||||
Should be overridden by derived classes,
|
||||
the default implementation just checks the object to be non-void.
|
||||
|
||||
@throws IllegalArgumentException
|
||||
|
@ -68,7 +68,7 @@ namespace dbaui
|
||||
public:
|
||||
OPreviewWindow(vcl::Window* _pParent);
|
||||
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual void Paint(const Rectangle& rRect) SAL_OVERRIDE;
|
||||
|
||||
void setGraphic(const Graphic& _rGraphic ) { m_aGraphicObj.SetGraphic(_rGraphic); }
|
||||
@ -170,7 +170,7 @@ namespace dbaui
|
||||
OAppDetailPageHelper(vcl::Window* _pParent,OAppBorderWindow& _rBorderWin,PreviewMode _ePreviewMode);
|
||||
virtual ~OAppDetailPageHelper();
|
||||
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual void Resize() SAL_OVERRIDE;
|
||||
virtual void KeyInput( const KeyEvent& rKEvt ) SAL_OVERRIDE;
|
||||
|
||||
|
@ -56,7 +56,7 @@ namespace dbaui
|
||||
|
||||
public:
|
||||
OCreationList( OTasksWindow& _rParent );
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||
virtual void MouseButtonDown( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||
virtual void MouseButtonUp( const MouseEvent& rMEvt ) SAL_OVERRIDE;
|
||||
@ -125,7 +125,7 @@ namespace dbaui
|
||||
OTasksWindow(vcl::Window* _pParent,OApplicationDetailView* _pDetailView);
|
||||
virtual ~OTasksWindow();
|
||||
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual void Resize() SAL_OVERRIDE;
|
||||
|
||||
OApplicationDetailView* getDetailView() const { return m_pDetailView; }
|
||||
@ -160,7 +160,7 @@ namespace dbaui
|
||||
public:
|
||||
OApplicationDetailView(OAppBorderWindow& _rParent,PreviewMode _ePreviewMode);
|
||||
virtual ~OApplicationDetailView();
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual void GetFocus() SAL_OVERRIDE;
|
||||
|
||||
/** creates the tables page
|
||||
|
@ -43,7 +43,7 @@ namespace dbaui
|
||||
public:
|
||||
OApplicationSwapWindow( vcl::Window* _pParent, OAppBorderWindow& _rBorderWindow );
|
||||
virtual ~OApplicationSwapWindow();
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual void Resize() SAL_OVERRIDE;
|
||||
|
||||
bool isCutAllowed() SAL_OVERRIDE { return false; }
|
||||
|
@ -37,7 +37,7 @@ namespace dbaui
|
||||
OTitleWindow(vcl::Window* _pParent,sal_uInt16 _nTitleId,WinBits _nBits,bool _bShift = true);
|
||||
virtual ~OTitleWindow();
|
||||
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual void Resize() SAL_OVERRIDE;
|
||||
virtual void GetFocus() SAL_OVERRIDE;
|
||||
|
||||
|
@ -56,7 +56,7 @@ namespace dbaui
|
||||
OAppBorderWindow(OApplicationView* _pParent,PreviewMode _ePreviewMode);
|
||||
virtual ~OAppBorderWindow();
|
||||
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual void GetFocus() SAL_OVERRIDE;
|
||||
virtual void Resize() SAL_OVERRIDE;
|
||||
|
||||
@ -110,7 +110,7 @@ namespace dbaui
|
||||
/// automatically creates mnemonics for the texts in our task pane
|
||||
void setTaskExternalMnemonics( MnemonicGenerator& _rMnemonics );
|
||||
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
|
||||
virtual void GetFocus() SAL_OVERRIDE;
|
||||
|
||||
|
@ -67,7 +67,7 @@ public:
|
||||
virtual ~OUserAdmin();
|
||||
OUString GetUser();
|
||||
|
||||
// must be overloaded by subclasses, but it isn't pure virtual
|
||||
// subclasses must override this, but it isn't pure virtual
|
||||
virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) SAL_OVERRIDE;
|
||||
|
||||
// <method>OGenericAdministrationPage::fillControls</method>
|
||||
|
@ -116,7 +116,7 @@ namespace dbaui
|
||||
// nControlFlags is a combination of the CBTP_xxx-constants
|
||||
virtual ~GeneratedValuesPage();
|
||||
|
||||
// must be overloaded by subclasses, but it isn't pure virtual
|
||||
// subclasses must override this, but it isn't pure virtual
|
||||
virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) SAL_OVERRIDE;
|
||||
|
||||
// <method>OGenericAdministrationPage::fillControls</method>
|
||||
|
@ -75,7 +75,7 @@ namespace dbaui
|
||||
|
||||
virtual ~OCommonBehaviourTabPage();
|
||||
|
||||
// must be overloaded by subclasses, but it isn't pure virtual
|
||||
// subclasses must override this, but it isn't pure virtual
|
||||
virtual void implInitControls(const SfxItemSet& _rSet, bool _bSaveValue) SAL_OVERRIDE;
|
||||
|
||||
// <method>OGenericAdministrationPage::fillControls</method>
|
||||
|
@ -96,7 +96,7 @@ namespace dbaui
|
||||
/// late construction
|
||||
virtual void Construct() SAL_OVERRIDE;
|
||||
virtual void initialize() SAL_OVERRIDE;
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
|
||||
virtual void GetFocus() SAL_OVERRIDE;
|
||||
|
||||
|
@ -67,7 +67,7 @@ namespace dbaui
|
||||
{
|
||||
}
|
||||
|
||||
// Window overload
|
||||
// Window overrides
|
||||
// virtual bool PreNotify( NotifyEvent& rNEvt );
|
||||
// Edit
|
||||
virtual void Modify() SAL_OVERRIDE;
|
||||
@ -88,7 +88,7 @@ namespace dbaui
|
||||
{
|
||||
}
|
||||
|
||||
// Window overload
|
||||
// Window overrides
|
||||
// Edit
|
||||
virtual void Modify() SAL_OVERRIDE;
|
||||
};
|
||||
|
@ -44,7 +44,7 @@ namespace dbaui
|
||||
public:
|
||||
OTableBorderWindow(vcl::Window* pParent);
|
||||
virtual ~OTableBorderWindow();
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual void Resize() SAL_OVERRIDE;
|
||||
virtual void GetFocus() SAL_OVERRIDE;
|
||||
|
||||
@ -78,7 +78,7 @@ namespace dbaui
|
||||
OTableController& _rController);
|
||||
virtual ~OTableDesignView();
|
||||
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
|
||||
virtual void GetFocus() SAL_OVERRIDE;
|
||||
|
||||
|
@ -39,7 +39,7 @@ namespace dbaui
|
||||
public:
|
||||
OSplitterView(vcl::Window* _pParent,bool _bVertical = true);
|
||||
virtual ~OSplitterView();
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual void GetFocus() SAL_OVERRIDE;
|
||||
|
||||
void setSplitter(Splitter* _pSplitter);
|
||||
|
@ -233,7 +233,7 @@ namespace dbaui
|
||||
|
||||
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet > CreateForm();
|
||||
// our default implementation simply instantiates a stardiv.one.form.component.Form service
|
||||
// (probably this needs not to be overloaded, but you may return anything you want as long as it
|
||||
// (probably this needs not to be overridden, but you may return anything you want as long as it
|
||||
// supports the ::com::sun::star::form::DatabaseForm service. For instance you may want to create an adapter here which
|
||||
// is synchronized with a foreign ::com::sun::star::form::DatabaseForm you got elsewhere)
|
||||
virtual bool InitializeForm(
|
||||
|
@ -163,7 +163,7 @@ namespace dbaui
|
||||
bool IsReadOnly() { return bReadOnly;}
|
||||
OFieldDescription* GetFieldDescr( long nRow );
|
||||
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
|
||||
|
||||
// IClipboardTest
|
||||
|
@ -62,7 +62,7 @@ namespace dbaui
|
||||
void SaveData( OFieldDescription* pFieldDescr );
|
||||
void SetReadOnly( bool bReadOnly );
|
||||
|
||||
// window overloads
|
||||
// Window overrides
|
||||
virtual bool PreNotify( NotifyEvent& rNEvt ) SAL_OVERRIDE;
|
||||
virtual void GetFocus() SAL_OVERRIDE;
|
||||
virtual void LoseFocus() SAL_OVERRIDE;
|
||||
|
@ -531,7 +531,7 @@ namespace drawinglayer
|
||||
used to support the old XOR paint-'trick'.
|
||||
|
||||
It does not need an own identifier since a renderer who wants to interpret
|
||||
it itself may do so. It just overloads the decomposition of the C++
|
||||
it itself may do so. It just overrides the decomposition of the C++
|
||||
implementation class to do an alternative decomposition.
|
||||
*/
|
||||
class NonOverlappingFillGradientPrimitive2D : public FillGradientPrimitive2D
|
||||
|
@ -1941,7 +1941,7 @@ Point EditEngine::GetDocPosTopLeft( sal_Int32 nParagraph )
|
||||
|
||||
const SvxNumberFormat* EditEngine::GetNumberFormat( sal_Int32 nPara ) const
|
||||
{
|
||||
// derived objects may overload this function to give access to
|
||||
// derived objects may override this function to give access to
|
||||
// bullet information (see Outliner)
|
||||
(void) nPara;
|
||||
return 0;
|
||||
|
@ -4233,7 +4233,8 @@ const SvxNumberFormat* ImpEditEngine::GetNumberFormat( const ContentNode *pNode
|
||||
DBG_ASSERT( nPara < EE_PARA_NOT_FOUND, "node not found in array" );
|
||||
if (nPara < EE_PARA_NOT_FOUND)
|
||||
{
|
||||
// the called function may be overloaded by an OutlinerEditEng object to provide
|
||||
// the called function may be overridden by an OutlinerEditEng
|
||||
// object to provide
|
||||
// access to the SvxNumberFormat of the Outliner.
|
||||
// The EditEngine implementation will just return 0.
|
||||
pRes = pEditEngine->GetNumberFormat( nPara );
|
||||
|
@ -43,7 +43,7 @@ public class NativeView extends java.awt.Canvas
|
||||
* ctor
|
||||
* Does nothing really.
|
||||
* We can use our JNI mechanism for an already visible
|
||||
* canvas only. So we overload the method for showing ( "setVisible()" )
|
||||
* canvas only. So we override the method for showing ( "setVisible()" )
|
||||
* and make our intialization there. BUt we try to show an empty clean
|
||||
* window till there.
|
||||
*/
|
||||
@ -57,7 +57,7 @@ public class NativeView extends java.awt.Canvas
|
||||
|
||||
|
||||
/**
|
||||
* Overload this method to make necessary initializations here.
|
||||
* Override this method to make necessary initializations here.
|
||||
* ( e.g. get the window handle and necessary system information )
|
||||
*
|
||||
* Why here?
|
||||
@ -96,7 +96,7 @@ public class NativeView extends java.awt.Canvas
|
||||
|
||||
|
||||
/**
|
||||
* overload paint routine to show provide against
|
||||
* override paint routine to show provide against
|
||||
* repaint errors if no office view is really plugged
|
||||
* into this canvas.
|
||||
* If handle is present - we shouldn't paint anything further.
|
||||
|
@ -65,7 +65,7 @@ public:
|
||||
class declaration ProviderOleWrapper_Impl
|
||||
|
||||
Provides an UNO service provider as OLE class factory. Handle the
|
||||
OLE registration by overloading the abstract methods from
|
||||
OLE registration by overriding the abstract methods from
|
||||
IClassFactoryWrapper.
|
||||
|
||||
Acts as a COM class factory. When IClassFactory::CreateInstance is being called
|
||||
@ -109,7 +109,7 @@ protected:
|
||||
class declaration OneInstanceOleWrapper_Impl
|
||||
|
||||
Provides an single UNO object as OLE object. Handle the
|
||||
OLE registration by overloading the abstract methods from
|
||||
OLE registration by overriding the abstract methods from
|
||||
IClassFactoryWrapper.
|
||||
|
||||
Acts as a COM class factory. When IClassFactory::CreateInstance is being called
|
||||
|
@ -6476,7 +6476,7 @@ bool SvxMSDffManager::ProcessClientData(SvStream& rStData, sal_uInt32 nDatLen,
|
||||
|
||||
void SvxMSDffManager::ProcessClientAnchor2( SvStream& /* rSt */, DffRecordHeader& /* rHd */ , void* /* pData */, DffObjData& /* rObj */ )
|
||||
{
|
||||
return; // will be overloaded by SJ in Draw
|
||||
return; // will be overridden by SJ in Draw
|
||||
}
|
||||
|
||||
bool SvxMSDffManager::GetOLEStorageName( long /* nOLEId */, OUString&, SvStorageRef&, uno::Reference < embed::XStorage >& ) const
|
||||
|
@ -345,7 +345,8 @@ void OImageControlModel::describeFixedProperties( Sequence< Property >& _rProps
|
||||
void OImageControlModel::describeAggregateProperties( Sequence< Property >& /* [out] */ o_rAggregateProperties ) const
|
||||
{
|
||||
OBoundControlModel::describeAggregateProperties( o_rAggregateProperties );
|
||||
// remove ImageURL and Graphic properties, we "overload" them. This is because our aggregate synchronizes those
|
||||
// remove ImageURL and Graphic properties, we "override" them.
|
||||
// This is because our aggregate synchronizes those
|
||||
// two, but we have an own sychronization mechanism.
|
||||
RemoveProperty( o_rAggregateProperties, PROPERTY_IMAGE_URL );
|
||||
RemoveProperty( o_rAggregateProperties, PROPERTY_GRAPHIC );
|
||||
|
@ -588,7 +588,7 @@ namespace frm
|
||||
Any SAL_CALL OClickableImageBaseModel::queryAggregation(const Type& _rType) throw (RuntimeException, std::exception)
|
||||
{
|
||||
// order matters:
|
||||
// we definitely want to "overload" the XImageProducer interface of our aggregate,
|
||||
// we definitely want to "override" the XImageProducer interface of our aggregate,
|
||||
// thus check OClickableImageBaseModel_Base (which provides this) first
|
||||
Any aReturn = OClickableImageBaseModel_Base::queryInterface( _rType );
|
||||
|
||||
|
@ -499,8 +499,8 @@ protected:
|
||||
|
||||
The default implementation simply asks m_xAggregateSet for its properties.
|
||||
|
||||
You usually only need to overload this method if you want to filter the aggregate
|
||||
properties.
|
||||
You usually only need to override this method if you want to filter the
|
||||
aggregate properties.
|
||||
*/
|
||||
virtual void describeAggregateProperties(
|
||||
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rAggregateProps
|
||||
|
@ -188,7 +188,7 @@ namespace svt
|
||||
// URLs should always be UTF8 encoded and escaped
|
||||
OString sID( OUStringToOString( sHelpID, RTL_TEXTENCODING_UTF8 ) );
|
||||
if ( _bFileView )
|
||||
// the file view "overloaded" the SetHelpId
|
||||
// the file view "overrides" the SetHelpId
|
||||
static_cast< SvtFileView* >( _pControl )->SetHelpId( sID );
|
||||
else
|
||||
_pControl->SetHelpId( sID );
|
||||
@ -199,7 +199,7 @@ namespace svt
|
||||
{
|
||||
OString aHelpId = _pControl->GetHelpId();
|
||||
if ( _bFileView )
|
||||
// the file view "overloaded" the SetHelpId
|
||||
// the file view "overrides" the SetHelpId
|
||||
aHelpId = static_cast< SvtFileView* >( _pControl )->GetHelpId( );
|
||||
|
||||
OUString sHelpURL;
|
||||
|
@ -34,7 +34,7 @@ namespace /* private */
|
||||
// a lot of files in a large directory we may reach this
|
||||
// limit and don't want to get out of memory;
|
||||
// another much more elegant way would be to subclass the
|
||||
// FileOpen dialog and overload the BM_CLICK event of the
|
||||
// FileOpen dialog and override the BM_CLICK event of the
|
||||
// OK button so that we determine the size of the text
|
||||
// currently in the edit field and resize our buffer
|
||||
// appropriately - in the future we will do this
|
||||
@ -523,8 +523,7 @@ void SAL_CALL CFileOpenDialog::handleInitDialog(HWND hwndDlg, HWND hwndChild)
|
||||
|
||||
OSL_ASSERT(GetParent(hwndChild) == hwndDlg);
|
||||
|
||||
// calling virtual function which the
|
||||
// client can overload
|
||||
// calling virtual function which the client can override
|
||||
onInitDialog(hwndDlg);
|
||||
}
|
||||
|
||||
|
@ -164,7 +164,7 @@ protected:
|
||||
virtual void SAL_CALL onFolderChanged();
|
||||
virtual void SAL_CALL onTypeChanged( sal_uInt32 nFilterIndex );
|
||||
|
||||
// call base class method first when overloading
|
||||
// call base class method first when overriding
|
||||
virtual void SAL_CALL onInitDialog( HWND hwndDlg );
|
||||
|
||||
virtual sal_uInt32 SAL_CALL onCtrlCommand( HWND hwndDlg, sal_uInt16 ctrlId, sal_uInt16 notifyCode );
|
||||
|
@ -167,7 +167,7 @@ class AddonsOptions_Impl : public ConfigItem
|
||||
AddonsOptions_Impl();
|
||||
virtual ~AddonsOptions_Impl();
|
||||
|
||||
// overloaded methods of baseclass
|
||||
// overridden methods of baseclass
|
||||
|
||||
/*-****************************************************************************************************
|
||||
@short called for notify of configmanager
|
||||
|
@ -311,7 +311,7 @@ namespace basegfx
|
||||
} // end of namespace basegfx
|
||||
|
||||
|
||||
// RasterConversionLineEntry3D for Raterconversion of 3D PolyPolygons
|
||||
// RasterConversionLineEntry3D for Rasterconversion of 3D PolyPolygons
|
||||
|
||||
namespace basegfx
|
||||
{
|
||||
@ -408,8 +408,8 @@ namespace basegfx
|
||||
} // end of namespace basegfx
|
||||
|
||||
|
||||
// the basic RaterConverter itself. Only one method needs to be overloaded. The
|
||||
// class itself is strictly virtual
|
||||
// the basic RasterConverter itself. Only one method needs to be overridden. The
|
||||
// class itself is pure virtual
|
||||
|
||||
namespace basegfx
|
||||
{
|
||||
|
@ -27,7 +27,7 @@ namespace comphelper {
|
||||
|
||||
/** this class provides a basic helper for classes supporting the XServiceInfo Interface.
|
||||
*
|
||||
* you can overload the <code>getSupprotedServiceNames</code> to implement a XServiceInfo.
|
||||
* you can override the <code>getSupprotedServiceNames</code> to implement a XServiceInfo.
|
||||
* you can use the static helper methods to combine your services with that of parent
|
||||
* or aggregatet classes.
|
||||
*/
|
||||
|
@ -47,7 +47,7 @@ namespace comphelper
|
||||
virtual void SAL_CALL release() throw() SAL_OVERRIDE { baseclass::release(); }
|
||||
|
||||
/** used for declaring UNO3-Defaults, i.e. acquire/release if you want to forward all queryInterfaces to the base class,
|
||||
(e.g. if you overload queryAggregation)
|
||||
(e.g. if you override queryAggregation)
|
||||
*/
|
||||
#define DECLARE_UNO3_AGG_DEFAULTS(classname, baseclass) \
|
||||
virtual void SAL_CALL acquire() throw() SAL_OVERRIDE { baseclass::acquire(); } \
|
||||
|
@ -128,7 +128,7 @@ namespace connectivity
|
||||
// called when XDrop was called
|
||||
virtual void dropObject(sal_Int32 _nPos, const OUString& _sElementName);
|
||||
|
||||
/** returns the name for the object. The default implementation ask for the property NAME. If this doesn't satisfy, it has to be overloaded.
|
||||
/** returns the name for the object. The default implementation ask for the property NAME. If this doesn't satisfy, it has to be overridden.
|
||||
@param _xObject The object where the name should be extracted.
|
||||
@return The name of the object.
|
||||
*/
|
||||
|
@ -348,7 +348,7 @@ protected:
|
||||
This abstract class maps the methods of the interfaces XMultiPropertySet, XFastPropertySet
|
||||
and XPropertySet to the methods getInfoHelper, convertFastPropertyValue,
|
||||
setFastPropertyValue_NoBroadcast and getFastPropertyValue. You must derive from
|
||||
this class and overload the methods.
|
||||
this class and override the methods.
|
||||
It provides a standard implementation of the XPropertySetInfo.
|
||||
The XPropertiesChangeListener are inserted in the rBHelper.aLC structure.
|
||||
The XPropertyChangeListener and XVetoableChangeListener with no names are inserted
|
||||
|
@ -54,7 +54,8 @@ namespace dbaui
|
||||
*/
|
||||
virtual void setImageList(sal_Int16 _eSymbolsSize) = 0;
|
||||
|
||||
/** only the member will be set, derived classes can overload this function and do what need to be done.
|
||||
/** only the member will be set, derived classes can override
|
||||
this function and do what need to be done.
|
||||
@param _pTB
|
||||
The new ToolBox.
|
||||
@attention
|
||||
|
@ -88,8 +88,9 @@ namespace drawinglayer
|
||||
/// provide unique ID
|
||||
DeclPrimitive2DIDBlock()
|
||||
|
||||
/** The getDecomposition is overloaded here since the decompose is dependent of the point in time,
|
||||
so the default implementation is nut useful here, it needs to be handled locally
|
||||
/** Override getDecomposition() here since the decompose
|
||||
depends on the point in time, so the default implementation is
|
||||
not useful here, it needs to be handled locally
|
||||
*/
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
|
@ -73,7 +73,7 @@ namespace drawinglayer
|
||||
/// provide unique ID
|
||||
DeclPrimitive2DIDBlock()
|
||||
|
||||
/// Overload standard getDecomposition call to be view-dependent here
|
||||
/// Override standard getDecomposition call to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
} // end of namespace primitive2d
|
||||
|
@ -149,8 +149,8 @@ namespace drawinglayer
|
||||
|
||||
/** the ==operator is mainly needed to allow testing newly-created primitives against their last
|
||||
incarnation which buffers/holds the made decompositions. The default implementation
|
||||
uses getPrimitive2DID()-calls to test if it's the same ID at last. Overloaded implementation are then
|
||||
based on this implementation
|
||||
uses getPrimitive2DID()-calls to test if it's the same ID at last.
|
||||
Overridden implementations are then based on this implementation
|
||||
*/
|
||||
virtual bool operator==( const BasePrimitive2D& rPrimitive ) const;
|
||||
bool operator!=( const BasePrimitive2D& rPrimitive ) const { return !operator==(rPrimitive); }
|
||||
@ -247,7 +247,7 @@ namespace drawinglayer
|
||||
/** The getDecomposition default implementation will on demand use create2DDecomposition() if
|
||||
maBuffered2DDecomposition is empty. It will set maBuffered2DDecomposition to this obtained decomposition
|
||||
to buffer it. If the decomposition is also ViewInformation2D-dependent, this method needs to be
|
||||
overloaded and the ViewInformation2D for the last decomposition need to be remembered, too, and
|
||||
overridden and the ViewInformation2D for the last decomposition need to be remembered, too, and
|
||||
be used in the next call to decide if the buffered decomposition may be reused or not.
|
||||
*/
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
|
@ -100,7 +100,7 @@ namespace drawinglayer
|
||||
/// provide unique ID
|
||||
DeclPrimitive2DIDBlock()
|
||||
|
||||
/// Overload standard getDecomposition call to be view-dependent here
|
||||
/// Override standard getDecomposition to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
} // end of namespace primitive2d
|
||||
|
@ -92,7 +92,7 @@ namespace drawinglayer
|
||||
/// get range
|
||||
virtual basegfx::B2DRange getB2DRange(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
|
||||
/// get local decomposition. Overloaded since this decomposition is view-dependent
|
||||
/// Override standard getDecomposition to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
|
||||
/// provide unique ID
|
||||
|
@ -106,7 +106,7 @@ namespace drawinglayer
|
||||
/// provide unique ID
|
||||
DeclPrimitive2DIDBlock()
|
||||
|
||||
/// Overload standard getDecomposition call to be view-dependent here
|
||||
/// Override standard getDecomposition to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
} // end of namespace primitive2d
|
||||
|
@ -101,7 +101,7 @@ namespace drawinglayer
|
||||
/// provide unique ID
|
||||
DeclPrimitive2DIDBlock()
|
||||
|
||||
/// Overload standard getDecomposition call to be view-dependent here
|
||||
/// Override standard getDecomposition to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
} // end of namespace primitive2d
|
||||
|
@ -132,7 +132,7 @@ namespace drawinglayer
|
||||
/// get range
|
||||
virtual basegfx::B2DRange getB2DRange(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
|
||||
/// get local decomposition. Overloaded since this decomposition is view-dependent
|
||||
/// Override standard getDecomposition to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
|
||||
/// provide unique ID
|
||||
|
@ -65,7 +65,7 @@ namespace drawinglayer
|
||||
/// data read access
|
||||
double getDiscreteUnit() const { return mfDiscreteUnit; }
|
||||
|
||||
/// get local decomposition. Overloaded since this decomposition is view-dependent
|
||||
/// Override standard getDecomposition to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
} // end of namespace primitive2d
|
||||
@ -104,7 +104,7 @@ namespace drawinglayer
|
||||
/// data read access
|
||||
const basegfx::B2DRange& getViewport() const { return maViewport; }
|
||||
|
||||
/// get local decomposition. Overloaded since this decomposition is view-dependent
|
||||
/// Override standard getDecomposition to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
} // end of namespace primitive2d
|
||||
@ -143,7 +143,7 @@ namespace drawinglayer
|
||||
/// data read access
|
||||
const basegfx::B2DHomMatrix& getViewTransformation() const { return maViewTransformation; }
|
||||
|
||||
/// get local decomposition. Overloaded since this decomposition is view-dependent
|
||||
/// Override standard getDecomposition to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
} // end of namespace primitive2d
|
||||
@ -186,7 +186,7 @@ namespace drawinglayer
|
||||
const basegfx::B2DHomMatrix& getViewTransformation() const { return maViewTransformation; }
|
||||
const basegfx::B2DHomMatrix& getObjectTransformation() const { return maObjectTransformation; }
|
||||
|
||||
/// get local decomposition. Overloaded since this decomposition is view-dependent
|
||||
/// Override standard getDecomposition to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
} // end of namespace primitive2d
|
||||
|
@ -146,7 +146,7 @@ namespace drawinglayer
|
||||
/// provide unique ID
|
||||
DeclPrimitive2DIDBlock()
|
||||
|
||||
/// get local decomposition. Overloaded since this decomposition is view-dependent
|
||||
/// get local decomposition. Override since this decomposition is view-dependent
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
} // end of namespace primitive2d
|
||||
|
@ -93,7 +93,7 @@ namespace drawinglayer
|
||||
/// provide unique ID
|
||||
DeclPrimitive2DIDBlock()
|
||||
|
||||
/// Overload standard getDecomposition call to be view-dependent here
|
||||
/// Override standard getDecomposition to be view-dependent here
|
||||
virtual Primitive2DSequence get2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const SAL_OVERRIDE;
|
||||
};
|
||||
} // end of namespace primitive2d
|
||||
|
@ -90,8 +90,8 @@ namespace drawinglayer
|
||||
|
||||
/** the ==operator is mainly needed to allow testing newly-created high level primitives against their last
|
||||
incarnation which buffers/holds the decompositionsThe default implementation
|
||||
uses getPrimitive3DID()-calls to test if it's the same ID at last. Overloaded implementation are then
|
||||
based on this implementation.
|
||||
uses getPrimitive3DID()-calls to test if it's the same ID at last.
|
||||
Overridden implementation are then based on this implementation.
|
||||
*/
|
||||
virtual bool operator==( const BasePrimitive3D& rPrimitive ) const;
|
||||
bool operator!=( const BasePrimitive3D& rPrimitive ) const { return !operator==(rPrimitive); }
|
||||
@ -168,7 +168,7 @@ namespace drawinglayer
|
||||
/** The getDecomposition default implementation will on demand use create3DDecomposition() if
|
||||
maBuffered3DDecomposition is empty. It will set maBuffered3DDecomposition to this obtained decomposition
|
||||
to buffer it. If the decomposition is also ViewInformation-dependent, this method needs to be
|
||||
overloaded and the ViewInformation for the last decomposition needs to be remembered, too, and
|
||||
overridden and the ViewInformation for the last decomposition needs to be remembered, too, and
|
||||
be used in the next call to decide if the buffered decomposition may be reused or not.
|
||||
*/
|
||||
virtual Primitive3DSequence get3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const SAL_OVERRIDE;
|
||||
|
@ -113,7 +113,7 @@ namespace drawinglayer
|
||||
/// get range
|
||||
virtual basegfx::B3DRange getB3DRange(const geometry::ViewInformation3D& rViewInformation) const SAL_OVERRIDE;
|
||||
|
||||
/// Overloaded to allow for reduced line mode to decide if to buffer decomposition or not
|
||||
/// Overridden to allow for reduced line mode to decide if to buffer decomposition or not
|
||||
virtual Primitive3DSequence get3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const SAL_OVERRIDE;
|
||||
|
||||
/// provide unique ID
|
||||
|
@ -131,7 +131,7 @@ namespace drawinglayer
|
||||
/// get range
|
||||
virtual basegfx::B3DRange getB3DRange(const geometry::ViewInformation3D& rViewInformation) const SAL_OVERRIDE;
|
||||
|
||||
/// Overloaded to allow for reduced line mode to decide if to buffer decomposition or not
|
||||
/// Overridden to allow for reduced line mode to decide if to buffer decomposition or not
|
||||
virtual Primitive3DSequence get3DDecomposition(const geometry::ViewInformation3D& rViewInformation) const SAL_OVERRIDE;
|
||||
|
||||
/// provide unique ID
|
||||
|
@ -36,7 +36,7 @@ namespace drawinglayer
|
||||
/** SdrPrimitive3D class
|
||||
|
||||
Base class for the more complicated geometric primitives, so
|
||||
derive from buffered primitive to allow overloading of
|
||||
derive from buffered primitive to allow overriding of
|
||||
create3DDecomposition there.
|
||||
*/
|
||||
namespace primitive3d
|
||||
|
@ -62,7 +62,7 @@ namespace drawinglayer
|
||||
derived from that primitive. This is the preparation to handle unknown implementations
|
||||
of the com::sun::star::graphic::XPrimitive2D interface in the future.
|
||||
|
||||
So, to implement a basic processor, it is necessary to overload and implement the
|
||||
So, to implement a basic processor, it is necessary to override and implement the
|
||||
processBasePrimitive2D(..) method. A minimal renderer has to support the
|
||||
Basic Primitives (see baseprimitive2d.hxx) and the Grouping Primitives (see
|
||||
groupprimitive2d.hxx). These are (currently):
|
||||
|
@ -492,7 +492,7 @@ public:
|
||||
virtual void FieldSelected( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos );
|
||||
virtual OUString CalcFieldValue( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos, Color*& rTxtColor, Color*& rFldColor );
|
||||
|
||||
// to be overloaded if access to bullet information needs to be provided
|
||||
// override this if access to bullet information needs to be provided
|
||||
virtual const SvxNumberFormat * GetNumberFormat( sal_Int32 nPara ) const;
|
||||
|
||||
virtual Rectangle GetBulletArea( sal_Int32 nPara );
|
||||
|
@ -133,17 +133,17 @@ public:
|
||||
|
||||
/**
|
||||
Dummy methods to avoid switches and casts where possible,
|
||||
the real token classes have to overload the appropriate method[s].
|
||||
The only methods valid anytime if not overloaded are:
|
||||
the real token classes have to override the appropriate method[s].
|
||||
The only methods valid anytime if not overridden are:
|
||||
|
||||
- GetByte() since this represents the count of parameters to a function
|
||||
which of course is 0 on non-functions. FormulaByteToken and ScExternal do
|
||||
overload it.
|
||||
override it.
|
||||
|
||||
- HasForceArray() since also this is only used for operators and
|
||||
functions and is 0 for other tokens.
|
||||
|
||||
Any other non-overloaded method pops up an assertion.
|
||||
Any other non-overridden method pops up an assertion.
|
||||
*/
|
||||
|
||||
virtual sal_uInt8 GetByte() const;
|
||||
|
@ -226,7 +226,7 @@ public:
|
||||
virtual FormulaToken* AddOpCode(OpCode e);
|
||||
|
||||
/** Adds the single token to array.
|
||||
Derived classes must overload it when they want to support derived classes from FormulaToken.
|
||||
Derived classes must override it when they want to support derived classes from FormulaToken.
|
||||
@return true when an error occurs
|
||||
*/
|
||||
virtual bool AddFormulaToken(
|
||||
|
@ -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 );
|
||||
|
@ -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]
|
||||
|
@ -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
|
||||
|
@ -62,9 +62,9 @@ public:
|
||||
void SetNumberFormatter(SvNumberFormatter* pNew);
|
||||
SvNumberFormatter* GetNumberFormatter() const;
|
||||
|
||||
// overload to adapt attributes in the document
|
||||
// override to adapt attributes in the document
|
||||
virtual void NumberFormatDeleted(sal_uInt32 nKey);
|
||||
// overload to possibly format something anew
|
||||
// override to possibly format something anew
|
||||
virtual void SettingsChanged();
|
||||
|
||||
// XNumberFormatsSupplier
|
||||
|
@ -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;
|
||||
|
@ -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& );
|
||||
|
||||
|
@ -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
|
||||
|
@ -524,7 +524,7 @@ protected:
|
||||
void UpdateDispatches(); // will connect if not already connected and just update else
|
||||
|
||||
/** If a derived class wants to listen at some column properties, it doesn't have
|
||||
to overload all methods affecting columns (setColumns, elementInserted, elementRemoved ...)
|
||||
to override all methods affecting columns (setColumns, elementInserted, elementRemoved ...)
|
||||
Instead it may use addColumnListeners and removeColumnListeners which are called in all
|
||||
the cases.
|
||||
*/
|
||||
|
@ -188,10 +188,10 @@ public:
|
||||
// get Primitive2DParameters for this view
|
||||
const drawinglayer::geometry::ViewInformation2D& getViewInformation2D() const { return maViewInformation2D; }
|
||||
|
||||
// access to SdrPageView. May return 0L like the default implementations do. Needs to be overloaded as needed.
|
||||
/// access to SdrPageView. May return 0L like the default implementations do. Override as needed.
|
||||
virtual SdrPageView* TryToGetSdrPageView() const;
|
||||
|
||||
// access to OutputDevice. May return 0L like the default implementations do. Needs to be overloaded as needed.
|
||||
/// access to OutputDevice. May return 0L like the default implementations do. Override as needed.
|
||||
virtual OutputDevice* TryToGetOutputDevice() const;
|
||||
|
||||
// reset ViewPort at internal ViewInformation2D. This is needed when the OC is used
|
||||
|
@ -81,7 +81,6 @@ public:
|
||||
// pdf export? Default is false
|
||||
virtual bool isOutputToPDFFile() const SAL_OVERRIDE;
|
||||
|
||||
// access to OutputDevice. May return 0L like the default implementations do. Needs to be overloaded as needed.
|
||||
virtual OutputDevice* TryToGetOutputDevice() const SAL_OVERRIDE;
|
||||
};
|
||||
|
||||
@ -109,7 +108,6 @@ public:
|
||||
void SetStartPage(const SdrPage* pPage);
|
||||
const SdrPage* GetStartPage() const { return mxStartPage.get(); }
|
||||
|
||||
// access to OutputDevice. May return 0L like the default implementations do. Needs to be overloaded as needed.
|
||||
virtual OutputDevice* TryToGetOutputDevice() const SAL_OVERRIDE;
|
||||
};
|
||||
|
||||
|
@ -110,7 +110,7 @@ public:
|
||||
|
||||
// Access to possible sub-hierarchy and parent. GetObjectCount() default is 0L
|
||||
// and GetViewContact default pops up an assert since it's an error if
|
||||
// GetObjectCount has a result != 0 and it's not overloaded.
|
||||
// GetObjectCount has a result != 0 and it's not overridden.
|
||||
virtual sal_uInt32 GetObjectCount() const;
|
||||
virtual ViewContact& GetViewContact(sal_uInt32 nIndex) const;
|
||||
virtual ViewContact* GetParentContact() const;
|
||||
@ -123,7 +123,7 @@ public:
|
||||
virtual void ActionChanged();
|
||||
|
||||
// access to SdrObject and/or SdrPage. May return 0L like the default
|
||||
// implementations do. Needs to be overloaded as needed.
|
||||
// implementations do. Override as needed.
|
||||
virtual SdrObject* TryToGetSdrObject() const;
|
||||
virtual SdrPage* TryToGetSdrPage() const;
|
||||
|
||||
|
@ -65,7 +65,7 @@ public:
|
||||
// React on changes of the object of this ViewContact
|
||||
virtual void ActionChanged() SAL_OVERRIDE;
|
||||
|
||||
// overload for acessing the SdrObject
|
||||
/// override for accessing the SdrObject
|
||||
virtual SdrObject* TryToGetSdrObject() const SAL_OVERRIDE;
|
||||
|
||||
|
||||
|
@ -42,7 +42,7 @@ public:
|
||||
virtual ~ViewObjectContactRedirector();
|
||||
|
||||
// all default implementations just call the same methods at the original. To do something
|
||||
// different, overload the method and at least do what the method does.
|
||||
// different, override the method and at least do what the method does.
|
||||
virtual drawinglayer::primitive2d::Primitive2DSequence createRedirectedPrimitive2DSequence(
|
||||
const sdr::contact::ViewObjectContact& rOriginal,
|
||||
const sdr::contact::DisplayInfo& rDisplayInfo);
|
||||
|
@ -99,7 +99,7 @@ namespace sdr
|
||||
bool mbIsHittable : 1;
|
||||
|
||||
// Flag to hold info if this objects supports animation. Default is
|
||||
// false. If true, the Trigger() method should be overloaded
|
||||
// false. If true, the Trigger() method should be overridden
|
||||
// to implement the animation effect and to re-initiate the event.
|
||||
bool mbAllowsAnimation : 1;
|
||||
|
||||
@ -126,7 +126,7 @@ namespace sdr
|
||||
OverlayManager* getOverlayManager() const { return mpOverlayManager; }
|
||||
|
||||
// the access method for Primitive2DSequence. Will use createPrimitive2DSequence and
|
||||
// setPrimitive2DSequence if needed. Overloading may be used to allow disposal of last
|
||||
// setPrimitive2DSequence if needed. Overriding may be used to allow disposal of last
|
||||
// created primitives to react on changed circumstances and to re-create primitives
|
||||
virtual drawinglayer::primitive2d::Primitive2DSequence getOverlayObjectPrimitive2DSequence() const;
|
||||
|
||||
|
@ -71,7 +71,7 @@ namespace sdr
|
||||
const std::vector< basegfx::B2DRange >& getRanges() const { return maRanges; }
|
||||
bool getBorder() const { return mbBorder; }
|
||||
|
||||
// overloaded to check conditions for last createOverlayObjectPrimitive2DSequence
|
||||
/// override to check conditions for last createOverlayObjectPrimitive2DSequence
|
||||
virtual drawinglayer::primitive2d::Primitive2DSequence getOverlayObjectPrimitive2DSequence() const SAL_OVERRIDE;
|
||||
|
||||
// data write access
|
||||
|
@ -66,7 +66,7 @@ namespace sdr
|
||||
SdrObject& GetSdrObject();
|
||||
|
||||
// Test changeability for a single item. If a implementation wants to prevent
|
||||
// changing an item this method may be overloaded.
|
||||
// changing an item it should override this method.
|
||||
virtual bool AllowItemChange(const sal_uInt16 nWhich, const SfxPoolItem* pNewItem = 0) const = 0;
|
||||
|
||||
// Do the internal ItemChange. If only nWhich is given, the item needs to be cleared.
|
||||
@ -99,8 +99,8 @@ namespace sdr
|
||||
// merging of ItemSets is done for e.g. Group objects.
|
||||
virtual const SfxItemSet& GetObjectItemSet() const = 0;
|
||||
|
||||
// get merged ItemSet. Normappl, this maps directly to GetObjectItemSet(), but may
|
||||
// be overloaded e.g for group objects to return a merged ItemSet of the object.
|
||||
// get merged ItemSet. Normally, this maps directly to GetObjectItemSet(), but may
|
||||
// be overridden e.g for group objects to return a merged ItemSet of the object.
|
||||
// When using this method the returned ItemSet may contain items in the state
|
||||
// SfxItemState::DONTCARE which means there were several such items with different
|
||||
// values.
|
||||
@ -145,12 +145,12 @@ namespace sdr
|
||||
// Get the installed StyleSheet.
|
||||
virtual SfxStyleSheet* GetStyleSheet() const = 0;
|
||||
|
||||
// Scale the local ItemSet as far as it contains metric items. This needs to be
|
||||
// overloaded to do it for hierarchical objects like e.g. groups.
|
||||
// Scale the local ItemSet as far as it contains metric items.
|
||||
// Override this to do it for hierarchical objects like e.g. groups.
|
||||
virtual void Scale(const Fraction& rScale);
|
||||
|
||||
// Move local items to a new ItemPool. This needs to be
|
||||
// overloaded to do it for hierarchical objects like e.g. groups.
|
||||
// Move local items to a new ItemPool.
|
||||
// Override this to do it for hierarchical objects like e.g. groups.
|
||||
virtual void MoveToItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel = 0L);
|
||||
|
||||
// Set new model.
|
||||
|
@ -404,7 +404,7 @@ public:
|
||||
void SetVirtualObjectBundling(bool bOn) { bBundleVirtObj=bOn; }
|
||||
bool IsVirtualObjectBundling() const { return bBundleVirtObj; }
|
||||
|
||||
// overloaded from SdrMarkView, for internal use
|
||||
// override SdrMarkView, for internal use
|
||||
virtual void MarkListHasChanged() SAL_OVERRIDE;
|
||||
virtual void ModelHasChanged() SAL_OVERRIDE;
|
||||
};
|
||||
|
@ -98,7 +98,7 @@ private:
|
||||
protected:
|
||||
// central method to get an SdrUndoManager for enhanced TextEdit. Default will
|
||||
// try to return a dynamic_casted GetModel()->GetSdrUndoManager(). Applications
|
||||
// which want to use this feature will need to overload this virtual method,
|
||||
// which want to use this feature will need to override this virtual method,
|
||||
// provide their document UndoManager and derive it from SdrUndoManager.
|
||||
virtual SdrUndoManager* getSdrUndoManagerForEnhancedTextEdit() const;
|
||||
|
||||
|
@ -297,7 +297,7 @@ public:
|
||||
|
||||
// Whether the model is being streamed in at the moment
|
||||
bool IsLoading() const { return false /*BFS01 bLoading */; }
|
||||
// Needs to be overladed to enable the Swap/LoadOnDemand of graphics.
|
||||
// Override this to enable the Swap/LoadOnDemand of graphics.
|
||||
// If rbDeleteAfterUse is set to sal_True the SvStream instance from
|
||||
// the caller will be disposed after use.
|
||||
// If this method returns NULL, a temporary file will be allocated for
|
||||
@ -464,8 +464,7 @@ public:
|
||||
// - not be loaded immediately when loading a document,
|
||||
// but only once they are needed (e.g. displayed).
|
||||
// - be pruned from memory if they are not needed.
|
||||
// For that to work, the virtual method
|
||||
// GetDocumentStream() needs to be overloaded.
|
||||
// For that to work, override the virtual method GetDocumentStream().
|
||||
// Default=FALSE. Flag is not persistent.
|
||||
bool IsSwapGraphics() const { return bSwapGraphics; }
|
||||
void SetSwapGraphics(bool bJa = true);
|
||||
@ -493,8 +492,8 @@ public:
|
||||
// Can the model be changed at all?
|
||||
// Is only evaluated by the possibility methods of the View.
|
||||
// Direct manipulations on the model, ... do not respect this flag.
|
||||
// Should be overloaded and return the appriopriate ReadOnly status
|
||||
// of the files, i.e. sal_True or sal_False. (Method is called multiple
|
||||
// Override this and return the appropriate ReadOnly status
|
||||
// of the files, i.e. true or false. (Method is called multiple
|
||||
// times, so use one flag only!)
|
||||
virtual bool IsReadOnly() const;
|
||||
virtual void SetReadOnly(bool bYes);
|
||||
|
@ -431,7 +431,7 @@ public:
|
||||
Point GetGridOffset() const;
|
||||
|
||||
// Will be always called, if the list of marked objects might be changed.
|
||||
// If you overload this method (as programmer), be sure that you call the
|
||||
// If you override this method, be sure that you call the
|
||||
// methods of the base class!
|
||||
virtual void MarkListHasChanged();
|
||||
|
||||
|
@ -592,7 +592,7 @@ public:
|
||||
virtual ~StandardCheckVisisbilityRedirector();
|
||||
|
||||
// all default implementations just call the same methods at the original. To do something
|
||||
// different, overload the method and at least do what the method does.
|
||||
// different, override the method and at least do what the method does.
|
||||
virtual drawinglayer::primitive2d::Primitive2DSequence createRedirectedPrimitive2DSequence(
|
||||
const sdr::contact::ViewObjectContact& rOriginal,
|
||||
const sdr::contact::DisplayInfo& rDisplayInfo) SAL_OVERRIDE;
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
virtual void CheckPortionInfo( SdrOutliner& rOutliner );
|
||||
virtual void ReformatText();
|
||||
|
||||
// default uses GetObjectItemSet, but may be overloaded to
|
||||
// default uses GetObjectItemSet, but may be overridden to
|
||||
// return a text-specific ItemSet
|
||||
virtual const SfxItemSet& GetItemSet() const;
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user