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
This commit is contained in:
Noel Grandin
2015-04-15 11:47:12 +02:00
parent 135907f206
commit 71b809959b
1645 changed files with 7927 additions and 7927 deletions
@@ -78,8 +78,8 @@ namespace accessibility
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo - static methods
static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw(com::sun::star::uno::RuntimeException);
static OUString getImplementationName_Static(void) throw(com::sun::star::uno::RuntimeException);
static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(com::sun::star::uno::RuntimeException);
static OUString getImplementationName_Static() throw(com::sun::star::uno::RuntimeException);
// XAccessible
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -119,8 +119,8 @@ namespace accessibility
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo - static methods
static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw(com::sun::star::uno::RuntimeException);
static OUString getImplementationName_Static(void) throw(com::sun::star::uno::RuntimeException);
static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(com::sun::star::uno::RuntimeException);
static OUString getImplementationName_Static() throw(com::sun::star::uno::RuntimeException);
// XEventListener
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -90,8 +90,8 @@ namespace accessibility
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo - static methods
static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw(com::sun::star::uno::RuntimeException);
static OUString getImplementationName_Static(void) throw(com::sun::star::uno::RuntimeException);
static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(com::sun::star::uno::RuntimeException);
static OUString getImplementationName_Static() throw(com::sun::star::uno::RuntimeException);
// XAccessible
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -155,8 +155,8 @@ namespace accessibility
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo - static methods
static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw(com::sun::star::uno::RuntimeException);
static OUString getImplementationName_Static(void) throw(com::sun::star::uno::RuntimeException);
static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(com::sun::star::uno::RuntimeException);
static OUString getImplementationName_Static() throw(com::sun::star::uno::RuntimeException);
// XAccessible
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -92,7 +92,7 @@ public:
DECLARE_XTYPEPROVIDER( )
// XServiceInfo
virtual OUString SAL_CALL getImplementationName (void)
virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleSelection
@@ -72,7 +72,7 @@ public:
actual list. The text field is not provided for non drop down list
boxes.
*/
sal_Int32 SAL_CALL getAccessibleChildCount (void)
sal_Int32 SAL_CALL getAccessibleChildCount()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/** For drop down list boxes the text field is a not editable
<type>VCLXAccessibleTextField</type>, for combo boxes it is an
@@ -84,17 +84,17 @@ public:
/** The role is always <const
scope="com::sun::star::accessibility">AccessibleRole::COMBO_BOX</const>.
*/
sal_Int16 SAL_CALL getAccessibleRole (void)
sal_Int16 SAL_CALL getAccessibleRole()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
sal_Int32 SAL_CALL getAccessibleIndexInParent (void)
sal_Int32 SAL_CALL getAccessibleIndexInParent()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleAction
/** There is one action for drop down boxes and none for others.
*/
virtual sal_Int32 SAL_CALL getAccessibleActionCount (void)
virtual sal_Int32 SAL_CALL getAccessibleActionCount()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/** The action for drop down boxes lets the user toggle the visibility of the
popup menu.
@@ -121,7 +121,7 @@ public:
/** This method is called from the implementation helper during an
XComponent::dispose() call.
*/
virtual void SAL_CALL disposing (void) SAL_OVERRIDE;
virtual void SAL_CALL disposing() SAL_OVERRIDE;
//===== XAccessibleValue ================================================
@@ -170,11 +170,11 @@ protected:
*/
bool m_bHasListChild;
virtual ~VCLXAccessibleBox (void);
virtual ~VCLXAccessibleBox();
/** Returns </true> when the object is valid.
*/
virtual bool IsValid (void) const = 0;
virtual bool IsValid() const = 0;
virtual void ProcessWindowChildEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
@@ -39,17 +39,17 @@ public:
VCLXAccessibleComboBox (VCLXWindow* pVCLXindow);
// XServiceInfo
virtual OUString SAL_CALL getImplementationName (void)
virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return combo box specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames (void)
getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
virtual ~VCLXAccessibleComboBox (void);
virtual ~VCLXAccessibleComboBox();
virtual bool IsValid (void) const SAL_OVERRIDE;
virtual bool IsValid() const SAL_OVERRIDE;
virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
};
@@ -41,17 +41,17 @@ public:
VCLXAccessibleDropDownComboBox (VCLXWindow* pVCLXindow);
// XServiceInfo
virtual OUString SAL_CALL getImplementationName (void)
virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return drop down combo box specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames (void)
getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
virtual ~VCLXAccessibleDropDownComboBox (void);
virtual ~VCLXAccessibleDropDownComboBox();
virtual bool IsValid (void) const SAL_OVERRIDE;
virtual bool IsValid() const SAL_OVERRIDE;
virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
};
@@ -40,17 +40,17 @@ public:
VCLXAccessibleDropDownListBox (VCLXWindow* pVCLXindow);
// XServiceInfo
virtual OUString SAL_CALL getImplementationName (void)
virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return drop down list box specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames (void)
getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
virtual ~VCLXAccessibleDropDownListBox (void);
virtual ~VCLXAccessibleDropDownListBox();
virtual bool IsValid (void) const SAL_OVERRIDE;
virtual bool IsValid() const SAL_OVERRIDE;
virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
};
@@ -89,11 +89,11 @@ public:
// XAccessible
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL
getAccessibleContext (void)
getAccessibleContext()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleContext
virtual sal_Int32 SAL_CALL getAccessibleChildCount (void)
virtual sal_Int32 SAL_CALL getAccessibleChildCount()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 i)
@@ -105,17 +105,17 @@ public:
/** The index returned as index in parent is always the one set with the
<member>SetIndexInParent()</member> method.
*/
virtual sal_Int32 SAL_CALL getAccessibleIndexInParent (void)
virtual sal_Int32 SAL_CALL getAccessibleIndexInParent()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int16 SAL_CALL getAccessibleRole (void)
virtual sal_Int16 SAL_CALL getAccessibleRole()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName (void)
virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return list specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames (void)
getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleSelection
@@ -154,12 +154,12 @@ protected:
::com::sun::star::uno::WeakReference< ::com::sun::star::accessibility::XAccessible>
m_xSelectedItem;
virtual ~VCLXAccessibleList (void);
virtual ~VCLXAccessibleList();
/** This function is called from the implementation helper during a
XComponent::dispose call. Free the list of items and the items themselves.
*/
virtual void SAL_CALL disposing (void) SAL_OVERRIDE;
virtual void SAL_CALL disposing() SAL_OVERRIDE;
/** This method adds the states
<const>AccessibleStateType::FOCUSABLE</const> and possibly
@@ -200,7 +200,7 @@ private:
*/
void clearItems();
void UpdateEntryRange_Impl (void);
void UpdateEntryRange_Impl();
protected:
void UpdateSelection_Impl (sal_uInt16 nPos = 0);
bool checkEntrySelected(sal_uInt16 _nPos,
@@ -37,17 +37,17 @@ public:
VCLXAccessibleListBox (VCLXWindow* pVCLXindow);
// XServiceInfo
virtual OUString SAL_CALL getImplementationName (void)
virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return list box specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames (void)
getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
virtual ~VCLXAccessibleListBox (void);
virtual ~VCLXAccessibleListBox();
virtual bool IsValid (void) const SAL_OVERRIDE;
virtual bool IsValid() const SAL_OVERRIDE;
virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
};
@@ -156,8 +156,8 @@ public:
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( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL getForeground (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL getBackground (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL getForeground() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual sal_Int32 SAL_CALL getBackground() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleText
virtual sal_Int32 SAL_CALL getCaretPosition() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -52,36 +52,36 @@ public:
// XAccessible
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL
getAccessibleContext (void)
getAccessibleContext()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleContext
sal_Int32 SAL_CALL getAccessibleChildCount (void)
sal_Int32 SAL_CALL getAccessibleChildCount()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 i)
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
sal_Int16 SAL_CALL getAccessibleRole (void)
sal_Int16 SAL_CALL getAccessibleRole()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL
getAccessibleParent( )
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
virtual OUString SAL_CALL getImplementationName (void)
virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return text field specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
getSupportedServiceNames (void)
getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
virtual ~VCLXAccessibleTextField (void);
virtual ~VCLXAccessibleTextField();
/** With this method the text of the currently selected item is made
available to the <type>VCLXAccessibleTextComponent</type> base class.
*/
OUString implGetText (void) SAL_OVERRIDE;
OUString implGetText() SAL_OVERRIDE;
private:
/** We need to save the accessible parent to return it in <type>getAccessibleParent()</type>,
@@ -145,7 +145,7 @@ namespace accessibility
// XServiceInfo - static methods
Sequence< OUString > AccessibleIconChoiceCtrl::getSupportedServiceNames_Static(void) throw (RuntimeException)
Sequence< OUString > AccessibleIconChoiceCtrl::getSupportedServiceNames_Static() throw (RuntimeException)
{
Sequence< OUString > aSupported(3);
aSupported[0] = "com.sun.star.accessibility.AccessibleContext";
@@ -154,7 +154,7 @@ namespace accessibility
return aSupported;
}
OUString AccessibleIconChoiceCtrl::getImplementationName_Static(void) throw (RuntimeException)
OUString AccessibleIconChoiceCtrl::getImplementationName_Static() throw (RuntimeException)
{
return OUString( "com.sun.star.comp.svtools.AccessibleIconChoiceControl" );
}
@@ -247,7 +247,7 @@ throw(RuntimeException, std::exception)
// XServiceInfo - static methods
Sequence< OUString > AccessibleIconChoiceCtrlEntry::getSupportedServiceNames_Static(void) throw( RuntimeException )
Sequence< OUString > AccessibleIconChoiceCtrlEntry::getSupportedServiceNames_Static() throw( RuntimeException )
{
Sequence< OUString > aSupported(3);
aSupported[0] = "com.sun.star.accessibility.AccessibleContext";
@@ -256,7 +256,7 @@ throw(RuntimeException, std::exception)
return aSupported;
}
OUString AccessibleIconChoiceCtrlEntry::getImplementationName_Static(void) throw( RuntimeException )
OUString AccessibleIconChoiceCtrlEntry::getImplementationName_Static() throw( RuntimeException )
{
return OUString( "com.sun.star.comp.svtools.AccessibleIconChoiceControlEntry" );
}
@@ -340,7 +340,7 @@ namespace accessibility
// XServiceInfo - static methods
Sequence< OUString > AccessibleListBox::getSupportedServiceNames_Static(void) throw( RuntimeException )
Sequence< OUString > AccessibleListBox::getSupportedServiceNames_Static() throw( RuntimeException )
{
Sequence< OUString > aSupported(3);
aSupported[0] = "com.sun.star.accessibility.AccessibleContext";
@@ -349,7 +349,7 @@ namespace accessibility
return aSupported;
}
OUString AccessibleListBox::getImplementationName_Static(void) throw( RuntimeException )
OUString AccessibleListBox::getImplementationName_Static() throw( RuntimeException )
{
return OUString( "com.sun.star.comp.svtools.AccessibleTreeListBox" );
}
@@ -273,7 +273,7 @@ namespace accessibility
// XServiceInfo - static methods
Sequence< OUString > AccessibleListBoxEntry::getSupportedServiceNames_Static(void) throw( RuntimeException )
Sequence< OUString > AccessibleListBoxEntry::getSupportedServiceNames_Static() throw( RuntimeException )
{
Sequence< OUString > aSupported(3);
aSupported[0] = "com.sun.star.accessibility.AccessibleContext";
@@ -282,7 +282,7 @@ namespace accessibility
return aSupported;
}
OUString AccessibleListBoxEntry::getImplementationName_Static(void) throw( RuntimeException )
OUString AccessibleListBoxEntry::getImplementationName_Static() throw( RuntimeException )
{
return OUString( "com.sun.star.comp.svtools.AccessibleTreeListBoxEntry" );
}
@@ -320,7 +320,7 @@ namespace accessibility
// XServiceInfo
OUString AccessibleTabListBoxTable::getImplementationName (void) throw (RuntimeException, std::exception)
OUString AccessibleTabListBoxTable::getImplementationName() throw (RuntimeException, std::exception)
{
return OUString( "com.sun.star.comp.svtools.AccessibleTabListBoxTable" );
}
@@ -55,7 +55,7 @@ VCLXAccessibleBox::VCLXAccessibleBox (VCLXWindow* pVCLWindow, BoxType aType, boo
m_bHasTextChild = true;
}
VCLXAccessibleBox::~VCLXAccessibleBox (void)
VCLXAccessibleBox::~VCLXAccessibleBox()
{
}
@@ -271,7 +271,7 @@ Reference< XAccessibleContext > SAL_CALL VCLXAccessibleBox::getAccessibleContext
//===== XAccessibleContext ==================================================
sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleChildCount (void)
sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleChildCount()
throw (RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
@@ -345,7 +345,7 @@ Reference<XAccessible> SAL_CALL VCLXAccessibleBox::getAccessibleChild (sal_Int32
return xChild;
}
sal_Int16 SAL_CALL VCLXAccessibleBox::getAccessibleRole (void) throw (RuntimeException, std::exception)
sal_Int16 SAL_CALL VCLXAccessibleBox::getAccessibleRole() throw (RuntimeException, std::exception)
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -359,7 +359,7 @@ sal_Int16 SAL_CALL VCLXAccessibleBox::getAccessibleRole (void) throw (RuntimeExc
return AccessibleRole::PANEL;
}
sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleIndexInParent (void)
sal_Int32 SAL_CALL VCLXAccessibleBox::getAccessibleIndexInParent()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
if (m_nIndexInParent != DEFAULT_INDEX_IN_PARENT)
@@ -451,7 +451,7 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleBox::getAccessibleActionKeyBind
//===== XComponent ==========================================================
void SAL_CALL VCLXAccessibleBox::disposing (void)
void SAL_CALL VCLXAccessibleBox::disposing()
{
VCLXAccessibleComponent::disposing();
}
@@ -39,14 +39,14 @@ VCLXAccessibleComboBox::VCLXAccessibleComboBox (VCLXWindow* pVCLWindow)
VCLXAccessibleComboBox::~VCLXAccessibleComboBox (void)
VCLXAccessibleComboBox::~VCLXAccessibleComboBox()
{
}
bool VCLXAccessibleComboBox::IsValid (void) const
bool VCLXAccessibleComboBox::IsValid() const
{
return static_cast<ComboBox*>(GetWindow()) != NULL;
@@ -65,7 +65,7 @@ void VCLXAccessibleComboBox::ProcessWindowEvent (const VclWindowEvent& rVclWindo
//===== XServiceInfo ========================================================
OUString VCLXAccessibleComboBox::getImplementationName (void)
OUString VCLXAccessibleComboBox::getImplementationName()
throw (RuntimeException, std::exception)
{
return OUString( "com.sun.star.comp.toolkit.AccessibleComboBox" );
@@ -74,7 +74,7 @@ OUString VCLXAccessibleComboBox::getImplementationName (void)
Sequence< OUString > VCLXAccessibleComboBox::getSupportedServiceNames (void)
Sequence< OUString > VCLXAccessibleComboBox::getSupportedServiceNames()
throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames();
@@ -53,13 +53,13 @@ VCLXAccessibleDropDownComboBox::VCLXAccessibleDropDownComboBox (VCLXWindow* pVCL
VCLXAccessibleDropDownComboBox::~VCLXAccessibleDropDownComboBox (void)
VCLXAccessibleDropDownComboBox::~VCLXAccessibleDropDownComboBox()
{
}
bool VCLXAccessibleDropDownComboBox::IsValid (void) const
bool VCLXAccessibleDropDownComboBox::IsValid() const
{
return static_cast<ComboBox*>(GetWindow()) != NULL;
@@ -97,7 +97,7 @@ OUString VCLXAccessibleDropDownComboBox::getImplementationName()
Sequence< OUString > VCLXAccessibleDropDownComboBox::getSupportedServiceNames (void)
Sequence< OUString > VCLXAccessibleDropDownComboBox::getSupportedServiceNames()
throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames();
@@ -59,7 +59,7 @@ VCLXAccessibleDropDownListBox::~VCLXAccessibleDropDownListBox()
bool VCLXAccessibleDropDownListBox::IsValid (void) const
bool VCLXAccessibleDropDownListBox::IsValid() const
{
return static_cast<ListBox*>(GetWindow()) != NULL;
@@ -87,7 +87,7 @@ OUString VCLXAccessibleDropDownListBox::getImplementationName()
Sequence< OUString > VCLXAccessibleDropDownListBox::getSupportedServiceNames (void)
Sequence< OUString > VCLXAccessibleDropDownListBox::getSupportedServiceNames()
throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames();
@@ -96,7 +96,7 @@ VCLXAccessibleList::VCLXAccessibleList (VCLXWindow* pVCLWindow, BoxType aBoxType
}
VCLXAccessibleList::~VCLXAccessibleList (void)
VCLXAccessibleList::~VCLXAccessibleList()
{
delete m_pListBoxHelper;
}
@@ -108,7 +108,7 @@ void VCLXAccessibleList::SetIndexInParent (sal_Int32 nIndex)
}
void SAL_CALL VCLXAccessibleList::disposing (void)
void SAL_CALL VCLXAccessibleList::disposing()
{
VCLXAccessibleComponent::disposing();
@@ -561,7 +561,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2(VCLXAccessibleList, VCLXAccessibleComponent, VC
//===== XAccessible =========================================================
Reference<XAccessibleContext> SAL_CALL
VCLXAccessibleList::getAccessibleContext (void)
VCLXAccessibleList::getAccessibleContext()
throw (RuntimeException, std::exception)
{
return this;
@@ -570,7 +570,7 @@ Reference<XAccessibleContext> SAL_CALL
//===== XAccessibleContext ==================================================
sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleChildCount (void)
sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleChildCount()
throw (RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
@@ -614,7 +614,7 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleList::getAccessibleParent( )
return m_xParent;
}
sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleIndexInParent (void)
sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleIndexInParent()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
if (m_nIndexInParent != DEFAULT_INDEX_IN_PARENT)
@@ -623,20 +623,20 @@ sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleIndexInParent (void)
return VCLXAccessibleComponent::getAccessibleIndexInParent();
}
sal_Int16 SAL_CALL VCLXAccessibleList::getAccessibleRole (void)
sal_Int16 SAL_CALL VCLXAccessibleList::getAccessibleRole()
throw (RuntimeException, std::exception)
{
return AccessibleRole::LIST;
}
//===== XServiceInfo ==========================================================
OUString VCLXAccessibleList::getImplementationName (void)
OUString VCLXAccessibleList::getImplementationName()
throw (RuntimeException, std::exception)
{
return OUString( "com.sun.star.comp.toolkit.AccessibleList" );
}
Sequence< OUString > VCLXAccessibleList::getSupportedServiceNames (void)
Sequence< OUString > VCLXAccessibleList::getSupportedServiceNames()
throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames = VCLXAccessibleComponent::getSupportedServiceNames();
@@ -50,14 +50,14 @@ VCLXAccessibleListBox::VCLXAccessibleListBox (VCLXWindow* pVCLWindow)
VCLXAccessibleListBox::~VCLXAccessibleListBox (void)
VCLXAccessibleListBox::~VCLXAccessibleListBox()
{
}
bool VCLXAccessibleListBox::IsValid (void) const
bool VCLXAccessibleListBox::IsValid() const
{
return static_cast<ListBox*>(GetWindow()) != NULL;
@@ -76,7 +76,7 @@ void VCLXAccessibleListBox::ProcessWindowEvent (const VclWindowEvent& rVclWindow
//===== XServiceInfo ========================================================
OUString VCLXAccessibleListBox::getImplementationName (void)
OUString VCLXAccessibleListBox::getImplementationName()
throw (RuntimeException, std::exception)
{
return OUString( "com.sun.star.comp.toolkit.AccessibleListBox" );
@@ -85,7 +85,7 @@ OUString VCLXAccessibleListBox::getImplementationName (void)
Sequence< OUString > VCLXAccessibleListBox::getSupportedServiceNames (void)
Sequence< OUString > VCLXAccessibleListBox::getSupportedServiceNames()
throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames = VCLXAccessibleBox::getSupportedServiceNames();
@@ -629,7 +629,7 @@ void SAL_CALL VCLXAccessibleListItem::removeAccessibleEventListener( const Refer
// AF (Oct. 29 2002): Return black as constant foreground color. This is an
// initial implementation and has to be substituted by code that determines
// the color that is actually used.
sal_Int32 SAL_CALL VCLXAccessibleListItem::getForeground (void)
sal_Int32 SAL_CALL VCLXAccessibleListItem::getForeground()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return COL_BLACK;
@@ -638,7 +638,7 @@ sal_Int32 SAL_CALL VCLXAccessibleListItem::getForeground (void)
// AF (Oct. 29 2002): Return white as constant background color. This is an
// initial implementation and has to be substituted by code that determines
// the color that is actually used.
sal_Int32 SAL_CALL VCLXAccessibleListItem::getBackground (void)
sal_Int32 SAL_CALL VCLXAccessibleListItem::getBackground()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
return COL_WHITE;
@@ -49,14 +49,14 @@ VCLXAccessibleTextField::VCLXAccessibleTextField (VCLXWindow* pVCLWindow, const
VCLXAccessibleTextField::~VCLXAccessibleTextField (void)
VCLXAccessibleTextField::~VCLXAccessibleTextField()
{
}
OUString VCLXAccessibleTextField::implGetText (void)
OUString VCLXAccessibleTextField::implGetText()
{
OUString aText;
ListBox* pListBox = static_cast<ListBox*>(GetWindow());
@@ -76,7 +76,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2(VCLXAccessibleTextField, VCLXAccessibleTextComp
//===== XAccessible =========================================================
Reference<XAccessibleContext> SAL_CALL
VCLXAccessibleTextField::getAccessibleContext (void)
VCLXAccessibleTextField::getAccessibleContext()
throw (RuntimeException, std::exception)
{
return this;
@@ -85,7 +85,7 @@ Reference<XAccessibleContext> SAL_CALL
//===== XAccessibleContext ==================================================
sal_Int32 SAL_CALL VCLXAccessibleTextField::getAccessibleChildCount (void)
sal_Int32 SAL_CALL VCLXAccessibleTextField::getAccessibleChildCount()
throw (RuntimeException, std::exception)
{
return 0;
@@ -103,7 +103,7 @@ Reference<XAccessible> SAL_CALL VCLXAccessibleTextField::getAccessibleChild (sal
sal_Int16 SAL_CALL VCLXAccessibleTextField::getAccessibleRole (void)
sal_Int16 SAL_CALL VCLXAccessibleTextField::getAccessibleRole()
throw (RuntimeException, std::exception)
{
::osl::Guard< ::osl::Mutex > aGuard( GetMutex() );
@@ -123,7 +123,7 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleTextField::getAccessibleParent(
//===== XServiceInfo ==========================================================
OUString VCLXAccessibleTextField::getImplementationName (void)
OUString VCLXAccessibleTextField::getImplementationName()
throw (RuntimeException, std::exception)
{
return OUString( "com.sun.star.comp.toolkit.AccessibleTextField" );
@@ -132,7 +132,7 @@ OUString VCLXAccessibleTextField::getImplementationName (void)
Sequence< OUString > VCLXAccessibleTextField::getSupportedServiceNames (void)
Sequence< OUString > VCLXAccessibleTextField::getSupportedServiceNames()
throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames = VCLXAccessibleTextComponent::getSupportedServiceNames();
+4 -4
View File
@@ -144,7 +144,7 @@ public:
// XServiceInfo
OUString SAL_CALL getImplementationName() throw(std::exception) SAL_OVERRIDE;
Sequence< OUString > SAL_CALL getSupportedServiceNames(void) throw(std::exception) SAL_OVERRIDE;
Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(std::exception) SAL_OVERRIDE;
sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(std::exception) SAL_OVERRIDE;
// XChild
@@ -568,7 +568,7 @@ OUString getImplementationName_SET()
return OUString( "animcore::AnimateSet" );
}
Sequence<OUString> getSupportedServiceNames_ANIMATECOLOR(void)
Sequence<OUString> getSupportedServiceNames_ANIMATECOLOR()
{
Sequence<OUString> aRet(1);
aRet.getArray()[0] = "com.sun.star.animations.AnimateColor";
@@ -580,7 +580,7 @@ OUString getImplementationName_ANIMATECOLOR()
return OUString( "animcore::AnimateColor" );
}
Sequence<OUString> getSupportedServiceNames_ANIMATEMOTION(void)
Sequence<OUString> getSupportedServiceNames_ANIMATEMOTION()
{
Sequence<OUString> aRet(1);
aRet.getArray()[0] = "com.sun.star.animations.AnimateMotion";
@@ -881,7 +881,7 @@ sal_Bool AnimationNode::supportsService(const OUString& ServiceName) throw(std::
}
// XServiceInfo
Sequence< OUString > AnimationNode::getSupportedServiceNames(void) throw(std::exception)
Sequence< OUString > AnimationNode::getSupportedServiceNames() throw(std::exception)
{
switch( mnNodeType )
{
+1 -1
View File
@@ -74,7 +74,7 @@ public:
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// ::cppu::OComponentHelper
virtual void SAL_CALL disposing(void) SAL_OVERRIDE;
virtual void SAL_CALL disposing() SAL_OVERRIDE;
protected:
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > mxMgr;
+1 -1
View File
@@ -85,7 +85,7 @@ private:
static MacAVObserverObject* mpMacAVObserverObject;
public:
virtual ~MacAVObserverHandler() {}
MacAVObserverObject* getObserver( void ) const;
MacAVObserverObject* getObserver() const;
virtual bool handleObservation( NSString* pKeyPath ) = 0;
};
+1 -1
View File
@@ -87,7 +87,7 @@ public:
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw (::com::sun::star::uno::RuntimeException);
// ::cppu::OComponentHelper
virtual void SAL_CALL disposing(void);
virtual void SAL_CALL disposing();
private:
+4 -4
View File
@@ -1733,11 +1733,11 @@ struct WatchItem
maMemberList.clear();
}
WatchItem* GetRootItem( void );
SbxDimArray* GetRootArray( void );
WatchItem* GetRootItem();
SbxDimArray* GetRootArray();
};
WatchItem* WatchItem::GetRootItem( void )
WatchItem* WatchItem::GetRootItem()
{
WatchItem* pItem = mpArrayParentItem;
while( pItem )
@@ -1749,7 +1749,7 @@ WatchItem* WatchItem::GetRootItem( void )
return pItem;
}
SbxDimArray* WatchItem::GetRootArray( void )
SbxDimArray* WatchItem::GetRootArray()
{
WatchItem* pRootItem = GetRootItem();
SbxDimArray* pRet = NULL;
+2 -2
View File
@@ -778,13 +778,13 @@ void LocalizationMgr::handleSetCurrentLocale(const css::lang::Locale& rLocale)
}
}
void LocalizationMgr::handleBasicStarted( void )
void LocalizationMgr::handleBasicStarted()
{
if( m_xStringResourceManager.is() )
m_aLocaleBeforeBasicStart = m_xStringResourceManager->getCurrentLocale();
}
void LocalizationMgr::handleBasicStopped( void )
void LocalizationMgr::handleBasicStopped()
{
try
{
+1 -1
View File
@@ -1041,7 +1041,7 @@ void LibPage::InsertLib()
}
}
void LibPage::Export( void )
void LibPage::Export()
{
SvTreeListEntry* pCurEntry = m_pLibBox->GetCurEntry();
OUString aLibName( SvTabListBox::GetEntryText( pCurEntry, 0 ) );
+3 -3
View File
@@ -78,7 +78,7 @@ uno::Sequence< uno::Type > SAL_CALL SIDEModel::getTypes( ) throw(uno::RuntimeEx
return aTypes;
}
OUString SIDEModel::getImplementationName(void) throw( uno::RuntimeException, std::exception )
OUString SIDEModel::getImplementationName() throw( uno::RuntimeException, std::exception )
{
return getImplementationName_Static();
}
@@ -92,12 +92,12 @@ sal_Bool SIDEModel::supportsService(const OUString& rServiceName) throw( uno::Ru
{
return cppu::supportsService(this, rServiceName);
}
uno::Sequence< OUString > SIDEModel::getSupportedServiceNames(void) throw( uno::RuntimeException, std::exception )
uno::Sequence< OUString > SIDEModel::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
return getSupportedServiceNames_Static();
}
uno::Sequence< OUString > SIDEModel::getSupportedServiceNames_Static(void)
uno::Sequence< OUString > SIDEModel::getSupportedServiceNames_Static()
{
uno::Sequence< OUString > aRet(1);
OUString* pArray = aRet.getArray();
+2 -2
View File
@@ -42,11 +42,11 @@ 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;
//XServiceInfo
virtual OUString SAL_CALL getImplementationName(void)
virtual OUString SAL_CALL getImplementationName()
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames(void)
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// XStorable2
virtual void SAL_CALL storeSelf( const ::com::sun::star::uno::Sequence< css::beans::PropertyValue >& )
+7 -7
View File
@@ -58,11 +58,11 @@ class LocalizationMgr
xStringResourceManager, ::com::sun::star::uno::Reference< ::com::sun::star::resource::
XStringResourceResolver > xSourceStringResolver, HandleResourceMode eMode );
void enableResourceForAllLibraryDialogs( void )
void enableResourceForAllLibraryDialogs()
{
implEnableDisableResourceForAllLibraryDialogs( SET_IDS );
}
void disableResourceForAllLibraryDialogs( void )
void disableResourceForAllLibraryDialogs()
{
implEnableDisableResourceForAllLibraryDialogs( RESET_IDS );
}
@@ -73,14 +73,14 @@ public:
const ::com::sun::star::uno::Reference
< ::com::sun::star::resource::XStringResourceManager >& xStringResourceManager );
::com::sun::star::uno::Reference
< ::com::sun::star::resource::XStringResourceManager >getStringResourceManager( void )
< ::com::sun::star::resource::XStringResourceManager >getStringResourceManager()
{
return m_xStringResourceManager;
}
bool isLibraryLocalized( void );
bool isLibraryLocalized();
void handleTranslationbar( void );
void handleTranslationbar();
void handleAddLocales( const ::com::sun::star::uno::Sequence
< ::com::sun::star::lang::Locale >& aLocaleSeq );
@@ -92,9 +92,9 @@ public:
void handleSetCurrentLocale(const css::lang::Locale& rLocale);
void handleBasicStarted( void );
void handleBasicStarted();
void handleBasicStopped( void );
void handleBasicStopped();
static void setControlResourceIDsForNewEditorObject(DlgEditor* pEditor,
const css::uno::Any& rControlAny, const OUString& aCtrlName);
+1 -1
View File
@@ -78,7 +78,7 @@ public:
void triggerLayoutEvent();
void triggerResizeEvent();
bool getInitState( void )
bool getInitState()
{ return mbInit; }
void setInitState( bool bInit )
{ mbInit = bInit; }
+1 -1
View File
@@ -56,7 +56,7 @@ public:
{}
TYPEINFO_OVERRIDE();
bool isSet( void )
bool isSet()
{ return mbSet; }
void setSet( bool bSet )
{ mbSet = bSet; }
+3 -3
View File
@@ -26,8 +26,8 @@ private:
OUString m_sCurrentTest;
void process_directory(const OUString& sDirName);
void run_test(const OUString& sFileName);
void test_failed(void);
void test_success(void);
void test_failed();
void test_success();
StringVec get_subdirnames( const OUString& sDirName );
public:
@@ -136,7 +136,7 @@ void Coverage::process_directory(const OUString& sDirName)
fprintf(stderr,"end process directory\n");
}
void Coverage::Coverage_Iterator(void)
void Coverage::Coverage_Iterator()
{
OUString sDirName = getURLFromSrc("/basic/qa/basic_coverage/");
+2 -2
View File
@@ -116,7 +116,7 @@ struct BasicManagerImpl
boost::ptr_vector<BasicLibInfo> aLibs;
OUString aBasicLibPath;
BasicManagerImpl( void )
BasicManagerImpl()
: mpManagerStream( NULL )
, mppLibStreams( NULL )
, mnLibStreamCount( 0 )
@@ -429,7 +429,7 @@ public:
static BasicLibInfo* Create( SotStorageStream& rSStream );
uno::Reference< script::XLibraryContainer > GetLibraryContainer( void )
uno::Reference< script::XLibraryContainer > GetLibraryContainer()
{ return mxScriptCont; }
void SetLibraryContainer( const uno::Reference< script::XLibraryContainer >& xScriptCont )
{ mxScriptCont = xScriptCont; }
+3 -3
View File
@@ -62,7 +62,7 @@ SbPropertyValues::~SbPropertyValues()
Reference< XPropertySetInfo > SbPropertyValues::getPropertySetInfo(void) throw( RuntimeException, std::exception )
Reference< XPropertySetInfo > SbPropertyValues::getPropertySetInfo() throw( RuntimeException, std::exception )
{
// create on demand?
if (!m_xInfo.is())
@@ -159,7 +159,7 @@ void SbPropertyValues::removeVetoableChangeListener(
Sequence< PropertyValue > SbPropertyValues::getPropertyValues(void) throw (::com::sun::star::uno::RuntimeException, std::exception)
Sequence< PropertyValue > SbPropertyValues::getPropertyValues() throw (::com::sun::star::uno::RuntimeException, std::exception)
{
Sequence<PropertyValue> aRet( m_aPropVals.size() );
for (size_t n = 0; n < m_aPropVals.size(); ++n)
@@ -244,7 +244,7 @@ SbPropertySetInfo::~SbPropertySetInfo()
Sequence< Property > SbPropertySetInfo::getProperties(void) throw( RuntimeException, std::exception )
Sequence< Property > SbPropertySetInfo::getProperties() throw( RuntimeException, std::exception )
{
return aImpl.getProperties();
}
+9 -9
View File
@@ -802,7 +802,7 @@ SbxVariable* SbClassModuleObject::Find( const OUString& rName, SbxClassType t )
return pRes;
}
void SbClassModuleObject::triggerInitializeEvent( void )
void SbClassModuleObject::triggerInitializeEvent()
{
if( mbInitializeEventDone )
{
@@ -820,7 +820,7 @@ void SbClassModuleObject::triggerInitializeEvent( void )
}
}
void SbClassModuleObject::triggerTerminateEvent( void )
void SbClassModuleObject::triggerTerminateEvent()
{
if( !mbInitializeEventDone || GetSbData()->bRunInit )
{
@@ -836,18 +836,18 @@ void SbClassModuleObject::triggerTerminateEvent( void )
}
SbClassData::SbClassData( void )
SbClassData::SbClassData()
{
mxIfaces = new SbxArray();
}
void SbClassData::clear( void )
void SbClassData::clear()
{
mxIfaces->Clear();
maRequiredTypes.clear();
}
SbClassFactory::SbClassFactory( void )
SbClassFactory::SbClassFactory()
{
OUString aDummyName;
xClassModules = new SbxObject( aDummyName );
@@ -1164,7 +1164,7 @@ struct ClassModuleRunInitItem
bool m_bProcessing;
bool m_bRunInitDone;
ClassModuleRunInitItem( void )
ClassModuleRunInitItem()
: m_pModule( NULL )
, m_bProcessing( false )
, m_bRunInitDone( false )
@@ -1286,7 +1286,7 @@ void StarBASIC::InitAllModules( StarBASIC* pBasicNotToInit )
// #88329 Put modules back to not initialised state to
// force reinitialisation at next start
void StarBASIC::DeInitAllModules( void )
void StarBASIC::DeInitAllModules()
{
// Deinit own modules
for ( sal_uInt16 nMod = 0; nMod < pModules->Count(); nMod++ )
@@ -1637,7 +1637,7 @@ struct BasicStringList_Impl : private Resource
~BasicStringList_Impl() { FreeResource(); }
OUString GetString(){ return aResId.toString(); }
bool IsErrorTextAvailable( void )
bool IsErrorTextAvailable()
{ return IsAvailableRes(aResId.SetRT(RSC_STRING)); }
};
@@ -1853,7 +1853,7 @@ void StarBASIC::SetGlobalBreakHdl( const Link& rLink )
GetSbData()->aBreakHdl = rLink;
}
SbxArrayRef StarBASIC::getUnoListeners( void )
SbxArrayRef StarBASIC::getUnoListeners()
{
if( !xUnoListeners.Is() )
{
+16 -16
View File
@@ -169,14 +169,14 @@ void SetSbUnoObjectDfltPropName( SbxObject* pObj )
}
// save CoreReflection statically
Reference< XIdlReflection > getCoreReflection_Impl( void )
Reference< XIdlReflection > getCoreReflection_Impl()
{
return css::reflection::theCoreReflection::get(
comphelper::getProcessComponentContext());
}
// save CoreReflection statically
Reference< XHierarchicalNameAccess > getCoreReflection_HierarchicalNameAccess_Impl( void )
Reference< XHierarchicalNameAccess > getCoreReflection_HierarchicalNameAccess_Impl()
{
static Reference< XHierarchicalNameAccess > xCoreReflection_HierarchicalNameAccess;
@@ -193,7 +193,7 @@ Reference< XHierarchicalNameAccess > getCoreReflection_HierarchicalNameAccess_Im
}
// Hold TypeProvider statically
Reference< XHierarchicalNameAccess > getTypeProvider_Impl( void )
Reference< XHierarchicalNameAccess > getTypeProvider_Impl()
{
static Reference< XHierarchicalNameAccess > xAccess;
@@ -219,7 +219,7 @@ Reference< XHierarchicalNameAccess > getTypeProvider_Impl( void )
}
// Hold TypeConverter statically
Reference< XTypeConverter > getTypeConverter_Impl( void )
Reference< XTypeConverter > getTypeConverter_Impl()
{
static Reference< XTypeConverter > xTypeConverter;
@@ -465,7 +465,7 @@ struct ObjectItem
typedef std::vector< ObjectItem > NativeObjectWrapperVector;
class GaNativeObjectWrapperVector : public rtl::Static<NativeObjectWrapperVector, GaNativeObjectWrapperVector> {};
void clearNativeObjectWrapperVector( void )
void clearNativeObjectWrapperVector()
{
GaNativeObjectWrapperVector::get().clear();
}
@@ -2426,7 +2426,7 @@ SbUnoObject::~SbUnoObject()
// pass the introspection on Demand
void SbUnoObject::doIntrospection( void )
void SbUnoObject::doIntrospection()
{
if( !bNeedIntrospection )
return;
@@ -2523,7 +2523,7 @@ void clearUnoMethodsForBasic( StarBASIC* pBasic )
}
}
void clearUnoMethods( void )
void clearUnoMethods()
{
SbUnoMethod* pMeth = pFirst;
while( pMeth )
@@ -2596,7 +2596,7 @@ SbxInfo* SbUnoMethod::GetInfo()
return pInfo;
}
const Sequence<ParamInfo>& SbUnoMethod::getParamInfos( void )
const Sequence<ParamInfo>& SbUnoMethod::getParamInfos()
{
if (!pParamInfoSeq)
{
@@ -2800,7 +2800,7 @@ SbxVariable* SbUnoObject::Find( const OUString& rName, SbxClassType t )
// help method to create the dbg_-Properties
void SbUnoObject::implCreateDbgProperties( void )
void SbUnoObject::implCreateDbgProperties()
{
Property aProp;
@@ -2817,7 +2817,7 @@ void SbUnoObject::implCreateDbgProperties( void )
QuickInsert( (SbxVariable*)xVarRef );
}
void SbUnoObject::implCreateAll( void )
void SbUnoObject::implCreateAll()
{
// throw away all existing methods and properties
pMethods = new SbxArray;
@@ -2882,7 +2882,7 @@ void SbUnoObject::implCreateAll( void )
// output the value
Any SbUnoObject::getUnoAny( void )
Any SbUnoObject::getUnoAny()
{
Any aRetAny;
if( bNeedIntrospection ) doIntrospection();
@@ -3770,7 +3770,7 @@ void SbUnoService::SFX_NOTIFY( SfxBroadcaster& rBC, const TypeId& rBCType,
static SbUnoServiceCtor* pFirstCtor = NULL;
void clearUnoServiceCtors( void )
void clearUnoServiceCtors()
{
SbUnoServiceCtor* pCtor = pFirstCtor;
while( pCtor )
@@ -4006,7 +4006,7 @@ public:
const Reference< XAllListener >& AllListener, const Any& Helper );
// XInvocation
virtual Reference< XIntrospectionAccess > SAL_CALL getIntrospection(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual Reference< XIntrospectionAccess > SAL_CALL getIntrospection() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual Any SAL_CALL invoke(const OUString& FunctionName, const Sequence< Any >& Params, Sequence< sal_Int16 >& OutParamIndex, Sequence< Any >& OutParam)
throw( IllegalArgumentException, CannotConvertException, InvocationTargetException, RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL setValue(const OUString& PropertyName, const Any& Value)
@@ -4057,7 +4057,7 @@ InvocationToAllListenerMapper::InvocationToAllListenerMapper
}
Reference< XIntrospectionAccess > SAL_CALL InvocationToAllListenerMapper::getIntrospection(void)
Reference< XIntrospectionAccess > SAL_CALL InvocationToAllListenerMapper::getIntrospection()
throw( RuntimeException, std::exception )
{
return Reference< XIntrospectionAccess >();
@@ -4899,7 +4899,7 @@ SbxVariable* SbUnoStructRefObject::Find( const OUString& rName, SbxClassType t )
}
// help method to create the dbg_-Properties
void SbUnoStructRefObject::implCreateDbgProperties( void )
void SbUnoStructRefObject::implCreateDbgProperties()
{
Property aProp;
@@ -4944,7 +4944,7 @@ void SbUnoStructRefObject::implCreateAll()
}
// output the value
Any SbUnoStructRefObject::getUnoAny( void )
Any SbUnoStructRefObject::getUnoAny()
{
return maMemberInfo.getValue();
}
+8 -8
View File
@@ -1416,7 +1416,7 @@ void SbModule::ClearVarsDependingOnDeletedBasic( StarBASIC* pDeletedBasic )
}
}
void StarBASIC::ClearAllModuleVars( void )
void StarBASIC::ClearAllModuleVars()
{
// Initialise the own module
for ( sal_uInt16 nMod = 0; nMod < pModules->Count(); nMod++ )
@@ -1470,7 +1470,7 @@ void SbModule::GlobalRunInit( bool bBasicStart )
}
}
void SbModule::GlobalRunDeInit( void )
void SbModule::GlobalRunDeInit()
{
StarBASIC *pBasic = PTR_CAST(StarBASIC,GetParent());
if( pBasic )
@@ -2519,20 +2519,20 @@ void SbUserFormModule::triggerMethod( const OUString& aMethodToRun, Sequence< An
}
}
void SbUserFormModule::triggerActivateEvent( void )
void SbUserFormModule::triggerActivateEvent()
{
SAL_INFO("basic", "**** entering SbUserFormModule::triggerActivate");
triggerMethod( "UserForm_Activate" );
SAL_INFO("basic", "**** leaving SbUserFormModule::triggerActivate");
}
void SbUserFormModule::triggerDeactivateEvent( void )
void SbUserFormModule::triggerDeactivateEvent()
{
SAL_INFO("basic", "**** SbUserFormModule::triggerDeactivate");
triggerMethod( "Userform_Deactivate" );
}
void SbUserFormModule::triggerInitializeEvent( void )
void SbUserFormModule::triggerInitializeEvent()
{
if ( mbInit )
return;
@@ -2541,19 +2541,19 @@ void SbUserFormModule::triggerInitializeEvent( void )
mbInit = true;
}
void SbUserFormModule::triggerTerminateEvent( void )
void SbUserFormModule::triggerTerminateEvent()
{
SAL_INFO("basic", "**** SbUserFormModule::triggerTerminateEvent");
triggerMethod(OUString( "Userform_Terminate" ));
mbInit=false;
}
void SbUserFormModule::triggerLayoutEvent( void )
void SbUserFormModule::triggerLayoutEvent()
{
triggerMethod(OUString( "Userform_Layout" ));
}
void SbUserFormModule::triggerResizeEvent( void )
void SbUserFormModule::triggerResizeEvent()
{
triggerMethod(OUString("Userform_Resize"));
}
+1 -1
View File
@@ -849,7 +849,7 @@ inline void addStringConst( SbiSymPool& rPool, const char* pSym, const char* pSt
addStringConst( rPool, pSym, OUString::createFromAscii( pStr ) );
}
void SbiParser::AddConstants( void )
void SbiParser::AddConstants()
{
// #113063 Create constant RTL symbols
addStringConst( aPublics, "vbCr", "\x0D" );
+4 -4
View File
@@ -348,7 +348,7 @@ struct FunctionItem
bool m_bBlockAll;
bool m_bBlockSteps;
FunctionItem( void )
FunctionItem()
: m_dTotalTime( 0.0 )
, m_dNetTime( 0.0 )
, m_nCallCount( 0 )
@@ -367,7 +367,7 @@ bool compareFunctionNetTime( FunctionItem* p1, FunctionItem* p2 )
return (p1->m_dNetTime > p2->m_dNetTime);
}
void lcl_printTimeOutput( void )
void lcl_printTimeOutput()
{
// Overall time output
lcl_lineOut( "" );
@@ -428,7 +428,7 @@ void lcl_printTimeOutput( void )
static bool GbInitTraceAlreadyCalled = false;
void dbg_InitTrace( void )
void dbg_InitTrace()
{
if( GbInitOnlyAtOfficeStart && GbInitTraceAlreadyCalled )
{
@@ -466,7 +466,7 @@ void dbg_InitTrace( void )
#endif
}
void dbg_DeInitTrace( void )
void dbg_DeInitTrace()
{
GbTraceOn = GbSavTraceOn;
+1 -1
View File
@@ -183,7 +183,7 @@ static const TokenTable aTokTable_Basic [] = {
// #i109076
TokenLabelInfo::TokenLabelInfo( void )
TokenLabelInfo::TokenLabelInfo()
{
m_pTokenCanBeLabelTab = new bool[VBASUPPORT+1];
for( int i = 0 ; i <= VBASUPPORT ; ++i )
+2 -2
View File
@@ -50,8 +50,8 @@ public:
void Save();
// #29955 service for-loop-level
void IncForLevel( void ) { nForLevel++; }
void DecForLevel( void ) { nForLevel--; }
void IncForLevel() { nForLevel++; }
void DecForLevel() { nForLevel--; }
static sal_uInt32 calcNewOffSet( sal_uInt8* pCode, sal_uInt16 nOffset );
static sal_uInt16 calcLegacyOffSet( sal_uInt8* pCode, sal_uInt32 nOffset );
+6 -6
View File
@@ -59,7 +59,7 @@ class SfxDialogLibraryContainer : public SfxLibraryContainer
virtual void SAL_CALL importFromOldStorage( const OUString& aFile ) SAL_OVERRIDE;
virtual SfxLibraryContainer* createInstanceImpl( void ) SAL_OVERRIDE;
virtual SfxLibraryContainer* createInstanceImpl() SAL_OVERRIDE;
virtual void onNewRootStorage() SAL_OVERRIDE;
@@ -69,7 +69,7 @@ class SfxDialogLibraryContainer : public SfxLibraryContainer
virtual const sal_Char* SAL_CALL getLibrariesDir() const SAL_OVERRIDE;
public:
SfxDialogLibraryContainer( void );
SfxDialogLibraryContainer();
SfxDialogLibraryContainer( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage );
// Methods XStorageBasedLibraryContainer
@@ -107,8 +107,8 @@ class SfxDialogLibrary :public SfxLibrary
OUString m_aName;
// Provide modify state including resources
virtual bool isModified( void ) SAL_OVERRIDE;
virtual void storeResources( void ) SAL_OVERRIDE;
virtual bool isModified() SAL_OVERRIDE;
virtual void storeResources() SAL_OVERRIDE;
virtual void storeResourcesAsURL( const OUString& URL, const OUString& NewName ) SAL_OVERRIDE;
virtual void storeResourcesToURL( const OUString& URL,
const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& xHandler ) SAL_OVERRIDE;
@@ -142,11 +142,11 @@ public:
virtual ::com::sun::star::uno::Reference< ::com::sun::star::resource::XStringResourceResolver >
SAL_CALL getStringResource( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
OUString getName( void )
OUString getName()
{ return m_aName; }
::com::sun::star::uno::Reference< ::com::sun::star::resource::XStringResourcePersistence >
getStringResourcePersistence( void )
getStringResourcePersistence()
{
return m_xStringResourcePersistence;
}
+1 -1
View File
@@ -31,7 +31,7 @@ class SbxErrObject : public SbUnoObject
SbxErrObject( const OUString& aName_, const com::sun::star::uno::Any& aUnoObj_ );
virtual ~SbxErrObject();
class ErrObject* getImplErrObject( void )
class ErrObject* getImplErrObject()
{ return m_pErrObject; }
public:
+1 -1
View File
@@ -116,7 +116,7 @@ class SbiExprNode { // operators (and operands)
void GenElement( SbiOpcode );
void BaseInit( SbiParser* p ); // help function for Ctor, from 17.12.95
public:
SbiExprNode( void );
SbiExprNode();
SbiExprNode( SbiParser*, double, SbxDataType );
SbiExprNode( SbiParser*, const OUString& );
SbiExprNode( SbiParser*, const SbiSymDef&, SbxDataType, SbiExprList* = NULL );
+8 -8
View File
@@ -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:
+1 -1
View File
@@ -88,7 +88,7 @@ public:
// from 31.3.1996, search symbol in the runtime-library
SbiSymDef* CheckRTLForSym( const OUString& rSym, SbxDataType eType );
void AddConstants( void );
void AddConstants();
bool HasGlobalCode();
+4 -4
View File
@@ -51,7 +51,7 @@ public:
// XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo(void) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
getPropertySetInfo() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL setPropertyValue(
const OUString& aPropertyName,
const ::com::sun::star::uno::Any& aValue)
@@ -82,7 +82,7 @@ public:
throw (std::exception) SAL_OVERRIDE;
// XPropertyAccess
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getPropertyValues(void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getPropertyValues() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL setPropertyValues(const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& PropertyValues_) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
@@ -104,7 +104,7 @@ public:
PropertySetInfoImpl( ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& rProps );
// XPropertySetInfo
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties(void) throw () { return _aProps;}
::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties() throw () { return _aProps;}
::com::sun::star::beans::Property SAL_CALL getPropertyByName(const OUString& Name)
throw( ::com::sun::star::uno::RuntimeException );
bool SAL_CALL hasPropertyByName(const OUString& Name)
@@ -120,7 +120,7 @@ public:
virtual ~SbPropertySetInfo();
// XPropertySetInfo
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties(void)
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > SAL_CALL getProperties()
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
virtual ::com::sun::star::beans::Property SAL_CALL getPropertyByName(const OUString& Name)
throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+10 -10
View File
@@ -69,7 +69,7 @@ struct SbiForStack { // for/next stack:
sal_Int32* pArrayUpperBounds;
css::uno::Reference< css::container::XEnumeration > xEnumeration;
SbiForStack( void )
SbiForStack()
: pNext(NULL)
, eForType(FOR_TO)
, nCurCollectionIndex(0)
@@ -176,18 +176,18 @@ public:
OUString GetErrorMsg() { return aErrorMsg; }
sal_Int32 GetErl() { return nErl; }
void EnableReschedule( bool bEnable ) { bReschedule = bEnable; }
bool IsReschedule( void ) { return bReschedule; }
bool IsReschedule() { return bReschedule; }
void EnableCompatibility( bool bEnable ) { bCompatibility = bEnable; }
bool IsCompatibility( void ) { return bCompatibility; }
bool IsCompatibility() { return bCompatibility; }
ComponentVector_t& getComponentVector( void ) { return ComponentVector; }
ComponentVector_t& getComponentVector() { return ComponentVector; }
SbMethod* GetCaller( sal_uInt16 );
SbModule* GetActiveModule();
SbiIoSystem* GetIoSystem() { return pIosys; }
SbiDdeControl* GetDdeControl() { return pDdeCtrl; }
StarBASIC* GetBasic( void ) { return pBasic; }
StarBASIC* GetBasic() { return pBasic; }
SbiDllMgr* GetDllMgr();
SbiRTLData* GetRTLData() const { return const_cast<SbiRTLData*>(&aRTLData); }
@@ -282,7 +282,7 @@ class SbiRuntime
pItem->xRef = pVar;
pRefSaveList = pItem;
}
void ClearRefs( void )
void ClearRefs()
{
while( pRefSaveList )
{
@@ -398,8 +398,8 @@ public:
void DumpPCode();
bool Step(); // single step (one opcode)
void Stop() { bRun = false; }
void block( void ) { bBlocked = true; }
void unblock( void ) { bBlocked = false; }
void block() { bBlocked = true; }
void unblock() { bBlocked = false; }
SbMethod* GetMethod() { return pMeth; }
SbModule* GetModule() { return pMod; }
sal_uInt16 GetDebugFlags() { return nFlags; }
@@ -437,12 +437,12 @@ StarBASIC* GetCurrentBasic( StarBASIC* pRTBasic );
// no DDE functionality, no DLLCALL) in basic because
// of portal "virtual" users (portal user != UNIX user)
// (Implemented in iosys.cxx)
bool needSecurityRestrictions( void );
bool needSecurityRestrictions();
// Returns true if UNO is available, otherwise the old
// file system implementation has to be used
// (Implemented in iosys.cxx)
bool hasUno( void );
bool hasUno();
// Converts possibly relative paths to absolute paths
// according to the setting done by ChDir/ChDrive
+4 -4
View File
@@ -53,10 +53,10 @@ struct SbClassData
// needed for initialization order of class modules
StringVector maRequiredTypes;
SbClassData( void );
~SbClassData( void )
SbClassData();
~SbClassData()
{ clear(); }
void clear( void );
void clear();
};
// #115824: Factory class to create class objects (type command)
@@ -66,7 +66,7 @@ class BASIC_DLLPUBLIC SbClassFactory : public SbxFactory
SbxObjectRef xClassModules;
public:
SbClassFactory( void );
SbClassFactory();
virtual ~SbClassFactory();
void AddClassModule( SbModule* pClassModule );
+2 -2
View File
@@ -36,8 +36,8 @@
//#define DBG_TRACE_PROFILING
#ifdef DBG_TRACE_BASIC
void dbg_InitTrace( void );
void dbg_DeInitTrace( void );
void dbg_InitTrace();
void dbg_DeInitTrace();
void dbg_traceStep( SbModule* pModule, UINT32 nPC, INT32 nCallLvl );
void dbg_traceNotifyCall( SbModule* pModule, SbMethod* pMethod, INT32 nCallLvl, bool bLeave = false );
void dbg_traceNotifyError( SbError nTraceErr, const String& aTraceErrMsg, bool bTraceErrHandled, INT32 nCallLvl );
+22 -22
View File
@@ -92,7 +92,7 @@ public:
virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE;
// Force creation of all properties for debugging
void createAllProperties( void )
void createAllProperties()
{ implCreateAll(); }
// give out value
@@ -112,11 +112,11 @@ class SbUnoObject: public SbxObject
::com::sun::star::uno::Any maTmpUnoObj; // Only to save obj for doIntrospection!
::boost::shared_ptr< SbUnoStructRefObject > maStructInfo;
// help method to establish the dbg_-properties
void implCreateDbgProperties( void );
void implCreateDbgProperties();
// help method to establish all properties and methods
// (on the on-demand-mechanism required for the dbg_-properties)
void implCreateAll( void );
void implCreateAll();
public:
static bool getDefaultPropName( SbUnoObject* pUnoObj, OUString& sDfltProp );
@@ -125,35 +125,35 @@ public:
virtual ~SbUnoObject();
// #76470 do introspection on demand
void doIntrospection( void );
void doIntrospection();
// override Find to support e. g. NameAccess
virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE;
// Force creation of all properties for debugging
void createAllProperties( void )
void createAllProperties()
{ implCreateAll(); }
// give out value
::com::sun::star::uno::Any getUnoAny( void );
::com::sun::star::uno::Reference< ::com::sun::star::beans::XIntrospectionAccess > getIntrospectionAccess( void ) { return mxUnoAccess; }
::com::sun::star::uno::Reference< ::com::sun::star::script::XInvocation > getInvocation( void ) { return mxInvocation; }
::com::sun::star::uno::Any getUnoAny();
::com::sun::star::uno::Reference< ::com::sun::star::beans::XIntrospectionAccess > getIntrospectionAccess() { return mxUnoAccess; }
::com::sun::star::uno::Reference< ::com::sun::star::script::XInvocation > getInvocation() { return mxInvocation; }
void SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ) SAL_OVERRIDE;
bool isNativeCOMObject( void )
bool isNativeCOMObject()
{ return bNativeCOMObject; }
};
typedef tools::SvRef<SbUnoObject> SbUnoObjectRef;
// #67781 delete return values of the uno-methods
void clearUnoMethods( void );
void clearUnoMethods();
void clearUnoMethodsForBasic( StarBASIC* pBasic );
class SbUnoMethod : public SbxMethod
{
friend class SbUnoObject;
friend void clearUnoMethods( void );
friend void clearUnoMethods();
friend void clearUnoMethodsForBasic( StarBASIC* pBasic );
::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlMethod > m_xUnoMethod;
@@ -175,11 +175,11 @@ public:
virtual ~SbUnoMethod();
virtual SbxInfo* GetInfo() SAL_OVERRIDE;
const ::com::sun::star::uno::Sequence< ::com::sun::star::reflection::ParamInfo >& getParamInfos( void );
const ::com::sun::star::uno::Sequence< ::com::sun::star::reflection::ParamInfo >& getParamInfos();
bool isInvocationBased( void )
bool isInvocationBased()
{ return mbInvocation; }
bool needsDirectInvocation( void )
bool needsDirectInvocation()
{ return mbDirectInvocation; }
};
@@ -206,7 +206,7 @@ public:
const ::com::sun::star::beans::Property& aUnoProp_, sal_Int32 nId_, bool bInvocation, bool bUnoStruct );
bool isUnoStruct() { return mbUnoStruct; }
bool isInvocationBased( void )
bool isInvocationBased()
{ return mbInvocation; }
SbxDataType getRealType() { return mRealType; }
};
@@ -238,7 +238,7 @@ public:
virtual SbxVariable* Find( const OUString&, SbxClassType ) SAL_OVERRIDE;
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass >& getUnoClass( void ) { return m_xClass; }
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass >& getUnoClass() { return m_xClass; }
};
@@ -271,12 +271,12 @@ public:
SbUnoService* findUnoService( const OUString& rName );
void clearUnoServiceCtors( void );
void clearUnoServiceCtors();
class SbUnoServiceCtor : public SbxMethod
{
friend class SbUnoService;
friend void clearUnoServiceCtors( void );
friend void clearUnoServiceCtors();
::com::sun::star::uno::Reference< ::com::sun::star::reflection::XServiceConstructorDescription > m_xServiceCtorDesc;
@@ -289,7 +289,7 @@ public:
virtual ~SbUnoServiceCtor();
virtual SbxInfo* GetInfo() SAL_OVERRIDE;
::com::sun::star::uno::Reference< ::com::sun::star::reflection::XServiceConstructorDescription > getServiceCtorDesc( void )
::com::sun::star::uno::Reference< ::com::sun::star::reflection::XServiceConstructorDescription > getServiceCtorDesc()
{ return m_xServiceCtorDesc; }
};
@@ -321,7 +321,7 @@ public:
, mVal( rVal )
{}
const ::com::sun::star::uno::Any& getValue( void )
const ::com::sun::star::uno::Any& getValue()
{ return mVal; }
TYPEINFO_OVERRIDE();
@@ -340,7 +340,7 @@ public:
: maNameSeq( nSeqSize )
{}
::com::sun::star::uno::Sequence< OUString >& getNames( void )
::com::sun::star::uno::Sequence< OUString >& getNames()
{ return maNameSeq; }
};
@@ -359,7 +359,7 @@ void RTL_Impl_EqualUnoObjects( StarBASIC* pBasic, SbxArray& rPar, bool bWrite );
void RTL_Impl_GetDefaultContext( StarBASIC* pBasic, SbxArray& rPar, bool bWrite );
void disposeComVariablesForBasic( StarBASIC* pBasic );
void clearNativeObjectWrapperVector( void );
void clearNativeObjectWrapperVector();
+2 -2
View File
@@ -82,8 +82,8 @@ public:
sal_Int32 GetCol2() { return nCol2; }
void SetCol1( sal_Int32 n ) { nCol1 = n; }
StarBASIC* GetBasic() { return pBasic; }
void SaveLine(void) { pSaveLine = pLine; }
void RestoreLine(void) { pLine = pSaveLine; }
void SaveLine() { pSaveLine = pLine; }
void RestoreLine() { pLine = pSaveLine; }
void LockColumn();
void UnlockColumn();
bool DoesColonFollow();
+4 -4
View File
@@ -59,7 +59,7 @@ class SfxScriptLibraryContainer : public SfxLibraryContainer, public OldBasicPas
virtual void SAL_CALL importFromOldStorage( const OUString& aFile ) SAL_OVERRIDE;
virtual SfxLibraryContainer* createInstanceImpl( void ) SAL_OVERRIDE;
virtual SfxLibraryContainer* createInstanceImpl() SAL_OVERRIDE;
// Password encryption
@@ -92,7 +92,7 @@ class SfxScriptLibraryContainer : public SfxLibraryContainer, public OldBasicPas
virtual const sal_Char* SAL_CALL getLibrariesDir() const SAL_OVERRIDE;
public:
SfxScriptLibraryContainer( void );
SfxScriptLibraryContainer();
SfxScriptLibraryContainer( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage );
@@ -139,8 +139,8 @@ class SfxScriptLibrary : public SfxLibrary, public SfxScriptLibrary_BASE
ModuleInfoMap mModuleInfos;
// Provide modify state including resources
virtual bool isModified( void ) SAL_OVERRIDE;
virtual void storeResources( void ) SAL_OVERRIDE;
virtual bool isModified() SAL_OVERRIDE;
virtual void storeResources() SAL_OVERRIDE;
virtual void storeResourcesAsURL( const OUString& URL, const OUString& NewName ) SAL_OVERRIDE;
virtual void storeResourcesToURL( const OUString& URL,
const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& xHandler ) SAL_OVERRIDE;
+2 -2
View File
@@ -145,7 +145,7 @@ public:
void SetDefinedAs() { bAs = true; }
void SetGlobal(bool b){ bGlobal = b; }
void SetDefaultId( sal_uInt16 n ) { nDefaultId = n; }
sal_uInt16 GetDefaultId( void ) { return nDefaultId; }
sal_uInt16 GetDefaultId() { return nDefaultId; }
bool IsOptional() const{ return bOpt; }
bool IsParamArray() const{ return bParamArray; }
bool IsWithEvents() const{ return bWithEvents; }
@@ -155,7 +155,7 @@ public:
bool IsNew() const { return bNew; }
bool IsDefinedAs() const { return bAs; }
bool IsGlobal() const { return bGlobal; }
short GetFixedStringLength( void ) const { return nFixedStringLength; }
short GetFixedStringLength() const { return nFixedStringLength; }
void SetFixedStringLength( short n ) { nFixedStringLength = n; }
SbiSymPool& GetPool();
+1 -1
View File
@@ -120,7 +120,7 @@ class TokenLabelInfo
bool* m_pTokenCanBeLabelTab;
public:
TokenLabelInfo( void );
TokenLabelInfo();
TokenLabelInfo( const TokenLabelInfo& rInfo )
: m_pTokenCanBeLabelTab( NULL )
{ (void)rInfo; }
+3 -3
View File
@@ -209,7 +209,7 @@ OUString findUserInDescription( const OUString& aDescription )
return user;
}
bool needSecurityRestrictions( void )
bool needSecurityRestrictions()
{
static bool bNeedInit = true;
static bool bRetVal = true;
@@ -276,7 +276,7 @@ bool needSecurityRestrictions( void )
// Returns sal_True if UNO is available, otherwise the old file
// system implementation has to be used
// #89378 New semantic: Don't just ask for UNO but for UCB
bool hasUno( void )
bool hasUno()
{
static bool bNeedInit = true;
static bool bRetVal = true;
@@ -929,7 +929,7 @@ SbiStream* SbiIoSystem::GetStream( short nChannel ) const
return pRet;
}
void SbiIoSystem::CloseAll(void)
void SbiIoSystem::CloseAll()
{
for( short i = 1; i < CHANNELS; i++ )
{
+4 -4
View File
@@ -121,7 +121,7 @@ static void FilterWhiteSpace( OUString& rStr )
static long GetDayDiff( const Date& rDate );
static const CharClass& GetCharClass( void )
static const CharClass& GetCharClass()
{
static bool bNeedsInit = true;
static LanguageTag aLanguageTag( LANGUAGE_SYSTEM);
@@ -161,7 +161,7 @@ OUString getFullPath( const OUString& aRelPath )
}
// TODO: -> SbiGlobals
static uno::Reference< ucb::XSimpleFileAccess3 > getFileAccess( void )
static uno::Reference< ucb::XSimpleFileAccess3 > getFileAccess()
{
static uno::Reference< ucb::XSimpleFileAccess3 > xSFI;
if( !xSFI.is() )
@@ -2379,7 +2379,7 @@ double Now_Impl()
return aSerial;
}
// Date Now(void)
// Date Now()
RTLFUNC(Now)
{
@@ -2388,7 +2388,7 @@ RTLFUNC(Now)
rPar.Get(0)->PutDate( Now_Impl() );
}
// Date Time(void)
// Date Time()
RTLFUNC(Time)
{
+1 -1
View File
@@ -67,7 +67,7 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::sheet;
using namespace com::sun::star::uno;
static Reference< XCalendar4 > getLocaleCalendar( void )
static Reference< XCalendar4 > getLocaleCalendar()
{
static Reference< XCalendar4 > xCalendar;
if( !xCalendar.is() )
+1 -1
View File
@@ -1771,7 +1771,7 @@ struct DimAsNewRecoverItem
SbxObject* m_pObjParent;
SbModule* m_pClassModule;
DimAsNewRecoverItem( void )
DimAsNewRecoverItem()
: m_pObjParent( NULL )
, m_pClassModule( NULL )
{}
+5 -5
View File
@@ -26,7 +26,7 @@
#include <boost/scoped_array.hpp>
// Implementation SbxDecimal
SbxDecimal::SbxDecimal( void )
SbxDecimal::SbxDecimal()
{
setInt( 0 );
mnRefCount = 0;
@@ -118,14 +118,14 @@ bool SbxDecimal::operator *= ( const SbxDecimal &r )
return bRet;
}
bool SbxDecimal::neg( void )
bool SbxDecimal::neg()
{
HRESULT hResult = VarDecNeg( &maDec, &maDec );
bool bRet = ( hResult == S_OK );
return bRet;
}
bool SbxDecimal::isZero( void )
bool SbxDecimal::isZero()
{
SbxDecimal aZeroDec;
aZeroDec.setLong( 0 );
@@ -306,12 +306,12 @@ bool SbxDecimal::operator *= ( const SbxDecimal &r )
return false;
}
bool SbxDecimal::neg( void )
bool SbxDecimal::neg()
{
return false;
}
bool SbxDecimal::isZero( void )
bool SbxDecimal::isZero()
{
return false;
}
+4 -4
View File
@@ -51,13 +51,13 @@ class SbxDecimal
sal_Int32 mnRefCount;
public:
SbxDecimal( void );
SbxDecimal();
SbxDecimal( const SbxDecimal& rDec );
SbxDecimal( const com::sun::star::bridge::oleautomation::Decimal& rAutomationDec );
~SbxDecimal();
void addRef( void )
void addRef()
{ mnRefCount++; }
void fillAutomationDecimal( com::sun::star::bridge::oleautomation::Decimal& rAutomationDec );
@@ -98,9 +98,9 @@ public:
bool operator += ( const SbxDecimal &r );
bool operator /= ( const SbxDecimal &r );
bool operator *= ( const SbxDecimal &r );
bool neg( void );
bool neg();
bool isZero( void );
bool isZero();
enum CmpResult { LT, EQ, GT };
friend CmpResult compare( const SbxDecimal &rLeft, const SbxDecimal &rRight );
+1 -1
View File
@@ -563,7 +563,7 @@ bool SbxValue::Scan( const OUString& rSrc, sal_uInt16* pLen )
}
ResMgr* implGetResMgr( void )
ResMgr* implGetResMgr()
{
static ResMgr* pResMgr = NULL;
if( !pResMgr )
+4 -4
View File
@@ -47,7 +47,7 @@ class SbxVariableImpl
Reference< XInterface > m_xComListener;
StarBASIC* m_pComListenerParentBasic;
SbxVariableImpl( void )
SbxVariableImpl()
: m_pComListenerParentBasic( NULL )
{}
SbxVariableImpl( const SbxVariableImpl& r )
@@ -430,7 +430,7 @@ void SbxVariable::SetParent( SbxObject* p )
pParent = p;
}
SbxVariableImpl* SbxVariable::getImpl( void )
SbxVariableImpl* SbxVariable::getImpl()
{
if( mpSbxVariableImpl == NULL )
{
@@ -439,7 +439,7 @@ SbxVariableImpl* SbxVariable::getImpl( void )
return mpSbxVariableImpl;
}
const OUString& SbxVariable::GetDeclareClassName( void )
const OUString& SbxVariable::GetDeclareClassName()
{
SbxVariableImpl* pImpl = getImpl();
return pImpl->m_aDeclareClassName;
@@ -462,7 +462,7 @@ void SbxVariable::SetComListener( ::com::sun::star::uno::Reference< ::com::sun::
#endif
}
void SbxVariable::ClearComListener( void )
void SbxVariable::ClearComListener()
{
SbxVariableImpl* pImpl = getImpl();
pImpl->m_xComListener.clear();
+4 -4
View File
@@ -71,7 +71,7 @@ const sal_Char* SAL_CALL SfxDialogLibraryContainer::getLibElementFileExtension()
const sal_Char* SAL_CALL SfxDialogLibraryContainer::getLibrariesDir() const { return "Dialogs"; }
// Ctor for service
SfxDialogLibraryContainer::SfxDialogLibraryContainer( void )
SfxDialogLibraryContainer::SfxDialogLibraryContainer()
{
// all initialisation has to be done
// by calling XInitialization::initialize
@@ -340,7 +340,7 @@ void SAL_CALL SfxDialogLibraryContainer::importFromOldStorage( const OUString& )
// Nothing to do here, old dialogs cannot be imported
}
SfxLibraryContainer* SfxDialogLibraryContainer::createInstanceImpl( void )
SfxLibraryContainer* SfxDialogLibraryContainer::createInstanceImpl()
{
return new SfxDialogLibraryContainer();
}
@@ -495,7 +495,7 @@ IMPLEMENT_FORWARD_XINTERFACE2( SfxDialogLibrary, SfxLibrary, SfxDialogLibrary_BA
IMPLEMENT_FORWARD_XTYPEPROVIDER2( SfxDialogLibrary, SfxLibrary, SfxDialogLibrary_BASE );
// Provide modify state including resources
bool SfxDialogLibrary::isModified( void )
bool SfxDialogLibrary::isModified()
{
bool bRet = implIsModified();
@@ -506,7 +506,7 @@ bool SfxDialogLibrary::isModified( void )
return bRet;
}
void SfxDialogLibrary::storeResources( void )
void SfxDialogLibrary::storeResources()
{
if( m_xStringResourcePersistence.is() )
m_xStringResourcePersistence->store();
+3 -3
View File
@@ -376,7 +376,7 @@ bool VBAScriptListenerContainer::implTypedNotify( const Reference< vba::XVBAScri
}
// Ctor
SfxLibraryContainer::SfxLibraryContainer( void )
SfxLibraryContainer::SfxLibraryContainer()
: SfxLibraryContainer_BASE( maMutex )
, maVBAScriptListeners( maMutex )
@@ -1265,7 +1265,7 @@ void SfxLibraryContainer::init_Impl( const OUString& rInitialDocumentURL,
}
}
void SfxLibraryContainer::implScanExtensions( void )
void SfxLibraryContainer::implScanExtensions()
{
#if HAVE_FEATURE_EXTENSIONS
ScriptExtensionIterator aScriptIt;
@@ -3284,7 +3284,7 @@ void SAL_CALL SfxLibrary::removeChangesListener( const Reference< XChangesListen
#define sBasicLibMediaType "application/vnd.sun.star.basic-library"
#define sDialogLibMediaType "application/vnd.sun.star.dialog-library"
ScriptExtensionIterator::ScriptExtensionIterator( void )
ScriptExtensionIterator::ScriptExtensionIterator()
: m_xContext( comphelper::getProcessComponentContext() )
, m_eState( USER_EXTENSIONS )
, m_bUserPackagesLoaded( false )
+5 -5
View File
@@ -128,7 +128,7 @@ bool SfxScriptLibraryContainer::hasLibraryPassword( const OUString& rLibraryName
}
// Ctor for service
SfxScriptLibraryContainer::SfxScriptLibraryContainer( void )
SfxScriptLibraryContainer::SfxScriptLibraryContainer()
:maScriptLanguage( "StarBasic" )
{
// all initialisation has to be done
@@ -160,7 +160,7 @@ SfxLibrary* SfxScriptLibraryContainer::implCreateLibraryLink( const OUString& aN
return pRet;
}
Any SAL_CALL SfxScriptLibraryContainer::createEmptyLibraryElement( void )
Any SAL_CALL SfxScriptLibraryContainer::createEmptyLibraryElement()
{
OUString aMod;
Any aRetAny;
@@ -354,7 +354,7 @@ Any SAL_CALL SfxScriptLibraryContainer::importLibraryElement
return aRetAny;
}
SfxLibraryContainer* SfxScriptLibraryContainer::createInstanceImpl( void )
SfxLibraryContainer* SfxScriptLibraryContainer::createInstanceImpl()
{
return new SfxScriptLibraryContainer();
}
@@ -1237,12 +1237,12 @@ bool SfxScriptLibrary::isLoadedStorable()
}
// Provide modify state including resources
bool SfxScriptLibrary::isModified( void )
bool SfxScriptLibrary::isModified()
{
return implIsModified(); // No resources
}
void SfxScriptLibrary::storeResources( void )
void SfxScriptLibrary::storeResources()
{
// No resources
}
@@ -79,7 +79,7 @@ namespace CPPU_CURRENT_NAMESPACE
__cxa_exception * header, uno_Any *, uno_Mapping * pCpp2Uno );
}
extern "C" void privateSnippetExecutor(void);
extern "C" void privateSnippetExecutor();
namespace arm
{
@@ -59,7 +59,7 @@
#define HWCAP_ARM_VFP 64
int hasVFP(void)
int hasVFP()
{
int fd = open ("/proc/self/auxv", O_RDONLY);
if (fd == -1)
@@ -553,7 +553,7 @@ namespace
*/
// static void cpp_vtable_call( int nFunctionIndex, int nVtableOffset, void** gpregptr, void** fpregptr, void** ovrflw)
// static void cpp_vtable_call( int nFunctionIndex, int nVtableOffset, void** gpregptr, void** ovrflw)
static void cpp_vtable_call(void)
static void cpp_vtable_call()
{
int nFunctionIndex;
int vTableOffset;
@@ -20,8 +20,8 @@
#include <windows.h>
void dso_init(void);
void dso_exit(void);
void dso_init();
void dso_exit();
extern "C" BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
@@ -354,7 +354,7 @@ static typelib_TypeClass __cdecl cpp_mediate(
* is called on incoming vtable calls
* (called by asm snippets)
*/
static __declspec(naked) void __cdecl cpp_vtable_call(void)
static __declspec(naked) void __cdecl cpp_vtable_call()
{
__asm
{
@@ -25,8 +25,8 @@
#pragma warning(pop)
void dso_init(void);
void dso_exit(void);
void dso_init();
void dso_exit();
extern "C" BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
@@ -25,8 +25,8 @@
#pragma warning(pop)
void dso_init(void);
void dso_exit(void);
void dso_init();
void dso_exit();
extern "C" BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved)
@@ -38,16 +38,16 @@
static bridges::cpp_uno::shared::VtableFactory * pInstance;
#if defined(__GNUG__) && !defined(__MINGW32__)
extern "C" void dso_init(void) __attribute__((constructor));
extern "C" void dso_exit(void) __attribute__((destructor));
extern "C" void dso_init() __attribute__((constructor));
extern "C" void dso_exit() __attribute__((destructor));
#endif
void dso_init(void) {
void dso_init() {
if (!pInstance)
pInstance = new bridges::cpp_uno::shared::VtableFactory();
}
void dso_exit(void) {
void dso_exit() {
if (pInstance)
{
delete pInstance;
@@ -62,7 +62,7 @@ uno::Sequence< OUString > ChartTypeUnoDlg::getSupportedServiceNames_Static()
aSNS.getArray()[ 0 ] = CHART_TYPE_DIALOG_SERVICE_NAME;
return aSNS;
}
uno::Sequence< sal_Int8 > SAL_CALL ChartTypeUnoDlg::getImplementationId( void ) throw( uno::RuntimeException, std::exception )
uno::Sequence< sal_Int8 > SAL_CALL ChartTypeUnoDlg::getImplementationId() throw( uno::RuntimeException, std::exception )
{
return css::uno::Sequence<sal_Int8>();
}
@@ -157,7 +157,7 @@ uno::Sequence< uno::Type > CreationWizardUnoDlg::getTypes() throw(uno::RuntimeEx
return aTypeList;
}
uno::Sequence< sal_Int8 > SAL_CALL CreationWizardUnoDlg::getImplementationId( void ) throw( uno::RuntimeException, std::exception )
uno::Sequence< sal_Int8 > SAL_CALL CreationWizardUnoDlg::getImplementationId() throw( uno::RuntimeException, std::exception )
{
return css::uno::Sequence<sal_Int8>();
}
@@ -37,8 +37,8 @@ public:
ChartTypeUnoDlg( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext );
// XServiceInfo - static methods
static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void);
static OUString getImplementationName_Static(void) throw( ::com::sun::star::uno::RuntimeException );
static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static();
static OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException );
private:
virtual ~ChartTypeUnoDlg();
@@ -67,7 +67,7 @@ public:
// needed by registration
static OUString getImplementationName_Static() throw( ::com::sun::star::uno::RuntimeException );
static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw(::com::sun::star::uno::RuntimeException);
static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// ::com::sun::star::lang::XInitialization
@@ -120,7 +120,7 @@ public:
throw( IllegalArgumentException, RuntimeException, std::exception ) SAL_OVERRIDE;
// Methods of XPersistObject
virtual OUString SAL_CALL getServiceName(void) throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual OUString SAL_CALL getServiceName() throw( RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL write(const Reference< XObjectOutputStream >& OutStream) throw( IOException, RuntimeException, std::exception ) SAL_OVERRIDE;
virtual void SAL_CALL read(const Reference< XObjectInputStream >& InStream) throw( IOException, RuntimeException, std::exception ) SAL_OVERRIDE;
@@ -744,7 +744,7 @@ void SAL_CALL ImplEventAttacherManager::removeScriptListener(const Reference< XS
// Methods of XPersistObject
OUString SAL_CALL ImplEventAttacherManager::getServiceName(void)
OUString SAL_CALL ImplEventAttacherManager::getServiceName()
throw( RuntimeException, std::exception )
{
return OUString( "com.sun.star.uno.script.EventAttacherManager" );
+1 -1
View File
@@ -33,7 +33,7 @@ OUString SAL_CALL ServiceInfoHelper::getImplementationName() throw( ::com::sun::
}
/** the base implementation has no supported services */
::com::sun::star::uno::Sequence< OUString > ServiceInfoHelper::getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException, std::exception )
::com::sun::star::uno::Sequence< OUString > ServiceInfoHelper::getSupportedServiceNames() throw( ::com::sun::star::uno::RuntimeException, std::exception )
{
::com::sun::star::uno::Sequence< OUString> aSeq(0);
return aSeq;
+2 -2
View File
@@ -274,7 +274,7 @@ public:
HighlighterLanguage const aLanguage;
Tokenizer( HighlighterLanguage aLang );
~Tokenizer( void );
~Tokenizer();
void getHighlightPortions(const OUString& rLine,
/*out*/std::vector<HighlightPortion>& portions) const;
@@ -661,7 +661,7 @@ SyntaxHighlighter::Tokenizer::Tokenizer( HighlighterLanguage aLang ): aLanguage(
nKeyWordCount = 0;
}
SyntaxHighlighter::Tokenizer::~Tokenizer( void )
SyntaxHighlighter::Tokenizer::~Tokenizer()
{
}
+2 -2
View File
@@ -93,8 +93,8 @@ namespace comphelper
public:
// XServiceInfo - static versions
static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_static(void) throw( ::com::sun::star::uno::RuntimeException );
static OUString getImplementationName_static(void) throw( ::com::sun::star::uno::RuntimeException );
static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_static() throw( ::com::sun::star::uno::RuntimeException );
static OUString getImplementationName_static() throw( ::com::sun::star::uno::RuntimeException );
static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
SAL_CALL Create(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >&);
+1 -1
View File
@@ -53,7 +53,7 @@ struct AttributeList_Impl
::std::vector<struct TagAttribute_Impl> vecAttribute;
};
sal_Int16 SAL_CALL AttributeList::getLength(void) throw( ::com::sun::star::uno::RuntimeException, std::exception )
sal_Int16 SAL_CALL AttributeList::getLength() throw( ::com::sun::star::uno::RuntimeException, std::exception )
{
return (sal_Int16)(m_pImpl->vecAttribute.size());
}
@@ -52,7 +52,7 @@ void ReferenceCasting::run()
// (CompoundStmt 0x205d430 </noel-extra1/libo-clang/compilerplugins/clang/noel1.cxx:17:1, line:20:1>
// (DeclStmt 0x20580a8 <line:18:5, col:32>
// (0x20530e0 "css::uno::Reference<B> refB =
// (CXXConstructExpr 0x2058078 <col:28> 'css::uno::Reference<B>':'class com::sun::star::uno::Reference<class B>''void (void)')"))
// (CXXConstructExpr 0x2058078 <col:28> 'css::uno::Reference<B>':'class com::sun::star::uno::Reference<class B>''void(void)')"))
// (DeclStmt 0x205d418 <line:19:5, col:59>
// (0x2058310 "css::uno::Reference<A> refA =
// (CXXConstructExpr 0x205d3d8 <col:28, col:58> 'css::uno::Reference<A>':'class com::sun::star::uno::Reference<class A>''void (const class com::sun::star::uno::BaseReference &, enum com::sun::star::uno::UnoReference_Query)'
@@ -76,7 +76,7 @@ void ReferenceCasting::run()
// static void example_method2() (CompoundStmt 0x2a7a650 </noel-extra1/libo-clang/compilerplugins/clang/noel1.cxx:21:1, line:24:1>
// (DeclStmt 0x2a7a1a8 <line:22:5, col:32>
// (0x2a751e0 "css::uno::Reference<B> refB =
// (CXXConstructExpr 0x2a7a178 <col:28> 'css::uno::Reference<B>':'class com::sun::star::uno::Reference<class B>''void (void)')"))
// (CXXConstructExpr 0x2a7a178 <col:28> 'css::uno::Reference<B>':'class com::sun::star::uno::Reference<class B>''void(void)')"))
// (ExprWithCleanups 0x2a7a638 <line:23:5, col:70> 'void'
// (CallExpr 0x2a7a570 <col:5, col:70> 'void'
// (ImplicitCastExpr 0x2a7a558 <col:5> 'void (*)(css::uno::Reference<A>)' <FunctionToPointerDecay>
@@ -119,7 +119,7 @@ void ODatabaseMetaDataResultSet::setType(MetaDataResultSetType _eType)
}
}
void ODatabaseMetaDataResultSet::disposing(void)
void ODatabaseMetaDataResultSet::disposing()
{
OPropertySetHelper::disposing();
@@ -107,7 +107,7 @@ const ORowSetValue& OResultSetPrivileges::getValue(sal_Int32 columnIndex)
return ODatabaseMetaDataResultSet::getValue(columnIndex);
}
void SAL_CALL OResultSetPrivileges::disposing(void)
void SAL_CALL OResultSetPrivileges::disposing()
{
ODatabaseMetaDataResultSet::disposing();
m_xTables.clear();
@@ -42,7 +42,7 @@ namespace connectivity
{
protected:
// OComponentHelper
virtual void SAL_CALL disposing(void) SAL_OVERRIDE;
virtual void SAL_CALL disposing() SAL_OVERRIDE;
virtual ~OConnectionWeakWrapper();
public:
OConnectionWeakWrapper(::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation >& _xConnection);
@@ -44,7 +44,7 @@ OPooledConnection::OPooledConnection(const Reference< XConnection >& _xConnectio
}
// OComponentHelper
void SAL_CALL OPooledConnection::disposing(void)
void SAL_CALL OPooledConnection::disposing()
{
MutexGuard aGuard(m_aMutex);
if (m_xComponent.is())
@@ -43,7 +43,7 @@ namespace connectivity
::com::sun::star::uno::Reference< ::com::sun::star::reflection::XProxyFactory > m_xProxyFactory;
public:
// OComponentHelper
virtual void SAL_CALL disposing(void) SAL_OVERRIDE;
virtual void SAL_CALL disposing() SAL_OVERRIDE;
OPooledConnection(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _xConnection,
const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XProxyFactory >& _rxProxyFactory);
@@ -82,7 +82,7 @@ ODatabaseMetaDataResultSet::~ODatabaseMetaDataResultSet()
m_pRecordSet->Release();
}
void ODatabaseMetaDataResultSet::disposing(void)
void ODatabaseMetaDataResultSet::disposing()
{
OPropertySetHelper::disposing();
@@ -120,7 +120,7 @@ OResultSet::~OResultSet()
m_pRecordSet->Release();
}
void OResultSet::disposing(void)
void OResultSet::disposing()
{
OPropertySetHelper::disposing();
+1 -1
View File
@@ -67,7 +67,7 @@ OAdoTable::OAdoTable(sdbcx::OCollection* _pTables,sal_Bool _bCase,OCatalog* _pCa
}
void SAL_CALL OAdoTable::disposing(void)
void SAL_CALL OAdoTable::disposing()
{
OTable_TYPEDEF::disposing();
m_aTable.clear();
+1 -1
View File
@@ -636,7 +636,7 @@ void OCalcTable::refreshIndexes()
}
void SAL_CALL OCalcTable::disposing(void)
void SAL_CALL OCalcTable::disposing()
{
OFileTable::disposing();
::osl::MutexGuard aGuard(m_aMutex);

Some files were not shown because too many files have changed in this diff Show More