Kaydet (Commit) 72ddf425 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:constantfunction: basctl

Change-Id: I675b6cee53a9cef240dd798b13515141e194828f
üst 09d5b31e
...@@ -1212,12 +1212,6 @@ OUString ModulWindow::GetTitle() ...@@ -1212,12 +1212,6 @@ OUString ModulWindow::GetTitle()
return GetSbModuleName(); return GetSbModuleName();
} }
void ModulWindow::FrameWindowMoved()
{
}
void ModulWindow::ShowCursor( bool bOn ) void ModulWindow::ShowCursor( bool bOn )
{ {
if ( GetEditEngine() ) if ( GetEditEngine() )
......
...@@ -381,7 +381,6 @@ public: ...@@ -381,7 +381,6 @@ public:
virtual bool IsModified () SAL_OVERRIDE; virtual bool IsModified () SAL_OVERRIDE;
virtual bool IsPasteAllowed () SAL_OVERRIDE; virtual bool IsPasteAllowed () SAL_OVERRIDE;
void FrameWindowMoved();
void ShowCursor( bool bOn ); void ShowCursor( bool bOn );
virtual sal_uInt16 GetSearchOptions() SAL_OVERRIDE; virtual sal_uInt16 GetSearchOptions() SAL_OVERRIDE;
......
...@@ -1339,9 +1339,9 @@ void DialogWindow::Deactivating() ...@@ -1339,9 +1339,9 @@ void DialogWindow::Deactivating()
DisableBrowser(); 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 ) void DialogWindow::printPage( sal_Int32 nPage, Printer* pPrinter )
......
...@@ -216,8 +216,6 @@ ModulWindow* Shell::FindBasWin ( ...@@ -216,8 +216,6 @@ ModulWindow* Shell::FindBasWin (
void Shell::Move() void Shell::Move()
{ {
if (ModulWindow* pMCurWin = dynamic_cast<ModulWindow*>(pCurWin))
pMCurWin->FrameWindowMoved();
} }
void Shell::ShowCursor( bool bOn ) void Shell::ShowCursor( bool bOn )
......
...@@ -1145,11 +1145,6 @@ void lcl_PrintHeader( Printer* pPrinter, const OUString& rTitle ) // not working ...@@ -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 ) void DlgEditor::printPage( sal_Int32 nPage, Printer* pPrinter, const OUString& rTitle )
{ {
if( nPage == 0 ) if( nPage == 0 )
......
...@@ -202,7 +202,6 @@ public: ...@@ -202,7 +202,6 @@ public:
void ShowProperties(); void ShowProperties();
void UpdatePropertyBrowserDelayed(); void UpdatePropertyBrowserDelayed();
sal_Int32 countPages( Printer* pPrinter );
void printPage( sal_Int32 nPage, Printer* pPrinter, const OUString& ); void printPage( sal_Int32 nPage, Printer* pPrinter, const OUString& );
bool AdjustPageSize(); bool AdjustPageSize();
......
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