summaryrefslogtreecommitdiff
path: root/sd/source/ui/tools
diff options
context:
space:
mode:
authorChristian Lippka <christian.lippka@sun.com>2010-05-05 17:39:48 +0200
committerChristian Lippka <christian.lippka@sun.com>2010-05-05 17:39:48 +0200
commit58dd850178eb0151f03351b0599fcb88e6b499a8 (patch)
tree7a005c45abf348b2c29e9748392d52c9383e2236 /sd/source/ui/tools
parent1875ea687b2c5c45fe3df626c05ca5f483417269 (diff)
#i89450# removed unused code
Diffstat (limited to 'sd/source/ui/tools')
-rw-r--r--sd/source/ui/tools/PropertySet.cxx16
-rw-r--r--sd/source/ui/tools/SdGlobalResourceContainer.cxx25
-rw-r--r--sd/source/ui/tools/SlotStateListener.cxx18
3 files changed, 0 insertions, 59 deletions
diff --git a/sd/source/ui/tools/PropertySet.cxx b/sd/source/ui/tools/PropertySet.cxx
index 010571b10927..9cf24dccd508 100644
--- a/sd/source/ui/tools/PropertySet.cxx
+++ b/sd/source/ui/tools/PropertySet.cxx
@@ -58,22 +58,6 @@ void SAL_CALL PropertySet::disposing (void)
{
}
-
-
-
-beans::UnknownPropertyException PropertySet::CreateUnknownPropertyException (
- const rtl::OUString& rsPropertyName)
-{
- return beans::UnknownPropertyException(
- OUString::createFromAscii("property ")
- + rsPropertyName
- + OUString::createFromAscii(" is not known"),
- static_cast<XWeak*>(this));
-}
-
-
-
-
//----- XPropertySet ----------------------------------------------------------
Reference<beans::XPropertySetInfo> SAL_CALL PropertySet::getPropertySetInfo (void)
diff --git a/sd/source/ui/tools/SdGlobalResourceContainer.cxx b/sd/source/ui/tools/SdGlobalResourceContainer.cxx
index 878ef16a52f4..4ed95bbf5b99 100644
--- a/sd/source/ui/tools/SdGlobalResourceContainer.cxx
+++ b/sd/source/ui/tools/SdGlobalResourceContainer.cxx
@@ -152,31 +152,6 @@ void SdGlobalResourceContainer::AddResource (const Reference<XInterface>& rxReso
-
-::std::auto_ptr<SdGlobalResource> SdGlobalResourceContainer::ReleaseResource (
- SdGlobalResource* pResource)
-{
- ::std::auto_ptr<SdGlobalResource> pResult (NULL);
-
- ::osl::MutexGuard aGuard (mpImpl->maMutex);
-
- Implementation::ResourceList::iterator iResource;
- iResource = ::std::find (
- mpImpl->maResources.begin(),
- mpImpl->maResources.end(),
- pResource);
- if (iResource != mpImpl->maResources.end())
- {
- pResult.reset (*iResource);
- mpImpl->maResources.erase(iResource);
- }
-
- return pResult;
-}
-
-
-
-
SdGlobalResourceContainer::SdGlobalResourceContainer (void)
: mpImpl (new SdGlobalResourceContainer::Implementation())
{
diff --git a/sd/source/ui/tools/SlotStateListener.cxx b/sd/source/ui/tools/SlotStateListener.cxx
index e8e2ffb24f2b..b3175b7fdb4a 100644
--- a/sd/source/ui/tools/SlotStateListener.cxx
+++ b/sd/source/ui/tools/SlotStateListener.cxx
@@ -45,16 +45,6 @@ using namespace ::rtl;
namespace sd { namespace tools {
-SlotStateListener::SlotStateListener (void)
- : SlotStateListenerInterfaceBase(maMutex),
- maCallback(),
- mxDispatchProviderWeak(NULL)
-{
-}
-
-
-
-
SlotStateListener::SlotStateListener (
Link& rCallback,
const uno::Reference<frame::XDispatchProvider>& rxDispatchProvider,
@@ -125,14 +115,6 @@ void SlotStateListener::ObserveSlot (const ::rtl::OUString& rSlotName)
-bool SlotStateListener::IsValid (void) const
-{
- return maRegisteredURLList.size() > 0;
-}
-
-
-
-
void SlotStateListener::disposing (void)
{
ReleaseListeners();