diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 22:24:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-09-13 22:26:22 +0200 |
commit | a53808c0ed577468393aced90963af6496706959 (patch) | |
tree | 3f858f7115bda93d4ed90463c271f9597599fd20 /include/vbahelper | |
parent | ccfbc9d3ac83fa238d6240b5365dc7572c64d241 (diff) |
loplugin:dllprivate
Change-Id: I1fe70a39c50aba8b84c117653185fc37dbbfeab0
Diffstat (limited to 'include/vbahelper')
-rw-r--r-- | include/vbahelper/vbaaccesshelper.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vbahelper/vbaaccesshelper.hxx b/include/vbahelper/vbaaccesshelper.hxx index 50516f4442cf..6bf5d7a5eaad 100644 --- a/include/vbahelper/vbaaccesshelper.hxx +++ b/include/vbahelper/vbaaccesshelper.hxx @@ -43,7 +43,7 @@ namespace ooo namespace vba { - VBAHELPER_DLLPRIVATE inline css::uno::Reference< css::lang::XMultiServiceFactory > getVBAServiceFactory( SfxObjectShell* pShell ) + inline css::uno::Reference< css::lang::XMultiServiceFactory > getVBAServiceFactory( SfxObjectShell* pShell ) { css::uno::Any aUnoVar; if ( !pShell || ! pShell->GetBasicManager()->GetGlobalUNOConstant( "VBAGlobals", aUnoVar ) ) @@ -52,7 +52,7 @@ namespace ooo return xVBAFactory; } - VBAHELPER_DLLPRIVATE inline css::uno::Reference< css::uno::XInterface > createVBAUnoAPIServiceWithArgs( SfxObjectShell* pShell, const sal_Char* _pAsciiName, const css::uno::Sequence< css::uno::Any >& aArgs ) throw (css::uno::Exception) + inline css::uno::Reference< css::uno::XInterface > createVBAUnoAPIServiceWithArgs( SfxObjectShell* pShell, const sal_Char* _pAsciiName, const css::uno::Sequence< css::uno::Any >& aArgs ) throw (css::uno::Exception) { OSL_PRECOND( pShell, "createVBAUnoAPIService: no shell!" ); OUString sVarName( OUString::createFromAscii( _pAsciiName ) ); @@ -61,7 +61,7 @@ namespace ooo } - VBAHELPER_DLLPRIVATE inline bool isAlienDoc( SfxObjectShell& rDocShell, const char* pMimeType ) + inline bool isAlienDoc( SfxObjectShell& rDocShell, const char* pMimeType ) { bool bRes( false ); const SfxMedium *pMedium = rDocShell.GetMedium(); @@ -70,10 +70,10 @@ namespace ooo bRes = pFilt->GetMimeType().equalsAscii( pMimeType ); return bRes; } - VBAHELPER_DLLPRIVATE inline bool isAlienExcelDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/vnd.ms-excel" ); } + inline bool isAlienExcelDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/vnd.ms-excel" ); } //VBAHELPER_DLLPRIVATE inline bool isAlienWordDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/vnd.ms-word" ); } // word seems to return an erroneous mime type :-/ "application/msword" not consistent with the excel one - VBAHELPER_DLLPRIVATE inline bool isAlienWordDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/msword" ); } + inline bool isAlienWordDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/msword" ); } } // openoffice } // org |