Kaydet (Commit) 87b0eb01 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:virtualdown in basctl,basic

Change-Id: If0d729ee84263a5afb2c7acb2d62b08602aa59f4
Reviewed-on: https://gerrit.libreoffice.org/52046Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst b399bb87
...@@ -369,7 +369,7 @@ public: ...@@ -369,7 +369,7 @@ public:
BasicStatus& GetBasicStatus() { return m_aStatus; } BasicStatus& GetBasicStatus() { return m_aStatus; }
virtual bool IsModified () override; virtual bool IsModified () override;
virtual bool IsPasteAllowed () override; virtual bool IsPasteAllowed ();
void ShowCursor( bool bOn ); void ShowCursor( bool bOn );
......
...@@ -195,11 +195,6 @@ bool BaseWindow::IsModified () ...@@ -195,11 +195,6 @@ bool BaseWindow::IsModified ()
return true; return true;
} }
bool BaseWindow::IsPasteAllowed ()
{
return false;
}
::svl::IUndoManager* BaseWindow::GetUndoManager() ::svl::IUndoManager* BaseWindow::GetUndoManager()
{ {
return nullptr; return nullptr;
......
...@@ -101,7 +101,7 @@ public: ...@@ -101,7 +101,7 @@ public:
virtual void StoreData() override; virtual void StoreData() override;
virtual bool IsModified() override; virtual bool IsModified() override;
virtual bool IsPasteAllowed() override; virtual bool IsPasteAllowed();
virtual svl::IUndoManager* GetUndoManager() override; virtual svl::IUndoManager* GetUndoManager() override;
// return number of pages to be printed // return number of pages to be printed
......
...@@ -204,7 +204,6 @@ public: ...@@ -204,7 +204,6 @@ public:
virtual EntryDescriptor CreateEntryDescriptor() = 0; virtual EntryDescriptor CreateEntryDescriptor() = 0;
virtual bool IsModified(); virtual bool IsModified();
virtual bool IsPasteAllowed();
virtual bool AllowUndo(); virtual bool AllowUndo();
......
...@@ -74,11 +74,6 @@ SbxDataType SbxBase::GetType() const ...@@ -74,11 +74,6 @@ SbxDataType SbxBase::GetType() const
return SbxEMPTY; return SbxEMPTY;
} }
SbxClassType SbxBase::GetClass() const
{
return SbxClassType::DontCare;
}
bool SbxBase::IsFixed() const bool SbxBase::IsFixed() const
{ {
return IsSet( SbxFlagBits::Fixed ); return IsSet( SbxFlagBits::Fixed );
......
...@@ -127,7 +127,7 @@ public: ...@@ -127,7 +127,7 @@ public:
virtual void Clear() override; virtual void Clear() override;
sal_uInt16 Count() const; sal_uInt16 Count() const;
virtual SbxDataType GetType() const override; virtual SbxDataType GetType() const override;
virtual SbxClassType GetClass() const override; virtual SbxClassType GetClass() const;
SbxVariableRef& GetRef( sal_uInt16 ); SbxVariableRef& GetRef( sal_uInt16 );
SbxVariable* Get( sal_uInt16 ); SbxVariable* Get( sal_uInt16 );
void Put( SbxVariable*, sal_uInt16 ); void Put( SbxVariable*, sal_uInt16 );
......
...@@ -73,7 +73,6 @@ public: ...@@ -73,7 +73,6 @@ public:
virtual void SetModified( bool ); virtual void SetModified( bool );
virtual SbxDataType GetType() const; virtual SbxDataType GetType() const;
virtual SbxClassType GetClass() const;
virtual void Clear() = 0; virtual void Clear() = 0;
......
...@@ -121,7 +121,7 @@ public: ...@@ -121,7 +121,7 @@ public:
bool IsNumericRTL() const; // #41692 Interface for Basic bool IsNumericRTL() const; // #41692 Interface for Basic
bool ImpIsNumeric( bool bOnlyIntntl ) const; // Implementation bool ImpIsNumeric( bool bOnlyIntntl ) const; // Implementation
virtual SbxClassType GetClass() const override; virtual SbxClassType GetClass() const;
virtual SbxDataType GetType() const override; virtual SbxDataType GetType() const override;
SbxDataType GetFullType() const { return aData.eType;} SbxDataType GetFullType() const { return aData.eType;}
bool SetType( SbxDataType ); bool SetType( SbxDataType );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment