diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-24 20:59:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-25 11:58:26 +0100 |
commit | c797a11a4d7ca7531eeb7efd85670711a08f8b4b (patch) | |
tree | cf884e11e9c9b287e3c2bc9b684cdcaaea75055b | |
parent | d8093cd3bb4b0ccef1e8b14c26c1aa8cbc6789ba (diff) |
callcatcher: remove freshly unused code
-rw-r--r-- | desktop/source/deployment/registry/component/dp_component.cxx | 21 | ||||
-rw-r--r-- | oox/inc/oox/dump/dumperbase.hxx | 6 | ||||
-rw-r--r-- | oox/source/dump/dumperbase.cxx | 7 | ||||
-rw-r--r-- | sc/inc/chartlis.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/tool/chartlis.cxx | 7 | ||||
-rw-r--r-- | svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx | 1 | ||||
-rw-r--r-- | svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx | 7 | ||||
-rwxr-xr-x | unusedcode.easy | 1 |
8 files changed, 0 insertions, 51 deletions
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index 6d5fb619553c..fa871d5c1b18 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -341,10 +341,6 @@ class BackendImpl : public ::dp_registry::backend::PackageRegistryBackend Reference<XCommandEnvironment> const & xCmdEnv ); bool hasInUnoRc( RcItem kind, OUString const & url ); - css::uno::Reference< css::registry::XRegistryKey > openRegistryKey( - css::uno::Reference< css::registry::XRegistryKey > const & base, - rtl::OUString const & path); - css::uno::Reference< css::uno::XComponentContext > getRootContext() const; public: @@ -1147,23 +1143,6 @@ bool BackendImpl::hasInUnoRc( return ::std::find( rSet.begin(), rSet.end(), rcterm ) != rSet.end(); } -css::uno::Reference< css::registry::XRegistryKey > BackendImpl::openRegistryKey( - css::uno::Reference< css::registry::XRegistryKey > const & base, - rtl::OUString const & path) -{ - OSL_ASSERT(base.is()); - css::uno::Reference< css::registry::XRegistryKey > key(base->openKey(path)); - if (!key.is()) { - throw css::deployment::DeploymentException( - (rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM("missing registry entry ")) + - path + rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(" under ")) + - base->getKeyName()), - static_cast< OWeakObject * >(this), Any()); - } - return key; -} - css::uno::Reference< css::uno::XComponentContext > BackendImpl::getRootContext() const { diff --git a/oox/inc/oox/dump/dumperbase.hxx b/oox/inc/oox/dump/dumperbase.hxx index d630c972bf33..f7d642ace147 100644 --- a/oox/inc/oox/dump/dumperbase.hxx +++ b/oox/inc/oox/dump/dumperbase.hxx @@ -1780,12 +1780,6 @@ protected: const BinaryInputStreamRef& rxRecStrm, const String& rRecNames, const String& rSimpleRecs = EMPTY_STRING ); - void construct( - const OutputObjectBase& rParent, - const BinaryInputStreamRef& rxBaseStrm, - const BinaryInputStreamRef& rxRecStrm, - const String& rRecNames, - const String& rSimpleRecs = EMPTY_STRING ); inline sal_Int64 getRecPos() const { return mnRecPos; } inline sal_Int64 getRecId() const { return mnRecId; } diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx index 78acc50f3427..093d8c12f45a 100644 --- a/oox/source/dump/dumperbase.cxx +++ b/oox/source/dump/dumperbase.cxx @@ -2553,13 +2553,6 @@ void RecordObjectBase::construct( const ObjectBase& rParent, constructRecObjBase( rxBaseStrm, rRecNames, rSimpleRecs ); } -void RecordObjectBase::construct( const OutputObjectBase& rParent, const BinaryInputStreamRef& rxBaseStrm, - const BinaryInputStreamRef& rxRecStrm, const String& rRecNames, const String& rSimpleRecs ) -{ - InputObjectBase::construct( rParent, rxRecStrm ); - constructRecObjBase( rxBaseStrm, rRecNames, rSimpleRecs ); -} - bool RecordObjectBase::implIsValid() const { return mxBaseStrm.get() && InputObjectBase::implIsValid(); diff --git a/sc/inc/chartlis.hxx b/sc/inc/chartlis.hxx index 2c7a0b707004..8ca27603b527 100644 --- a/sc/inc/chartlis.hxx +++ b/sc/inc/chartlis.hxx @@ -112,7 +112,6 @@ public: void Update(); ScRangeListRef GetRangeList() const; void SetRangeList( const ScRangeListRef& rNew ); - void SetRangeList( const ScRange& rNew ); bool IsUsed() const { return bUsed; } void SetUsed( bool bFlg ) { bUsed = bFlg; } bool IsDirty() const { return bDirty; } diff --git a/sc/source/core/tool/chartlis.cxx b/sc/source/core/tool/chartlis.cxx index c655eba3c881..d49fdebc089b 100644 --- a/sc/source/core/tool/chartlis.cxx +++ b/sc/source/core/tool/chartlis.cxx @@ -273,13 +273,6 @@ void ScChartListener::SetRangeList( const ScRangeListRef& rNew ) mpTokens->swap(aTokens); } -void ScChartListener::SetRangeList( const ScRange& rRange ) -{ - ScTokenRef pToken; - ScRefTokenHelper::getTokenFromRange(pToken, rRange); - mpTokens->push_back(pToken); -} - namespace { class StartEndListening : public unary_function<ScTokenRef, void> diff --git a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx index 86a96caef404..79c0ec0dddbf 100644 --- a/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx +++ b/svx/inc/svx/sdr/contact/viewobjectcontactofsdrmediaobj.hxx @@ -54,7 +54,6 @@ namespace sdr Window* getWindow() const; - bool hasPreferredSize() const; Size getPreferredSize() const; void updateMediaItem( ::avmedia::MediaItem& rItem ) const; diff --git a/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx b/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx index 9ed5dddaf2bf..ab169077e0a4 100644 --- a/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx +++ b/svx/source/sdr/contact/viewobjectcontactofsdrmediaobj.cxx @@ -106,13 +106,6 @@ Window* ViewObjectContactOfSdrMediaObj::getWindow() const // ------------------------------------------------------------------------------ -bool ViewObjectContactOfSdrMediaObj::hasPreferredSize() const -{ - return( mpMediaWindow != NULL && mpMediaWindow->hasPreferredSize() ); -} - -// ------------------------------------------------------------------------------ - Size ViewObjectContactOfSdrMediaObj::getPreferredSize() const { Size aRet; diff --git a/unusedcode.easy b/unusedcode.easy index 938fcd7541e9..e557846ed9aa 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -711,7 +711,6 @@ nullcanvas::SpriteCanvasHelper::genericUpdate(basegfx::B2DConnectedRanges<canvas nullcanvas::SpriteCanvasHelper::opaqueUpdate(basegfx::B2DConnectedRanges<canvas::SpriteRedrawManager::SpriteInfo>::ConnectedComponents const&) nullcanvas::SpriteCanvasHelper::scrollUpdate(basegfx::B2DRange const&, basegfx::B2DRange const&, basegfx::B2DConnectedRanges<canvas::SpriteRedrawManager::SpriteInfo>::ConnectedComponents const&) oox::PropertyMap::dump(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>) -oox::dump::RecordObjectBase::construct(oox::dump::OutputObjectBase const&, oox::dump::BinaryInputStreamRef const&, oox::dump::BinaryInputStreamRef const&, oox::dump::String const&, oox::dump::String const&) oox::xls::BiffGroupObject::BiffGroupObject(oox::xls::WorksheetHelper const&) oox::xls::CellBlock::CellBlock(oox::xls::WorksheetHelper const&, oox::ValueRange const&, int) psp::PrinterGfx::DrawBitmap(Rectangle const&, Rectangle const&, psp::PrinterBmp const&, psp::PrinterBmp const&) |