[Libreoffice-commits] core.git: embeddedobj/source

Julien Nabet serval2412 at yahoo.fr
Sun Jan 1 20:19:14 UTC 2017


 embeddedobj/source/msole/olecomponent.cxx |    2 +-
 embeddedobj/source/msole/olecomponent.hxx |    2 +-
 embeddedobj/source/msole/olevisual.cxx    |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 5f757b7b372597d3f632b97b16d4aef6fe08ae1a
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jan 1 18:32:19 2017 +0100

    Typo: GetReccomendedExtent->GetRecommendedExtent
    
    Change-Id: Ic04a9ff115827558f9bc528c100b53bd7ca23486
    Reviewed-on: https://gerrit.libreoffice.org/32587
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/embeddedobj/source/msole/olecomponent.cxx b/embeddedobj/source/msole/olecomponent.cxx
index dd06e6c..fb0245c 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 5b3dc68..a8a2ea8 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 1acb877..094c4be 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& )


More information about the Libreoffice-commits mailing list