Kaydet (Commit) 00fb6c9d authored tarafından Vicente Rafael Estevez Vacas's avatar Vicente Rafael Estevez Vacas Kaydeden (comit) Caolán McNamara

PATCH: Remove unused code from editing

üst 60cea1f4
...@@ -133,9 +133,6 @@ namespace sdr ...@@ -133,9 +133,6 @@ namespace sdr
// #i38135# // #i38135#
void SetTime(sal_uInt32 nTime); void SetTime(sal_uInt32 nTime);
// reset
void Reset(sal_uInt32 nTime);
// execute all ripe events, removes executed ones from the scheduler // execute all ripe events, removes executed ones from the scheduler
void triggerEvents(); void triggerEvents();
......
...@@ -62,7 +62,6 @@ namespace sdr ...@@ -62,7 +62,6 @@ namespace sdr
return (SdrMediaObj&)GetSdrObject(); return (SdrMediaObj&)GetSdrObject();
} }
bool hasPreferredSize() const;
Size getPreferredSize() const; Size getPreferredSize() const;
void updateMediaItem( ::avmedia::MediaItem& rItem ) const; void updateMediaItem( ::avmedia::MediaItem& rItem ) const;
......
...@@ -64,8 +64,6 @@ namespace sdr { namespace contact { ...@@ -64,8 +64,6 @@ namespace sdr { namespace contact {
public: public:
ViewObjectContactOfUnoControl( ObjectContact& _rObjectContact, ViewContactOfUnoControl& _rViewContact ); ViewObjectContactOfUnoControl( ObjectContact& _rObjectContact, ViewContactOfUnoControl& _rViewContact );
/// determines whether an XControl already exists, and is currently visible
bool isControlVisible() const;
/// returns the ->XControl instance belonging to the instance, creates it if necessary /// returns the ->XControl instance belonging to the instance, creates it if necessary
::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >
......
...@@ -274,13 +274,6 @@ namespace sdr ...@@ -274,13 +274,6 @@ namespace sdr
} }
} }
void Scheduler::Reset(sal_uInt32 nTime)
{
mnTime = nTime;
mnDeltaTime = 0L;
maList.Clear();
}
void Scheduler::InsertEvent(Event* pNew) void Scheduler::InsertEvent(Event* pNew)
{ {
if(pNew) if(pNew)
......
...@@ -58,28 +58,6 @@ ViewObjectContact& ViewContactOfSdrMediaObj::CreateObjectSpecificViewObjectConta ...@@ -58,28 +58,6 @@ ViewObjectContact& ViewContactOfSdrMediaObj::CreateObjectSpecificViewObjectConta
// ------------------------------------------------------------------------------ // ------------------------------------------------------------------------------
bool ViewContactOfSdrMediaObj::hasPreferredSize() const
{
// #i71805# Since we may have a whole bunch of VOCs here, make a loop
// return true if all have their preferred size
const sal_uInt32 nCount(getViewObjectContactCount());
bool bRetval(true);
for(sal_uInt32 a(0); bRetval && a < nCount; a++)
{
ViewObjectContact* pCandidate = getViewObjectContact(a);
if(pCandidate && !static_cast< ViewObjectContactOfSdrMediaObj* >(pCandidate)->hasPreferredSize())
{
bRetval = false;
}
}
return bRetval;
}
// ------------------------------------------------------------------------------
Size ViewContactOfSdrMediaObj::getPreferredSize() const Size ViewContactOfSdrMediaObj::getPreferredSize() const
{ {
// #i71805# Since we may have a whole bunch of VOCs here, make a loop // #i71805# Since we may have a whole bunch of VOCs here, make a loop
......
...@@ -829,11 +829,6 @@ namespace sdr { namespace contact { ...@@ -829,11 +829,6 @@ namespace sdr { namespace contact {
*/ */
bool impl_isDisposed_nofail() const { return m_pAntiImpl == NULL; } bool impl_isDisposed_nofail() const { return m_pAntiImpl == NULL; }
/** determines whether our control is currently visible
@nofail
*/
bool impl_isControlVisible_nofail() const { return m_bControlIsVisible; }
/** determines whether we are currently a listener at the control for desgin-mode relevant facets /** determines whether we are currently a listener at the control for desgin-mode relevant facets
@nofail @nofail
*/ */
......
...@@ -730,9 +730,6 @@ sd::LeftDrawPaneShell::RegisterInterface(SfxModule*) ...@@ -730,9 +730,6 @@ sd::LeftDrawPaneShell::RegisterInterface(SfxModule*)
sd::LeftImpressPaneShell::RegisterInterface(SfxModule*) sd::LeftImpressPaneShell::RegisterInterface(SfxModule*)
sd::ToolPanelPaneShell::RegisterInterface(SfxModule*) sd::ToolPanelPaneShell::RegisterInterface(SfxModule*)
sd::ViewShellBase::RegisterFactory(unsigned short) sd::ViewShellBase::RegisterFactory(unsigned short)
sdr::animation::Scheduler::Reset(unsigned int)
sdr::contact::ViewContactOfSdrMediaObj::hasPreferredSize() const
sdr::contact::ViewObjectContactOfUnoControl::isControlVisible() const
sfx2::TaskPaneWrapper::GetChildWindowId() sfx2::TaskPaneWrapper::GetChildWindowId()
slideshow::internal::DrawShapeSubsetting::reset(slideshow::internal::DocTreeNode const&, boost::shared_ptr<GDIMetaFile> const&) slideshow::internal::DrawShapeSubsetting::reset(slideshow::internal::DocTreeNode const&, boost::shared_ptr<GDIMetaFile> const&)
std::__cxx1998::multimap<_xmlNode*, com::sun::star::uno::Reference<com::sun::star::xml::dom::events::XEventListener>, std::less<_xmlNode*>, std::allocator<std::pair<_xmlNode* const, com::sun::star::uno::Reference<com::sun::star::xml::dom::events::XEventListener> > > >::~multimap() std::__cxx1998::multimap<_xmlNode*, com::sun::star::uno::Reference<com::sun::star::xml::dom::events::XEventListener>, std::less<_xmlNode*>, std::allocator<std::pair<_xmlNode* const, com::sun::star::uno::Reference<com::sun::star::xml::dom::events::XEventListener> > > >::~multimap()
......
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