Kaydet (Commit) b6f069aa authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Don't flag inline function __declspec(dllexport/import)

üst 772193b8
...@@ -51,7 +51,7 @@ namespace ooo ...@@ -51,7 +51,7 @@ namespace ooo
return xVBAFactory; return xVBAFactory;
} }
VBAHELPER_DLLPUBLIC 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::RuntimeException) 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::RuntimeException)
{ {
OSL_PRECOND( pShell, "createVBAUnoAPIService: no shell!" ); OSL_PRECOND( pShell, "createVBAUnoAPIService: no shell!" );
::rtl::OUString sVarName( ::rtl::OUString::createFromAscii( _pAsciiName ) ); ::rtl::OUString sVarName( ::rtl::OUString::createFromAscii( _pAsciiName ) );
...@@ -68,10 +68,10 @@ namespace ooo ...@@ -68,10 +68,10 @@ namespace ooo
bRes = ( pFilt->GetMimeType().CompareToAscii( pMimeType ) == 0 ); bRes = ( pFilt->GetMimeType().CompareToAscii( pMimeType ) == 0 );
return bRes; return bRes;
} }
VBAHELPER_DLLPUBLIC inline bool isAlienExcelDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/vnd.ms-excel" ); } VBAHELPER_DLLPRIVATE inline bool isAlienExcelDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/vnd.ms-excel" ); }
//VBAHELPER_DLLPUBLIC inline bool isAlienWordDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/vnd.ms-word" ); } //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 // word seems to return an erroneous mime type :-/ "application/msword" not consistent with the excel one
VBAHELPER_DLLPUBLIC inline bool isAlienWordDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/msword" ); } VBAHELPER_DLLPRIVATE inline bool isAlienWordDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/msword" ); }
} // openoffice } // openoffice
} // org } // org
......
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