summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-20 09:56:07 +0200
committerNoel Grandin <noel@peralex.com>2015-03-23 09:42:23 +0200
commita46096884f5ab09d221694d40517628d85d25fc9 (patch)
treed9acdee8e1540ee2152c8a106f68a844fcae661f /sd
parent0339e648a8d4d78f8271af07965876fae81d1570 (diff)
loplugin:constantfunction: sd
Change-Id: I4313ecd06a4a55685d55830aa5cc15321848652e
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/eppt/epptbase.hxx2
-rw-r--r--sd/source/filter/eppt/epptooxml.hxx2
-rw-r--r--sd/source/filter/eppt/epptso.cxx2
-rw-r--r--sd/source/filter/eppt/pptx-stylesheet.cxx5
-rw-r--r--sd/source/ui/annotations/annotationwindow.cxx5
-rw-r--r--sd/source/ui/annotations/annotationwindow.hxx2
-rw-r--r--sd/source/ui/app/optsitem.cxx4
-rw-r--r--sd/source/ui/app/sdmod2.cxx8
-rw-r--r--sd/source/ui/dlg/RemoteDialogClientBox.cxx9
-rw-r--r--sd/source/ui/func/fupoor.cxx4
-rw-r--r--sd/source/ui/inc/OutlineView.hxx1
-rw-r--r--sd/source/ui/inc/fupoor.hxx1
-rw-r--r--sd/source/ui/inc/optsitem.hxx2
-rw-r--r--sd/source/ui/slideshow/showwin.cxx7
-rw-r--r--sd/source/ui/slideshow/showwindow.hxx1
-rw-r--r--sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx2
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx4
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx2
-rw-r--r--sd/source/ui/slidesorter/controller/SlideSorterController.cxx6
-rw-r--r--sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx4
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx1
-rw-r--r--sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx4
-rw-r--r--sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx1
-rw-r--r--sd/source/ui/slidesorter/model/SlideSorterModel.cxx4
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx2
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx4
-rw-r--r--sd/source/ui/view/drviews5.cxx9
-rw-r--r--sd/source/ui/view/outlnvsh.cxx8
-rw-r--r--sd/source/ui/view/outlview.cxx16
29 files changed, 7 insertions, 115 deletions
diff --git a/sd/source/filter/eppt/epptbase.hxx b/sd/source/filter/eppt/epptbase.hxx
index c3554cdebd61..b012245b4132 100644
--- a/sd/source/filter/eppt/epptbase.hxx
+++ b/sd/source/filter/eppt/epptbase.hxx
@@ -320,7 +320,7 @@ class PPTExStyleSheet
FontCollection& rFontCollection, int nInstance, int nLevel );
bool IsHardAttribute( sal_uInt32 nInstance, sal_uInt32 nLevel, PPTExTextAttr eAttr, sal_uInt32 nValue );
- sal_uInt32 SizeOfTxCFStyleAtom() const;
+ static sal_uInt32 SizeOfTxCFStyleAtom() { return 24; }
void WriteTxCFStyleAtom( SvStream& rSt );
};
diff --git a/sd/source/filter/eppt/epptooxml.hxx b/sd/source/filter/eppt/epptooxml.hxx
index f470066c76a5..2b20f9173bb4 100644
--- a/sd/source/filter/eppt/epptooxml.hxx
+++ b/sd/source/filter/eppt/epptooxml.hxx
@@ -74,7 +74,7 @@ public:
virtual bool exportDocument() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// only needed for import, leave them empty, refactor later XmlFilterBase to export and import base?
- sal_Int32 getSchemeClr( sal_Int32 /* nColorSchemeToken */ ) const { return 0; }
+ static sal_Int32 getSchemeClr( sal_Int32 /* nColorSchemeToken */ ) { return 0; }
virtual oox::vml::Drawing* getVmlDrawing() SAL_OVERRIDE { return NULL; }
virtual const oox::drawingml::Theme* getCurrentTheme() const SAL_OVERRIDE { return NULL; }
virtual const oox::drawingml::table::TableStyleListPtr getTableStyles() SAL_OVERRIDE { return oox::drawingml::table::TableStyleListPtr(); }
diff --git a/sd/source/filter/eppt/epptso.cxx b/sd/source/filter/eppt/epptso.cxx
index f4fae7749cbe..4042b5b32761 100644
--- a/sd/source/filter/eppt/epptso.cxx
+++ b/sd/source/filter/eppt/epptso.cxx
@@ -426,7 +426,7 @@ bool PPTWriter::ImplCloseDocument()
+ 20 // SrKinsoku container
+ 18 // 1 TxSiStyleAtom
+ aTxMasterStyleAtomStrm.Tell() // 1 TxMasterStyleAtom;
- + mpStyleSheet->SizeOfTxCFStyleAtom();
+ + PPTExStyleSheet::SizeOfTxCFStyleAtom();
sal_uInt32 nBytesToInsert = nEnvironment + 8;
diff --git a/sd/source/filter/eppt/pptx-stylesheet.cxx b/sd/source/filter/eppt/pptx-stylesheet.cxx
index b30f1f6636aa..6dd1305bb4c1 100644
--- a/sd/source/filter/eppt/pptx-stylesheet.cxx
+++ b/sd/source/filter/eppt/pptx-stylesheet.cxx
@@ -464,11 +464,6 @@ bool PPTExStyleSheet::IsHardAttribute( sal_uInt32 nInstance, sal_uInt32 nLevel,
return true;
}
-sal_uInt32 PPTExStyleSheet::SizeOfTxCFStyleAtom() const
-{
- return 24;
-}
-
// the TxCFStyleAtom stores the text properties that are used
// when creating new objects in PowerPoint.
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx
index e132cef20764..eeae073f6766 100644
--- a/sd/source/ui/annotations/annotationwindow.cxx
+++ b/sd/source/ui/annotations/annotationwindow.cxx
@@ -505,11 +505,6 @@ IMPL_LINK_NOARG(AnnotationWindow, ModifyHdl)
return 0;
}
-sal_Int32 AnnotationWindow::GetScrollbarWidth()
-{
- return 16;
-}
-
SvxLanguageItem AnnotationWindow::GetLanguage(void)
{
return SvxLanguageItem( Doc()->GetLanguage( EE_CHAR_LANGUAGE ), SID_ATTR_LANGUAGE );
diff --git a/sd/source/ui/annotations/annotationwindow.hxx b/sd/source/ui/annotations/annotationwindow.hxx
index c0e289d1ecfa..ed2c13ee39d6 100644
--- a/sd/source/ui/annotations/annotationwindow.hxx
+++ b/sd/source/ui/annotations/annotationwindow.hxx
@@ -136,7 +136,7 @@ class AnnotationWindow : public FloatingWindow
void SetLanguage(const SvxLanguageItem &aNewItem);
- sal_Int32 GetScrollbarWidth();
+ static sal_Int32 GetScrollbarWidth() { return 16; }
void ToggleInsMode();
diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx
index bb89daf2ac8c..95b303a11ed6 100644
--- a/sd/source/ui/app/optsitem.cxx
+++ b/sd/source/ui/app/optsitem.cxx
@@ -400,10 +400,6 @@ bool SdOptionsContentsItem::operator==( const SfxPoolItem& rAttr ) const
return bSameType && ( maOptionsContents == static_cast<const SdOptionsContentsItem&>( rAttr ).maOptionsContents );
}
-void SdOptionsContentsItem::SetOptions(SdOptions*) const
-{
-}
-
/*************************************************************************
|*
|* SdOptionsMisc
diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx
index d308ee8ec82f..9ca9b60eccd5 100644
--- a/sd/source/ui/app/sdmod2.cxx
+++ b/sd/source/ui/app/sdmod2.cxx
@@ -602,14 +602,6 @@ void SdModule::ApplyItemSet( sal_uInt16 nSlot, const SfxItemSet& rSet )
}
}
- // Contents
- const SdOptionsContentsItem* pContentsItem = NULL;
- if( SfxItemState::SET == rSet.GetItemState( ATTR_OPTIONS_CONTENTS,
- false, reinterpret_cast<const SfxPoolItem**>(&pContentsItem) ))
- {
- pContentsItem->SetOptions( pOptions );
- }
-
// Misc
const SdOptionsMiscItem* pMiscItem = NULL;
if( SfxItemState::SET == rSet.GetItemState( ATTR_OPTIONS_MISC,
diff --git a/sd/source/ui/dlg/RemoteDialogClientBox.cxx b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
index 614a2b18e730..c3f4ebafb86b 100644
--- a/sd/source/ui/dlg/RemoteDialogClientBox.cxx
+++ b/sd/source/ui/dlg/RemoteDialogClientBox.cxx
@@ -431,11 +431,6 @@ void ClientBox::RecalcAll()
m_bNeedsRecalc = false;
}
-bool ClientBox::HandleTabKey( bool )
-{
- return false;
-}
-
bool ClientBox::HandleCursorKey( sal_uInt16 nKeyCode )
{
if ( m_vEntries.empty() )
@@ -601,9 +596,7 @@ bool ClientBox::Notify( NotifyEvent& rNEvt )
vcl::KeyCode aKeyCode = pKEvt->GetKeyCode();
sal_uInt16 nKeyCode = aKeyCode.GetCode();
- if ( nKeyCode == KEY_TAB )
- bHandled = HandleTabKey( aKeyCode.IsShift() );
- else if ( aKeyCode.GetGroup() == KEYGROUP_CURSOR )
+ if ( aKeyCode.GetGroup() == KEYGROUP_CURSOR )
bHandled = HandleCursorKey( nKeyCode );
}
diff --git a/sd/source/ui/func/fupoor.cxx b/sd/source/ui/func/fupoor.cxx
index a76b7031e841..f1db1952db29 100644
--- a/sd/source/ui/func/fupoor.cxx
+++ b/sd/source/ui/func/fupoor.cxx
@@ -1038,10 +1038,6 @@ bool FuPoor::RequestHelp(const HelpEvent& rHEvt)
return bReturn;
}
-void FuPoor::Paint(const Rectangle&, ::sd::Window* )
-{
-}
-
void FuPoor::ReceiveRequest(SfxRequest& rReq)
{
const SfxItemSet* pSet = rReq.GetArgs();
diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx
index 516d2dac3378..d97042f521a5 100644
--- a/sd/source/ui/inc/OutlineView.hxx
+++ b/sd/source/ui/inc/OutlineView.hxx
@@ -145,7 +145,6 @@ public:
cursor position.
*/
void IgnoreCurrentPageChanges (bool bIgnore);
- void InvalidateSlideNumberArea();
/** creates and inserts an empty slide for the given paragraph. */
SdPage* InsertSlideForParagraph( Paragraph* pPara );
diff --git a/sd/source/ui/inc/fupoor.hxx b/sd/source/ui/inc/fupoor.hxx
index e784c91f8a8c..7e7a0c6d4511 100644
--- a/sd/source/ui/inc/fupoor.hxx
+++ b/sd/source/ui/inc/fupoor.hxx
@@ -75,7 +75,6 @@ public:
virtual bool Command(const CommandEvent& rCEvt);
virtual bool RequestHelp(const HelpEvent& rHEvt);
- void Paint(const Rectangle&, ::sd::Window* );
virtual void ReceiveRequest(SfxRequest& rReq);
virtual void Activate(); ///< activates the function
diff --git a/sd/source/ui/inc/optsitem.hxx b/sd/source/ui/inc/optsitem.hxx
index 86e4637e63b7..f2bb07312507 100644
--- a/sd/source/ui/inc/optsitem.hxx
+++ b/sd/source/ui/inc/optsitem.hxx
@@ -196,8 +196,6 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
- void SetOptions( SdOptions* pOpts ) const;
-
SdOptionsContents& GetOptionsContents() { return maOptionsContents; }
private:
SdOptionsContents maOptionsContents;
diff --git a/sd/source/ui/slideshow/showwin.cxx b/sd/source/ui/slideshow/showwin.cxx
index a750a07c9a53..db00687631e4 100644
--- a/sd/source/ui/slideshow/showwin.cxx
+++ b/sd/source/ui/slideshow/showwin.cxx
@@ -270,7 +270,7 @@ void ShowWindow::Paint(const Rectangle& rRect)
}
else if( SHOWWINDOWMODE_BLANK == meShowWindowMode )
{
- DrawBlankScene();
+ // just blank through background color => nothing to be done here
}
}
}
@@ -550,11 +550,6 @@ void ShowWindow::DrawEndScene()
SetFont( aOldFont );
}
-void ShowWindow::DrawBlankScene()
-{
- // just blank through background color => nothing to be done here
-}
-
IMPL_LINK( ShowWindow, PauseTimeoutHdl, Timer*, pTimer )
{
if( !( --mnPauseTimeout ) )
diff --git a/sd/source/ui/slideshow/showwindow.hxx b/sd/source/ui/slideshow/showwindow.hxx
index 4cd0315386e7..b55876a0fc36 100644
--- a/sd/source/ui/slideshow/showwindow.hxx
+++ b/sd/source/ui/slideshow/showwindow.hxx
@@ -88,7 +88,6 @@ public:
private:
void DrawPauseScene( bool bTimeoutOnly );
void DrawEndScene();
- void DrawBlankScene();
void DeleteWindowFromPaintView();
void AddWindowToPaintView();
diff --git a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx
index cd07fe46990c..eae56decc898 100644
--- a/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx
@@ -52,8 +52,6 @@ GenericPageCache::~GenericPageCache (void)
if (mpQueueProcessor.get() != NULL)
mpQueueProcessor->Stop();
maRequestQueue.Clear();
- if (mpQueueProcessor.get() != NULL)
- mpQueueProcessor->Terminate();
mpQueueProcessor.reset();
if (mpBitmapCache.get() != NULL)
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
index dcbdff7f6e3b..0391a785c003 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
@@ -98,10 +98,6 @@ void QueueProcessor::Resume (void)
Start(mrQueue.GetFrontPriorityClass());
}
-void QueueProcessor::Terminate (void)
-{
-}
-
void QueueProcessor::SetPreviewSize (
const Size& rPreviewSize,
const bool bDoSuperSampling)
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx
index df65ffaff5c8..2044fdbf2056 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx
@@ -74,8 +74,6 @@ public:
void Pause (void);
void Resume (void);
- void Terminate (void);
-
void SetPreviewSize (
const Size& rSize,
const bool bDoSuperSampling);
diff --git a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
index 0a78e7e84f0c..ad76ae766faf 100644
--- a/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
+++ b/sd/source/ui/slidesorter/controller/SlideSorterController.cxx
@@ -146,8 +146,6 @@ void SlideSorterController::Init (void)
mpSelectionManager.reset(new SelectionManager(mrSlideSorter));
mpClipboard.reset(new Clipboard(mrSlideSorter));
- mpScrollBarManager->LateInitialization();
-
// Create the selection function.
SfxRequest aRequest (
SID_OBJECT_SELECT,
@@ -682,10 +680,6 @@ void SlideSorterController::GetAttrState (SfxItemSet& rSet)
mpSlotManager->GetAttrState (rSet);
}
-void SlideSorterController::ExecStatusBar (SfxRequest& )
-{
-}
-
void SlideSorterController::UpdateAllPages (void)
{
// Do a redraw.
diff --git a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
index d82a0e004bd7..971c7e75aebb 100644
--- a/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsScrollBarManager.cxx
@@ -70,10 +70,6 @@ ScrollBarManager::~ScrollBarManager (void)
{
}
-void ScrollBarManager::LateInitialization (void)
-{
-}
-
void ScrollBarManager::Connect (void)
{
if (mpVerticalScrollBar != 0)
diff --git a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
index eb7f2916747b..f9ff6ca44e54 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlideSorterController.hxx
@@ -136,7 +136,6 @@ public:
void ExecCtrl (SfxRequest& rRequest);
void GetAttrState (SfxItemSet& rSet);
- void ExecStatusBar (SfxRequest& rRequest);
bool IsLocked (void) const;
diff --git a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
index 5e70abfdfeba..594a415d3784 100644
--- a/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
+++ b/sd/source/ui/slidesorter/inc/controller/SlsScrollBarManager.hxx
@@ -69,10 +69,6 @@ public:
~ScrollBarManager (void);
- /** Call this method after constructing a new object of this class.
- */
- void LateInitialization (void);
-
/** Register listeners at the scroll bars. This method is called after
startup of a new slide sorter object or after a reactivation of a
slide sorter that for example is taken from a cache.
diff --git a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
index bdf3a05b75f3..c5a2e73392d5 100644
--- a/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
+++ b/sd/source/ui/slidesorter/inc/model/SlideSorterModel.hxx
@@ -54,7 +54,6 @@ class SlideSorterModel
{
public:
SlideSorterModel (SlideSorter& rSlideSorter);
- void Init (void);
virtual ~SlideSorterModel (void);
void Dispose (void);
diff --git a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
index f7b770332ea2..8d0c14be2c43 100644
--- a/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
+++ b/sd/source/ui/slidesorter/model/SlideSorterModel.cxx
@@ -115,10 +115,6 @@ SlideSorterModel::~SlideSorterModel (void)
ClearDescriptorList ();
}
-void SlideSorterModel::Init (void)
-{
-}
-
void SlideSorterModel::Dispose (void)
{
ClearDescriptorList ();
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index 37b9c1008651..9790dbc33b18 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -259,7 +259,6 @@ void SlideSorter::Paint (const Rectangle& rRepaintArea)
void SlideSorter::SetupControls (::vcl::Window* )
{
GetVerticalScrollBar()->Show();
- mpSlideSorterController->GetScrollBarManager().LateInitialization();
}
void SlideSorter::SetupListeners (void)
@@ -330,7 +329,6 @@ void SlideSorter::CreateModelViewController (void)
// Now that model, view, and controller are constructed, do the
// initialization that relies on all three being in place.
- mpSlideSorterModel->Init();
mpSlideSorterController->Init();
mpSlideSorterView->Init();
}
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
index f16260c809b3..8f74250d4c48 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterViewShell.cxx
@@ -439,10 +439,8 @@ void SlideSorterViewShell::GetAttrState (SfxItemSet& rSet)
mpSlideSorter->GetController().GetAttrState(rSet);
}
-void SlideSorterViewShell::ExecStatusBar (SfxRequest& rRequest)
+void SlideSorterViewShell::ExecStatusBar (SfxRequest& )
{
- OSL_ASSERT(mpSlideSorter.get()!=NULL);
- mpSlideSorter->GetController().ExecStatusBar(rRequest);
}
void SlideSorterViewShell::Paint (
diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx
index ec85b5df4cfc..8d9b045e55ca 100644
--- a/sd/source/ui/view/drviews5.cxx
+++ b/sd/source/ui/view/drviews5.cxx
@@ -426,15 +426,6 @@ void DrawViewShell::Paint(const Rectangle& rRect, ::sd::Window* pWin)
GetDoc()->GetDrawOutliner( NULL ).SetDefaultLanguage( Application::GetSettings().GetLanguageTag().getLanguageType() );
mpDrawView->CompleteRedraw( pWin, vcl::Region( rRect ) );
-
- if( pWin )
- {
- if( GetDocSh()->GetDocShellFunction().is() )
- GetDocSh()->GetDocShellFunction()->Paint( rRect, pWin );
-
- if( HasCurrentFunction() )
- GetCurrentFunction()->Paint( rRect, pWin );
- }
}
/**
diff --git a/sd/source/ui/view/outlnvsh.cxx b/sd/source/ui/view/outlnvsh.cxx
index 2aed1877775f..ccf68155f469 100644
--- a/sd/source/ui/view/outlnvsh.cxx
+++ b/sd/source/ui/view/outlnvsh.cxx
@@ -248,11 +248,6 @@ void OutlineViewShell::Paint(const Rectangle& rRect, ::sd::Window* pWin)
{
pOlView->Paint(rRect, pWin);
}
-
- if(HasCurrentFunction())
- {
- GetCurrentFunction()->Paint(rRect, pWin);
- }
}
void OutlineViewShell::ArrangeGUIElements ()
@@ -1098,7 +1093,6 @@ long OutlineViewShell::VirtHScrollHdl(ScrollBar* pHScroll)
pOutlinerView->Scroll(-nDelta, 0);
pOutlinerView->ShowCursor(false);
- pOlView->InvalidateSlideNumberArea();
return 0;
}
@@ -1122,8 +1116,6 @@ long OutlineViewShell::VirtVScrollHdl(ScrollBar* pVScroll)
pOutlinerView->Scroll(0, -nDelta);
pOutlinerView->ShowCursor(false);
- pOlView->InvalidateSlideNumberArea();
-
return 0;
}
diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx
index a8bfe471a659..c1bd6fc6dc5a 100644
--- a/sd/source/ui/view/outlview.cxx
+++ b/sd/source/ui/view/outlview.cxx
@@ -236,10 +236,6 @@ void OutlineView::Paint(const Rectangle& rRect, ::sd::Window* pWin)
}
}
-void OutlineView::InvalidateSlideNumberArea()
-{
-}
-
void OutlineView::AddWindowToPaintView(OutputDevice* pWin)
{
bool bAdded = false;
@@ -385,7 +381,6 @@ IMPL_LINK( OutlineView, ParagraphInsertedHdl, ::Outliner *, pOutliner )
if( (nAbsPos == 0) || mrOutliner.HasParaFlag(pPara,ParaFlag::ISPAGE) || mrOutliner.HasParaFlag(mrOutliner.GetParagraph( nAbsPos-1 ), ParaFlag::ISPAGE) )
{
InsertSlideForParagraph( pPara );
- InvalidateSlideNumberArea();
}
}
@@ -561,8 +556,6 @@ IMPL_LINK( OutlineView, ParagraphRemovingHdl, ::Outliner *, pOutliner )
pOutliner->UpdateFields();
}
- InvalidateSlideNumberArea();
-
return 0;
}
@@ -782,8 +775,6 @@ IMPL_LINK( OutlineView, DepthChangedHdl, ::Outliner *, pOutliner )
}
}
- InvalidateSlideNumberArea();
-
return 0;
}
@@ -811,7 +802,6 @@ IMPL_LINK_NOARG(OutlineView, StatusEventHdl)
mrOutlineViewShell.UpdateScrollBars();
}
- InvalidateSlideNumberArea();
return 0;
}
@@ -826,7 +816,6 @@ IMPL_LINK_NOARG(OutlineView, BeginDropHdl)
IMPL_LINK_NOARG(OutlineView, EndDropHdl)
{
maDragAndDropModelGuard.reset(0);
- InvalidateSlideNumberArea();
return 0;
}
@@ -937,8 +926,6 @@ IMPL_LINK( OutlineView, EndMovingHdl, ::Outliner *, pOutliner )
maSelectedParas.clear();
maOldParaOrder.clear();
- InvalidateSlideNumberArea();
-
return 0;
}
@@ -1214,8 +1201,6 @@ IMPL_LINK_NOARG(OutlineView, RemovingPagesHdl)
}
mrOutliner.UpdateFields();
- InvalidateSlideNumberArea();
-
return 1;
}
@@ -1472,7 +1457,6 @@ IMPL_LINK(OutlineView, EventMultiplexerListener, ::sd::tools::EventMultiplexerEv
{
case tools::EventMultiplexerEvent::EID_CURRENT_PAGE:
SetActualPage(mrOutlineViewShell.GetActualPage());
- InvalidateSlideNumberArea();
break;
case tools::EventMultiplexerEvent::EID_PAGE_ORDER: