summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/msole/olecomponent.cxx2
-rw-r--r--embeddedobj/source/msole/olecomponent.hxx2
-rw-r--r--embeddedobj/source/msole/olevisual.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx
index dd06e6c0d7c1..fb0245cd32f9 100644
--- a/embeddedobj/source/msole/olecomponent.cxx
+++ b/embeddedobj/source/msole/olecomponent.cxx
@@ -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 )
throw embed::WrongStateException(); // TODO: the object is in wrong state
diff --git a/embeddedobj/source/msole/olecomponent.hxx b/embeddedobj/source/msole/olecomponent.hxx
index 5b3dc68805fe..a8a2ea81c240 100644
--- a/embeddedobj/source/msole/olecomponent.hxx
+++ b/embeddedobj/source/msole/olecomponent.hxx
@@ -126,7 +126,7 @@ public:
css::awt::Size GetExtent( 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 );
diff --git a/embeddedobj/source/msole/olevisual.cxx b/embeddedobj/source/msole/olevisual.cxx
index 1acb87706386..094c4bed034f 100644
--- a/embeddedobj/source/msole/olevisual.cxx
+++ b/embeddedobj/source/msole/olevisual.cxx
@@ -267,7 +267,7 @@ awt::Size SAL_CALL OleEmbeddedObject::getVisualAreaSize( sal_Int64 nAspect )
try
{
// 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;
}
catch( const uno::Exception& )