diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 09:26:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-12-21 09:30:20 +0000 |
commit | c1c3ef64bca25183979f666aef51ab2854d628d8 (patch) | |
tree | 03a9e9518dcb9bb80833e79400b98dcbc80bfad3 /sd | |
parent | 725f7d0171985ff858af2436c553b4906bd060f6 (diff) |
callcatcher: remove some unused code
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/futext.cxx | 17 | ||||
-rw-r--r-- | sd/source/ui/inc/futext.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsSlotManager.cxx | 22 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/view/SlsLayouter.cxx | 16 |
6 files changed, 0 insertions, 64 deletions
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx index 4286ff690b6d..7e9d54ec35b0 100644 --- a/sd/source/ui/func/futext.cxx +++ b/sd/source/ui/func/futext.cxx @@ -1366,23 +1366,6 @@ void FuText::ReceiveRequest(SfxRequest& rReq) } } - - -/************************************************************************* -|* -|* SpellChecker: Error-LinkHdl -|* -\************************************************************************/ - -IMPL_LINK( FuText, SpellError, void *, nLang ) -{ - String aError( SvtLanguageTable::GetLanguageString( (LanguageType)(sal_uLong)nLang ) ); - ErrorHandler::HandleError(* new StringErrorInfo( - ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS, aError) ); - return 0; -} - - void FuText::DoubleClick(const MouseEvent& ) { // Nothing to do diff --git a/sd/source/ui/inc/futext.hxx b/sd/source/ui/inc/futext.hxx index bcffd4fa12d8..290a43ebff80 100644 --- a/sd/source/ui/inc/futext.hxx +++ b/sd/source/ui/inc/futext.hxx @@ -72,8 +72,6 @@ public: sal_Bool DeleteDefaultText(); SdrTextObj* GetTextObj() { return static_cast< SdrTextObj* >( mxTextObj.get() ); } - DECL_LINK(SpellError, void* ); - virtual SdrObject* CreateDefaultObject(const sal_uInt16 nID, const Rectangle& rRectangle); /** is called when the currenct function should be aborted. <p> diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx index 57a620871708..fc5eec6eb80b 100644 --- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx +++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx @@ -1159,28 +1159,6 @@ void SlotManager::DuplicateSelectedSlides (SfxRequest& rRequest) _1)); } -IMPL_LINK(SlotManager, UserEventCallback, void*, EMPTYARG) -{ - if ( ! maCommandQueue.empty()) - { - Command* pCommand = maCommandQueue.front(); - maCommandQueue.pop(); - - if (pCommand != NULL) - { - // The queue ownes the command that has just been removed from - // it. Therefore it is deleted after it has been executed. - (*pCommand)(); - delete pCommand; - } - } - - return 1; -} - - - - void SlotManager::ChangeSlideExclusionState ( const model::SharedPageDescriptor& rpDescriptor, const bool bExcludeSlide) diff --git a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx index 5e5ad8a72178..c5bdcb51675d 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsSlotManager.hxx @@ -114,8 +114,6 @@ private: This can be the current selection or the insertion indicator. */ sal_Int32 GetInsertionPosition (void); - - DECL_LINK(UserEventCallback, void*); }; } } } // end of namespace ::sd::slidesorter::controller diff --git a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx index 342c3d5f23c9..48898f8fc606 100644 --- a/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx +++ b/sd/source/ui/slidesorter/inc/view/SlsLayouter.hxx @@ -119,11 +119,6 @@ public: const Size& rPreviewModelSize, const sal_uInt32 nPageCount); - /** Change the zoom factor. This does not change the general layout - (number of columns). - */ - void _SetZoom (Fraction nZoomFactor); - /** Return the number of columns. */ sal_Int32 GetColumnCount (void) const; diff --git a/sd/source/ui/slidesorter/view/SlsLayouter.cxx b/sd/source/ui/slidesorter/view/SlsLayouter.cxx index e2c9c9767767..274009f2c276 100644 --- a/sd/source/ui/slidesorter/view/SlsLayouter.cxx +++ b/sd/source/ui/slidesorter/view/SlsLayouter.cxx @@ -372,22 +372,6 @@ bool Layouter::Rearrange ( return mpImplementation->Rearrange(rWindowSize, rPageSize, nPageCount); } - - - -void Layouter::_SetZoom (Fraction nZoomFactor) -{ - OSL_ASSERT(mpWindow); - - MapMode aMapMode (mpWindow->GetMapMode()); - aMapMode.SetScaleX (nZoomFactor); - aMapMode.SetScaleY (nZoomFactor); - mpWindow->SetMapMode (aMapMode); -} - - - - sal_Int32 Layouter::GetColumnCount (void) const { return mpImplementation->mnColumnCount; |