Kaydet (Commit) 381c5bf1 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

sfx2: remove macros

Change-Id: I8871b0c95874ceab755b3cb304a60c34981c649c
üst 7d104484
......@@ -56,15 +56,6 @@ class Timer;
class SfxItemSet;
class DateTime;
#define XMULTISERVICEFACTORY ::com::sun::star::lang::XMultiServiceFactory
#define XSERVICEINFO ::com::sun::star::lang::XServiceInfo
#define OWEAKOBJECT ::cppu::OWeakObject
#define UNOREFERENCE ::com::sun::star::uno::Reference
#define XINTERFACE ::com::sun::star::uno::XInterface
#define EXCEPTION ::com::sun::star::uno::Exception
#define RUNTIMEEXCEPTION ::com::sun::star::uno::RuntimeException
#define ANY ::com::sun::star::uno::Any
class SFX2_DLLPUBLIC SfxMedium : public SvRefBase
{
SfxMedium_Impl* pImp;
......@@ -99,26 +90,26 @@ public:
/**
* @param pSet does NOT take ownership
*/
SfxMedium( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage,
SfxMedium( const css::uno::Reference< css::embed::XStorage >& xStorage,
const String& rBaseURL,
const SfxItemSet* pSet=0 );
/**
* @param pSet does NOT take ownership
*/
SfxMedium( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage,
SfxMedium( const css::uno::Reference< css::embed::XStorage >& xStorage,
const String& rBaseURL,
const String& rTypeName,
const SfxItemSet* pSet=0 );
SfxMedium( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs );
SfxMedium( const css::uno::Sequence< css::beans::PropertyValue >& aArgs );
~SfxMedium();
void UseInteractionHandler( sal_Bool );
::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >
css::uno::Reference< css::task::XInteractionHandler >
GetInteractionHandler();
void setStreamToLoadFrom(
const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream,
const css::uno::Reference<css::io::XInputStream>& xInputStream,
sal_Bool bIsReadOnly);
void SetLoadTargetFrame(SfxFrame* pFrame );
......@@ -137,11 +128,11 @@ public:
const rtl::OUString& GetName() const;
const INetURLObject& GetURLObject() const;
void CheckFileDate( const ::com::sun::star::util::DateTime& aInitDate );
void CheckFileDate( const css::util::DateTime& aInitDate );
sal_Bool DocNeedsFileDateCheck();
::com::sun::star::util::DateTime GetInitFileDate( sal_Bool bIgnoreOldValue );
css::util::DateTime GetInitFileDate( sal_Bool bIgnoreOldValue );
::com::sun::star::uno::Reference< ::com::sun::star::ucb::XContent > GetContent() const;
css::uno::Reference< css::ucb::XContent > GetContent() const;
const rtl::OUString& GetPhysicalName() const;
sal_Bool IsRemote();
sal_Bool IsOpen() const; // { return aStorage.Is() || pInStream; }
......@@ -171,12 +162,12 @@ public:
sal_Bool Commit();
sal_Bool IsStorage();
sal_Int8 ShowLockedDocumentDialog( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& aData, sal_Bool bIsLoading, sal_Bool bOwnLock );
sal_Int8 ShowLockedDocumentDialog( const css::uno::Sequence< ::rtl::OUString >& aData, sal_Bool bIsLoading, sal_Bool bOwnLock );
bool LockOrigFileOnDemand( sal_Bool bLoading, sal_Bool bNoUI );
void UnlockFile( sal_Bool bReleaseLockStream );
::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > GetStorage( sal_Bool bCreateTempIfNo = sal_True );
::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > GetOutputStorage();
css::uno::Reference< css::embed::XStorage > GetStorage( sal_Bool bCreateTempIfNo = sal_True );
css::uno::Reference< css::embed::XStorage > GetOutputStorage();
void ResetError();
sal_Bool UsesCache() const;
void SetUsesCache( sal_Bool );
......@@ -185,7 +176,7 @@ public:
sal_Bool IsAllowedForExternalBrowser() const;
long GetFileVersion() const;
const com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag >&
const css::uno::Sequence < css::util::RevisionTag >&
GetVersionList( bool _bNoReload = false );
sal_Bool IsReadOnly();
......@@ -194,7 +185,7 @@ public:
// medium across toggles via SID_EDITDOC (which do change SetOpenMode):
bool IsOriginallyReadOnly() const;
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > GetInputStream();
css::uno::Reference< css::io::XInputStream > GetInputStream();
void CreateTempFile( sal_Bool bReplace = sal_True );
void CreateTempFileNoCopy();
......@@ -210,15 +201,15 @@ public:
SAL_DLLPRIVATE void StorageBackup_Impl();
SAL_DLLPRIVATE ::rtl::OUString GetBackup_Impl();
SAL_DLLPRIVATE ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > GetZipStorageToSign_Impl( sal_Bool bReadOnly = sal_True );
SAL_DLLPRIVATE css::uno::Reference< css::embed::XStorage > GetZipStorageToSign_Impl( sal_Bool bReadOnly = sal_True );
SAL_DLLPRIVATE void CloseZipStorage_Impl();
// the storage that will be returned by the medium on GetStorage request
SAL_DLLPRIVATE void SetStorage_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xNewStorage );
SAL_DLLPRIVATE void SetStorage_Impl( const css::uno::Reference< css::embed::XStorage >& xNewStorage );
SAL_DLLPRIVATE ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > GetInputStream_Impl();
SAL_DLLPRIVATE css::uno::Reference< css::io::XInputStream > GetInputStream_Impl();
SAL_DLLPRIVATE void CloseAndReleaseStreams_Impl();
SAL_DLLPRIVATE sal_uInt16 AddVersion_Impl( com::sun::star::util::RevisionTag& rVersion );
SAL_DLLPRIVATE sal_uInt16 AddVersion_Impl( css::util::RevisionTag& rVersion );
SAL_DLLPRIVATE sal_Bool TransferVersionList_Impl( SfxMedium& rMedium );
SAL_DLLPRIVATE sal_Bool SaveVersionList_Impl( sal_Bool bUseXML );
SAL_DLLPRIVATE sal_Bool RemoveVersion_Impl( const ::rtl::OUString& rVersion );
......@@ -258,13 +249,13 @@ public:
const String& aDestDir );
SAL_DLLPRIVATE sal_Bool UseBackupToRestore_Impl( ::ucbhelper::Content& aOriginalContent,
const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >& xComEnv );
const css::uno::Reference< css::ucb::XCommandEnvironment >& xComEnv );
SAL_DLLPRIVATE sal_Bool StorageCommit_Impl();
SAL_DLLPRIVATE sal_Bool TransactedTransferForFS_Impl( const INetURLObject& aSource,
const INetURLObject& aDest,
const ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XCommandEnvironment >& xComEnv );
const css::uno::Reference< css::ucb::XCommandEnvironment >& xComEnv );
SAL_DLLPRIVATE sal_Bool SignContents_Impl( sal_Bool bScriptingContent, const ::rtl::OUString& aODFVersion, sal_Bool bHasValidDocumentSignature );
......@@ -274,10 +265,10 @@ public:
SAL_DLLPRIVATE sal_uInt16 GetCachedSignatureState_Impl();
SAL_DLLPRIVATE void SetCachedSignatureState_Impl( sal_uInt16 nState );
static com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag > GetVersionList(
const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage );
static css::uno::Sequence < css::util::RevisionTag > GetVersionList(
const css::uno::Reference< css::embed::XStorage >& xStorage );
static ::rtl::OUString CreateTempCopyWithExt( const ::rtl::OUString& aURL );
static sal_Bool CallApproveHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler >& xHandler, ::com::sun::star::uno::Any aRequest, sal_Bool bAllowAbort );
static sal_Bool CallApproveHandler( const css::uno::Reference< css::task::XInteractionHandler >& xHandler, css::uno::Any aRequest, sal_Bool bAllowAbort );
static sal_Bool SetWritableForUserOnly( const ::rtl::OUString& aURL );
static sal_uInt32 CreatePasswordToModifyHash( const ::rtl::OUString& aPasswd, sal_Bool bWriter );
......
This diff is collapsed.
......@@ -114,7 +114,6 @@ using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::util;
using namespace ::rtl;
using namespace ::ucbhelper;
using namespace ::comphelper;
......@@ -278,7 +277,7 @@ public:
sal_Bool storeTemplate( const OUString& rGroupName,
const OUString& rTemplateName,
const uno::Reference< XSTORABLE >& rStorable );
const uno::Reference< frame::XStorable >& rStorable );
sal_Bool addTemplate( const OUString& rGroupName,
const OUString& rTemplateName,
......@@ -1754,7 +1753,7 @@ sal_Bool SfxDocTplService_Impl::renameGroup( const OUString& rOldName,
//-----------------------------------------------------------------------------
sal_Bool SfxDocTplService_Impl::storeTemplate( const OUString& rGroupName,
const OUString& rTemplateName,
const uno::Reference< XSTORABLE >& rStorable )
const uno::Reference< frame::XStorable >& rStorable )
{
::osl::MutexGuard aGuard( maMutex );
......@@ -2224,7 +2223,7 @@ SfxDocTplService::~SfxDocTplService()
//-----------------------------------------------------------------------------
Locale SAL_CALL SfxDocTplService::getLocale()
throw( RUNTIMEEXCEPTION )
throw( uno::RuntimeException )
{
return pImp->getLocale();
}
......@@ -2232,7 +2231,7 @@ Locale SAL_CALL SfxDocTplService::getLocale()
//-----------------------------------------------------------------------------
void SAL_CALL SfxDocTplService::setLocale( const Locale & rLocale )
throw( RUNTIMEEXCEPTION )
throw( uno::RuntimeException )
{
pImp->setLocale( rLocale );
}
......@@ -2240,8 +2239,8 @@ void SAL_CALL SfxDocTplService::setLocale( const Locale & rLocale )
//-----------------------------------------------------------------------------
//--- XDocumentTemplates ---
//-----------------------------------------------------------------------------
uno::Reference< XCONTENT > SAL_CALL SfxDocTplService::getContent()
throw( RUNTIMEEXCEPTION )
uno::Reference< ucb::XContent > SAL_CALL SfxDocTplService::getContent()
throw( uno::RuntimeException )
{
if ( pImp->init() )
return pImp->getContent().get();
......@@ -2252,8 +2251,8 @@ uno::Reference< XCONTENT > SAL_CALL SfxDocTplService::getContent()
//-----------------------------------------------------------------------------
sal_Bool SAL_CALL SfxDocTplService::storeTemplate( const OUString& GroupName,
const OUString& TemplateName,
const uno::Reference< XSTORABLE >& Storable )
throw( RUNTIMEEXCEPTION )
const uno::Reference< frame::XStorable >& Storable )
throw( uno::RuntimeException )
{
if ( pImp->init() )
return pImp->storeTemplate( GroupName, TemplateName, Storable );
......@@ -2265,7 +2264,7 @@ sal_Bool SAL_CALL SfxDocTplService::storeTemplate( const OUString& GroupName,
sal_Bool SAL_CALL SfxDocTplService::addTemplate( const OUString& rGroupName,
const OUString& rTemplateName,
const OUString& rSourceURL )
throw( RUNTIMEEXCEPTION )
throw( uno::RuntimeException )
{
if ( pImp->init() )
return pImp->addTemplate( rGroupName, rTemplateName, rSourceURL );
......@@ -2276,7 +2275,7 @@ sal_Bool SAL_CALL SfxDocTplService::addTemplate( const OUString& rGroupName,
//-----------------------------------------------------------------------------
sal_Bool SAL_CALL SfxDocTplService::removeTemplate( const OUString& rGroupName,
const OUString& rTemplateName )
throw( RUNTIMEEXCEPTION )
throw( uno::RuntimeException )
{
if ( pImp->init() )
return pImp->removeTemplate( rGroupName, rTemplateName );
......@@ -2288,7 +2287,7 @@ sal_Bool SAL_CALL SfxDocTplService::removeTemplate( const OUString& rGroupName,
sal_Bool SAL_CALL SfxDocTplService::renameTemplate( const OUString& rGroupName,
const OUString& rOldName,
const OUString& rNewName )
throw( RUNTIMEEXCEPTION )
throw( uno::RuntimeException )
{
if ( rOldName == rNewName )
return sal_True;
......@@ -2301,7 +2300,7 @@ sal_Bool SAL_CALL SfxDocTplService::renameTemplate( const OUString& rGroupName,
//-----------------------------------------------------------------------------
sal_Bool SAL_CALL SfxDocTplService::addGroup( const OUString& rGroupName )
throw( RUNTIMEEXCEPTION )
throw( uno::RuntimeException )
{
if ( pImp->init() )
return pImp->addGroup( rGroupName );
......@@ -2311,7 +2310,7 @@ sal_Bool SAL_CALL SfxDocTplService::addGroup( const OUString& rGroupName )
//-----------------------------------------------------------------------------
sal_Bool SAL_CALL SfxDocTplService::removeGroup( const OUString& rGroupName )
throw( RUNTIMEEXCEPTION )
throw( uno::RuntimeException )
{
if ( pImp->init() )
return pImp->removeGroup( rGroupName );
......@@ -2322,7 +2321,7 @@ sal_Bool SAL_CALL SfxDocTplService::removeGroup( const OUString& rGroupName )
//-----------------------------------------------------------------------------
sal_Bool SAL_CALL SfxDocTplService::renameGroup( const OUString& rOldName,
const OUString& rNewName )
throw( RUNTIMEEXCEPTION )
throw( uno::RuntimeException )
{
if ( rOldName == rNewName )
return sal_True;
......@@ -2335,7 +2334,7 @@ sal_Bool SAL_CALL SfxDocTplService::renameGroup( const OUString& rOldName,
//-----------------------------------------------------------------------------
void SAL_CALL SfxDocTplService::update()
throw( RUNTIMEEXCEPTION )
throw( uno::RuntimeException )
{
if ( pImp->init() )
pImp->update( sal_True );
......
......@@ -37,57 +37,41 @@
#include <ucbhelper/content.hxx>
#include <sfx2/sfxuno.hxx>
//--------------------------------------------------------------------------------------------------------
#define UNOLOCALE ::com::sun::star::lang::Locale
#define REFERENCE ::com::sun::star::uno::Reference
#define RUNTIMEEXCEPTION ::com::sun::star::uno::RuntimeException
#define PROPERTYVALUE ::com::sun::star::beans::PropertyValue
#define XCONTENT ::com::sun::star::ucb::XContent
#define XDOCUMENTTEMPLATES ::com::sun::star::frame::XDocumentTemplates
#define XINTERFACE ::com::sun::star::uno::XInterface
#define XLOCALIZABLE ::com::sun::star::lang::XLocalizable
#define XMODEL ::com::sun::star::frame::XModel
#define XMULTISERVICEFACTORY ::com::sun::star::lang::XMultiServiceFactory
#define XSERVICEINFO ::com::sun::star::lang::XServiceInfo
#define XSTORABLE ::com::sun::star::frame::XStorable
//--------------------------------------------------------------------------------------------------------
class SfxDocTplService_Impl;
class SfxDocTplService: public ::cppu::WeakImplHelper3< XLOCALIZABLE, XDOCUMENTTEMPLATES, XSERVICEINFO >
class SfxDocTplService: public ::cppu::WeakImplHelper3< css::lang::XLocalizable, css::frame::XDocumentTemplates, css::lang::XServiceInfo >
{
SfxDocTplService_Impl *pImp;
public:
SFX_DECL_XSERVICEINFO
SfxDocTplService( const REFERENCE < ::com::sun::star::lang::XMultiServiceFactory >& xFactory );
SfxDocTplService( const css::uno::Reference < css::lang::XMultiServiceFactory >& xFactory );
~SfxDocTplService();
// --- XLocalizable ---
void SAL_CALL setLocale( const UNOLOCALE & eLocale ) throw( RUNTIMEEXCEPTION );
UNOLOCALE SAL_CALL getLocale() throw( RUNTIMEEXCEPTION );
void SAL_CALL setLocale( const css::lang::Locale & eLocale ) throw( css::uno::RuntimeException );
css::lang::Locale SAL_CALL getLocale() throw( css::uno::RuntimeException );
// --- XDocumentTemplates ---
REFERENCE< XCONTENT > SAL_CALL getContent() throw( RUNTIMEEXCEPTION );
css::uno::Reference< css::ucb::XContent > SAL_CALL getContent() throw( css::uno::RuntimeException );
sal_Bool SAL_CALL storeTemplate( const ::rtl::OUString& GroupName,
const ::rtl::OUString& TemplateName,
const REFERENCE< XSTORABLE >& Storable ) throw( RUNTIMEEXCEPTION );
const css::uno::Reference< css::frame::XStorable >& Storable ) throw( css::uno::RuntimeException );
sal_Bool SAL_CALL addTemplate( const ::rtl::OUString& GroupName,
const ::rtl::OUString& TemplateName,
const ::rtl::OUString& SourceURL ) throw( RUNTIMEEXCEPTION );
const ::rtl::OUString& SourceURL ) throw( css::uno::RuntimeException );
sal_Bool SAL_CALL removeTemplate( const ::rtl::OUString& GroupName,
const ::rtl::OUString& TemplateName ) throw( RUNTIMEEXCEPTION );
const ::rtl::OUString& TemplateName ) throw( css::uno::RuntimeException );
sal_Bool SAL_CALL renameTemplate( const ::rtl::OUString& GroupName,
const ::rtl::OUString& OldTemplateName,
const ::rtl::OUString& NewTemplateName ) throw( RUNTIMEEXCEPTION );
sal_Bool SAL_CALL addGroup( const ::rtl::OUString& GroupName ) throw( RUNTIMEEXCEPTION );
sal_Bool SAL_CALL removeGroup( const ::rtl::OUString& GroupName ) throw( RUNTIMEEXCEPTION );
const ::rtl::OUString& NewTemplateName ) throw( css::uno::RuntimeException );
sal_Bool SAL_CALL addGroup( const ::rtl::OUString& GroupName ) throw( css::uno::RuntimeException );
sal_Bool SAL_CALL removeGroup( const ::rtl::OUString& GroupName ) throw( css::uno::RuntimeException );
sal_Bool SAL_CALL renameGroup( const ::rtl::OUString& OldGroupName,
const ::rtl::OUString& NewGroupName ) throw( RUNTIMEEXCEPTION );
void SAL_CALL update() throw( RUNTIMEEXCEPTION );
const ::rtl::OUString& NewGroupName ) throw( css::uno::RuntimeException );
void SAL_CALL update() throw( css::uno::RuntimeException );
};
#endif
......
......@@ -659,7 +659,7 @@ rtl::OUString SAL_CALL SfxFrameLoader_Impl::getImplementationName() throw( Runti
/* XServiceInfo */
sal_Bool SAL_CALL SfxFrameLoader_Impl::supportsService( const rtl::OUString& sServiceName ) throw( RuntimeException )
{
UNOSEQUENCE< rtl::OUString > seqServiceNames = getSupportedServiceNames();
Sequence< rtl::OUString > seqServiceNames = getSupportedServiceNames();
const rtl::OUString* pArray = seqServiceNames.getConstArray();
for ( sal_Int32 nCounter=0; nCounter<seqServiceNames.getLength(); nCounter++ )
{
......@@ -672,16 +672,16 @@ sal_Bool SAL_CALL SfxFrameLoader_Impl::supportsService( const rtl::OUString& sSe
}
/* XServiceInfo */
UNOSEQUENCE< rtl::OUString > SAL_CALL SfxFrameLoader_Impl::getSupportedServiceNames() throw( RuntimeException )
Sequence< rtl::OUString > SAL_CALL SfxFrameLoader_Impl::getSupportedServiceNames() throw( RuntimeException )
{
return impl_getStaticSupportedServiceNames();
}
/* Helper for XServiceInfo */
UNOSEQUENCE< rtl::OUString > SfxFrameLoader_Impl::impl_getStaticSupportedServiceNames()
Sequence< rtl::OUString > SfxFrameLoader_Impl::impl_getStaticSupportedServiceNames()
{
UNOMUTEXGUARD aGuard( UNOMUTEX::getGlobalMutex() );
UNOSEQUENCE< rtl::OUString > seqServiceNames( 1 );
::osl::MutexGuard aGuard( ::osl::Mutex::getGlobalMutex() );
Sequence< rtl::OUString > seqServiceNames( 1 );
seqServiceNames.getArray() [0] = ::rtl::OUString( "com.sun.star.frame.SynchronousFrameLoader" );
return seqServiceNames ;
}
......@@ -693,9 +693,9 @@ rtl::OUString SfxFrameLoader_Impl::impl_getStaticImplementationName()
}
/* Helper for registry */
Reference< UNOXINTERFACE > SAL_CALL SfxFrameLoader_Impl::impl_createInstance( const Reference< XMultiServiceFactory >& xServiceManager ) throw( UNOEXCEPTION )
Reference< css::uno::XInterface > SAL_CALL SfxFrameLoader_Impl::impl_createInstance( const Reference< XMultiServiceFactory >& xServiceManager ) throw( Exception )
{
return Reference< XInterface >( *new SfxFrameLoader_Impl( comphelper::getComponentContext(xServiceManager) ) );
return Reference< css::uno::XInterface >( *new SfxFrameLoader_Impl( comphelper::getComponentContext(xServiceManager) ) );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -448,12 +448,12 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq )
}
case SID_ACTIVATE_STYLE_APPLY:
{
com::sun::star::uno::Reference< com::sun::star::frame::XFrame > xFrame(
uno::Reference< frame::XFrame > xFrame(
GetViewFrame()->GetFrame().GetFrameInterface(),
com::sun::star::uno::UNO_QUERY);
uno::UNO_QUERY);
Reference< com::sun::star::beans::XPropertySet > xPropSet( xFrame, UNO_QUERY );
Reference< ::com::sun::star::frame::XLayoutManager > xLayoutManager;
Reference< beans::XPropertySet > xPropSet( xFrame, UNO_QUERY );
Reference< frame::XLayoutManager > xLayoutManager;
if ( xPropSet.is() )
{
try
......@@ -705,7 +705,7 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq )
{
xStorable->storeToURL( aFileURL, aArgs );
}
catch (const com::sun::star::io::IOException&)
catch (const io::IOException&)
{
rReq.Done(sal_False);
return;
......@@ -1497,11 +1497,11 @@ void SfxViewShell::ReadUserData(const String&, sal_Bool )
{
}
void SfxViewShell::ReadUserDataSequence ( const ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >&, sal_Bool )
void SfxViewShell::ReadUserDataSequence ( const uno::Sequence < beans::PropertyValue >&, sal_Bool )
{
}
void SfxViewShell::WriteUserDataSequence ( ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >&, sal_Bool )
void SfxViewShell::WriteUserDataSequence ( uno::Sequence < beans::PropertyValue >&, sal_Bool )
{
}
......@@ -1929,12 +1929,12 @@ SfxBaseController* SfxViewShell::GetBaseController_Impl() const
return pImp->m_pController.get();
}
void SfxViewShell::AddContextMenuInterceptor_Impl( const REFERENCE< XCONTEXTMENUINTERCEPTOR >& xInterceptor )
void SfxViewShell::AddContextMenuInterceptor_Impl( const uno::Reference< ui::XContextMenuInterceptor >& xInterceptor )
{
pImp->aInterceptorContainer.addInterface( xInterceptor );
}
void SfxViewShell::RemoveContextMenuInterceptor_Impl( const REFERENCE< XCONTEXTMENUINTERCEPTOR >& xInterceptor )
void SfxViewShell::RemoveContextMenuInterceptor_Impl( const uno::Reference< ui::XContextMenuInterceptor >& xInterceptor )
{
pImp->aInterceptorContainer.removeInterface( xInterceptor );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment