summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-14 12:44:47 +0200
committerNoel Grandin <noel@peralex.com>2015-04-15 11:47:12 +0200
commit71b809959bb8f775d83dc52628448bb8b8322b28 (patch)
treef9aa4308050eb7d55611068602c0cf0e3c1b3690 /include/svx
parent135907f2061550624ee1859745d94eee01849070 (diff)
remove unnecessary use of void in function declarations
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/AccessibleGraphicShape.hxx20
-rw-r--r--include/svx/AccessibleOLEShape.hxx14
-rw-r--r--include/svx/AccessibleShape.hxx50
-rw-r--r--include/svx/AccessibleShapeInfo.hxx2
-rw-r--r--include/svx/AccessibleShapeTreeInfo.hxx18
-rw-r--r--include/svx/ChildrenManager.hxx12
-rw-r--r--include/svx/DescriptionGenerator.hxx10
-rw-r--r--include/svx/IAccessibleParent.hxx2
-rw-r--r--include/svx/IAccessibleViewForwarder.hxx4
-rw-r--r--include/svx/ShapeTypeHandler.hxx8
-rw-r--r--include/svx/SpellDialogChildWindow.hxx2
-rw-r--r--include/svx/SvxShapeTypes.hxx2
-rw-r--r--include/svx/bmpmask.hxx2
-rw-r--r--include/svx/charmap.hxx4
-rw-r--r--include/svx/colrctrl.hxx2
-rw-r--r--include/svx/dlgctrl.hxx10
-rw-r--r--include/svx/fmdmod.hxx2
-rw-r--r--include/svx/fmdpage.hxx6
-rw-r--r--include/svx/fmtools.hxx4
-rw-r--r--include/svx/fntctrl.hxx2
-rw-r--r--include/svx/linectrl.hxx2
-rw-r--r--include/svx/numfmtsh.hxx2
-rw-r--r--include/svx/rubydialog.hxx2
-rw-r--r--include/svx/sidebar/Popup.hxx12
-rw-r--r--include/svx/sidebar/PopupContainer.hxx2
-rw-r--r--include/svx/sidebar/PopupControl.hxx2
-rw-r--r--include/svx/sidebar/SelectionChangeHandler.hxx12
-rw-r--r--include/svx/sidebar/SidebarDialControl.hxx2
-rw-r--r--include/svx/sidebar/ValueSetWithTextControl.hxx2
-rw-r--r--include/svx/svdobj.hxx2
-rw-r--r--include/svx/svdpage.hxx6
-rw-r--r--include/svx/swframeexample.hxx2
-rw-r--r--include/svx/viewpt3d.hxx2
-rw-r--r--include/svx/xmlexchg.hxx2
34 files changed, 114 insertions, 114 deletions
diff --git a/include/svx/AccessibleGraphicShape.hxx b/include/svx/AccessibleGraphicShape.hxx
index 3e8d46fee679..6245f5297ba4 100644
--- a/include/svx/AccessibleGraphicShape.hxx
+++ b/include/svx/AccessibleGraphicShape.hxx
@@ -41,17 +41,17 @@ public:
const AccessibleShapeInfo& rShapeInfo,
const AccessibleShapeTreeInfo& rShapeTreeInfo);
- virtual ~AccessibleGraphicShape (void);
+ virtual ~AccessibleGraphicShape();
//===== XAccessibleImage ================================================
- OUString SAL_CALL getAccessibleImageDescription (void)
+ OUString SAL_CALL getAccessibleImageDescription()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- sal_Int32 SAL_CALL getAccessibleImageHeight (void)
+ sal_Int32 SAL_CALL getAccessibleImageHeight()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- sal_Int32 SAL_CALL getAccessibleImageWidth (void)
+ sal_Int32 SAL_CALL getAccessibleImageWidth()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//===== XInterface ======================================================
@@ -61,11 +61,11 @@ public:
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- acquire (void)
+ acquire()
throw () SAL_OVERRIDE;
virtual void SAL_CALL
- release (void)
+ release()
throw () SAL_OVERRIDE;
//===== XServiceInfo ====================================================
@@ -73,20 +73,20 @@ public:
/** Returns an identifier for the implementation of this object.
*/
virtual OUString SAL_CALL
- getImplementationName (void)
+ getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL
- getSupportedServiceNames (void)
+ getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//===== XTypeProvider ===================================================
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL
- getTypes (void)
+ getTypes()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/// Return this object's role.
- virtual sal_Int16 SAL_CALL getAccessibleRole (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Int16 SAL_CALL getAccessibleRole() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
/// Create a name string that contains the accessible name.
virtual OUString
diff --git a/include/svx/AccessibleOLEShape.hxx b/include/svx/AccessibleOLEShape.hxx
index 943639851b8f..4591edd939f2 100644
--- a/include/svx/AccessibleOLEShape.hxx
+++ b/include/svx/AccessibleOLEShape.hxx
@@ -41,11 +41,11 @@ public:
AccessibleOLEShape (
const AccessibleShapeInfo& rShapeInfo,
const AccessibleShapeTreeInfo& rShapeTreeInfo);
- virtual ~AccessibleOLEShape (void);
+ virtual ~AccessibleOLEShape();
//===== XAccessibleAction ===============================================
- sal_Int32 SAL_CALL getAccessibleActionCount (void)
+ sal_Int32 SAL_CALL getAccessibleActionCount()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
sal_Bool SAL_CALL doAccessibleAction (sal_Int32 nIndex)
@@ -69,27 +69,27 @@ public:
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- acquire (void)
+ acquire()
throw () SAL_OVERRIDE;
virtual void SAL_CALL
- release (void)
+ release()
throw () SAL_OVERRIDE;
//===== XServiceInfo ====================================================
virtual OUString SAL_CALL
- getImplementationName (void)
+ getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL
- getSupportedServiceNames (void)
+ getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//===== XTypeProvider ===================================================
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL
- getTypes (void)
+ getTypes()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// ====== XAccessibleExtendedAttributes =====================================
virtual ::com::sun::star::uno::Any SAL_CALL getExtendedAttributes() throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ;
diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx
index b51e62b4cee6..d32baf2a8c6b 100644
--- a/include/svx/AccessibleShape.hxx
+++ b/include/svx/AccessibleShape.hxx
@@ -106,9 +106,9 @@ public:
const AccessibleShapeInfo& rShapeInfo,
const AccessibleShapeTreeInfo& rShapeTreeInfo);
//Solution: Overwrite the object's current name.
- virtual OUString SAL_CALL getAccessibleName (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getAccessibleName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual OUString SAL_CALL getAccessibleDescription() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL getAccessibleRelationSet (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL getAccessibleRelationSet() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//===== XAccessibleSelection ============================================
virtual void SAL_CALL selectAccessibleChild(
@@ -144,7 +144,7 @@ public:
virtual ::com::sun::star::uno::Any SAL_CALL getExtendedAttributes()
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ;
/// Return this object's role.
- virtual sal_Int16 SAL_CALL getAccessibleRole (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Int16 SAL_CALL getAccessibleRole() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//===== XAccessibleGroupPosition =========================================
virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL
getGroupPosition( const ::com::sun::star::uno::Any& rAny )
@@ -154,12 +154,12 @@ public:
/** The destructor releases its children manager and text engine if
still existent. These are responsible to send appropriate events.
*/
- virtual ~AccessibleShape (void);
+ virtual ~AccessibleShape();
/** Initialize a new shape. See the documentation of the constructor
for the reason of this method's existence.
*/
- virtual void Init (void);
+ virtual void Init();
/** Compare two accessible shapes using object identity
@param rShape
@@ -215,7 +215,7 @@ public:
/// Return the number of currently visible children.
virtual sal_Int32 SAL_CALL
- getAccessibleChildCount (void)
+ getAccessibleChildCount()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/** Return the specified child.
@@ -236,12 +236,12 @@ public:
/// Return the set of current states.
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleStateSet> SAL_CALL
- getAccessibleStateSet (void)
+ getAccessibleStateSet()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/// Return this objects index among the parents children.
virtual sal_Int32 SAL_CALL
- getAccessibleIndexInParent (void)
+ getAccessibleIndexInParent()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//===== XAccessibleComponent ============================================
@@ -251,22 +251,22 @@ public:
getAccessibleAtPoint (const ::com::sun::star::awt::Point& aPoint)
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds (void)
+ virtual ::com::sun::star::awt::Rectangle SAL_CALL getBounds()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::awt::Point SAL_CALL getLocation (void)
+ virtual ::com::sun::star::awt::Point SAL_CALL getLocation()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen (void)
+ virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::awt::Size SAL_CALL getSize (void)
+ virtual ::com::sun::star::awt::Size SAL_CALL getSize()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Int32 SAL_CALL getForeground (void)
+ virtual sal_Int32 SAL_CALL getForeground()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Int32 SAL_CALL getBackground (void)
+ virtual sal_Int32 SAL_CALL getBackground()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//===== XAccessibleEventBroadcaster =====================================
@@ -304,11 +304,11 @@ public:
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- acquire (void)
+ acquire()
throw () SAL_OVERRIDE;
virtual void SAL_CALL
- release (void)
+ release()
throw () SAL_OVERRIDE;
@@ -317,17 +317,17 @@ public:
/** Returns an identifier for the implementation of this object.
*/
virtual OUString SAL_CALL
- getImplementationName (void)
+ getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL
- getSupportedServiceNames (void)
+ getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//===== XTypeProvider ===================================================
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL
- getTypes (void)
+ getTypes()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
//===== IAccessibleViewForwarderListener ================================
@@ -429,24 +429,24 @@ protected:
/** This method is called from the component helper base class while
disposing.
*/
- virtual void SAL_CALL disposing (void) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing() SAL_OVERRIDE;
/** Create a base name string that contains the accessible name.
*/
virtual OUString
- CreateAccessibleBaseName (void)
+ CreateAccessibleBaseName()
throw (::com::sun::star::uno::RuntimeException);
/** Create a unique name string that contains the accessible name. The
name consists of the base name and the index.
*/
virtual OUString
- CreateAccessibleName (void)
+ CreateAccessibleName()
throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
/// Create a description string that contains the accessible description.
virtual OUString
- CreateAccessibleDescription (void)
+ CreateAccessibleDescription()
throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
OUString
GetFullAccessibleName(AccessibleShape *shape)
@@ -456,7 +456,7 @@ protected:
::com::sun::star::accessibility::XAccessibleStateSet > &xStateSet);
/** Update the <const>OPAQUE</const> and <const>SELECTED</const> state.
*/
- void UpdateStates (void);
+ void UpdateStates();
private:
AccessibleShape (const AccessibleShape&) SAL_DELETED_FUNCTION;
@@ -469,7 +469,7 @@ private:
This method adapts the name and description members of the
AccessibleContextBase base class.
*/
- void UpdateNameAndDescription (void);
+ void UpdateNameAndDescription();
};
} // end of namespace accessibility
diff --git a/include/svx/AccessibleShapeInfo.hxx b/include/svx/AccessibleShapeInfo.hxx
index d8591fcb1470..0c75bc914b9b 100644
--- a/include/svx/AccessibleShapeInfo.hxx
+++ b/include/svx/AccessibleShapeInfo.hxx
@@ -87,7 +87,7 @@ public:
::com::sun::star::accessibility::XAccessible>& rxParent,
sal_Int32 nIndex = -1);
- ~AccessibleShapeInfo (void);
+ ~AccessibleShapeInfo();
AccessibleShapeInfo (const AccessibleShapeInfo&);
private:
diff --git a/include/svx/AccessibleShapeTreeInfo.hxx b/include/svx/AccessibleShapeTreeInfo.hxx
index ec316f2498bb..d7dc02c5b862 100644
--- a/include/svx/AccessibleShapeTreeInfo.hxx
+++ b/include/svx/AccessibleShapeTreeInfo.hxx
@@ -53,7 +53,7 @@ public:
/** Use this constructor to create an empty object that is filled later
with more meaningfull data.
*/
- AccessibleShapeTreeInfo (void);
+ AccessibleShapeTreeInfo();
/** Create a copy of the given shape info.
@param rInfo
@@ -61,7 +61,7 @@ public:
*/
AccessibleShapeTreeInfo (const AccessibleShapeTreeInfo& rInfo);
- ~AccessibleShapeTreeInfo (void);
+ ~AccessibleShapeTreeInfo();
AccessibleShapeTreeInfo& operator= (const AccessibleShapeTreeInfo& rInfo);
@@ -74,7 +74,7 @@ public:
*/
::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleComponent>
- GetDocumentWindow (void) const { return mxDocumentWindow;}
+ GetDocumentWindow() const { return mxDocumentWindow;}
/** Deprecated. Use the correctly named SetModelBroadcaster method
instead.
@@ -86,7 +86,7 @@ public:
*/
::com::sun::star::uno::Reference<
::com::sun::star::document::XEventBroadcaster>
- GetControllerBroadcaster (void) const { return mxModelBroadcaster;}
+ GetControllerBroadcaster() const { return mxModelBroadcaster;}
/** Set a new broadcaster that sends events indicating shape changes.
The broadcaster usually is or belongs to a document model.
@@ -104,7 +104,7 @@ public:
*/
::com::sun::star::uno::Reference<
::com::sun::star::document::XEventBroadcaster>
- GetModelBroadcaster (void) const { return mxModelBroadcaster;}
+ GetModelBroadcaster() const { return mxModelBroadcaster;}
/** Set the view that will be used to construct SvxTextEditSources which
in turn are used to create accessible edit engines.
@@ -118,7 +118,7 @@ public:
@return
The returned value may be NULL.
*/
- SdrView* GetSdrView (void) const { return mpView;}
+ SdrView* GetSdrView() const { return mpView;}
/** Set a new controller. This will usually but not necessarily
correspond to the SdrView.
@@ -135,7 +135,7 @@ public:
*/
::com::sun::star::uno::Reference<
::com::sun::star::frame::XController>
- GetController (void) const { return mxController;}
+ GetController() const { return mxController;}
/** Set the window that is used to construct SvxTextEditSources which in
turn is used to create accessible edit engines.
@@ -146,7 +146,7 @@ public:
@return
The returned value may be NULL.
*/
- vcl::Window* GetWindow (void) const { return mpWindow;}
+ vcl::Window* GetWindow() const { return mpWindow;}
/** The view forwarder allows the transformation between internal
and pixel coordinates and can be asked for the visible area.
@@ -159,7 +159,7 @@ public:
@return
The returned pointer may be NULL.
*/
- const IAccessibleViewForwarder* GetViewForwarder (void) const { return mpViewForwarder;}
+ const IAccessibleViewForwarder* GetViewForwarder() const { return mpViewForwarder;}
private:
/** Deprecated.
diff --git a/include/svx/ChildrenManager.hxx b/include/svx/ChildrenManager.hxx
index 17bc1a36ab61..668574f5f61e 100644
--- a/include/svx/ChildrenManager.hxx
+++ b/include/svx/ChildrenManager.hxx
@@ -98,13 +98,13 @@ public:
/** If there still are managed children these are marked as DEFUNC and
released.
*/
- virtual ~ChildrenManager (void);
+ virtual ~ChildrenManager();
/** Return the number of currently visible accessible children.
@return
If there are no children a 0 is returned.
*/
- long GetChildCount (void) const throw ();
+ long GetChildCount() const throw ();
/** Return the requested accessible child or throw and
IndexOutOfBoundsException if the given index is invalid.
@@ -161,7 +161,7 @@ public:
/** Clear the list of accessible shapes which have been added by
previous calls to <member>AddAccessibleShape</member>.
*/
- void ClearAccessibleShapeList (void);
+ void ClearAccessibleShapeList();
/** Take a new event shape tree info. Call this method to inform the
children manager of a change of the info bundle.
@@ -174,7 +174,7 @@ public:
according to the given selection. This includes setting
<em>and</em> resetting the states.
*/
- void UpdateSelection (void);
+ void UpdateSelection();
/** Return whether one of the shapes managed by this object has
currently the focus.
@@ -182,13 +182,13 @@ public:
Returns <true/> when there is a shape that has the focus and
<false/> when there is no such shape.
*/
- bool HasFocus (void);
+ bool HasFocus();
/** When there is a shape that currently has the focus,
i.e. <member>HasFocus()</member> returns <true/> then remove the
focus from that shape. Otherwise nothing changes.
*/
- void RemoveFocus (void);
+ void RemoveFocus();
virtual void ViewForwarderChanged (ChangeType aChangeType,
const IAccessibleViewForwarder* pViewForwarder) SAL_OVERRIDE;
diff --git a/include/svx/DescriptionGenerator.hxx b/include/svx/DescriptionGenerator.hxx
index f8fc1cb74a42..3603d21aacde 100644
--- a/include/svx/DescriptionGenerator.hxx
+++ b/include/svx/DescriptionGenerator.hxx
@@ -56,7 +56,7 @@ public:
DescriptionGenerator (const ::com::sun::star::uno::Reference<
::com::sun::star::drawing::XShape>& xShape);
- ~DescriptionGenerator (void);
+ ~DescriptionGenerator();
/** Initialize the description with the given prefix followed by the
shape's style in parantheses and a colon.
@@ -134,19 +134,19 @@ public:
/** Add properties that describe line and border attributes.
*/
- void AddLineProperties (void);
+ void AddLineProperties();
/** Add properties that describe how areas are filled.
*/
- void AddFillProperties (void);
+ void AddFillProperties();
/** Add properties that describesattributes of 3D objects.
*/
- void Add3DProperties (void);
+ void Add3DProperties();
/** Add properties that describe text attributes.
*/
- void AddTextProperties (void);
+ void AddTextProperties();
private:
/// Reference to the shape from which the properties are extracted.
diff --git a/include/svx/IAccessibleParent.hxx b/include/svx/IAccessibleParent.hxx
index 843914d24f84..d92edc97336f 100644
--- a/include/svx/IAccessibleParent.hxx
+++ b/include/svx/IAccessibleParent.hxx
@@ -38,7 +38,7 @@ class IAccessibleParent
public:
/** Allow for a virtual destructor.
*/
- virtual ~IAccessibleParent (void){};
+ virtual ~IAccessibleParent(){};
/** A call to this method requests the implementor to replace one child
with another and send the appropriate notifications. That are two
diff --git a/include/svx/IAccessibleViewForwarder.hxx b/include/svx/IAccessibleViewForwarder.hxx
index e280c41fb3ad..14be8b0499ac 100644
--- a/include/svx/IAccessibleViewForwarder.hxx
+++ b/include/svx/IAccessibleViewForwarder.hxx
@@ -52,7 +52,7 @@ namespace accessibility {
class IAccessibleViewForwarder
{
public:
- virtual ~IAccessibleViewForwarder (void){};
+ virtual ~IAccessibleViewForwarder(){};
/** This method informs you about the state of the forwarder. Do not
use it when the returned value is <false/>.
@@ -60,7 +60,7 @@ public:
@return
Return <true/> if the view forwarder is valid and <false/> else.
*/
- virtual bool IsValid (void) const = 0;
+ virtual bool IsValid() const = 0;
/** Returns the area of the underlying document that is visible in the
* corresponding window.
diff --git a/include/svx/ShapeTypeHandler.hxx b/include/svx/ShapeTypeHandler.hxx
index ee84c34109f5..ec387257e742 100644
--- a/include/svx/ShapeTypeHandler.hxx
+++ b/include/svx/ShapeTypeHandler.hxx
@@ -63,7 +63,7 @@ struct ShapeTypeDescriptor
msServiceName (sName),
maCreateFunction (aFunction)
{}
- ShapeTypeDescriptor (void)
+ ShapeTypeDescriptor()
: mnShapeTypeId (-1),
msServiceName (),
maCreateFunction (NULL)
@@ -85,7 +85,7 @@ public:
@return
Returns a reference to a ShapeTypeHandler object.
*/
- static ShapeTypeHandler& Instance (void);
+ static ShapeTypeHandler& Instance();
/** Determines the type id of a shape with the given service name.
@param aServiceName
@@ -161,14 +161,14 @@ protected:
// Declare default constructor, copy constructor, destructor, and
// assignment operation protected so that no one accidentally creates a
// second instance of this singleton class or deletes it.
- ShapeTypeHandler (void);
+ ShapeTypeHandler();
ShapeTypeHandler (const ShapeTypeHandler& aHandler); // never implemented, this is a singleton class
ShapeTypeHandler& operator= (const ShapeTypeHandler& aHandler); // never implemented, this is a singleton class
/** This destructor is never called at the moment. But because this
class is a singleton this is not a problem.
*/
- virtual ~ShapeTypeHandler (void);
+ virtual ~ShapeTypeHandler();
private:
/// Pointer to the only instance of this class.
diff --git a/include/svx/SpellDialogChildWindow.hxx b/include/svx/SpellDialogChildWindow.hxx
index 2f6bc5cae067..a50ddbbfb013 100644
--- a/include/svx/SpellDialogChildWindow.hxx
+++ b/include/svx/SpellDialogChildWindow.hxx
@@ -95,7 +95,7 @@ protected:
*/
virtual void SetGrammarChecking(bool bOn);
- SfxBindings& GetBindings (void) const;
+ SfxBindings& GetBindings() const;
/** Set the spell dialog into the 'resume' state. This method should be called
to notify the SpellDialog about changes in the document that invalidate the
current state which results in disabling most of the dialog controls and presenting
diff --git a/include/svx/SvxShapeTypes.hxx b/include/svx/SvxShapeTypes.hxx
index 474d8cdf86d8..6af2a822dcdc 100644
--- a/include/svx/SvxShapeTypes.hxx
+++ b/include/svx/SvxShapeTypes.hxx
@@ -28,7 +28,7 @@ namespace accessibility {
/** Register the SVX draw shape types with the ShapeTypeHandler singleton.
This method is usually called from the shape type handler constructor.
*/
-void RegisterDrawShapeTypes (void);
+void RegisterDrawShapeTypes();
/** Enum describing all shape types known in the SVX project.
*/
diff --git a/include/svx/bmpmask.hxx b/include/svx/bmpmask.hxx
index 1747e16402c7..cfd31a395f5d 100644
--- a/include/svx/bmpmask.hxx
+++ b/include/svx/bmpmask.hxx
@@ -160,7 +160,7 @@ private:
like the source color checkboxes which initially have no name and
for which the description would be read by AT.
*/
- SVX_DLLPRIVATE void SetAccessibleNames (void);
+ SVX_DLLPRIVATE void SetAccessibleNames();
};
#endif // INCLUDED_SVX_BMPMASK_HXX
diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx
index 7df5d9a3e7e9..825deea3cedc 100644
--- a/include/svx/charmap.hxx
+++ b/include/svx/charmap.hxx
@@ -61,8 +61,8 @@ public:
static sal_uInt32& getSelectedChar();
::svx::SvxShowCharSetItem* ImplGetItem( int _nPos );
- int FirstInView( void) const;
- int LastInView( void) const;
+ int FirstInView() const;
+ int LastInView() const;
int PixelToMapIndex( const Point&) const;
void SelectIndex( int index, bool bFocus = false );
void DeSelect();
diff --git a/include/svx/colrctrl.hxx b/include/svx/colrctrl.hxx
index 3896ffeca6cb..0987da9dea53 100644
--- a/include/svx/colrctrl.hxx
+++ b/include/svx/colrctrl.hxx
@@ -91,7 +91,7 @@ private:
the focus to the color value set so that it can be controlled with
the keyboard.
*/
- virtual void GetFocus (void) SAL_OVERRIDE;
+ virtual void GetFocus() SAL_OVERRIDE;
protected:
virtual bool Close() SAL_OVERRIDE;
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx
index 456c4f8afb25..01a2de76c2ea 100644
--- a/include/svx/dlgctrl.hxx
+++ b/include/svx/dlgctrl.hxx
@@ -65,8 +65,8 @@ class SVX_DLLPUBLIC SvxRectCtl : public Control
{
private:
SVX_DLLPRIVATE void InitSettings( bool bForeground, bool bBackground );
- SVX_DLLPRIVATE void InitRectBitmap( void );
- SVX_DLLPRIVATE Bitmap& GetRectBitmap( void );
+ SVX_DLLPRIVATE void InitRectBitmap();
+ SVX_DLLPRIVATE Bitmap& GetRectBitmap();
SVX_DLLPRIVATE void Resize_Impl();
protected:
@@ -115,9 +115,9 @@ public:
void SetState( CTL_STATE nState );
- sal_uInt8 GetNumOfChildren( void ) const; // returns number of usable radio buttons
+ sal_uInt8 GetNumOfChildren() const; // returns number of usable radio buttons
- Rectangle CalculateFocusRectangle( void ) const;
+ Rectangle CalculateFocusRectangle() const;
Rectangle CalculateFocusRectangle( RECT_POINT eRectPoint ) const;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible() SAL_OVERRIDE;
@@ -341,7 +341,7 @@ class SVX_DLLPUBLIC LineEndLB : public ListBox
public:
LineEndLB( vcl::Window* pParent, WinBits aWB );
- virtual ~LineEndLB (void);
+ virtual ~LineEndLB();
void Fill( const XLineEndListRef &pList, bool bStart = true );
diff --git a/include/svx/fmdmod.hxx b/include/svx/fmdmod.hxx
index 31f3856c4942..8a5a1676a646 100644
--- a/include/svx/fmdmod.hxx
+++ b/include/svx/fmdmod.hxx
@@ -32,7 +32,7 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstance(const OUString& ServiceSpecifier) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceWithArguments(const OUString& ServiceSpecifier, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments) throw( ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAvailableServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
};
#endif // INCLUDED_SVX_FMDMOD_HXX
diff --git a/include/svx/fmdpage.hxx b/include/svx/fmdpage.hxx
index 8717f2ff2fa1..ba7e8ef5a759 100644
--- a/include/svx/fmdpage.hxx
+++ b/include/svx/fmdpage.hxx
@@ -55,13 +55,13 @@ public:
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XFormsSupplier
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > SAL_CALL getForms(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > SAL_CALL getForms() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// XFormsSupplier2
- virtual sal_Bool SAL_CALL hasForms(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL hasForms() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// ::com::sun::star::lang::XServiceInfo
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
};
#endif // INCLUDED_SVX_FMDPAGE_HXX
diff --git a/include/svx/fmtools.hxx b/include/svx/fmtools.hxx
index 61edca34e54b..225c77324979 100644
--- a/include/svx/fmtools.hxx
+++ b/include/svx/fmtools.hxx
@@ -136,13 +136,13 @@ public:
{ return m_xMoveOperations->queryInterface(type); }
// css::uno::Reference< css::sdbcx::XRowLocate>
- css::uno::Any getBookmark(void)
+ css::uno::Any getBookmark()
throw( css::sdbc::SQLException, css::uno::RuntimeException )
{ return m_xBookmarkOperations->getBookmark(); }
bool moveToBookmark(const css::uno::Any& bookmark) throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->moveToBookmark(bookmark); }
bool moveRelativeToBookmark(const css::uno::Any& bookmark, sal_Int32 rows) throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->moveRelativeToBookmark(bookmark, rows); }
sal_Int32 compareBookmarks(const css::uno::Any& lhs, const css::uno::Any& rhs) const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->compareBookmarks(lhs, rhs); }
- sal_Int32 hasOrderedBookmarks(void) const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->hasOrderedBookmarks(); }
+ sal_Int32 hasOrderedBookmarks() const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->hasOrderedBookmarks(); }
sal_Int32 hashBookmark(const css::uno::Any& bookmark) const throw( css::sdbc::SQLException, css::uno::RuntimeException ) { return m_xBookmarkOperations->hashBookmark(bookmark); }
// css::sdbc::XResultSet
diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx
index 0c9461f73891..f6c276a7c10c 100644
--- a/include/svx/fntctrl.hxx
+++ b/include/svx/fntctrl.hxx
@@ -74,7 +74,7 @@ public:
void SetFontWidthScale( sal_uInt16 nScaleInPercent );
- void AutoCorrectFontColor( void );
+ void AutoCorrectFontColor();
void SetPreviewText( const OUString& rString );
void SetFontNameAsPreviewText();
diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx
index c7c80a48b15a..1c3a90ee50ca 100644
--- a/include/svx/linectrl.hxx
+++ b/include/svx/linectrl.hxx
@@ -107,7 +107,7 @@ protected:
the focus to the line ends value set so that it can be controlled with
the keyboard.
*/
- virtual void GetFocus (void) SAL_OVERRIDE;
+ virtual void GetFocus() SAL_OVERRIDE;
public:
SvxLineEndWindow( sal_uInt16 nId,
diff --git a/include/svx/numfmtsh.hxx b/include/svx/numfmtsh.hxx
index 0c1626591f64..5d972675d8de 100644
--- a/include/svx/numfmtsh.hxx
+++ b/include/svx/numfmtsh.hxx
@@ -176,7 +176,7 @@ public:
OUString const& rFmtString);
void SetUseStarFormat( bool bUse ) { bUseStarFormat = bUse; }
- bool IsUseStarFormat( void ) { return bUseStarFormat; }
+ bool IsUseStarFormat() { return bUseStarFormat; }
private:
static const double DEFAULT_NUMVALUE;
diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx
index bd605a17778e..d0e9429501a2 100644
--- a/include/svx/rubydialog.hxx
+++ b/include/svx/rubydialog.hxx
@@ -155,7 +155,7 @@ class SvxRubyDialog : public SfxModelessDialog
void GetCurrentText(OUString& rBase, OUString& rRuby);
- void UpdateColors( void );
+ void UpdateColors();
protected:
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
public:
diff --git a/include/svx/sidebar/Popup.hxx b/include/svx/sidebar/Popup.hxx
index e11e8c1ee6b0..7f0d804f78c2 100644
--- a/include/svx/sidebar/Popup.hxx
+++ b/include/svx/sidebar/Popup.hxx
@@ -53,7 +53,7 @@ public :
vcl::Window* pParent,
const ::boost::function<PopupControl*(PopupContainer*)>& rControlCreator,
const ::rtl::OUString& rsAccessibleName);
- virtual ~Popup (void);
+ virtual ~Popup();
/** Show the popup.
@rToolBox
@@ -68,12 +68,12 @@ public :
application can call Hide() when the popup should be closed
for other, non-standard reasons.
*/
- void Hide (void);
+ void Hide();
/** If you want to be informed when the popup closes then add a
callback that is called after that.
*/
- void SetPopupModeEndHandler (const ::boost::function<void(void)>& rCallback);
+ void SetPopupModeEndHandler (const ::boost::function<void()>& rCallback);
protected:
std::unique_ptr<PopupControl> mxControl;
@@ -81,17 +81,17 @@ protected:
/** Make sure that both PopupContainer and PopupControl objects
exist. Calls the maControlCreator functor if necessary.
*/
- void ProvideContainerAndControl (void);
+ void ProvideContainerAndControl();
/** A derived specialisation class can override this method to do
additional work.
*/
- void CreateContainerAndControl (void);
+ void CreateContainerAndControl();
private:
vcl::Window* mpParent;
::boost::function<PopupControl*(PopupContainer*)> maControlCreator;
- ::boost::function<void(void)> maPopupModeEndCallback;
+ ::boost::function<void()> maPopupModeEndCallback;
const ::rtl::OUString msAccessibleName;
std::unique_ptr<PopupContainer> mxContainer;
diff --git a/include/svx/sidebar/PopupContainer.hxx b/include/svx/sidebar/PopupContainer.hxx
index f8f6f524573f..f15c283ff313 100644
--- a/include/svx/sidebar/PopupContainer.hxx
+++ b/include/svx/sidebar/PopupContainer.hxx
@@ -34,7 +34,7 @@ class SVX_DLLPUBLIC PopupContainer
{
public:
PopupContainer (vcl::Window* pParent);
- virtual ~PopupContainer (void);
+ virtual ~PopupContainer();
virtual bool Notify (NotifyEvent& rNEvt) SAL_OVERRIDE;
};
diff --git a/include/svx/sidebar/PopupControl.hxx b/include/svx/sidebar/PopupControl.hxx
index 84bed5af5870..32658b3ae4d7 100644
--- a/include/svx/sidebar/PopupControl.hxx
+++ b/include/svx/sidebar/PopupControl.hxx
@@ -38,7 +38,7 @@ public :
PopupControl (
vcl::Window* pParent,
const ResId& rResId);
- virtual ~PopupControl (void);
+ virtual ~PopupControl();
virtual void Paint (const Rectangle& rect) SAL_OVERRIDE;
};
diff --git a/include/svx/sidebar/SelectionChangeHandler.hxx b/include/svx/sidebar/SelectionChangeHandler.hxx
index ed5e9a80ad1e..715265840c57 100644
--- a/include/svx/sidebar/SelectionChangeHandler.hxx
+++ b/include/svx/sidebar/SelectionChangeHandler.hxx
@@ -48,10 +48,10 @@ class SVX_DLLPUBLIC SelectionChangeHandler
{
public:
SelectionChangeHandler (
- const boost::function<rtl::OUString(void)>& rSelectionChangeCallback,
+ const boost::function<rtl::OUString()>& rSelectionChangeCallback,
const css::uno::Reference<css::frame::XController>& rxController,
const sfx2::sidebar::EnumContext::Context eDefaultContext);
- virtual ~SelectionChangeHandler (void);
+ virtual ~SelectionChangeHandler();
virtual void SAL_CALL selectionChanged (const css::lang::EventObject& rEvent)
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -59,17 +59,17 @@ public:
virtual void SAL_CALL disposing (const css::lang::EventObject& rEvent)
throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL disposing (void)
+ virtual void SAL_CALL disposing()
throw (css::uno::RuntimeException) SAL_OVERRIDE;
- void Connect (void);
- void Disconnect (void);
+ void Connect();
+ void Disconnect();
private:
SelectionChangeHandler(const SelectionChangeHandler&) SAL_DELETED_FUNCTION;
SelectionChangeHandler& operator=(const SelectionChangeHandler&) SAL_DELETED_FUNCTION;
- const boost::function<rtl::OUString(void)> maSelectionChangeCallback;
+ const boost::function<rtl::OUString()> maSelectionChangeCallback;
css::uno::Reference<css::frame::XController> mxController;
const sfx2::sidebar::EnumContext::Context meDefaultContext;
bool mbIsConnected;
diff --git a/include/svx/sidebar/SidebarDialControl.hxx b/include/svx/sidebar/SidebarDialControl.hxx
index a77d0f412419..1d829d27fe76 100644
--- a/include/svx/sidebar/SidebarDialControl.hxx
+++ b/include/svx/sidebar/SidebarDialControl.hxx
@@ -29,7 +29,7 @@ class SVX_DLLPUBLIC SidebarDialControl : public svx::DialControl
{
public:
SidebarDialControl (vcl::Window* pParent, WinBits nBits = 0);
- virtual ~SidebarDialControl (void);
+ virtual ~SidebarDialControl();
virtual Size GetOptimalSize() const SAL_OVERRIDE;
virtual void MouseButtonDown (const MouseEvent& rMEvt) SAL_OVERRIDE;
diff --git a/include/svx/sidebar/ValueSetWithTextControl.hxx b/include/svx/sidebar/ValueSetWithTextControl.hxx
index 33054ead6feb..e6724b278c9c 100644
--- a/include/svx/sidebar/ValueSetWithTextControl.hxx
+++ b/include/svx/sidebar/ValueSetWithTextControl.hxx
@@ -52,7 +52,7 @@ public:
vcl::Window* pParent,
const ResId& rResId);
- virtual ~ValueSetWithTextControl(void);
+ virtual ~ValueSetWithTextControl();
// add item for control type IMAGE_TEXT
// if control type does not match IMAGE_TEXT no item is added.
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index 971c5b250f0f..6d0e2017771f 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -500,7 +500,7 @@ public:
// @return
// If no navigation position has been explicitly defined then the
// result of GetOrdNum() is returned.
- sal_uInt32 GetNavigationPosition (void);
+ sal_uInt32 GetNavigationPosition();
// Set the position in the navigation position to the given value.
// This method is typically used only by the model after a change to
diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx
index 868dc49ee801..bdd0c981ab2a 100644
--- a/include/svx/svdpage.hxx
+++ b/include/svx/svdpage.hxx
@@ -201,7 +201,7 @@ public:
different from those returne by SdrObject::GetOrdNum() and
GetObj().
*/
- bool HasObjectNavigationOrder (void) const;
+ bool HasObjectNavigationOrder() const;
/** Set the navigation position of the given object to the specified
value. Note that this changes the navigation position for all
@@ -225,7 +225,7 @@ public:
/** Restore the navigation order to that defined by the z-order.
*/
- void ClearObjectNavigationOrder (void);
+ void ClearObjectNavigationOrder();
/** Set the navigation position of all SdrObjects to their position in
the mxNavigationOrder list. This method returns immediately when no
@@ -237,7 +237,7 @@ public:
for example because no explicit navigation order has been
defined, i.e. HasObjectNavigationOrder() would return <FALSE/>.
*/
- bool RecalcNavigationPositions (void);
+ bool RecalcNavigationPositions();
/** Set the navigation order to the one defined by the given list of
XShape objects.
diff --git a/include/svx/swframeexample.hxx b/include/svx/swframeexample.hxx
index b6f698c0773f..45bb9098c83a 100644
--- a/include/svx/swframeexample.hxx
+++ b/include/svx/swframeexample.hxx
@@ -61,7 +61,7 @@ class SVX_DLLPUBLIC SvxSwFrameExample : public vcl::Window
Point aRelPos;
- void InitColors_Impl( void );
+ void InitColors_Impl();
void InitAllRects_Impl();
void CalcBoundRect_Impl(Rectangle &rRect);
Rectangle DrawInnerFrame_Impl(const Rectangle &rRect, const Color &rFillColor, const Color &rBorderColor);
diff --git a/include/svx/viewpt3d.hxx b/include/svx/viewpt3d.hxx
index 1778bffb8da4..e546f20643a0 100644
--- a/include/svx/viewpt3d.hxx
+++ b/include/svx/viewpt3d.hxx
@@ -75,7 +75,7 @@ class SVX_DLLPUBLIC Viewport3D
double fWRatio; // device/view aspect ratio
double fHRatio;
- void MakeTransform(void);
+ void MakeTransform();
public:
Viewport3D();
diff --git a/include/svx/xmlexchg.hxx b/include/svx/xmlexchg.hxx
index 7de6e3ab923c..18b09be08f8b 100644
--- a/include/svx/xmlexchg.hxx
+++ b/include/svx/xmlexchg.hxx
@@ -50,7 +50,7 @@ namespace svx
OUString szServiceName;
css::uno::Reference< css::beans::XPropertySet > xPropSet;
- inline OXFormsDescriptor( void ) {}
+ inline OXFormsDescriptor() {}
inline OXFormsDescriptor( const OXFormsDescriptor &rhs ) { *this=rhs; }
inline OXFormsDescriptor &operator = ( const OXFormsDescriptor &rhs ) {
szName = rhs.szName;