summaryrefslogtreecommitdiff
path: root/scripting
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 /scripting
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 'scripting')
-rw-r--r--scripting/source/basprov/baslibnode.cxx8
-rw-r--r--scripting/source/basprov/baslibnode.hxx2
-rw-r--r--scripting/source/basprov/basmethnode.cxx13
-rw-r--r--scripting/source/basprov/basmethnode.hxx2
-rw-r--r--scripting/source/basprov/basmodnode.cxx8
-rw-r--r--scripting/source/basprov/basmodnode.hxx2
-rw-r--r--scripting/source/basprov/basprov.cxx13
-rw-r--r--scripting/source/basprov/basprov.hxx2
-rw-r--r--scripting/source/basprov/basscript.cxx6
-rw-r--r--scripting/source/basprov/basscript.hxx1
-rw-r--r--scripting/source/dlgprov/dlgevtatt.cxx13
-rw-r--r--scripting/source/dlgprov/dlgevtatt.hxx3
-rw-r--r--scripting/source/dlgprov/dlgprov.cxx14
-rw-r--r--scripting/source/dlgprov/dlgprov.hxx5
-rw-r--r--scripting/source/inc/bcholder.hxx2
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx2
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx5
-rw-r--r--scripting/source/stringresource/stringresource.cxx29
-rw-r--r--scripting/source/stringresource/stringresource.hxx2
19 files changed, 0 insertions, 132 deletions
diff --git a/scripting/source/basprov/baslibnode.cxx b/scripting/source/basprov/baslibnode.cxx
index 3943c3470f7f..aee5ae04ada7 100644
--- a/scripting/source/basprov/baslibnode.cxx
+++ b/scripting/source/basprov/baslibnode.cxx
@@ -32,12 +32,10 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::script;
-
namespace basprov
{
-
// BasicLibraryNodeImpl
@@ -59,7 +57,6 @@ namespace basprov
}
-
BasicLibraryNodeImpl::~BasicLibraryNodeImpl()
{
}
@@ -76,7 +73,6 @@ namespace basprov
}
-
Sequence< Reference< browse::XBrowseNode > > BasicLibraryNodeImpl::getChildNodes( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -110,7 +106,6 @@ namespace basprov
}
-
sal_Bool BasicLibraryNodeImpl::hasChildNodes( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -123,7 +118,6 @@ namespace basprov
}
-
sal_Int16 BasicLibraryNodeImpl::getType( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -132,8 +126,6 @@ namespace basprov
}
-
-
} // namespace basprov
diff --git a/scripting/source/basprov/baslibnode.hxx b/scripting/source/basprov/baslibnode.hxx
index f9a82af1e846..0fd6174905c4 100644
--- a/scripting/source/basprov/baslibnode.hxx
+++ b/scripting/source/basprov/baslibnode.hxx
@@ -29,12 +29,10 @@
class BasicManager;
-
namespace basprov
{
-
// class BasicLibraryNodeImpl
diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx
index 9fe6d521fb3e..cc6637eb9464 100644
--- a/scripting/source/basprov/basmethnode.cxx
+++ b/scripting/source/basprov/basmethnode.cxx
@@ -49,12 +49,10 @@ using namespace ::sf_misc;
#define BASPROV_DEFAULT_ATTRIBS() PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT | PropertyAttribute::READONLY
-
namespace basprov
{
-
// BasicMethodNodeImpl
@@ -96,7 +94,6 @@ namespace basprov
}
-
BasicMethodNodeImpl::~BasicMethodNodeImpl()
{
}
@@ -129,7 +126,6 @@ namespace basprov
}
-
Sequence< Reference< browse::XBrowseNode > > BasicMethodNodeImpl::getChildNodes( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -138,7 +134,6 @@ namespace basprov
}
-
sal_Bool BasicMethodNodeImpl::hasChildNodes( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -147,7 +142,6 @@ namespace basprov
}
-
sal_Int16 BasicMethodNodeImpl::getType( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -195,7 +189,6 @@ namespace basprov
}
-
Any BasicMethodNodeImpl::invoke( const OUString& aFunctionName, const Sequence< Any >& aParams,
Sequence< sal_Int16 >& aOutParamIndex, Sequence< Any >& aOutParam )
throw (IllegalArgumentException, script::CannotConvertException,
@@ -284,7 +277,6 @@ namespace basprov
}
-
void BasicMethodNodeImpl::setValue( const OUString& aPropertyName, const Any& aValue )
throw (UnknownPropertyException, script::CannotConvertException,
reflection::InvocationTargetException, RuntimeException, std::exception)
@@ -297,7 +289,6 @@ namespace basprov
}
-
Any BasicMethodNodeImpl::getValue( const OUString& aPropertyName ) throw (UnknownPropertyException, RuntimeException, std::exception)
{
(void)aPropertyName;
@@ -307,7 +298,6 @@ namespace basprov
}
-
sal_Bool BasicMethodNodeImpl::hasMethod( const OUString& aName ) throw (RuntimeException, std::exception)
{
bool bReturn = false;
@@ -318,7 +308,6 @@ namespace basprov
}
-
sal_Bool BasicMethodNodeImpl::hasProperty( const OUString& aName ) throw (RuntimeException, std::exception)
{
(void)aName;
@@ -327,8 +316,6 @@ namespace basprov
}
-
-
} // namespace basprov
diff --git a/scripting/source/basprov/basmethnode.hxx b/scripting/source/basprov/basmethnode.hxx
index 547d5a10d1e2..537d15c4735e 100644
--- a/scripting/source/basprov/basmethnode.hxx
+++ b/scripting/source/basprov/basmethnode.hxx
@@ -34,12 +34,10 @@
class SbMethod;
-
namespace basprov
{
-
// class BasicMethodNodeImpl
diff --git a/scripting/source/basprov/basmodnode.cxx b/scripting/source/basprov/basmodnode.cxx
index 645931103464..a08def174eda 100644
--- a/scripting/source/basprov/basmodnode.cxx
+++ b/scripting/source/basprov/basmodnode.cxx
@@ -34,12 +34,10 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::script;
-
namespace basprov
{
-
// BasicModuleNodeImpl
@@ -53,7 +51,6 @@ namespace basprov
}
-
BasicModuleNodeImpl::~BasicModuleNodeImpl()
{
}
@@ -74,7 +71,6 @@ namespace basprov
}
-
Sequence< Reference< browse::XBrowseNode > > BasicModuleNodeImpl::getChildNodes( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -111,7 +107,6 @@ namespace basprov
}
-
sal_Bool BasicModuleNodeImpl::hasChildNodes( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -128,7 +123,6 @@ namespace basprov
}
-
sal_Int16 BasicModuleNodeImpl::getType( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -137,8 +131,6 @@ namespace basprov
}
-
-
} // namespace basprov
diff --git a/scripting/source/basprov/basmodnode.hxx b/scripting/source/basprov/basmodnode.hxx
index 7af9c97b8107..914184c5f4b7 100644
--- a/scripting/source/basprov/basmodnode.hxx
+++ b/scripting/source/basprov/basmodnode.hxx
@@ -28,12 +28,10 @@
class SbModule;
-
namespace basprov
{
-
// class BasicModuleNodeImpl
diff --git a/scripting/source/basprov/basprov.cxx b/scripting/source/basprov/basprov.cxx
index 94a662c3f205..20f6a99820cf 100644
--- a/scripting/source/basprov/basprov.cxx
+++ b/scripting/source/basprov/basprov.cxx
@@ -63,7 +63,6 @@ namespace basprov
{
-
// component operations
@@ -73,7 +72,6 @@ namespace basprov
}
-
static Sequence< OUString > getSupportedServiceNames_BasicProviderImpl()
{
static Sequence< OUString >* pNames = nullptr;
@@ -109,13 +107,11 @@ namespace basprov
}
-
BasicProviderImpl::~BasicProviderImpl()
{
}
-
bool BasicProviderImpl::isLibraryShared( const Reference< script::XLibraryContainer >& rxLibContainer, const OUString& rLibName )
{
bool bIsShared = false;
@@ -278,7 +274,6 @@ namespace basprov
}
-
// XScriptProvider
@@ -411,7 +406,6 @@ namespace basprov
}
-
Sequence< Reference< browse::XBrowseNode > > BasicProviderImpl::getChildNodes( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -469,7 +463,6 @@ namespace basprov
}
-
sal_Bool BasicProviderImpl::hasChildNodes( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -491,7 +484,6 @@ namespace basprov
}
-
sal_Int16 BasicProviderImpl::getType( ) throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -510,7 +502,6 @@ namespace basprov
}
-
static struct ::cppu::ImplementationEntry s_component_entries [] =
{
{
@@ -522,13 +513,9 @@ namespace basprov
};
-
-
} // namespace basprov
-
-
// component exports
diff --git a/scripting/source/basprov/basprov.hxx b/scripting/source/basprov/basprov.hxx
index 646be1ebd1cf..c99a536ce993 100644
--- a/scripting/source/basprov/basprov.hxx
+++ b/scripting/source/basprov/basprov.hxx
@@ -33,12 +33,10 @@
class BasicManager;
-
namespace basprov
{
-
// class BasicProviderImpl
diff --git a/scripting/source/basprov/basscript.cxx b/scripting/source/basprov/basscript.cxx
index 00b2a40f880e..2aef934b62be 100644
--- a/scripting/source/basprov/basscript.cxx
+++ b/scripting/source/basprov/basscript.cxx
@@ -42,7 +42,6 @@ using namespace ::com::sun::star::document;
using namespace ::com::sun::star::beans;
-
namespace basprov
{
@@ -57,8 +56,6 @@ namespace basprov
// BasicScriptImpl
-
-
BasicScriptImpl::BasicScriptImpl( const OUString& funcName, SbMethodRef xMethod )
: ::scripting_helper::OBroadcastHelperHolder( m_aMutex )
,OPropertyContainer( GetBroadcastHelper() )
@@ -71,7 +68,6 @@ namespace basprov
}
-
BasicScriptImpl::BasicScriptImpl( const OUString& funcName, SbMethodRef xMethod,
BasicManager& documentBasicManager, const Reference< XScriptInvocationContext >& documentScriptContext ) : ::scripting_helper::OBroadcastHelperHolder( m_aMutex )
,OPropertyContainer( GetBroadcastHelper() )
@@ -292,8 +288,6 @@ namespace basprov
}
-
-
} // namespace basprov
diff --git a/scripting/source/basprov/basscript.hxx b/scripting/source/basprov/basscript.hxx
index 6805cd69cc34..0f8616bd4034 100644
--- a/scripting/source/basprov/basscript.hxx
+++ b/scripting/source/basprov/basscript.hxx
@@ -36,7 +36,6 @@ namespace basprov
{
-
// class BasicScriptImpl
diff --git a/scripting/source/dlgprov/dlgevtatt.cxx b/scripting/source/dlgprov/dlgevtatt.cxx
index 5d1c1401db75..dd2d18f92e7c 100644
--- a/scripting/source/dlgprov/dlgevtatt.cxx
+++ b/scripting/source/dlgprov/dlgevtatt.cxx
@@ -53,7 +53,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::reflection;
-
namespace dlgprov
{
@@ -148,8 +147,6 @@ namespace dlgprov
}
-
-
// DialogEventsAttacherImpl
@@ -182,7 +179,6 @@ namespace dlgprov
}
-
DialogEventsAttacherImpl::~DialogEventsAttacherImpl()
{
}
@@ -371,7 +367,6 @@ namespace dlgprov
}
-
// DialogAllListenerImpl
@@ -384,13 +379,11 @@ namespace dlgprov
}
-
DialogAllListenerImpl::~DialogAllListenerImpl()
{
}
-
void DialogAllListenerImpl::firing_impl( const AllEventObject& Event, Any* pRet )
{
ScriptEvent aScriptEvent;
@@ -431,7 +424,6 @@ namespace dlgprov
}
-
Any DialogAllListenerImpl::approveFiring( const AllEventObject& Event )
throw ( reflection::InvocationTargetException, RuntimeException, std::exception )
{
@@ -443,7 +435,6 @@ namespace dlgprov
}
-
// DialogScriptListenerImpl
@@ -462,7 +453,6 @@ namespace dlgprov
}
-
DialogScriptListenerImpl::~DialogScriptListenerImpl()
{
}
@@ -671,7 +661,6 @@ namespace dlgprov
}
-
Any DialogScriptListenerImpl::approveFiring( const ScriptEvent& aScriptEvent )
throw ( reflection::InvocationTargetException, RuntimeException, std::exception )
{
@@ -683,8 +672,6 @@ namespace dlgprov
}
-
-
} // namespace dlgprov
diff --git a/scripting/source/dlgprov/dlgevtatt.hxx b/scripting/source/dlgprov/dlgevtatt.hxx
index cf38efd179e9..1bd7f6b2bbff 100644
--- a/scripting/source/dlgprov/dlgevtatt.hxx
+++ b/scripting/source/dlgprov/dlgevtatt.hxx
@@ -80,7 +80,6 @@ namespace dlgprov
};
-
// class DialogAllListenerImpl
@@ -114,7 +113,6 @@ namespace dlgprov
};
-
// class DialogScriptListenerImpl
@@ -143,7 +141,6 @@ namespace dlgprov
};
-
} // namespace dlgprov
diff --git a/scripting/source/dlgprov/dlgprov.cxx b/scripting/source/dlgprov/dlgprov.cxx
index 33ccd6d04039..1af17ca3ba09 100644
--- a/scripting/source/dlgprov/dlgprov.cxx
+++ b/scripting/source/dlgprov/dlgprov.cxx
@@ -168,7 +168,6 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
}
-
static Sequence< OUString > getSupportedServiceNames_DialogProviderImpl()
{
Sequence< OUString > aNames(3);
@@ -179,7 +178,6 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
}
-
// mutex
@@ -199,7 +197,6 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
}
-
// DialogProviderImpl
@@ -210,13 +207,11 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
}
-
DialogProviderImpl::~DialogProviderImpl()
{
}
-
Reference< resource::XStringResourceManager > getStringResourceFromDialogLibrary
( Reference< container::XNameContainer > xDialogLib )
{
@@ -451,7 +446,6 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
}
-
Reference< XUnoControlDialog > DialogProviderImpl::createDialogControl
( const Reference< XControlModel >& rxDialogModel, const Reference< XWindowPeer >& xParent )
{
@@ -496,7 +490,6 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
}
-
void DialogProviderImpl::attachControlEvents(
const Reference< XControl >& rxControl,
const Reference< XInterface >& rxHandler,
@@ -562,7 +555,6 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
}
-
// XServiceInfo
@@ -762,7 +754,6 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
}
-
// component operations
@@ -773,7 +764,6 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
}
-
static struct ::cppu::ImplementationEntry s_component_entries [] =
{
{create_DialogProviderImpl, getImplementationName_DialogProviderImpl,getSupportedServiceNames_DialogProviderImpl, ::cppu::createSingleComponentFactory,nullptr, 0},
@@ -782,13 +772,9 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
};
-
-
} // namespace dlgprov
-
-
// component exports
diff --git a/scripting/source/dlgprov/dlgprov.hxx b/scripting/source/dlgprov/dlgprov.hxx
index 44fd78b07498..39ef5fa793a2 100644
--- a/scripting/source/dlgprov/dlgprov.hxx
+++ b/scripting/source/dlgprov/dlgprov.hxx
@@ -44,14 +44,12 @@ namespace dlgprov
{
-
// mutex
::osl::Mutex& getMutex();
-
// class DialogProviderImpl
css::uno::Reference< css::container::XNameContainer > lcl_createControlModel(const css::uno::Reference< css::uno::XComponentContext >& i_xContext);
@@ -154,7 +152,6 @@ namespace dlgprov
} // namespace dlgprov
-
// component helper namespace
namespace comp_DialogModelProvider {
@@ -165,8 +162,6 @@ css::uno::Sequence< OUString > SAL_CALL _getSupportedServiceNames();
} // namespace comp_DialogModelProvider
-
-
#endif // INCLUDED_SCRIPTING_SOURCE_DLGPROV_DLGPROV_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/scripting/source/inc/bcholder.hxx b/scripting/source/inc/bcholder.hxx
index 285c55c9d115..380584dce24b 100644
--- a/scripting/source/inc/bcholder.hxx
+++ b/scripting/source/inc/bcholder.hxx
@@ -24,12 +24,10 @@
#include <cppuhelper/interfacecontainer.h>
-
namespace scripting_helper
{
-
// class OMutexHolder
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index 6a76ad2d8629..d637048e614f 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -658,7 +658,6 @@ BrowseNodeFactoryImpl::~BrowseNodeFactoryImpl()
}
-
// Implementation of XBrowseNodeFactory
@@ -703,7 +702,6 @@ BrowseNodeFactoryImpl::getOrganizerHierarchy()
// Helper methods
-
// Namespace global methods for setting up BrowseNodeFactory service
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index 1f1ad5cc788b..695480c4238e 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -203,7 +203,6 @@ throw ( Exception, RuntimeException, std::exception )
}
-
void MasterScriptProvider::createPkgProvider()
{
try
@@ -361,7 +360,6 @@ throw ( provider::ScriptFrameworkErrorException,
}
-
ProviderCache*
MasterScriptProvider::providerCache()
{
@@ -387,7 +385,6 @@ MasterScriptProvider::providerCache()
}
-
OUString SAL_CALL
MasterScriptProvider::getName()
throw ( css::uno::RuntimeException, std::exception )
@@ -464,7 +461,6 @@ MasterScriptProvider::getType()
}
-
OUString
MasterScriptProvider::parseLocationName( const OUString& location )
{
@@ -773,7 +769,6 @@ MasterScriptProvider::getAllProviders() throw ( css::uno::RuntimeException )
}
-
OUString SAL_CALL MasterScriptProvider::getImplementationName( )
throw( RuntimeException, std::exception )
{
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index 46d011d44543..bc777e3a4a50 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -48,12 +48,10 @@ using namespace ::com::sun::star::embed;
using namespace ::com::sun::star::container;
-
namespace stringresource
{
-
// mutex
@@ -73,7 +71,6 @@ namespace stringresource
}
-
// StringResourceImpl
@@ -96,8 +93,6 @@ static Reference< XInterface > SAL_CALL create_StringResourceImpl(
}
-
-
StringResourceImpl::StringResourceImpl( const Reference< XComponentContext >& rxContext )
: m_xContext( rxContext )
, m_pCurrentLocaleItem( nullptr )
@@ -111,7 +106,6 @@ StringResourceImpl::StringResourceImpl( const Reference< XComponentContext >& rx
}
-
StringResourceImpl::~StringResourceImpl()
{
for( LocaleItemVectorIt it = m_aLocaleItemVector.begin(); it != m_aLocaleItemVector.end(); ++it )
@@ -128,7 +122,6 @@ StringResourceImpl::~StringResourceImpl()
}
-
// XServiceInfo
OUString StringResourceImpl::getImplementationName( ) throw (RuntimeException, std::exception)
@@ -147,7 +140,6 @@ Sequence< OUString > StringResourceImpl::getSupportedServiceNames( ) throw (Run
}
-
// XModifyBroadcaster
void StringResourceImpl::addModifyListener( const Reference< XModifyListener >& aListener )
@@ -171,7 +163,6 @@ void StringResourceImpl::removeModifyListener( const Reference< XModifyListener
}
-
// XStringResourceResolver
OUString StringResourceImpl::implResolveString
@@ -319,7 +310,6 @@ Sequence< Locale > StringResourceImpl::getLocales( )
}
-
// XStringResourceManager
void StringResourceImpl::implCheckReadOnly( const sal_Char* pExceptionMsg )
@@ -636,7 +626,6 @@ sal_Int32 StringResourceImpl::getUniqueNumericId( )
}
-
// Private helper methods
LocaleItem* StringResourceImpl::getItemForLocale
@@ -718,7 +707,6 @@ void StringResourceImpl::implNotifyListeners()
}
-
// Loading
bool StringResourceImpl::loadLocale( LocaleItem* pLocaleItem )
@@ -743,7 +731,6 @@ StringResourcePersistenceImpl::StringResourcePersistenceImpl( const Reference< X
}
-
StringResourcePersistenceImpl::~StringResourcePersistenceImpl()
{
}
@@ -759,7 +746,6 @@ OUString StringResourcePersistenceImpl::getImplementationName( )
}
-
sal_Bool StringResourcePersistenceImpl::supportsService( const OUString& rServiceName )
throw (RuntimeException, std::exception)
{
@@ -767,7 +753,6 @@ sal_Bool StringResourcePersistenceImpl::supportsService( const OUString& rServic
}
-
Sequence< OUString > StringResourcePersistenceImpl::getSupportedServiceNames( )
throw (RuntimeException, std::exception)
{
@@ -1221,7 +1206,6 @@ void StringResourcePersistenceImpl::implStoreAtLocation
}
-
// BinaryOutput, helper class for exportBinary
class BinaryOutput
@@ -1623,7 +1607,6 @@ void StringResourcePersistenceImpl::importBinary( const Sequence< ::sal_Int8 >&
}
-
// Private helper methods
bool checkNamingSceme( const OUString& aName, const OUString& aNameBase,
@@ -2222,7 +2205,6 @@ bool StringResourcePersistenceImpl::implWritePropertiesFile( LocaleItem* pLocale
}
-
// StringResourceWithStorageImpl
@@ -2245,7 +2227,6 @@ static Reference< XInterface > SAL_CALL create_StringResourceWithStorageImpl(
}
-
StringResourceWithStorageImpl::StringResourceWithStorageImpl( const Reference< XComponentContext >& rxContext )
: StringResourceWithStorageImpl_BASE( rxContext )
, m_bStorageChanged( false )
@@ -2253,7 +2234,6 @@ StringResourceWithStorageImpl::StringResourceWithStorageImpl( const Reference< X
}
-
StringResourceWithStorageImpl::~StringResourceWithStorageImpl()
{
}
@@ -2500,7 +2480,6 @@ void StringResourceWithStorageImpl::setStorage( const Reference< XStorage >& Sto
}
-
// Private helper methods
@@ -2546,7 +2525,6 @@ bool StringResourceWithStorageImpl::implLoadLocale( LocaleItem* pLocaleItem )
}
-
// StringResourceWithLocationImpl
@@ -2569,7 +2547,6 @@ static Reference< XInterface > SAL_CALL create_StringResourceWithLocationImpl(
}
-
StringResourceWithLocationImpl::StringResourceWithLocationImpl( const Reference< XComponentContext >& rxContext )
: StringResourceWithLocationImpl_BASE( rxContext )
, m_bLocationChanged( false )
@@ -2577,7 +2554,6 @@ StringResourceWithLocationImpl::StringResourceWithLocationImpl( const Reference<
}
-
StringResourceWithLocationImpl::~StringResourceWithLocationImpl()
{
}
@@ -2854,7 +2830,6 @@ void StringResourceWithLocationImpl::setURL( const OUString& URL )
}
-
// Private helper methods
@@ -2912,7 +2887,6 @@ const Reference< ucb::XSimpleFileAccess3 > StringResourceWithLocationImpl::getFi
}
-
// component export operations
@@ -2940,12 +2914,9 @@ static const struct ::cppu::ImplementationEntry s_component_entries [] =
};
-
} // namespace dlgprov
-
-
// component exports
diff --git a/scripting/source/stringresource/stringresource.hxx b/scripting/source/stringresource/stringresource.hxx
index 4519f7cfa678..e5ccaafdf37a 100644
--- a/scripting/source/stringresource/stringresource.hxx
+++ b/scripting/source/stringresource/stringresource.hxx
@@ -40,14 +40,12 @@ namespace stringresource
{
-
// mutex
::osl::Mutex& getMutex();
-
// class stringresourceImpl