loplugin:virtualdown in sfx2

Change-Id: I51e79a4a3d2c799e69bc13c66b5b84056bee6206
Reviewed-on: https://gerrit.libreoffice.org/52034
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2018-03-29 08:37:19 +02:00
parent 57871f98d3
commit 47ccda36fc
9 changed files with 9 additions and 27 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ private:
static unsigned nShellCount;
private:
virtual void AdjustPosSizePixel( const Point &rPos, const Size &rSize ) override;
void AdjustPosSizePixel( const Point &rPos, const Size &rSize );
virtual void OuterResizePixel( const Point &rPos, const Size &rSize ) override;
sal_uInt16 InsertWindowInTable (BaseWindow* pNewWin);
virtual bool PrepareClose( bool bUI = true ) override;
-5
View File
@@ -332,11 +332,6 @@ public:
const css::uno::Reference< css::embed::XStorage >& xStorage );
virtual void UpdateLinks();
virtual bool LoadExternal( SfxMedium& rMedium );
/**
* Called when the Options dialog is dismissed with the OK button, to
* handle potentially conflicting option settings.
*/
virtual void CheckConfigOptions();
bool IsConfigOptionsChecked() const;
void SetConfigOptionsChecked( bool bChecked );
-1
View File
@@ -235,7 +235,6 @@ public:
vcl::Window* GetWindow() const { return pWindow; }
weld::Window* GetFrameWeld() const;
void SetWindow( vcl::Window *pViewPort );
virtual void AdjustPosSizePixel( const Point &rOfs, const Size &rSize );
const SvBorder& GetBorderPixel() const;
void SetBorderPixel( const SvBorder &rBorder );
void InvalidateBorder();
+5 -1
View File
@@ -295,7 +295,11 @@ public:
void ReloadTabLinks();
void SetFormulaOptions( const ScFormulaOptions& rOpt, bool bForLoading = false );
virtual void CheckConfigOptions() override;
/**
* Called when the Options dialog is dismissed with the OK button, to
* handle potentially conflicting option settings.
*/
virtual void CheckConfigOptions();
void PostEditView( ScEditEngineDefaulter* pEditEngine, const ScAddress& rCursorPos );
+1 -1
View File
@@ -62,7 +62,7 @@ private:
protected:
virtual void Activate(bool bMDI) override;
virtual void AdjustPosSizePixel( const Point &rPos, const Size &rSize ) override;
virtual void AdjustPosSizePixel( const Point &rPos, const Size &rSize );
virtual void InnerResizePixel( const Point &rOfs, const Size &rSize, bool inplaceEditModeChange ) override;
virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ) override;
+1 -1
View File
@@ -190,7 +190,7 @@ protected:
virtual void Move() override; // notification
virtual void AdjustPosSizePixel( const Point &rPos, const Size &rSize ) override; // old
virtual void AdjustPosSizePixel( const Point &rPos, const Size &rSize ); // old
virtual void InnerResizePixel( const Point &rOfs, const Size &rSize, bool inplaceEditModeChange ) override; // new
virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ) override;
-6
View File
@@ -3521,12 +3521,6 @@ bool SfxObjectShell::InsertGeneratedStream(SfxMedium&,
return false;
}
void SfxObjectShell::CheckConfigOptions()
{
// not handled. Each app's shell needs to overwrite this method to add handler.
SetConfigOptionsChecked(true);
}
bool SfxObjectShell::IsConfigOptionsChecked() const
{
return pImpl->m_bConfigOptionsChecked;
-10
View File
@@ -858,16 +858,6 @@ void SfxViewShell::Deactivate(bool /*bMDI*/)
}
void SfxViewShell::AdjustPosSizePixel
(
const Point& /*rToolOffset*/,// Upper left corner Tools in Frame-Window
const Size& /*rSize*/ // All available sizes.
)
{
}
void SfxViewShell::Move()
/* [Description]
+1 -1
View File
@@ -255,7 +255,7 @@ protected:
const SfxItemSet &rOptions) override;
virtual void Deactivate(bool IsMDIActivate) override;
virtual void Activate(bool IsMDIActivate) override;
virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize) override;
virtual void AdjustPosSizePixel(const Point &rPos, const Size &rSize);
virtual void InnerResizePixel(const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) override;
virtual void OuterResizePixel(const Point &rOfs, const Size &rSize) override;
virtual void QueryObjAreaPixel( tools::Rectangle& rRect ) const override;