summaryrefslogtreecommitdiff
path: root/include/svtools/accessibleruler.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-20 12:38:10 +0200
committerNoel Grandin <noel@peralex.com>2015-01-26 08:42:28 +0200
commitb44cbb26efe1d0b0950b1e1613e131b506dc3876 (patch)
tree9b4d5d99e5dad0971079b997a02a6d96536709ca /include/svtools/accessibleruler.hxx
parent26ad60aec69310fecd918f1c2e09056aa4782320 (diff)
new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
Diffstat (limited to 'include/svtools/accessibleruler.hxx')
-rw-r--r--include/svtools/accessibleruler.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/svtools/accessibleruler.hxx b/include/svtools/accessibleruler.hxx
index 23ffc5008c73..73d97f111808 100644
--- a/include/svtools/accessibleruler.hxx
+++ b/include/svtools/accessibleruler.hxx
@@ -68,21 +68,21 @@ public:
protected:
virtual ~SvtRulerAccessible();
public:
- virtual bool SAL_CALL
+ bool SAL_CALL
isShowing() throw( ::com::sun::star::uno::RuntimeException );
- virtual bool SAL_CALL
+ bool SAL_CALL
isVisible() throw( ::com::sun::star::uno::RuntimeException );
- virtual bool SAL_CALL
+ bool SAL_CALL
isFocusTraversable() throw( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL
+ void SAL_CALL
addFocusListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener )
throw( ::com::sun::star::uno::RuntimeException );
- virtual void SAL_CALL
+ void SAL_CALL
removeFocusListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFocusListener >& xListener )
throw( ::com::sun::star::uno::RuntimeException );
@@ -115,7 +115,7 @@ public:
virtual void SAL_CALL
grabFocus() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Any SAL_CALL
+ ::com::sun::star::uno::Any SAL_CALL
getAccessibleKeyBinding() throw( ::com::sun::star::uno::RuntimeException );
virtual sal_Int32 SAL_CALL
getForeground( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -183,10 +183,10 @@ public:
protected:
/// @Return the object's current bounding box relative to the desktop.
- virtual Rectangle GetBoundingBoxOnScreen( void ) throw( ::com::sun::star::uno::RuntimeException );
+ Rectangle GetBoundingBoxOnScreen( void ) throw( ::com::sun::star::uno::RuntimeException );
/// @Return the object's current bounding box relative to the parent object.
- virtual Rectangle GetBoundingBox( void ) throw( ::com::sun::star::uno::RuntimeException );
+ Rectangle GetBoundingBox( void ) throw( ::com::sun::star::uno::RuntimeException );
virtual void SAL_CALL disposing() SAL_OVERRIDE;