Typo: GetReccomendedExtent->GetRecommendedExtent

Change-Id: Ic04a9ff115827558f9bc528c100b53bd7ca23486
Reviewed-on: https://gerrit.libreoffice.org/32587
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Julien Nabet
2017-01-01 18:32:19 +01:00
parent 9bbc168c29
commit 5f757b7b37
3 changed files with 3 additions and 3 deletions

View File

@@ -1209,7 +1209,7 @@ awt::Size OleComponent::GetCachedExtent( sal_Int64 nAspect )
} }
awt::Size OleComponent::GetReccomendedExtent( sal_Int64 nAspect ) awt::Size OleComponent::GetRecommendedExtent( sal_Int64 nAspect )
{ {
if ( !m_pNativeImpl->m_pOleObject ) if ( !m_pNativeImpl->m_pOleObject )
throw embed::WrongStateException(); // TODO: the object is in wrong state throw embed::WrongStateException(); // TODO: the object is in wrong state

View File

@@ -126,7 +126,7 @@ public:
css::awt::Size GetExtent( sal_Int64 nAspect ); css::awt::Size GetExtent( sal_Int64 nAspect );
css::awt::Size GetCachedExtent( sal_Int64 nAspect ); css::awt::Size GetCachedExtent( sal_Int64 nAspect );
css::awt::Size GetReccomendedExtent( sal_Int64 nAspect ); css::awt::Size GetRecommendedExtent( sal_Int64 nAspect );
sal_Int64 GetMiscStatus( sal_Int64 nAspect ); sal_Int64 GetMiscStatus( sal_Int64 nAspect );

View File

@@ -267,7 +267,7 @@ awt::Size SAL_CALL OleEmbeddedObject::getVisualAreaSize( sal_Int64 nAspect )
try try
{ {
// third try the size reported by the object // third try the size reported by the object
aSize = m_pOleComponent->GetReccomendedExtent( nAspect ); // will throw an exception in case of failure aSize = m_pOleComponent->GetRecommendedExtent( nAspect ); // will throw an exception in case of failure
bSuccess = true; bSuccess = true;
} }
catch( const uno::Exception& ) catch( const uno::Exception& )