summaryrefslogtreecommitdiff
path: root/basic/source/inc/namecont.hxx
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 /basic/source/inc/namecont.hxx
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 'basic/source/inc/namecont.hxx')
-rw-r--r--basic/source/inc/namecont.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx
index 9e20a0865363..82b9ddf9b80c 100644
--- a/basic/source/inc/namecont.hxx
+++ b/basic/source/inc/namecont.hxx
@@ -293,7 +293,7 @@ protected:
virtual SfxLibrary* SAL_CALL implCreateLibraryLink
( const OUString& aName, const OUString& aLibInfoFileURL,
const OUString& StorageURL, bool ReadOnly ) = 0;
- virtual ::com::sun::star::uno::Any SAL_CALL createEmptyLibraryElement( void ) = 0;
+ virtual ::com::sun::star::uno::Any SAL_CALL createEmptyLibraryElement() = 0;
virtual bool SAL_CALL isLibraryElementValid(const css::uno::Any& rElement) const = 0;
virtual void SAL_CALL writeLibraryElement
(
@@ -331,11 +331,11 @@ protected:
// #56666, Creates another library container
// instance of the same derived class
- virtual SfxLibraryContainer* createInstanceImpl( void ) = 0;
+ virtual SfxLibraryContainer* createInstanceImpl() = 0;
// Interface to get the BasicManager (Hack for password implementation)
- BasicManager* getBasicManager( void );
+ BasicManager* getBasicManager();
OUString createAppLibraryFolder( SfxLibrary* pLib, const OUString& aName );
void init( const OUString& rInitialDocumentURL,
@@ -375,10 +375,10 @@ protected:
private:
void init_Impl( const OUString& rInitialDocumentURL,
const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& _rxInitialStorage );
- void implScanExtensions( void );
+ void implScanExtensions();
public:
- SfxLibraryContainer( void );
+ SfxLibraryContainer();
virtual ~SfxLibraryContainer();
@@ -600,8 +600,8 @@ private:
// Additional functionality for localisation
// Provide modify state including resources
- virtual bool isModified( void ) = 0;
- virtual void storeResources( void ) = 0;
+ virtual bool isModified() = 0;
+ virtual void storeResources() = 0;
virtual void storeResourcesAsURL( const OUString& URL, const OUString& NewName ) = 0;
virtual void storeResourcesToURL( const OUString& URL,
const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& xHandler ) = 0;
@@ -744,7 +744,7 @@ public:
class ScriptExtensionIterator
{
public:
- ScriptExtensionIterator( void );
+ ScriptExtensionIterator();
OUString nextBasicOrDialogLibrary( bool& rbPureDialogLib );
protected: