summaryrefslogtreecommitdiff
path: root/embeddedobj/source/commonembedding
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /embeddedobj/source/commonembedding
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'embeddedobj/source/commonembedding')
-rw-r--r--embeddedobj/source/commonembedding/embedobj.cxx32
-rw-r--r--embeddedobj/source/commonembedding/miscobj.cxx46
-rw-r--r--embeddedobj/source/commonembedding/persistence.cxx68
-rw-r--r--embeddedobj/source/commonembedding/specialobject.cxx4
4 files changed, 75 insertions, 75 deletions
diff --git a/embeddedobj/source/commonembedding/embedobj.cxx b/embeddedobj/source/commonembedding/embedobj.cxx
index 6983fc0de2e3..9347de8bbbdf 100644
--- a/embeddedobj/source/commonembedding/embedobj.cxx
+++ b/embeddedobj/source/commonembedding/embedobj.cxx
@@ -69,7 +69,7 @@ awt::Rectangle GetRectangleInterception( const awt::Rectangle& aRect1, const awt
return aResult;
}
-//----------------------------------------------
+
sal_Int32 OCommonEmbeddedObject::ConvertVerbToState_Impl( sal_Int32 nVerb )
{
for ( sal_Int32 nInd = 0; nInd < m_aVerbTable.getLength(); nInd++ )
@@ -79,7 +79,7 @@ sal_Int32 OCommonEmbeddedObject::ConvertVerbToState_Impl( sal_Int32 nVerb )
throw lang::IllegalArgumentException(); // TODO: unexpected verb provided
}
-//----------------------------------------------
+
void OCommonEmbeddedObject::Deactivate()
{
uno::Reference< util::XModifiable > xModif( m_pDocHolder->GetComponent(), uno::UNO_QUERY );
@@ -112,7 +112,7 @@ void OCommonEmbeddedObject::Deactivate()
xClientSite->visibilityChanged( sal_False );
}
-//----------------------------------------------
+
void OCommonEmbeddedObject::StateChangeNotification_Impl( sal_Bool bBeforeChange, sal_Int32 nOldState, sal_Int32 nNewState ,::osl::ResettableMutexGuard& rGuard )
{
if ( m_pInterfaceContainer )
@@ -150,7 +150,7 @@ void OCommonEmbeddedObject::StateChangeNotification_Impl( sal_Bool bBeforeChange
}
}
-//----------------------------------------------
+
void OCommonEmbeddedObject::SwitchStateTo_Impl( sal_Int32 nNextState )
{
// TODO: may be needs interaction handler to detect wherether the object state
@@ -390,7 +390,7 @@ void OCommonEmbeddedObject::SwitchStateTo_Impl( sal_Int32 nNextState )
uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
}
-//----------------------------------------------
+
uno::Sequence< sal_Int32 > OCommonEmbeddedObject::GetIntermediateStatesSequence_Impl( sal_Int32 nNewState )
{
sal_Int32 nCurInd = 0;
@@ -417,7 +417,7 @@ uno::Sequence< sal_Int32 > OCommonEmbeddedObject::GetIntermediateStatesSequence_
return m_pIntermediateStatesSeqs[nCurInd][nDestInd];
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::changeState( sal_Int32 nNewState )
throw ( embed::UnreachableStateException,
embed::WrongStateException,
@@ -490,7 +490,7 @@ void SAL_CALL OCommonEmbeddedObject::changeState( sal_Int32 nNewState )
}
}
-//----------------------------------------------
+
uno::Sequence< sal_Int32 > SAL_CALL OCommonEmbeddedObject::getReachableStates()
throw ( embed::WrongStateException,
uno::RuntimeException )
@@ -505,7 +505,7 @@ uno::Sequence< sal_Int32 > SAL_CALL OCommonEmbeddedObject::getReachableStates()
return m_aAcceptedStates;
}
-//----------------------------------------------
+
sal_Int32 SAL_CALL OCommonEmbeddedObject::getCurrentState()
throw ( embed::WrongStateException,
uno::RuntimeException )
@@ -520,7 +520,7 @@ sal_Int32 SAL_CALL OCommonEmbeddedObject::getCurrentState()
return m_nObjectState;
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::doVerb( sal_Int32 nVerbID )
throw ( lang::IllegalArgumentException,
embed::WrongStateException,
@@ -569,7 +569,7 @@ void SAL_CALL OCommonEmbeddedObject::doVerb( sal_Int32 nVerbID )
}
}
-//----------------------------------------------
+
uno::Sequence< embed::VerbDescriptor > SAL_CALL OCommonEmbeddedObject::getSupportedVerbs()
throw ( embed::WrongStateException,
uno::RuntimeException )
@@ -584,7 +584,7 @@ uno::Sequence< embed::VerbDescriptor > SAL_CALL OCommonEmbeddedObject::getSuppor
return m_aObjectVerbs;
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::setClientSite(
const uno::Reference< embed::XEmbeddedClient >& xClient )
throw ( embed::WrongStateException,
@@ -605,7 +605,7 @@ void SAL_CALL OCommonEmbeddedObject::setClientSite(
}
}
-//----------------------------------------------
+
uno::Reference< embed::XEmbeddedClient > SAL_CALL OCommonEmbeddedObject::getClientSite()
throw ( embed::WrongStateException,
uno::RuntimeException )
@@ -620,7 +620,7 @@ uno::Reference< embed::XEmbeddedClient > SAL_CALL OCommonEmbeddedObject::getClie
return m_xClientSite;
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::update()
throw ( embed::WrongStateException,
uno::Exception,
@@ -637,7 +637,7 @@ void SAL_CALL OCommonEmbeddedObject::update()
PostEvent_Impl( OUString( "OnVisAreaChanged" ) );
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::setUpdateMode( sal_Int32 nMode )
throw ( embed::WrongStateException,
uno::RuntimeException )
@@ -656,7 +656,7 @@ void SAL_CALL OCommonEmbeddedObject::setUpdateMode( sal_Int32 nMode )
m_nUpdateMode = nMode;
}
-//----------------------------------------------
+
sal_Int64 SAL_CALL OCommonEmbeddedObject::getStatus( sal_Int64 )
throw ( embed::WrongStateException,
uno::RuntimeException )
@@ -667,7 +667,7 @@ sal_Int64 SAL_CALL OCommonEmbeddedObject::getStatus( sal_Int64 )
return m_nMiscStatus;
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::setContainerName( const OUString& sName )
throw ( uno::RuntimeException )
{
diff --git a/embeddedobj/source/commonembedding/miscobj.cxx b/embeddedobj/source/commonembedding/miscobj.cxx
index e21b38657731..e8849f17dc6f 100644
--- a/embeddedobj/source/commonembedding/miscobj.cxx
+++ b/embeddedobj/source/commonembedding/miscobj.cxx
@@ -40,7 +40,7 @@ using namespace ::com::sun::star;
uno::Sequence< beans::PropertyValue > GetValuableArgs_Impl( const uno::Sequence< beans::PropertyValue >& aMedDescr,
sal_Bool bCanUseDocumentBaseURL );
-//------------------------------------------------------
+
OCommonEmbeddedObject::OCommonEmbeddedObject( const uno::Reference< uno::XComponentContext >& rxContext,
const uno::Sequence< beans::NamedValue >& aObjProps )
: m_pDocHolder( NULL )
@@ -64,7 +64,7 @@ OCommonEmbeddedObject::OCommonEmbeddedObject( const uno::Reference< uno::XCompon
CommonInit_Impl( aObjProps );
}
-//------------------------------------------------------
+
OCommonEmbeddedObject::OCommonEmbeddedObject(
const uno::Reference< uno::XComponentContext >& rxContext,
const uno::Sequence< beans::NamedValue >& aObjProps,
@@ -92,7 +92,7 @@ OCommonEmbeddedObject::OCommonEmbeddedObject(
LinkInit_Impl( aObjProps, aMediaDescr, aObjectDescr );
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::CommonInit_Impl( const uno::Sequence< beans::NamedValue >& aObjectProps )
{
OSL_ENSURE( m_xContext.is(), "No ServiceFactory is provided!\n" );
@@ -215,7 +215,7 @@ void OCommonEmbeddedObject::CommonInit_Impl( const uno::Sequence< beans::NamedVa
}
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::LinkInit_Impl(
const uno::Sequence< beans::NamedValue >& aObjectProps,
const uno::Sequence< beans::PropertyValue >& aMediaDescr,
@@ -259,7 +259,7 @@ void OCommonEmbeddedObject::LinkInit_Impl(
m_pDocHolder->SetOutplaceDispatchInterceptor( xDispatchInterceptor );
}
-//------------------------------------------------------
+
OCommonEmbeddedObject::~OCommonEmbeddedObject()
{
if ( m_pInterfaceContainer || m_pDocHolder )
@@ -293,7 +293,7 @@ OCommonEmbeddedObject::~OCommonEmbeddedObject()
}
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::requestPositioning( const awt::Rectangle& aRect )
{
// the method is called in case object is inplace active and the object window was resized
@@ -317,7 +317,7 @@ void OCommonEmbeddedObject::requestPositioning( const awt::Rectangle& aRect )
}
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::PostEvent_Impl( const OUString& aEventName )
{
if ( m_pInterfaceContainer )
@@ -352,7 +352,7 @@ void OCommonEmbeddedObject::PostEvent_Impl( const OUString& aEventName )
}
}
-//------------------------------------------------------
+
uno::Any SAL_CALL OCommonEmbeddedObject::queryInterface( const uno::Type& rType )
throw( uno::RuntimeException )
{
@@ -386,21 +386,21 @@ uno::Any SAL_CALL OCommonEmbeddedObject::queryInterface( const uno::Type& rType
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::acquire()
throw()
{
::cppu::OWeakObject::acquire() ;
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::release()
throw()
{
::cppu::OWeakObject::release() ;
}
-//------------------------------------------------------
+
uno::Sequence< uno::Type > SAL_CALL OCommonEmbeddedObject::getTypes()
throw( uno::RuntimeException )
{
@@ -442,7 +442,7 @@ uno::Sequence< uno::Type > SAL_CALL OCommonEmbeddedObject::getTypes()
}
-//------------------------------------------------------
+
uno::Sequence< sal_Int8 > SAL_CALL OCommonEmbeddedObject::getImplementationId()
throw( uno::RuntimeException )
{
@@ -461,7 +461,7 @@ uno::Sequence< sal_Int8 > SAL_CALL OCommonEmbeddedObject::getImplementationId()
return pID->getImplementationId() ;
}
-//------------------------------------------------------
+
uno::Sequence< sal_Int8 > SAL_CALL OCommonEmbeddedObject::getClassID()
throw ( uno::RuntimeException )
{
@@ -471,7 +471,7 @@ uno::Sequence< sal_Int8 > SAL_CALL OCommonEmbeddedObject::getClassID()
return m_aClassID;
}
-//------------------------------------------------------
+
OUString SAL_CALL OCommonEmbeddedObject::getClassName()
throw ( uno::RuntimeException )
{
@@ -481,7 +481,7 @@ OUString SAL_CALL OCommonEmbeddedObject::getClassName()
return m_aClassName;
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::setClassInfo(
const uno::Sequence< sal_Int8 >& /*aClassID*/, const OUString& /*aClassName*/ )
throw ( lang::NoSupportException,
@@ -491,7 +491,7 @@ void SAL_CALL OCommonEmbeddedObject::setClassInfo(
throw lang::NoSupportException(); //TODO:
}
-//------------------------------------------------------
+
uno::Reference< util::XCloseable > SAL_CALL OCommonEmbeddedObject::getComponent()
throw ( uno::RuntimeException )
{
@@ -510,7 +510,7 @@ uno::Reference< util::XCloseable > SAL_CALL OCommonEmbeddedObject::getComponent(
return uno::Reference< util::XCloseable >( m_pDocHolder->GetComponent(), uno::UNO_QUERY );
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::addStateChangeListener( const uno::Reference< embed::XStateChangeListener >& xListener )
throw ( uno::RuntimeException )
{
@@ -525,7 +525,7 @@ void SAL_CALL OCommonEmbeddedObject::addStateChangeListener( const uno::Referenc
xListener );
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::removeStateChangeListener(
const uno::Reference< embed::XStateChangeListener >& xListener )
throw (uno::RuntimeException)
@@ -536,7 +536,7 @@ void SAL_CALL OCommonEmbeddedObject::removeStateChangeListener(
xListener );
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::close( sal_Bool bDeliverOwnership )
throw ( util::CloseVetoException,
uno::RuntimeException )
@@ -641,7 +641,7 @@ void SAL_CALL OCommonEmbeddedObject::close( sal_Bool bDeliverOwnership )
m_bClosed = sal_True; // the closing succeeded
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::addCloseListener( const uno::Reference< util::XCloseListener >& xListener )
throw ( uno::RuntimeException )
{
@@ -655,7 +655,7 @@ void SAL_CALL OCommonEmbeddedObject::addCloseListener( const uno::Reference< uti
m_pInterfaceContainer->addInterface( ::getCppuType( (const uno::Reference< util::XCloseListener >*)0 ), xListener );
}
-//----------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::removeCloseListener( const uno::Reference< util::XCloseListener >& xListener )
throw (uno::RuntimeException)
{
@@ -665,7 +665,7 @@ void SAL_CALL OCommonEmbeddedObject::removeCloseListener( const uno::Reference<
xListener );
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::addEventListener( const uno::Reference< document::XEventListener >& xListener )
throw ( uno::RuntimeException )
{
@@ -679,7 +679,7 @@ void SAL_CALL OCommonEmbeddedObject::addEventListener( const uno::Reference< doc
m_pInterfaceContainer->addInterface( ::getCppuType( (const uno::Reference< document::XEventListener >*)0 ), xListener );
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::removeEventListener( const uno::Reference< document::XEventListener >& xListener )
throw ( uno::RuntimeException )
{
diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx
index 1a09f57b5569..97d788a412af 100644
--- a/embeddedobj/source/commonembedding/persistence.cxx
+++ b/embeddedobj/source/commonembedding/persistence.cxx
@@ -57,7 +57,7 @@
using namespace ::com::sun::star;
-//------------------------------------------------------
+
uno::Sequence< beans::PropertyValue > GetValuableArgs_Impl( const uno::Sequence< beans::PropertyValue >& aMedDescr,
sal_Bool bCanUseDocumentBaseURL )
{
@@ -84,7 +84,7 @@ uno::Sequence< beans::PropertyValue > GetValuableArgs_Impl( const uno::Sequence<
return aResult;
}
-//------------------------------------------------------
+
uno::Sequence< beans::PropertyValue > addAsTemplate( const uno::Sequence< beans::PropertyValue >& aOrig )
{
sal_Bool bAsTemplateSet = sal_False;
@@ -113,7 +113,7 @@ uno::Sequence< beans::PropertyValue > addAsTemplate( const uno::Sequence< beans:
return aResult;
}
-//------------------------------------------------------
+
uno::Reference< io::XInputStream > createTempInpStreamFromStor(
const uno::Reference< embed::XStorage >& xStorage,
const uno::Reference< uno::XComponentContext >& xContext )
@@ -170,7 +170,7 @@ uno::Reference< io::XInputStream > createTempInpStreamFromStor(
}
-//------------------------------------------------------
+
static void TransferMediaType( const uno::Reference< embed::XStorage >& i_rSource, const uno::Reference< embed::XStorage >& i_rTarget )
{
try
@@ -186,7 +186,7 @@ static void TransferMediaType( const uno::Reference< embed::XStorage >& i_rSourc
}
}
-//------------------------------------------------------
+
static uno::Reference< util::XCloseable > CreateDocument( const uno::Reference< uno::XComponentContext >& _rxContext,
const OUString& _rDocumentServiceName, bool _bEmbeddedScriptSupport, const bool i_bDocumentRecoverySupport )
{
@@ -215,7 +215,7 @@ static uno::Reference< util::XCloseable > CreateDocument( const uno::Reference<
return uno::Reference< util::XCloseable >( xDocument, uno::UNO_QUERY );
}
-//------------------------------------------------------
+
static void SetDocToEmbedded( const uno::Reference< frame::XModel > xDocument, const OUString& aModuleName )
{
if ( xDocument.is() )
@@ -238,7 +238,7 @@ static void SetDocToEmbedded( const uno::Reference< frame::XModel > xDocument, c
}
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::SwitchOwnPersistence( const uno::Reference< embed::XStorage >& xNewParentStorage,
const uno::Reference< embed::XStorage >& xNewObjectStorage,
const OUString& aNewName )
@@ -273,7 +273,7 @@ void OCommonEmbeddedObject::SwitchOwnPersistence( const uno::Reference< embed::X
}
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::SwitchOwnPersistence( const uno::Reference< embed::XStorage >& xNewParentStorage,
const OUString& aNewName )
{
@@ -288,7 +288,7 @@ void OCommonEmbeddedObject::SwitchOwnPersistence( const uno::Reference< embed::X
SwitchOwnPersistence( xNewParentStorage, xNewOwnStorage, aNewName );
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::EmbedAndReparentDoc_Impl( const uno::Reference< util::XCloseable >& i_rxDocument ) const
{
SetDocToEmbedded( uno::Reference< frame::XModel >( i_rxDocument, uno::UNO_QUERY ), m_aModuleName );
@@ -305,7 +305,7 @@ void OCommonEmbeddedObject::EmbedAndReparentDoc_Impl( const uno::Reference< util
}
}
-//------------------------------------------------------
+
uno::Reference< util::XCloseable > OCommonEmbeddedObject::InitNewDocument_Impl()
{
uno::Reference< util::XCloseable > xDocument( CreateDocument( m_xContext, GetDocumentServiceName(),
@@ -365,7 +365,7 @@ uno::Reference< util::XCloseable > OCommonEmbeddedObject::InitNewDocument_Impl()
return xDocument;
}
-//------------------------------------------------------
+
uno::Reference< util::XCloseable > OCommonEmbeddedObject::LoadLink_Impl()
{
uno::Reference< util::XCloseable > xDocument( CreateDocument( m_xContext, GetDocumentServiceName(),
@@ -437,7 +437,7 @@ uno::Reference< util::XCloseable > OCommonEmbeddedObject::LoadLink_Impl()
}
-//------------------------------------------------------
+
OUString OCommonEmbeddedObject::GetFilterName( sal_Int32 nVersion ) const
{
OUString aFilterName = GetPresetFilterName();
@@ -453,7 +453,7 @@ OUString OCommonEmbeddedObject::GetFilterName( sal_Int32 nVersion ) const
return aFilterName;
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::FillDefaultLoadArgs_Impl( const uno::Reference< embed::XStorage >& i_rxStorage,
::comphelper::NamedValueCollection& o_rLoadArgs ) const
{
@@ -469,7 +469,7 @@ void OCommonEmbeddedObject::FillDefaultLoadArgs_Impl( const uno::Reference< embe
o_rLoadArgs.put( "FilterName", aFilterName );
}
-//------------------------------------------------------
+
uno::Reference< util::XCloseable > OCommonEmbeddedObject::LoadDocumentFromStorage_Impl()
{
ENSURE_OR_THROW( m_xObjectStorage.is(), "no object storage" );
@@ -559,7 +559,7 @@ uno::Reference< util::XCloseable > OCommonEmbeddedObject::LoadDocumentFromStorag
return xDocument;
}
-//------------------------------------------------------
+
uno::Reference< io::XInputStream > OCommonEmbeddedObject::StoreDocumentToTempStream_Impl(
sal_Int32 nStorageFormat,
const OUString& aBaseURL,
@@ -612,7 +612,7 @@ uno::Reference< io::XInputStream > OCommonEmbeddedObject::StoreDocumentToTempStr
return aResult;
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::SaveObject_Impl()
{
if ( m_xClientSite.is() )
@@ -638,7 +638,7 @@ void OCommonEmbeddedObject::SaveObject_Impl()
}
}
-//------------------------------------------------------
+
OUString OCommonEmbeddedObject::GetBaseURL_Impl() const
{
OUString aBaseURL;
@@ -681,7 +681,7 @@ OUString OCommonEmbeddedObject::GetBaseURL_Impl() const
return aBaseURL;
}
-//------------------------------------------------------
+
OUString OCommonEmbeddedObject::GetBaseURLFrom_Impl(
const uno::Sequence< beans::PropertyValue >& lArguments,
const uno::Sequence< beans::PropertyValue >& lObjArgs )
@@ -710,7 +710,7 @@ OUString OCommonEmbeddedObject::GetBaseURLFrom_Impl(
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::SwitchDocToStorage_Impl( const uno::Reference< document::XStorageBasedDocument >& xDoc, const uno::Reference< embed::XStorage >& xStorage )
{
xDoc->switchToStorage( xStorage );
@@ -723,7 +723,7 @@ void OCommonEmbeddedObject::SwitchDocToStorage_Impl( const uno::Reference< docum
m_xRecoveryStorage.clear();
}
-//------------------------------------------------------
+
void OCommonEmbeddedObject::StoreDocToStorage_Impl( const uno::Reference< embed::XStorage >& xStorage,
sal_Int32 nStorageFormat,
const OUString& aBaseURL,
@@ -784,7 +784,7 @@ void OCommonEmbeddedObject::StoreDocToStorage_Impl( const uno::Reference< embed:
}
}
-//------------------------------------------------------
+
uno::Reference< util::XCloseable > OCommonEmbeddedObject::CreateDocFromMediaDescr_Impl(
const uno::Sequence< beans::PropertyValue >& aMedDescr )
{
@@ -822,7 +822,7 @@ uno::Reference< util::XCloseable > OCommonEmbeddedObject::CreateDocFromMediaDesc
return xDocument;
}
-//------------------------------------------------------
+
uno::Reference< util::XCloseable > OCommonEmbeddedObject::CreateTempDocFromLink_Impl()
{
uno::Reference< util::XCloseable > xResult;
@@ -889,7 +889,7 @@ uno::Reference< util::XCloseable > OCommonEmbeddedObject::CreateTempDocFromLink_
return xResult;
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::setPersistentEntry(
const uno::Reference< embed::XStorage >& xStorage,
const OUString& sEntName,
@@ -1119,7 +1119,7 @@ void SAL_CALL OCommonEmbeddedObject::setPersistentEntry(
}
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::storeToEntry( const uno::Reference< embed::XStorage >& xStorage,
const OUString& sEntName,
const uno::Sequence< beans::PropertyValue >& lArguments,
@@ -1245,7 +1245,7 @@ void SAL_CALL OCommonEmbeddedObject::storeToEntry( const uno::Reference< embed::
// TODO: should the listener notification be done?
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::storeAsEntry( const uno::Reference< embed::XStorage >& xStorage,
const OUString& sEntName,
const uno::Sequence< beans::PropertyValue >& lArguments,
@@ -1387,7 +1387,7 @@ void SAL_CALL OCommonEmbeddedObject::storeAsEntry( const uno::Reference< embed::
// TODO: should the listener notification be done here or in saveCompleted?
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::saveCompleted( sal_Bool bUseNew )
throw ( embed::WrongStateException,
uno::Exception,
@@ -1470,7 +1470,7 @@ void SAL_CALL OCommonEmbeddedObject::saveCompleted( sal_Bool bUseNew )
}
}
-//------------------------------------------------------
+
sal_Bool SAL_CALL OCommonEmbeddedObject::hasEntry()
throw ( embed::WrongStateException,
uno::RuntimeException )
@@ -1490,7 +1490,7 @@ sal_Bool SAL_CALL OCommonEmbeddedObject::hasEntry()
return sal_False;
}
-//------------------------------------------------------
+
OUString SAL_CALL OCommonEmbeddedObject::getEntryName()
throw ( embed::WrongStateException,
uno::RuntimeException )
@@ -1514,7 +1514,7 @@ OUString SAL_CALL OCommonEmbeddedObject::getEntryName()
return m_aEntryName;
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::storeOwn()
throw ( embed::WrongStateException,
io::IOException,
@@ -1602,7 +1602,7 @@ void SAL_CALL OCommonEmbeddedObject::storeOwn()
PostEvent_Impl( OUString( "OnSaveDone" ) );
}
-//------------------------------------------------------
+
sal_Bool SAL_CALL OCommonEmbeddedObject::isReadonly()
throw ( embed::WrongStateException,
uno::RuntimeException )
@@ -1626,7 +1626,7 @@ sal_Bool SAL_CALL OCommonEmbeddedObject::isReadonly()
return m_bReadOnly;
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::reload(
const uno::Sequence< beans::PropertyValue >& lArguments,
const uno::Sequence< beans::PropertyValue >& lObjArgs )
@@ -1751,7 +1751,7 @@ void SAL_CALL OCommonEmbeddedObject::reload(
}
}
-//------------------------------------------------------
+
void SAL_CALL OCommonEmbeddedObject::breakLink( const uno::Reference< embed::XStorage >& xStorage,
const OUString& sEntName )
throw ( lang::IllegalArgumentException,
@@ -1845,7 +1845,7 @@ void SAL_CALL OCommonEmbeddedObject::breakLink( const uno::Reference< embed::XSt
m_aLinkURL = OUString();
}
-//------------------------------------------------------
+
sal_Bool SAL_CALL OCommonEmbeddedObject::isLink()
throw ( embed::WrongStateException,
uno::RuntimeException )
@@ -1857,7 +1857,7 @@ sal_Bool SAL_CALL OCommonEmbeddedObject::isLink()
return m_bIsLink;
}
-//------------------------------------------------------
+
OUString SAL_CALL OCommonEmbeddedObject::getLinkURL()
throw ( embed::WrongStateException,
uno::Exception,
diff --git a/embeddedobj/source/commonembedding/specialobject.cxx b/embeddedobj/source/commonembedding/specialobject.cxx
index 7aca13b50b65..b94c5321f469 100644
--- a/embeddedobj/source/commonembedding/specialobject.cxx
+++ b/embeddedobj/source/commonembedding/specialobject.cxx
@@ -50,7 +50,7 @@ OSpecialEmbeddedObject::OSpecialEmbeddedObject( const uno::Reference< uno::XComp
m_nObjectState = embed::EmbedStates::LOADED;
}
-//------------------------------------------------------
+
uno::Any SAL_CALL OSpecialEmbeddedObject::queryInterface( const uno::Type& rType )
throw( uno::RuntimeException )
{
@@ -71,7 +71,7 @@ uno::Any SAL_CALL OSpecialEmbeddedObject::queryInterface( const uno::Type& rType
}
-//------------------------------------------------------
+
uno::Sequence< uno::Type > SAL_CALL OSpecialEmbeddedObject::getTypes()
throw( uno::RuntimeException )
{