Kaydet (Commit) 47ccda36 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:virtualdown in sfx2

Change-Id: I51e79a4a3d2c799e69bc13c66b5b84056bee6206
Reviewed-on: https://gerrit.libreoffice.org/52034Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 57871f98
...@@ -104,7 +104,7 @@ private: ...@@ -104,7 +104,7 @@ private:
static unsigned nShellCount; static unsigned nShellCount;
private: 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; virtual void OuterResizePixel( const Point &rPos, const Size &rSize ) override;
sal_uInt16 InsertWindowInTable (BaseWindow* pNewWin); sal_uInt16 InsertWindowInTable (BaseWindow* pNewWin);
virtual bool PrepareClose( bool bUI = true ) override; virtual bool PrepareClose( bool bUI = true ) override;
......
...@@ -332,11 +332,6 @@ public: ...@@ -332,11 +332,6 @@ public:
const css::uno::Reference< css::embed::XStorage >& xStorage ); const css::uno::Reference< css::embed::XStorage >& xStorage );
virtual void UpdateLinks(); virtual void UpdateLinks();
virtual bool LoadExternal( SfxMedium& rMedium ); 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; bool IsConfigOptionsChecked() const;
void SetConfigOptionsChecked( bool bChecked ); void SetConfigOptionsChecked( bool bChecked );
......
...@@ -235,7 +235,6 @@ public: ...@@ -235,7 +235,6 @@ public:
vcl::Window* GetWindow() const { return pWindow; } vcl::Window* GetWindow() const { return pWindow; }
weld::Window* GetFrameWeld() const; weld::Window* GetFrameWeld() const;
void SetWindow( vcl::Window *pViewPort ); void SetWindow( vcl::Window *pViewPort );
virtual void AdjustPosSizePixel( const Point &rOfs, const Size &rSize );
const SvBorder& GetBorderPixel() const; const SvBorder& GetBorderPixel() const;
void SetBorderPixel( const SvBorder &rBorder ); void SetBorderPixel( const SvBorder &rBorder );
void InvalidateBorder(); void InvalidateBorder();
......
...@@ -295,7 +295,11 @@ public: ...@@ -295,7 +295,11 @@ public:
void ReloadTabLinks(); void ReloadTabLinks();
void SetFormulaOptions( const ScFormulaOptions& rOpt, bool bForLoading = false ); 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 ); void PostEditView( ScEditEngineDefaulter* pEditEngine, const ScAddress& rCursorPos );
......
...@@ -62,7 +62,7 @@ private: ...@@ -62,7 +62,7 @@ private:
protected: protected:
virtual void Activate(bool bMDI) override; 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 InnerResizePixel( const Point &rOfs, const Size &rSize, bool inplaceEditModeChange ) override;
virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ) override; virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ) override;
......
...@@ -190,7 +190,7 @@ protected: ...@@ -190,7 +190,7 @@ protected:
virtual void Move() override; // notification 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 InnerResizePixel( const Point &rOfs, const Size &rSize, bool inplaceEditModeChange ) override; // new
virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ) override; virtual void OuterResizePixel( const Point &rOfs, const Size &rSize ) override;
......
...@@ -3521,12 +3521,6 @@ bool SfxObjectShell::InsertGeneratedStream(SfxMedium&, ...@@ -3521,12 +3521,6 @@ bool SfxObjectShell::InsertGeneratedStream(SfxMedium&,
return false; 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 bool SfxObjectShell::IsConfigOptionsChecked() const
{ {
return pImpl->m_bConfigOptionsChecked; return pImpl->m_bConfigOptionsChecked;
......
...@@ -858,16 +858,6 @@ void SfxViewShell::Deactivate(bool /*bMDI*/) ...@@ -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() void SfxViewShell::Move()
/* [Description] /* [Description]
......
...@@ -255,7 +255,7 @@ protected: ...@@ -255,7 +255,7 @@ protected:
const SfxItemSet &rOptions) override; const SfxItemSet &rOptions) override;
virtual void Deactivate(bool IsMDIActivate) override; virtual void Deactivate(bool IsMDIActivate) override;
virtual void Activate(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 InnerResizePixel(const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) override;
virtual void OuterResizePixel(const Point &rOfs, const Size &rSize) override; virtual void OuterResizePixel(const Point &rOfs, const Size &rSize) override;
virtual void QueryObjAreaPixel( tools::Rectangle& rRect ) const override; virtual void QueryObjAreaPixel( tools::Rectangle& rRect ) const override;
......
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