Fix typo in code

It passed "make check" on Linux

Change-Id: I4733e6609ee99bef49c2771c83b450ee89d955b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101804
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini 2020-08-31 16:22:12 +02:00 committed by Julien Nabet
parent 765d57f755
commit 262ab49695
9 changed files with 12 additions and 12 deletions

View file

@ -85,12 +85,12 @@ public class SharedLibraryLoader_Test {
if ( sharedLibraryLoader == null && ! test_instantiateSharedLibraryLoader() )
return false;
System.err.println("- get the native ServiceManger factory");
System.err.println("- get the native ServiceManager factory");
XSingleServiceFactory aSMgrFac =
UnoRuntime.queryInterface( XSingleServiceFactory.class,
sharedLibraryLoader.activate(NATIVE_SERVICE_MANAGER_IMP_NAME, null, NATIVE_SERVICE_MANAGER_LIB_NAME, null));
System.err.println("- instantiate the native ServiceManger");
System.err.println("- instantiate the native ServiceManager");
nativeServiceManager = UnoRuntime.queryInterface( XMultiServiceFactory.class, aSMgrFac.createInstance() );
System.out.print("Test - ");

View file

@ -248,7 +248,7 @@ private:
public:
LwpContentManager& GetContentManager() { return m_ContentMgr; }
LwpObjectID& GetGraphicListHead() { return m_ContentMgr.GetGraphicListHead(); }
LwpFontManager& GetFontManger() { return m_FontMgr;}
LwpFontManager& GetFontManager() { return m_FontMgr;}
LwpObjectID& GetTextStyleHead() { return m_TextStyle;}
LwpObjectID& GetLayout() {return m_Layout;}
LwpObjectID& GetBulletManagerID() { return m_BulMgr.GetHeadID();}

View file

@ -151,7 +151,7 @@ void LwpTextStyle::RegisterStyle()
pStyle->SetStyleName(styleName);
//Create font
LwpFontManager& rFontMgr = m_pFoundry->GetFontManger();
LwpFontManager& rFontMgr = m_pFoundry->GetFontManager();
rtl::Reference<XFFont> pFont = rFontMgr.CreateFont(m_nFinalFontID);
pStyle->SetFont(pFont);

View file

@ -259,7 +259,7 @@ void LwpFrib::RegisterStyle(LwpFoundry* pFoundry)
*pNewStyle = *pNamedStyle;
pNewStyle->SetStyleName("");
pFont = pFoundry->GetFontManger().CreateOverrideFont(pCharStyle->GetFinalFontID(),m_pModifiers->FontID);
pFont = pFoundry->GetFontManager().CreateOverrideFont(pCharStyle->GetFinalFontID(),m_pModifiers->FontID);
pNewStyle->SetFont(pFont);
IXFStyleRet aNewStyle = pXFStyleManager->AddStyle(std::move(pNewStyle));
m_StyleName = aNewStyle.m_pStyle->GetStyleName();
@ -275,7 +275,7 @@ void LwpFrib::RegisterStyle(LwpFoundry* pFoundry)
if (m_pModifiers->FontID && pFoundry)
{
std::unique_ptr<XFTextStyle> pNewStyle(new XFTextStyle());
pFont = pFoundry->GetFontManger().CreateFont(m_pModifiers->FontID);
pFont = pFoundry->GetFontManager().CreateFont(m_pModifiers->FontID);
pNewStyle->SetFont(pFont);
IXFStyleRet aNewStyle = pXFStyleManager->AddStyle(std::move(pNewStyle));
m_StyleName = aNewStyle.m_pStyle->GetStyleName();
@ -421,7 +421,7 @@ rtl::Reference<XFFont> LwpFrib::GetFont()
{
LwpFoundry* pFoundry = m_pPara->GetFoundry();
if (pFoundry)
pFont = pFoundry->GetFontManger().CreateFont(m_pModifiers->FontID);
pFont = pFoundry->GetFontManager().CreateFont(m_pModifiers->FontID);
}
else
{

View file

@ -653,7 +653,7 @@ void LwpParaStyle::RegisterStyle()
xStyle->SetStyleName(styleName);
//Create font
LwpFontManager& rFontMgr = m_pFoundry->GetFontManger();
LwpFontManager& rFontMgr = m_pFoundry->GetFontManager();
rtl::Reference<XFFont> pFont = rFontMgr.CreateFont(m_nFinalFontID);
xStyle->SetFont(pFont);

View file

@ -195,7 +195,7 @@ OUString LwpSilverBullet::GetBulletFontName()
return OUString();
}
LwpFontManager& rFontMgr = m_pFoundry->GetFontManger();
LwpFontManager& rFontMgr = m_pFoundry->GetFontManager();
sal_uInt32 nBulletFontID = m_xBulletPara->GetBulletFontID();
sal_uInt16 nFinalFont = static_cast<sal_uInt16>((nBulletFontID >> 16) & 0xFFFF);

View file

@ -54,7 +54,7 @@ import com.sun.star.uno.AnyConverter;
* <p>Therefore the <code>JavaLoader</code> activates external UNO components
* which are implemented in Java.</p>
*
* <p>The loader is used by the <code>ServiceManger</code>.</p>
* <p>The loader is used by the <code>ServiceManager</code>.</p>
*
* @see com.sun.star.loader.XImplementationLoader
* @see com.sun.star.loader.Java

View file

@ -44,7 +44,7 @@ class SelectionObserver;
class SelectionManager
{
public:
/** Create a new SelectionManger for the given slide sorter.
/** Create a new SelectionManager for the given slide sorter.
*/
SelectionManager (SlideSorter& rSlideSorter);

View file

@ -29,7 +29,7 @@ struct IAccessible;
class AccObjectWinManager;
/****************************************************************
AccObjectMangerAgent is used for managing AccObjects, which encapsulates
AccObjectManagerAgent is used for managing AccObjects, which encapsulates
platform differences,and call AccObjectWinManager for Windows platform. To do for
Linux platform
*****************************************************************/