diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-24 09:51:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-24 10:31:17 +0200 |
commit | 72ddf425c2f565e446cc6d0b2b7f48a87fdfe611 (patch) | |
tree | cd22f9373b752f430fc34ea8a90f11a7c92c3efe /basctl | |
parent | 09d5b31ebe187a4cd9f3efca5a7cb7f87e1e19f6 (diff) |
loplugin:constantfunction: basctl
Change-Id: I675b6cee53a9cef240dd798b13515141e194828f
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2.cxx | 6 | ||||
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 1 | ||||
-rw-r--r-- | basctl/source/basicide/baside3.cxx | 4 | ||||
-rw-r--r-- | basctl/source/basicide/basides2.cxx | 2 | ||||
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 5 | ||||
-rw-r--r-- | basctl/source/inc/dlged.hxx | 1 |
6 files changed, 2 insertions, 17 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index 81d0f34efe81..5253ea982794 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -1212,12 +1212,6 @@ OUString ModulWindow::GetTitle() return GetSbModuleName(); } -void ModulWindow::FrameWindowMoved() -{ -} - - - void ModulWindow::ShowCursor( bool bOn ) { if ( GetEditEngine() ) diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index 08174c751368..595db9ebc8c6 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -381,7 +381,6 @@ public: virtual bool IsModified () SAL_OVERRIDE; virtual bool IsPasteAllowed () SAL_OVERRIDE; - void FrameWindowMoved(); void ShowCursor( bool bOn ); virtual sal_uInt16 GetSearchOptions() SAL_OVERRIDE; diff --git a/basctl/source/basicide/baside3.cxx b/basctl/source/basicide/baside3.cxx index a04d198178ab..34242c38b3a7 100644 --- a/basctl/source/basicide/baside3.cxx +++ b/basctl/source/basicide/baside3.cxx @@ -1339,9 +1339,9 @@ void DialogWindow::Deactivating() DisableBrowser(); } -sal_Int32 DialogWindow::countPages( Printer* pPrinter ) +sal_Int32 DialogWindow::countPages( Printer* ) { - return pEditor->countPages( pPrinter ); + return 1; } void DialogWindow::printPage( sal_Int32 nPage, Printer* pPrinter ) diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx index e69c2234e2cb..874f797f46f3 100644 --- a/basctl/source/basicide/basides2.cxx +++ b/basctl/source/basicide/basides2.cxx @@ -216,8 +216,6 @@ ModulWindow* Shell::FindBasWin ( void Shell::Move() { - if (ModulWindow* pMCurWin = dynamic_cast<ModulWindow*>(pCurWin)) - pMCurWin->FrameWindowMoved(); } void Shell::ShowCursor( bool bOn ) diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index 62109c3cc310..105b9b54c649 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -1145,11 +1145,6 @@ void lcl_PrintHeader( Printer* pPrinter, const OUString& rTitle ) // not working } -sal_Int32 DlgEditor::countPages( Printer* ) -{ - return 1; -} - void DlgEditor::printPage( sal_Int32 nPage, Printer* pPrinter, const OUString& rTitle ) { if( nPage == 0 ) diff --git a/basctl/source/inc/dlged.hxx b/basctl/source/inc/dlged.hxx index fda829d086eb..6371ac67b72f 100644 --- a/basctl/source/inc/dlged.hxx +++ b/basctl/source/inc/dlged.hxx @@ -202,7 +202,6 @@ public: void ShowProperties(); void UpdatePropertyBrowserDelayed(); - sal_Int32 countPages( Printer* pPrinter ); void printPage( sal_Int32 nPage, Printer* pPrinter, const OUString& ); bool AdjustPageSize(); |