diff options
-rw-r--r-- | sd/source/ui/framework/module/ResourceManager.cxx | 21 | ||||
-rw-r--r-- | sd/source/ui/framework/module/ResourceManager.hxx | 14 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsAnimationFunction.cxx | 21 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx | 20 | ||||
-rw-r--r-- | sd/source/ui/view/ViewShellBase.cxx | 14 | ||||
-rwxr-xr-x | unusedcode.easy | 4 |
6 files changed, 0 insertions, 94 deletions
diff --git a/sd/source/ui/framework/module/ResourceManager.cxx b/sd/source/ui/framework/module/ResourceManager.cxx index 0cf323ca5ede..49a40be984d0 100644 --- a/sd/source/ui/framework/module/ResourceManager.cxx +++ b/sd/source/ui/framework/module/ResourceManager.cxx @@ -125,27 +125,6 @@ void SAL_CALL ResourceManager::disposing (void) } } - - - -void ResourceManager::Enable (void) -{ - mbIsEnabled = true; - UpdateForMainViewShell(); -} - - - - -void ResourceManager::Disable (void) -{ - mbIsEnabled = false; - UpdateForMainViewShell(); -} - - - - void SAL_CALL ResourceManager::notifyConfigurationChange ( const ConfigurationChangeEvent& rEvent) throw (RuntimeException) diff --git a/sd/source/ui/framework/module/ResourceManager.hxx b/sd/source/ui/framework/module/ResourceManager.hxx index cd696619df88..c206877454cf 100644 --- a/sd/source/ui/framework/module/ResourceManager.hxx +++ b/sd/source/ui/framework/module/ResourceManager.hxx @@ -67,20 +67,6 @@ public: virtual void SAL_CALL disposing (void); - /** Allow the ResourceManager to make resource activation or - deactivation requests. - */ - void Enable (void); - - /** Disable the resource management. When called, the ResourceManager - requests the resource to be deactivated. Until enabled again it - does not make any further requests for resource activation or - deactivation. - - Call this for example to hide resources in read-only mode. - */ - void Disable (void); - // XConfigurationChangeListener virtual void SAL_CALL notifyConfigurationChange ( diff --git a/sd/source/ui/slidesorter/controller/SlsAnimationFunction.cxx b/sd/source/ui/slidesorter/controller/SlsAnimationFunction.cxx index c703d64e81fc..eaefe0207b23 100644 --- a/sd/source/ui/slidesorter/controller/SlsAnimationFunction.cxx +++ b/sd/source/ui/slidesorter/controller/SlsAnimationFunction.cxx @@ -36,27 +36,6 @@ namespace sd { namespace slidesorter { namespace controller { - -double AnimationFunction::Linear (const double nTime) -{ - OSL_ASSERT(nTime>=0.0 && nTime<=1.0); - return nTime; -} - - - - -double AnimationFunction::Blend ( - const double nStartValue, - const double nEndValue, - const double nTime) -{ - return nStartValue*(1-nTime) + nEndValue*nTime; -} - - - - //===== AnimationBezierFunction =============================================== AnimationBezierFunction::AnimationBezierFunction ( diff --git a/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx b/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx index 8f119739e898..b94ac65895ba 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx @@ -44,26 +44,6 @@ class SlideSorterView; namespace sd { namespace slidesorter { namespace controller { -/** A collection of functions that are usefull when creating animations. - They are collected here until a better place is found. -*/ -class AnimationFunction - : private ::boost::noncopyable -{ -public: - /** Acceleration function that maps [0,1] to [0,1] linearly, ie it - returns the given time value unaltered. - */ - static double Linear (const double nTime); - - /** Blend two points together according to the given weight. - */ - static double Blend (const double nStartValue, const double nEndValue, const double nWeight); -}; - - - - class AnimationBezierFunction { public: diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index d5d1ded0d196..414dc5d736ab 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -239,25 +239,11 @@ SfxViewShell* ViewShellBase::CreateInstance ( pBase->LateInit(""); return pBase; } -void ViewShellBase::RegisterFactory( sal_uInt16 nPrio ) -{ - pFactory = new SfxViewFactory( &CreateInstance,nPrio,"Default" ); - InitFactory(); -} -void ViewShellBase::InitFactory() -{ - SFX_VIEW_REGISTRATION(DrawDocShell); -} - - SFX_IMPL_INTERFACE(ViewShellBase, SfxViewShell, SdResId(0)) { } - - - ViewShellBase::ViewShellBase ( SfxViewFrame* _pFrame, SfxViewShell*) diff --git a/unusedcode.easy b/unusedcode.easy index c3ee05a3e849..9d9d3a639b8a 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -85,9 +85,5 @@ sd::LeftDrawPaneShell::RegisterInterface(SfxModule*) sd::LeftImpressPaneShell::RegisterInterface(SfxModule*) sd::ToolPanelPaneShell::RegisterInterface(SfxModule*) sd::ViewShellBase::RegisterFactory(unsigned short) -sd::framework::ResourceManager::Disable() -sd::framework::ResourceManager::Enable() -sd::slidesorter::controller::AnimationFunction::Blend(double, double, double) -sd::slidesorter::controller::AnimationFunction::Linear(double) std::__cxx1998::vector<SfxFilter*, std::allocator<SfxFilter*> >::~vector() std::__cxx1998::vector<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::~vector() |