summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-10 21:57:41 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-12 09:09:59 +0100
commit07f9a847f027139d75ac5eb7c8b48a8bb8cb1324 (patch)
tree1a28b42b812d579b65ae3d6f41d393c46ae06fbc /svx
parent3127405547d3d4fa5f1f98bab187e7ac19d76b73 (diff)
callcatcher: various unused methods
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/AccessibleShapeTreeInfo.hxx13
-rw-r--r--svx/inc/svx/DescriptionGenerator.hxx10
-rw-r--r--svx/inc/svx/ShapeTypeHandler.hxx10
-rw-r--r--svx/source/accessibility/AccessibleShapeTreeInfo.cxx24
-rw-r--r--svx/source/accessibility/AccessibleTextEventQueue.cxx10
-rw-r--r--svx/source/accessibility/AccessibleTextEventQueue.hxx5
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.cxx39
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.hxx29
-rw-r--r--svx/source/accessibility/DescriptionGenerator.cxx31
-rw-r--r--svx/source/accessibility/ShapeTypeHandler.cxx8
10 files changed, 0 insertions, 179 deletions
diff --git a/svx/inc/svx/AccessibleShapeTreeInfo.hxx b/svx/inc/svx/AccessibleShapeTreeInfo.hxx
index 37066a003dd5..1e2b6d85d297 100644
--- a/svx/inc/svx/AccessibleShapeTreeInfo.hxx
+++ b/svx/inc/svx/AccessibleShapeTreeInfo.hxx
@@ -59,14 +59,6 @@ namespace accessibility {
class SVX_DLLPUBLIC AccessibleShapeTreeInfo
{
public:
- /** Deprecated. Don't use this constructor any more.
- */
- AccessibleShapeTreeInfo (
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessibleComponent>& rxDocumentWindow,
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::document::XEventBroadcaster>& rxBroadcaster);
-
/** Use this constructor to create an empty object that is filled later
with more meaningfull data.
*/
@@ -86,11 +78,6 @@ public:
*/
void SetDocumentWindow (const ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleComponent>& rxViewWindow);
- /** Deprecated. Don't use this method.
- */
- ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessibleComponent>
- GetDocumentWindow (void) const;
/** Deprecated. Use the correctly named SetModelBroadcaster method
instead.
diff --git a/svx/inc/svx/DescriptionGenerator.hxx b/svx/inc/svx/DescriptionGenerator.hxx
index f7236d1dc5fa..73c7abc8ff4c 100644
--- a/svx/inc/svx/DescriptionGenerator.hxx
+++ b/svx/inc/svx/DescriptionGenerator.hxx
@@ -141,11 +141,6 @@ public:
*/
void AppendString (const ::rtl::OUString& sString);
- /** This method adds for debuging and development the list of all known
- properties to the description. Don't use in production code.
- */
- void AddPropertyNames (void);
-
/** Add properties that describe line and border attributes.
*/
void AddLineProperties (void);
@@ -182,11 +177,6 @@ private:
SVX_DLLPRIVATE void AddColor (const ::rtl::OUString& sPropertyName,
const ::rtl::OUString& sLocalizedName);
- /** Add a property value of unknown type to the description string.
- */
- SVX_DLLPRIVATE void AddUnknown (const ::rtl::OUString& sPropertyName,
- const ::rtl::OUString& sLocalizedName);
-
/** Add a property value formated as integer to the description string.
*/
SVX_DLLPRIVATE void AddInteger (const ::rtl::OUString& sPropertyName,
diff --git a/svx/inc/svx/ShapeTypeHandler.hxx b/svx/inc/svx/ShapeTypeHandler.hxx
index 8f6354026e00..6ae4bc71f0a0 100644
--- a/svx/inc/svx/ShapeTypeHandler.hxx
+++ b/svx/inc/svx/ShapeTypeHandler.hxx
@@ -118,16 +118,6 @@ public:
ShapeTypeId GetTypeId (const ::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShape>& rxShape) const;
- /** Return the service name of a shape with the specified type.
- @param aTypeId
- Id of the shape type for which to retrieve the service name.
- An unknown shape id results in an empty string.
- @return
- The returned string contains the service name, with which a
- shape of the given type can be created.
- */
- const ::rtl::OUString& GetServiceName (ShapeTypeId aTypeId) const;
-
/** Create a new accessible object for the given shape.
@param rShapeInfo
Bundle of information passed to the new accessible shape.
diff --git a/svx/source/accessibility/AccessibleShapeTreeInfo.cxx b/svx/source/accessibility/AccessibleShapeTreeInfo.cxx
index af361abc27ad..6c747284cf31 100644
--- a/svx/source/accessibility/AccessibleShapeTreeInfo.cxx
+++ b/svx/source/accessibility/AccessibleShapeTreeInfo.cxx
@@ -37,21 +37,6 @@ using ::com::sun::star::uno::Reference;
namespace accessibility {
-AccessibleShapeTreeInfo::AccessibleShapeTreeInfo (
- const Reference<XAccessibleComponent>& rxDocumentWindow,
- const Reference<document::XEventBroadcaster>& rxModelBroadcaster)
- : mxDocumentWindow (rxDocumentWindow),
- mxModelBroadcaster (rxModelBroadcaster),
- mpView (NULL),
- mpWindow (NULL),
- mpViewForwarder (NULL)
-{
- // Empty.
-}
-
-
-
-
AccessibleShapeTreeInfo::AccessibleShapeTreeInfo (void)
: mpView (NULL),
mpWindow (NULL),
@@ -112,15 +97,6 @@ void AccessibleShapeTreeInfo::SetDocumentWindow (
-uno::Reference<XAccessibleComponent>
- AccessibleShapeTreeInfo::GetDocumentWindow (void) const
-{
- return mxDocumentWindow;
-}
-
-
-
-
void AccessibleShapeTreeInfo::SetControllerBroadcaster (
const uno::Reference<document::XEventBroadcaster>& rxControllerBroadcaster)
{
diff --git a/svx/source/accessibility/AccessibleTextEventQueue.cxx b/svx/source/accessibility/AccessibleTextEventQueue.cxx
index 57460bb71972..b051b8bf468f 100644
--- a/svx/source/accessibility/AccessibleTextEventQueue.cxx
+++ b/svx/source/accessibility/AccessibleTextEventQueue.cxx
@@ -58,21 +58,11 @@ namespace accessibility
Clear();
}
- void AccessibleTextEventQueue::Append( const SfxHint& rHint )
- {
- maEventQueue.push_back( new SfxHint( rHint ) );
- }
-
void AccessibleTextEventQueue::Append( const SdrHint& rHint )
{
maEventQueue.push_back( new SdrHint( rHint ) );
}
- void AccessibleTextEventQueue::Append( const SfxSimpleHint& rHint )
- {
- maEventQueue.push_back( new SfxSimpleHint( rHint ) );
- }
-
void AccessibleTextEventQueue::Append( const TextHint& rHint )
{
maEventQueue.push_back( new TextHint( rHint ) );
diff --git a/svx/source/accessibility/AccessibleTextEventQueue.hxx b/svx/source/accessibility/AccessibleTextEventQueue.hxx
index f8564afa47c1..526b672157a0 100644
--- a/svx/source/accessibility/AccessibleTextEventQueue.hxx
+++ b/svx/source/accessibility/AccessibleTextEventQueue.hxx
@@ -37,7 +37,6 @@
class SfxHint;
class SdrHint;
-class SfxSimpleHint;
class TextHint;
class SvxViewHint;
class SvxEditSourceHint;
@@ -59,12 +58,8 @@ namespace accessibility
~AccessibleTextEventQueue();
/// Append event to end of queue
- void Append( const SfxHint& rHint );
- /// Append event to end of queue
void Append( const SdrHint& rHint );
/// Append event to end of queue
- void Append( const SfxSimpleHint& rHint );
- /// Append event to end of queue
void Append( const TextHint& rHint );
/// Append event to end of queue
void Append( const SvxViewHint& rHint );
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx
index 9927424c32ce..d993536db6b4 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.cxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.cxx
@@ -187,22 +187,6 @@ uno::Reference<XAccessible>
-uno::Reference<XAccessible>
- ChildrenManagerImpl::GetChild (const uno::Reference<drawing::XShape>& xShape)
- throw (uno::RuntimeException)
-{
- ChildDescriptorListType::iterator I, aEnd = maVisibleChildren.end();
- for (I = maVisibleChildren.begin(); I != aEnd; ++I)
- {
- if ( I->mxShape.get() == xShape.get() )
- return I->mxAccessibleShape;
- }
- return uno::Reference<XAccessible> ();
-}
-
-
-
-
/** Find all shapes among the specified shapes that lie fully or partially
inside the visible area. Put those shapes into the cleared cache. The
corresponding accessible objects will be created on demand.
@@ -773,29 +757,6 @@ void SAL_CALL ChildrenManagerImpl::disposing (void)
impl_dispose();
}
-
-
-
-// This method is experimental. Use with care.
-long int ChildrenManagerImpl::GetChildIndex (const ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessible>& xChild) const
- throw (::com::sun::star::uno::RuntimeException)
-{
- ::osl::MutexGuard aGuard (maMutex);
- sal_Int32 nCount = maVisibleChildren.size();
- for (sal_Int32 i=0; i < nCount; ++i)
- {
- // Is this equality comparison valid?
- if (maVisibleChildren[i].mxAccessibleShape == xChild)
- return i;
- }
-
- return -1;
-}
-
-
-
-
//===== IAccessibleViewForwarderListener ====================================
void ChildrenManagerImpl::ViewForwarderChanged (ChangeType aChangeType,
diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx
index 3716f243ad20..b1cb2a0b4723 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.hxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.hxx
@@ -166,24 +166,6 @@ public:
GetChild (ChildDescriptor& aChildDescriptor,sal_Int32 _nIndex)
throw (::com::sun::star::uno::RuntimeException);
- /** Return the requested accessible child given a shape. This method
- searches the list of descriptors for the one that holds the
- association of the given shape to the requested accessible object
- and returns that. If no such descriptor is found that is
- interpreted so that the specified shape is not visible at the moment.
- @param xShape
- The shape for which to return the associated accessible object.
- @return
- Returns a reference to the requested accessible child. The
- reference is empty if there is no shape descriptor that
- associates the shape with an accessible object.
- */
- ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessible>
- GetChild (const ::com::sun::star::uno::Reference<
- ::com::sun::star::drawing::XShape>& xShape)
- throw (::com::sun::star::uno::RuntimeException);
-
/** Update the child manager. Take care of a modified set of children
and modified visible area. This method can optimize the update
process with respect seperate updates of a modified children list
@@ -360,17 +342,6 @@ protected:
*/
virtual void SAL_CALL disposing (void);
- /** Experimental: Get the index of the specified accessible object with
- respect to the list of children maintained by this object.
-
- @return
- Return the index of the given child or -1 to indicate that the
- child is unknown.
- */
- long GetChildIndex (const ::com::sun::star::uno::Reference<
- ::com::sun::star::accessibility::XAccessible>& xChild) const
- throw (::com::sun::star::uno::RuntimeException);
-
void impl_dispose (void);
private:
diff --git a/svx/source/accessibility/DescriptionGenerator.cxx b/svx/source/accessibility/DescriptionGenerator.cxx
index 8b01c30215d6..4d0dc1d884c2 100644
--- a/svx/source/accessibility/DescriptionGenerator.cxx
+++ b/svx/source/accessibility/DescriptionGenerator.cxx
@@ -303,16 +303,6 @@ void DescriptionGenerator::AddColor (const OUString& sPropertyName,
-void DescriptionGenerator::AddUnknown (const OUString& /*sPropertyName*/,
- const OUString& sLocalizedName)
-{
- // uno::Any aValue = mxSet->getPropertyValue (sPropertyName);
- msDescription.append (sLocalizedName);
-}
-
-
-
-
void DescriptionGenerator::AddInteger (const OUString& sPropertyName,
const OUString& sLocalizedName)
{
@@ -459,27 +449,6 @@ void DescriptionGenerator::AddFillStyle (const OUString& sPropertyName,
}
}
-
-
-
-void DescriptionGenerator::AddPropertyNames (void)
-{
- if (mxSet.is())
- {
- uno::Reference<beans::XPropertySetInfo> xInfo (mxSet->getPropertySetInfo());
- if (xInfo.is())
- {
- uno::Sequence<beans::Property> aPropertyList (xInfo->getProperties ());
- for (int i=0; i<aPropertyList.getLength(); i++)
- {
- msDescription.append (aPropertyList[i].Name);
- msDescription.append (sal_Unicode(','));
- }
- }
- }
-}
-
-
} // end of namespace accessibility
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/accessibility/ShapeTypeHandler.cxx b/svx/source/accessibility/ShapeTypeHandler.cxx
index 01c8d124870c..8747c5fd6848 100644
--- a/svx/source/accessibility/ShapeTypeHandler.cxx
+++ b/svx/source/accessibility/ShapeTypeHandler.cxx
@@ -117,14 +117,6 @@ ShapeTypeId ShapeTypeHandler::GetTypeId (const uno::Reference<drawing::XShape>&
-const OUString& ShapeTypeHandler::GetServiceName (ShapeTypeId aTypeId) const
-{
- return maShapeTypeDescriptorList[aTypeId].msServiceName;
-}
-
-
-
-
/** This factory method determines the type descriptor for the type of the
given shape, then calls the descriptor's create function, and finally
initializes the new object.