summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-25 14:35:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-25 14:42:38 +0100
commit37fff5e32a5c918e27b031b2a7ddb97fd9d8b45d (patch)
treeaadb80fe51c8994dd374934e7083b979b7c55059 /svx
parent5b9005677020c1111259bd0adc292a9b838c2995 (diff)
remove newly unused code
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/framelink.hxx3
-rw-r--r--svx/source/dialog/framelink.cxx6
-rw-r--r--svx/source/form/dataaccessdescriptor.cxx39
-rw-r--r--svx/source/form/formcontrolling.cxx8
-rw-r--r--svx/source/inc/formcontrolling.hxx6
5 files changed, 0 insertions, 62 deletions
diff --git a/svx/inc/svx/framelink.hxx b/svx/inc/svx/framelink.hxx
index 1d6e7aa2f06f..218ae563ac1c 100644
--- a/svx/inc/svx/framelink.hxx
+++ b/svx/inc/svx/framelink.hxx
@@ -167,9 +167,6 @@ public:
/** Sets whether to use dotted style for single hair lines. */
inline void SetType( editeng::SvxBorderStyle nType ) { mnType = nType; }
- /** Scales the style by the specified scaling factor. Ensures that visible lines keep visible. */
- Style& ScaleSelf( double fScale, sal_uInt16 nMaxWidth = SAL_MAX_UINT16 );
-
/** Mirrors this style (exchanges primary and secondary), if it is a double frame style. */
Style& MirrorSelf();
/** Returns this style mirrored, if it is a double frame style, otherwise a simple copy. */
diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx
index d22b5e98acfd..ca9c5e7586d4 100644
--- a/svx/source/dialog/framelink.cxx
+++ b/svx/source/dialog/framelink.cxx
@@ -1241,12 +1241,6 @@ void Style::Set( const SvxBorderLine* pBorder, double fScale, sal_uInt16 nMaxWid
}
}
-Style& Style::ScaleSelf( double fScale, sal_uInt16 nMaxWidth )
-{
- Set( SCALEVALUE( mnPrim ), SCALEVALUE( mnDist ), SCALEVALUE( mnSecn ) );
- return *this;
-}
-
Style& Style::MirrorSelf()
{
if( mnSecn )
diff --git a/svx/source/form/dataaccessdescriptor.cxx b/svx/source/form/dataaccessdescriptor.cxx
index 6a97a1d5709a..6cfebb499105 100644
--- a/svx/source/form/dataaccessdescriptor.cxx
+++ b/svx/source/form/dataaccessdescriptor.cxx
@@ -75,7 +75,6 @@ namespace svx
void invalidateExternRepresentations();
void updateSequence();
- void updateSet();
/** builds the descriptor from a property value sequence
@return <TRUE/>
@@ -287,44 +286,6 @@ namespace svx
m_bSequenceOutOfDate = sal_False;
}
- //--------------------------------------------------------------------
- void ODADescriptorImpl::updateSet()
- {
- if (!m_bSetOutOfDate)
- return;
-
- // will be the current values
- Sequence< PropertyValue > aValuesToSet(m_aValues.size());
- PropertyValue* pValuesToSet = aValuesToSet.getArray();
-
- // build a new property set info
- PropertySetInfo* pPropSetInfo = new PropertySetInfo;
-
- // loop through all our values
- for ( DescriptorValues::const_iterator aLoop = m_aValues.begin();
- aLoop != m_aValues.end();
- ++aLoop, ++pValuesToSet
- )
- {
- PropertyMapEntry* pMapEntry = getPropertyMapEntry( aLoop );
- pPropSetInfo->add( pMapEntry, 1 );
-
- *pValuesToSet = buildPropertyValue(aLoop);
- }
-
- // create the generic set
- m_xAsSet = GenericPropertySet_CreateInstance( pPropSetInfo );
-
- // no we have the set, still need to set the current values
- const PropertyValue* pSetValues = aValuesToSet.getConstArray();
- const PropertyValue* pSetValuesEnd = pSetValues + aValuesToSet.getLength();
- for (; pSetValues != pSetValuesEnd; ++pSetValues)
- m_xAsSet->setPropertyValue(pSetValues->Name, pSetValues->Value);
-
- // don't need to rebuild next time
- m_bSetOutOfDate = sal_True;
- }
-
//====================================================================
//= ODataAccessDescriptor
//====================================================================
diff --git a/svx/source/form/formcontrolling.cxx b/svx/source/form/formcontrolling.cxx
index 50ff9b0a619b..87428ebf5809 100644
--- a/svx/source/form/formcontrolling.cxx
+++ b/svx/source/form/formcontrolling.cxx
@@ -235,14 +235,6 @@ namespace svx
}
//--------------------------------------------------------------------
- void ControllerFeatures::assign( const Reference< XForm >& _rxForm )
- {
- dispose();
- m_pImpl = new FormControllerHelper( m_aContext, _rxForm, m_pInvalidationCallback );
- m_pImpl->acquire();
- }
-
- //--------------------------------------------------------------------
ControllerFeatures::~ControllerFeatures()
{
dispose();
diff --git a/svx/source/inc/formcontrolling.hxx b/svx/source/inc/formcontrolling.hxx
index b7db8c61fec4..d2c249f11e8a 100644
--- a/svx/source/inc/formcontrolling.hxx
+++ b/svx/source/inc/formcontrolling.hxx
@@ -139,12 +139,6 @@ namespace svx
const ::com::sun::star::uno::Reference< ::com::sun::star::form::runtime::XFormController >& _rxController
);
- /** assign to a controller
- */
- void assign(
- const ::com::sun::star::uno::Reference< ::com::sun::star::form::XForm >& _rxForm
- );
-
/// clears the instance so that it cannot be used afterwards
void dispose();