diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-01 17:04:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:07:32 +0200 |
commit | 49baf95bc061f917b9c56612ddc77fe4de990095 (patch) | |
tree | d6302677040ad9b40a5391a76a3b4a4f92a330f3 | |
parent | d2178a12ad28d0ca33c60a76daa80deaa7db1881 (diff) |
SwInsertChart's parameters are unused
...ever since the function's introduction in
28c9973206e2a97b36bb8343e452d7fda8b0bd5d "INTEGRATION: CWS chart2mst3"
Change-Id: I090c8eb5451d29f9f3e04242e7ba27b914f7b3de
-rw-r--r-- | sw/source/uibase/inc/chartins.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/textsh.cxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/table/chartins.cxx | 4 |
3 files changed, 3 insertions, 6 deletions
diff --git a/sw/source/uibase/inc/chartins.hxx b/sw/source/uibase/inc/chartins.hxx index bb1c6d860e23..ef79107c2ff3 100644 --- a/sw/source/uibase/inc/chartins.hxx +++ b/sw/source/uibase/inc/chartins.hxx @@ -20,7 +20,7 @@ #define INCLUDED_SW_SOURCE_UIBASE_INC_CHARTINS_HXX Point SwGetChartDialogPos( const vcl::Window *pParentWin, const Size& rDialogSize, const tools::Rectangle& rLogicChart ); -void SwInsertChart( vcl::Window *pParent, SfxBindings *pBindings ); +void SwInsertChart(); #endif // INCLUDED_SW_SOURCE_UIBASE_INC_CHARTINS_HXX diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx index 87bfca3b4d05..2fb8186ac545 100644 --- a/sw/source/uibase/shells/textsh.cxx +++ b/sw/source/uibase/shells/textsh.cxx @@ -324,8 +324,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq) break; if(!rReq.IsAPI()) { - SfxViewFrame* pVFrame = GetView().GetViewFrame(); - SwInsertChart( &GetView().GetEditWin(), &pVFrame->GetBindings() ); + SwInsertChart(); } else { diff --git a/sw/source/uibase/table/chartins.cxx b/sw/source/uibase/table/chartins.cxx index 5717b6c2981b..435452b889d8 100644 --- a/sw/source/uibase/table/chartins.cxx +++ b/sw/source/uibase/table/chartins.cxx @@ -127,10 +127,8 @@ Point SwGetChartDialogPos( const vcl::Window *pParentWin, const Size& rDialogSiz return aRet; } -void SwInsertChart(vcl::Window* pParent, SfxBindings* pBindings ) +void SwInsertChart() { - (void) pParent; - (void) pBindings; SwView *pView = ::GetActiveView(); // get range string of marked data |