diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-25 22:46:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-26 10:05:46 +0100 |
commit | 10e0383b357e0fe1b61355c39c39b018f2957668 (patch) | |
tree | c4b4b31345b3a57a760e9eb632fcb29cd5a87d13 /svx | |
parent | ded4e9a9a2076f66022477ae96b21307d8a441ca (diff) |
callcatcher: ditch unused methods
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/formcontrolling.cxx | 15 | ||||
-rw-r--r-- | svx/source/inc/formcontrolling.hxx | 6 |
2 files changed, 0 insertions, 21 deletions
diff --git a/svx/source/form/formcontrolling.cxx b/svx/source/form/formcontrolling.cxx index 197de8ccbee2..98e92250d972 100644 --- a/svx/source/form/formcontrolling.cxx +++ b/svx/source/form/formcontrolling.cxx @@ -188,21 +188,6 @@ namespace svx } //-------------------------------------------------------------------- - ::rtl::OUString FeatureSlotTranslation::getControllerFeatureURLForSlotId( sal_Int32 _nSlotId ) - { - const FeatureDescriptions& rDescriptions( getFeatureDescriptions() ); - FeatureDescriptions::const_iterator pos = ::std::find_if( rDescriptions.begin(), rDescriptions.end(), MatchFeatureDescriptionBySlotId( _nSlotId ) ); - OSL_ENSURE( pos != rDescriptions.end(), "FeatureSlotTranslation::getControllerFeatureURLForSlotId: not found!" ); - return ( pos != rDescriptions.end() ) ? pos->sURL : ::rtl::OUString(); - } - - //-------------------------------------------------------------------- - sal_Bool FeatureSlotTranslation::isFeatureURL( const ::rtl::OUString& _rMainURL ) - { - return ( _rMainURL.indexOf( FMURL_FORMSLOTS_PREFIX ) == 0 ); - } - - //-------------------------------------------------------------------- sal_Int16 FeatureSlotTranslation::getFormFeatureForSlotId( sal_Int32 _nSlotId ) { const FeatureDescriptions& rDescriptions( getFeatureDescriptions() ); diff --git a/svx/source/inc/formcontrolling.hxx b/svx/source/inc/formcontrolling.hxx index b69c26e1e870..82432a5b5f36 100644 --- a/svx/source/inc/formcontrolling.hxx +++ b/svx/source/inc/formcontrolling.hxx @@ -55,12 +55,6 @@ namespace svx /// retrieves the feature id for a given feature URL static sal_Int32 getControllerFeatureSlotIdForURL( const ::rtl::OUString& _rMainURL ); - /// retrieves the feature URL for a given feature id - static ::rtl::OUString getControllerFeatureURLForSlotId( sal_Int32 _nSlotId ); - - /// determines whether the given URL is a controller feature URL - static sal_Bool isFeatureURL( const ::rtl::OUString& _rMainURL ); - /// retrieves the css.form.runtime.FormFeature ID for a given slot ID static sal_Int16 getFormFeatureForSlotId( sal_Int32 _nSlotId ); |