summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 18:16:42 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-02-09 08:18:05 +0000
commita238b1f8d304bf1e2ffb357937f3ec888ee8ac89 (patch)
tree083c0582d4bf80e313ed256ca476ba8f69c7f7a6 /basic
parent538f276ae0414ea34ede6090b5f56e8fecd6fc65 (diff)
Remove excess newlines
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/basmgr/basmgr.cxx18
-rw-r--r--basic/source/basmgr/vbahelper.cxx8
-rw-r--r--basic/source/classes/eventatt.cxx2
-rw-r--r--basic/source/classes/propacc.cxx10
-rw-r--r--basic/source/classes/sb.cxx7
-rw-r--r--basic/source/classes/sbunoobj.cxx14
-rw-r--r--basic/source/classes/sbxmod.cxx3
-rw-r--r--basic/source/comp/codegen.cxx1
-rw-r--r--basic/source/comp/parser.cxx4
-rw-r--r--basic/source/comp/symtbl.cxx1
-rw-r--r--basic/source/inc/dlgcont.hxx2
-rw-r--r--basic/source/inc/namecont.hxx9
-rw-r--r--basic/source/inc/parser.hxx4
-rw-r--r--basic/source/inc/propacc.hxx2
-rw-r--r--basic/source/inc/sbjsmod.hxx1
-rw-r--r--basic/source/inc/sbunoobj.hxx2
-rw-r--r--basic/source/inc/scriptcont.hxx2
-rw-r--r--basic/source/runtime/inputbox.cxx1
-rw-r--r--basic/source/runtime/iosys.cxx3
-rw-r--r--basic/source/runtime/methods.cxx4
-rw-r--r--basic/source/runtime/methods1.cxx1
-rw-r--r--basic/source/runtime/runtime.cxx3
-rw-r--r--basic/source/runtime/stdobj1.cxx11
-rw-r--r--basic/source/sbx/sbxform.cxx2
-rw-r--r--basic/source/sbx/sbxobj.cxx1
-rw-r--r--basic/source/uno/namecont.cxx1
26 files changed, 0 insertions, 117 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index c558e8b09e37..12f015aa8e73 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -168,7 +168,6 @@ public:
};
-
// BasMgrContainerListenerImpl
@@ -236,7 +235,6 @@ void BasMgrContainerListenerImpl::addLibraryModulesImpl( BasicManager* pMgr,
}
-
// XEventListener
@@ -295,7 +293,6 @@ void SAL_CALL BasMgrContainerListenerImpl::elementInserted( const container::Con
}
-
void SAL_CALL BasMgrContainerListenerImpl::elementReplaced( const container::ContainerEvent& Event )
throw( uno::RuntimeException, std::exception )
{
@@ -322,7 +319,6 @@ void SAL_CALL BasMgrContainerListenerImpl::elementReplaced( const container::Con
}
-
void SAL_CALL BasMgrContainerListenerImpl::elementRemoved( const container::ContainerEvent& Event )
throw( uno::RuntimeException, std::exception )
{
@@ -366,8 +362,6 @@ BasicError::BasicError( const BasicError& rErr ) :
}
-
-
class BasicLibInfo
{
private:
@@ -1686,7 +1680,6 @@ ErrCode BasicManager::ExecuteMacro( OUString const& i_fullyQualifiedName, OUStri
}
-
class ModuleInfo_Impl : public ModuleInfoHelper
{
OUString maName;
@@ -1707,8 +1700,6 @@ public:
};
-
-
class DialogInfo_Impl : public WeakImplHelper< script::XStarBasicDialogInfo >
{
OUString maName;
@@ -1726,8 +1717,6 @@ public:
};
-
-
class LibraryInfo_Impl : public WeakImplHelper< script::XStarBasicLibraryInfo >
{
OUString maName;
@@ -1771,7 +1760,6 @@ public:
};
-
class ModuleContainer_Impl : public NameContainerHelper
{
StarBASIC* mpLib;
@@ -1893,8 +1881,6 @@ void ModuleContainer_Impl::removeByName( const OUString& Name )
}
-
-
uno::Sequence< sal_Int8 > implGetDialogData( SbxObject* pDialog )
{
SvMemoryStream aMemStream;
@@ -2074,9 +2060,6 @@ void DialogContainer_Impl::removeByName( const OUString& Name )
}
-
-
-
class LibraryContainer_Impl : public NameContainerHelper
{
BasicManager* mpMgr;
@@ -2221,7 +2204,6 @@ void LibraryContainer_Impl::removeByName( const OUString& Name )
}
-
typedef WeakImplHelper< script::XStarBasicAccess > StarBasicAccessHelper;
diff --git a/basic/source/basmgr/vbahelper.cxx b/basic/source/basmgr/vbahelper.cxx
index d62c79e3004b..366df75dff53 100644
--- a/basic/source/basmgr/vbahelper.cxx
+++ b/basic/source/basmgr/vbahelper.cxx
@@ -36,7 +36,6 @@ namespace vba {
using namespace ::com::sun::star;
-
namespace {
/** Create an instance of a module manager.
@@ -90,7 +89,6 @@ void lclLockControllers( const uno::Reference< frame::XModel >& rxModel, bool bL
}
-
/** Enables or disables the container windows of all controllers of the
specified document model.
*/
@@ -121,7 +119,6 @@ void lclEnableContainerWindows( const uno::Reference< frame::XModel >& rxModel,
}
-
typedef void (*ModifyDocumentFunc)( const uno::Reference< frame::XModel >&, bool );
/** Implementation iterating over all documents that have the same type as the
@@ -144,7 +141,6 @@ void lclIterateDocuments( ModifyDocumentFunc pModifyDocumentFunc, const uno::Ref
}
-
struct CurrDirPool
{
::osl::Mutex maMutex;
@@ -156,21 +152,18 @@ struct StaticCurrDirPool : public ::rtl::Static< CurrDirPool, StaticCurrDirPool
} // namespace
-
void lockControllersOfAllDocuments( const uno::Reference< frame::XModel >& rxModel, bool bLockControllers )
{
lclIterateDocuments( &lclLockControllers, rxModel, bLockControllers );
}
-
void enableContainerWindowsOfAllDocuments( const uno::Reference< frame::XModel >& rxModel, bool bEnableWindows )
{
lclIterateDocuments( &lclEnableContainerWindows, rxModel, bEnableWindows );
}
-
void registerCurrentDirectory( const uno::Reference< frame::XModel >& rxModel, const OUString& rPath )
{
if( !rPath.isEmpty() )
@@ -191,7 +184,6 @@ void registerCurrentDirectory( const uno::Reference< frame::XModel >& rxModel, c
}
-
} // namespace vba
} // namespace basic
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx
index 59afe03cb4ae..72ae4de533b4 100644
--- a/basic/source/classes/eventatt.cxx
+++ b/basic/source/classes/eventatt.cxx
@@ -560,6 +560,4 @@ void RTL_Impl_CreateUnoDialog( StarBASIC* pBasic, SbxArray& rPar, bool bWrite )
}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx
index b43f8e78f874..ede6abb23156 100644
--- a/basic/source/classes/propacc.cxx
+++ b/basic/source/classes/propacc.cxx
@@ -51,7 +51,6 @@ SbPropertyValues::SbPropertyValues()
}
-
SbPropertyValues::~SbPropertyValues()
{
m_xInfo.clear();
@@ -78,7 +77,6 @@ Reference< XPropertySetInfo > SbPropertyValues::getPropertySetInfo() throw( Runt
}
-
size_t SbPropertyValues::GetIndex_Impl( const OUString &rPropName ) const
{
SbPropertyValueArr_Impl::const_iterator it = std::lower_bound(
@@ -94,7 +92,6 @@ size_t SbPropertyValues::GetIndex_Impl( const OUString &rPropName ) const
}
-
void SbPropertyValues::setPropertyValue(
const OUString& aPropertyName,
const Any& aValue)
@@ -110,7 +107,6 @@ void SbPropertyValues::setPropertyValue(
}
-
Any SbPropertyValues::getPropertyValue(
const OUString& aPropertyName)
throw(css::beans::UnknownPropertyException,
@@ -122,7 +118,6 @@ Any SbPropertyValues::getPropertyValue(
}
-
void SbPropertyValues::addPropertyChangeListener(
const OUString& aPropertyName,
const Reference< XPropertyChangeListener >& )
@@ -132,7 +127,6 @@ void SbPropertyValues::addPropertyChangeListener(
}
-
void SbPropertyValues::removePropertyChangeListener(
const OUString& aPropertyName,
const Reference< XPropertyChangeListener >& )
@@ -142,7 +136,6 @@ void SbPropertyValues::removePropertyChangeListener(
}
-
void SbPropertyValues::addVetoableChangeListener(
const OUString& aPropertyName,
const Reference< XVetoableChangeListener >& )
@@ -152,7 +145,6 @@ void SbPropertyValues::addVetoableChangeListener(
}
-
void SbPropertyValues::removeVetoableChangeListener(
const OUString& aPropertyName,
const Reference< XVetoableChangeListener >& )
@@ -162,14 +154,12 @@ void SbPropertyValues::removeVetoableChangeListener(
}
-
Sequence< PropertyValue > SbPropertyValues::getPropertyValues() throw (css::uno::RuntimeException, std::exception)
{
return comphelper::containerToSequence(m_aPropVals);
}
-
void SbPropertyValues::setPropertyValues(const Sequence< PropertyValue >& rPropertyValues )
throw (css::beans::UnknownPropertyException,
css::beans::PropertyVetoException,
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx
index ddcc8d02e40c..4e547af4309d 100644
--- a/basic/source/classes/sb.cxx
+++ b/basic/source/classes/sb.cxx
@@ -63,7 +63,6 @@ using com::sun::star::uno::UNO_QUERY;
using com::sun::star::lang::XMultiServiceFactory;
-
class DocBasicItem : public ::cppu::WeakImplHelper< util::XCloseListener >
{
public:
@@ -95,7 +94,6 @@ private:
};
-
DocBasicItem::DocBasicItem( StarBASIC& rDocBasic ) :
mrDocBasic( rDocBasic ),
mxClassModules( new SbxObject( OUString() ) ),
@@ -172,7 +170,6 @@ void SAL_CALL DocBasicItem::disposing( const lang::EventObject& /*rEvent*/ ) thr
}
-
namespace {
typedef ::rtl::Reference< DocBasicItem > DocBasicItemRef;
@@ -229,7 +226,6 @@ StarBASIC* lclGetDocBasicForModule( SbModule* pModule )
} // namespace
-
SbxObject* StarBASIC::getVBAGlobals( )
{
if ( !pVBAGlobals )
@@ -485,7 +481,6 @@ SbxObject* SbOLEFactory::CreateObject( const OUString& rClassName )
}
-
// SbFormFactory, show user forms by: dim as new <user form name>
class SbFormFactory : public SbxFactory
@@ -529,7 +524,6 @@ SbxObject* SbFormFactory::CreateObject( const OUString& rClassName )
}
-
// SbTypeFactory
SbxObject* cloneTypeObjectImpl( const SbxObject& rTypeObj )
@@ -627,7 +621,6 @@ SbxObject* createUserTypeImpl( const OUString& rClassName )
}
-
SbClassModuleObject::SbClassModuleObject( SbModule* pClassModule )
: SbModule( pClassModule->GetName() )
, mpClassModule( pClassModule )
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index 4a1541138a5a..ef7ba198856a 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -1080,7 +1080,6 @@ Any sbxToUnoValueImpl( const SbxValue* pVar, bool bBlockConversionToSmallestType
}
-
// Helper function for StepREDIMP
static Any implRekMultiDimArrayToSequence( SbxDimArray* pArray,
const Type& aElemType, short nMaxDimIndex, short nActualDim,
@@ -1797,7 +1796,6 @@ OUString Impl_GetSupportedInterfaces(SbUnoObject& rUnoObj)
}
-
// Debugging help method SbxDataType -> String
OUString Dbg_SbxDataType2String( SbxDataType eType )
{
@@ -2456,8 +2454,6 @@ void SbUnoObject::doIntrospection()
}
-
-
// Start of a list of all SbUnoMethod-Instances
static SbUnoMethod* pFirst = nullptr;
@@ -3743,7 +3739,6 @@ void SbUnoService::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
}
-
static SbUnoServiceCtor* pFirstCtor = nullptr;
void clearUnoServiceCtors()
@@ -3857,8 +3852,6 @@ void SbUnoSingleton::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
}
-
-
// Implementation of an EventAttacher-drawn AllListener, which
// solely transmits several events to an general AllListener
class BasicAllListener_Impl : public WeakImplHelper< XAllListener >
@@ -3881,7 +3874,6 @@ public:
};
-
BasicAllListener_Impl::BasicAllListener_Impl(const OUString& aPrefixName_)
: aPrefixName( aPrefixName_ )
{
@@ -3893,7 +3885,6 @@ BasicAllListener_Impl::~BasicAllListener_Impl()
}
-
void BasicAllListener_Impl::firing_impl( const AllEventObject& Event, Any* pRet )
{
SolarMutexGuard guard;
@@ -3967,8 +3958,6 @@ void BasicAllListener_Impl ::disposing(const EventObject& ) throw ( RuntimeExcep
}
-
-
// class InvocationToAllListenerMapper
// helper class to map XInvocation to XAllListener (also in project eventattacher!)
@@ -4018,7 +4007,6 @@ Reference< XInterface > createAllListenerAdapter
}
-
// InvocationToAllListenerMapper
InvocationToAllListenerMapper::InvocationToAllListenerMapper
( const Reference< XIdlClass >& ListenerType, const Reference< XAllListener >& AllListener, const Any& Helper )
@@ -4289,7 +4277,6 @@ void RTL_Impl_CreateUnoValue( StarBASIC* pBasic, SbxArray& rPar, bool bWrite )
}
-
class ModuleInvocationProxy : public WeakImplHelper< XInvocation, XComponent >
{
::osl::Mutex m_aMutex;
@@ -4376,7 +4363,6 @@ void SAL_CALL ModuleInvocationProxy::setValue(const OUString& rProperty, const A
// TODO: OutParameter?
-
}
Any SAL_CALL ModuleInvocationProxy::getValue(const OUString& rProperty)
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 7244c8b2af8d..5dc0cd9262c8 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -640,7 +640,6 @@ SbIfaceMapperMethod::~SbIfaceMapperMethod()
}
-
// From the code generator: remove invalid entries
void SbModule::EndDefinitions( bool bNewState )
@@ -1968,8 +1967,6 @@ bool SbJScriptModule::StoreData( SvStream& rStrm ) const
}
-
-
SbMethod::SbMethod( const OUString& r, SbxDataType t, SbModule* p )
: SbxMethod( r, t ), pMod( p )
{
diff --git a/basic/source/comp/codegen.cxx b/basic/source/comp/codegen.cxx
index 4c202edf8bba..3f8c98683905 100644
--- a/basic/source/comp/codegen.cxx
+++ b/basic/source/comp/codegen.cxx
@@ -484,7 +484,6 @@ public:
};
-
template < class T, class S >
class BufferTransformer : public PCodeVisitor< T >
{
diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx
index ba38a1b25cf1..93825e1ead36 100644
--- a/basic/source/comp/parser.cxx
+++ b/basic/source/comp/parser.cxx
@@ -255,7 +255,6 @@ bool SbiParser::TestSymbol( bool bKwdOk )
}
-
bool SbiParser::TestToken( SbiToken t )
{
if( Peek() == t )
@@ -270,7 +269,6 @@ bool SbiParser::TestToken( SbiToken t )
}
-
bool SbiParser::TestComma()
{
SbiToken eTok = Peek();
@@ -289,7 +287,6 @@ bool SbiParser::TestComma()
}
-
void SbiParser::TestEoln()
{
if( !IsEoln( Next() ) )
@@ -300,7 +297,6 @@ void SbiParser::TestEoln()
}
-
void SbiParser::StmntBlock( SbiToken eEnd )
{
SbiToken xe = eEndTok;
diff --git a/basic/source/comp/symtbl.cxx b/basic/source/comp/symtbl.cxx
index ba20518753db..c75f7c6a06d7 100644
--- a/basic/source/comp/symtbl.cxx
+++ b/basic/source/comp/symtbl.cxx
@@ -490,7 +490,6 @@ void SbiProcDef::setPropertyMode( PropertyMode ePropMode )
}
-
SbiConstDef::SbiConstDef( const OUString& rName )
: SbiSymDef( rName )
{
diff --git a/basic/source/inc/dlgcont.hxx b/basic/source/inc/dlgcont.hxx
index 81121585a4a6..1a5354898a80 100644
--- a/basic/source/inc/dlgcont.hxx
+++ b/basic/source/inc/dlgcont.hxx
@@ -32,7 +32,6 @@ namespace basic
{
-
class SfxDialogLibraryContainer : public SfxLibraryContainer
{
// Methods to distinguish between different library types
@@ -94,7 +93,6 @@ public:
};
-
typedef ::cppu::ImplHelper1 < css::resource::XStringResourceSupplier
> SfxDialogLibrary_BASE;
diff --git a/basic/source/inc/namecont.hxx b/basic/source/inc/namecont.hxx
index 1032797d96fd..e41f439f1d38 100644
--- a/basic/source/inc/namecont.hxx
+++ b/basic/source/inc/namecont.hxx
@@ -66,7 +66,6 @@ typedef ::cppu::WeakImplHelper<
css::util::XChangesNotifier > NameContainer_BASE;
-
class NameContainer : public ::cppu::BaseMutex, public NameContainer_BASE
{
typedef std::unordered_map < OUString, sal_Int32, OUStringHash > NameContainerNameMap;
@@ -153,7 +152,6 @@ public:
};
-
class ModifiableHelper
{
private:
@@ -184,7 +182,6 @@ public:
};
-
typedef ::comphelper::OListenerContainerBase<
css::script::vba::XVBAScriptListener,
css::script::vba::VBAScriptEvent > VBAScriptListenerContainer_BASE;
@@ -202,7 +199,6 @@ private:
};
-
class SfxLibrary;
typedef ::cppu::WeakComponentImplHelper<
@@ -532,7 +528,6 @@ public:
};
-
class LibraryContainerMethodGuard
{
public:
@@ -548,7 +543,6 @@ public:
};
-
class SfxLibrary
: public css::container::XNameContainer
, public css::container::XContainer
@@ -707,7 +701,6 @@ protected:
};
-
class ScriptSubPackageIterator
{
css::uno::Reference< css::deployment::XPackage > m_xMainPackage;
@@ -730,7 +723,6 @@ public:
};
-
class ScriptExtensionIterator
{
public:
@@ -773,7 +765,6 @@ protected:
}; // end class ScriptExtensionIterator
-
} // namespace basic
#endif
diff --git a/basic/source/inc/parser.hxx b/basic/source/inc/parser.hxx
index e2d5a3bf3637..21e697181658 100644
--- a/basic/source/inc/parser.hxx
+++ b/basic/source/inc/parser.hxx
@@ -141,10 +141,6 @@ public:
};
-
-
-
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basic/source/inc/propacc.hxx b/basic/source/inc/propacc.hxx
index ec227a44647b..10c0547f8e4b 100644
--- a/basic/source/inc/propacc.hxx
+++ b/basic/source/inc/propacc.hxx
@@ -34,8 +34,6 @@ typedef ::cppu::WeakImplHelper< css::beans::XPropertySet,
css::beans::XPropertyAccess > SbPropertyValuesHelper;
-
-
class SbPropertyValues: public SbPropertyValuesHelper
{
SbPropertyValueArr_Impl m_aPropVals;
diff --git a/basic/source/inc/sbjsmod.hxx b/basic/source/inc/sbjsmod.hxx
index 14cfc096b602..9fa77e0c3d15 100644
--- a/basic/source/inc/sbjsmod.hxx
+++ b/basic/source/inc/sbjsmod.hxx
@@ -38,5 +38,4 @@ public:
#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx
index e7447ff48594..b9dd79db4bb7 100644
--- a/basic/source/inc/sbunoobj.hxx
+++ b/basic/source/inc/sbunoobj.hxx
@@ -176,7 +176,6 @@ public:
};
-
class SbUnoProperty : public SbxProperty
{
friend class SbUnoObject;
@@ -344,7 +343,6 @@ void disposeComVariablesForBasic( StarBASIC* pBasic );
void clearNativeObjectWrapperVector();
-
// #118116 Collection object
class BasicCollection : public SbxObject
diff --git a/basic/source/inc/scriptcont.hxx b/basic/source/inc/scriptcont.hxx
index fccf638b9de1..0106ce7cc1a3 100644
--- a/basic/source/inc/scriptcont.hxx
+++ b/basic/source/inc/scriptcont.hxx
@@ -29,7 +29,6 @@ namespace basic
{
-
class SfxScriptLibraryContainer : public SfxLibraryContainer, public OldBasicPassword
{
OUString maScriptLanguage;
@@ -174,7 +173,6 @@ protected:
};
-
} // namespace basic
#endif
diff --git a/basic/source/runtime/inputbox.cxx b/basic/source/runtime/inputbox.cxx
index dbd58613da73..07084e4a798b 100644
--- a/basic/source/runtime/inputbox.cxx
+++ b/basic/source/runtime/inputbox.cxx
@@ -183,5 +183,4 @@ RTLFUNC(InputBox)
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx
index 6e4b35bf0eb4..f6e9487b8a6a 100644
--- a/basic/source/runtime/iosys.cxx
+++ b/basic/source/runtime/iosys.cxx
@@ -62,7 +62,6 @@ using namespace com::sun::star::bridge;
#include "sbintern.hxx"
-
class SbiInputDialog : public ModalDialog {
VclPtr<Edit> aInput;
VclPtr<OKButton> aOk;
@@ -304,7 +303,6 @@ bool hasUno()
}
-
class OslStream : public SvStream
{
osl::File maFile;
@@ -757,7 +755,6 @@ SbError SbiStream::Write( const OString& rBuf, sal_uInt16 n )
}
-
SbiIoSystem::SbiIoSystem()
{
for( short i = 0; i < CHANNELS; i++ )
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index fb0732903d4c..6015cba739c6 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -171,7 +171,6 @@ static uno::Reference< ucb::XSimpleFileAccess3 > getFileAccess()
}
-
// Properties and methods lie down the return value at the Get (bPut = sal_False) in the
// element 0 of the Argv; the value of element 0 is saved at Put (bPut = sal_True)
@@ -297,7 +296,6 @@ RTLFUNC(Atn)
}
-
RTLFUNC(Abs)
{
(void)pBasic;
@@ -1077,7 +1075,6 @@ RTLFUNC(Int)
}
-
RTLFUNC(Fix)
{
(void)pBasic;
@@ -2699,7 +2696,6 @@ RTLFUNC(IsNumeric)
}
-
RTLFUNC(IsMissing)
{
(void)pBasic;
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index 2acff3508447..f619b3722f6a 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -984,7 +984,6 @@ RTLFUNC(FindPropertyObject)
}
-
static bool lcl_WriteSbxVariable( const SbxVariable& rVar, SvStream* pStrm,
bool bBinary, short nBlockLen, bool bIsArray )
{
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index e92c0a134a56..a92b12bb0f6b 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -1273,8 +1273,6 @@ SbiForStack* SbiRuntime::FindForStackItemForCollection( class BasicCollection* p
}
-
-
// DLL-calls
void SbiRuntime::DllCall
@@ -3656,7 +3654,6 @@ SbxBase* SbiRuntime::FindElementExtern( const OUString& rName )
}
-
void SbiRuntime::SetupArgs( SbxVariable* p, sal_uInt32 nOp1 )
{
if( nOp1 & 0x8000 )
diff --git a/basic/source/runtime/stdobj1.cxx b/basic/source/runtime/stdobj1.cxx
index 0ca186716cfe..e5dfe17e1572 100644
--- a/basic/source/runtime/stdobj1.cxx
+++ b/basic/source/runtime/stdobj1.cxx
@@ -56,9 +56,6 @@ SbxObject* SbStdFactory::CreateObject( const OUString& rClassName )
}
-
-
-
void SbStdPicture::PropType( SbxVariable* pVar, SbxArray*, bool bWrite )
{
if( bWrite )
@@ -110,7 +107,6 @@ void SbStdPicture::PropHeight( SbxVariable* pVar, SbxArray*, bool bWrite )
}
-
SbStdPicture::SbStdPicture() :
SbxObject( OUString("Picture"))
{
@@ -138,7 +134,6 @@ SbxVariable* SbStdPicture::Find( const OUString& rName, SbxClassType t )
}
-
void SbStdPicture::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
{
@@ -170,7 +165,6 @@ void SbStdPicture::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
}
-
void SbStdFont::PropBold( SbxVariable* pVar, SbxArray*, bool bWrite )
{
if( bWrite )
@@ -297,9 +291,6 @@ void SbStdFont::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
}
-
-
-
void SbStdClipboard::MethClear( SbxVariable*, SbxArray* pPar_, bool )
{
if( pPar_ && (pPar_->Count() > 1) )
@@ -390,7 +381,6 @@ void SbStdClipboard::MethSetText( SbxVariable* pVar, SbxArray* pPar_, bool )
}
-
SbStdClipboard::SbStdClipboard() :
SbxObject( OUString("Clipboard") )
{
@@ -430,7 +420,6 @@ SbxVariable* SbStdClipboard::Find( const OUString& rName, SbxClassType t )
}
-
void SbStdClipboard::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
{
const SbxHint* pHint = dynamic_cast<const SbxHint*>(&rHint);
diff --git a/basic/source/sbx/sbxform.cxx b/basic/source/sbx/sbxform.cxx
index 1eff210a9258..3323d4f1411c 100644
--- a/basic/source/sbx/sbxform.cxx
+++ b/basic/source/sbx/sbxform.cxx
@@ -82,8 +82,6 @@ COMMENT: Visual-Basic treats the following (invalid) format-strings
// be generated. That's a StarBasic 'extension'.
-
-
double get_number_of_digits( double dNumber )
//double floor_log10_fabs( double dNumber )
{
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx
index 6d0154aaae6a..d342ef0f3b20 100644
--- a/basic/source/sbx/sbxobj.cxx
+++ b/basic/source/sbx/sbxobj.cxx
@@ -34,7 +34,6 @@ static OUString pParentProp; // Parent-Property
static sal_uInt16 nNameHash = 0, nParentHash = 0;
-
SbxObject::SbxObject( const OUString& rClass )
: SbxVariable( SbxOBJECT ), aClassName( rClass )
{
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index bf385ee810ee..b83344a3ed33 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -359,7 +359,6 @@ void ModifiableHelper::setModified( bool _bModified )
}
-
VBAScriptListenerContainer::VBAScriptListenerContainer( ::osl::Mutex& rMutex ) :
VBAScriptListenerContainer_BASE( rMutex )
{