summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorVicente Rafael Estevez Vacas <rafaestevez@yahoo.es>2012-04-22 11:39:31 +0200
committerCaolán McNamara <caolanm@redhat.com>2012-04-23 23:20:06 +0100
commit00fb6c9d1c0ad01b29fb617dbe74e6ae1ddf04ce (patch)
tree0bf5099fb83df26f475c5275e71ae3793337db9b /svx/source
parent60cea1f49ec6781e541fbd7949c4271d213d3e0d (diff)
PATCH: Remove unused code from editing
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/sdr/animation/scheduler.cxx7
-rw-r--r--svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx22
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx5
3 files changed, 0 insertions, 34 deletions
diff --git a/svx/source/sdr/animation/scheduler.cxx b/svx/source/sdr/animation/scheduler.cxx
index b3c749102e47..a05194c25e21 100644
--- a/svx/source/sdr/animation/scheduler.cxx
+++ b/svx/source/sdr/animation/scheduler.cxx
@@ -274,13 +274,6 @@ namespace sdr
}
}
- void Scheduler::Reset(sal_uInt32 nTime)
- {
- mnTime = nTime;
- mnDeltaTime = 0L;
- maList.Clear();
- }
-
void Scheduler::InsertEvent(Event* pNew)
{
if(pNew)
diff --git a/svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx b/svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx
index 65681693158c..4b6eb2280b69 100644
--- a/svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx
+++ b/svx/source/sdr/contact/viewcontactofsdrmediaobj.cxx
@@ -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
{
// #i71805# Since we may have a whole bunch of VOCs here, make a loop
diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
index 574628bfaa55..ac9259f7f26d 100644
--- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
@@ -829,11 +829,6 @@ namespace sdr { namespace contact {
*/
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
@nofail
*/