Kaydet (Commit) 5ad636ac authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: Idbf0aa261b829e83d4c08a2e989a4ced871dc6de
Reviewed-on: https://gerrit.libreoffice.org/35616Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 19882e0c
...@@ -14,7 +14,7 @@ import org.libreoffice.R; ...@@ -14,7 +14,7 @@ import org.libreoffice.R;
* Container for DirectoryBrowserFragment * Container for DirectoryBrowserFragment
*/ */
public class DirectoryBrowserActivity extends AppCompatActivity { public class DirectoryBrowserActivity extends AppCompatActivity {
public static final String DIRECTORY_PATH_EXTRA = "org.libreoffie.directory_path_extra"; public static final String DIRECTORY_PATH_EXTRA = "org.libreoffice.directory_path_extra";
@Override @Override
protected void onCreate(@Nullable Bundle savedInstanceState) { protected void onCreate(@Nullable Bundle savedInstanceState) {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#import <apple_remote/RemoteControl.h> #import <apple_remote/RemoteControl.h>
// notifaction names that are being used to signal that an application wants to // notification names that are being used to signal that an application wants to
// have access to the remote control device or if the application has finished // have access to the remote control device or if the application has finished
// using the remote control device // using the remote control device
NSString* REQUEST_FOR_REMOTE_CONTROL_NOTIFCATION = @"mac.remotecontrols.RequestForRemoteControl"; NSString* REQUEST_FOR_REMOTE_CONTROL_NOTIFCATION = @"mac.remotecontrols.RequestForRemoteControl";
......
...@@ -614,7 +614,7 @@ void Player::preparePlaybin( const OUString& rURL, GstElement *pSink ) ...@@ -614,7 +614,7 @@ void Player::preparePlaybin( const OUString& rURL, GstElement *pSink )
mpPlaybin = gst_element_factory_make( "playbin", nullptr ); mpPlaybin = gst_element_factory_make( "playbin", nullptr );
//tdf#96989 on systems with flat-volumes setting the volume directly on the //tdf#96989 on systems with flat-volumes setting the volume directly on the
//playbin to 100% results in setting the global volums to 100% of the //playbin to 100% results in setting the global volume to 100% of the
//maximum. We expect to set as % of the current volume. //maximum. We expect to set as % of the current volume.
mpVolumeControl = gst_element_factory_make( "volume", nullptr ); mpVolumeControl = gst_element_factory_make( "volume", nullptr );
GstElement *pAudioSink = gst_element_factory_make( "autoaudiosink", nullptr ); GstElement *pAudioSink = gst_element_factory_make( "autoaudiosink", nullptr );
......
...@@ -2413,7 +2413,7 @@ void WatchTreeListBox::UpdateWatches( bool bBasicStopped ) ...@@ -2413,7 +2413,7 @@ void WatchTreeListBox::UpdateWatches( bool bBasicStopped )
SbxDataType eType = pVar->GetType(); SbxDataType eType = pVar->GetType();
if ( eType & SbxARRAY ) if ( eType & SbxARRAY )
{ {
// consider multidimensinal arrays! // consider multidimensional arrays!
if (SbxDimArray* pNewArray = dynamic_cast<SbxDimArray*>(pVar->GetObject())) if (SbxDimArray* pNewArray = dynamic_cast<SbxDimArray*>(pVar->GetObject()))
{ {
SbxDimArray* pOldArray = pItem->mpArray.get(); SbxDimArray* pOldArray = pItem->mpArray.get();
......
...@@ -681,7 +681,7 @@ void LocalizationMgr::handleRemoveLocales( const Sequence< Locale >& aLocaleSeq ...@@ -681,7 +681,7 @@ void LocalizationMgr::handleRemoveLocales( const Sequence< Locale >& aLocaleSeq
} }
else else
{ {
// Inconsistancy, keep last locale // Inconsistency, keep last locale
bConsistant = false; bConsistant = false;
bRemove = false; bRemove = false;
} }
......
...@@ -362,7 +362,7 @@ namespace basegfx ...@@ -362,7 +362,7 @@ namespace basegfx
aVUV.normalize(); aVUV.normalize();
aVPN.normalize(); aVPN.normalize();
// build x-axis as perpendicular fron aVUV and aVPN // build x-axis as perpendicular from aVUV and aVPN
B3DVector aRx(aVUV.getPerpendicular(aVPN)); B3DVector aRx(aVUV.getPerpendicular(aVPN));
aRx.normalize(); aRx.normalize();
......
...@@ -537,7 +537,7 @@ void RTL_Impl_CreateUnoDialog( StarBASIC* pBasic, SbxArray& rPar, bool bWrite ) ...@@ -537,7 +537,7 @@ void RTL_Impl_CreateUnoDialog( StarBASIC* pBasic, SbxArray& rPar, bool bWrite )
// Add dialog model to dispose vector // Add dialog model to dispose vector
Reference< XComponent > xDlgComponent( xCntrl->getModel(), UNO_QUERY ); Reference< XComponent > xDlgComponent( xCntrl->getModel(), UNO_QUERY );
GetSbData()->pInst->getComponentVector().push_back( xDlgComponent ); GetSbData()->pInst->getComponentVector().push_back( xDlgComponent );
// need ThisCompoent from calling script // need ThisComponent from calling script
} }
// preserve existing bad behaviour, it's possible... but probably // preserve existing bad behaviour, it's possible... but probably
// illegal to open 2 dialogs ( they ARE modal ) when this happens, sometimes // illegal to open 2 dialogs ( they ARE modal ) when this happens, sometimes
......
...@@ -103,7 +103,7 @@ static bool DoParametersFollow( SbiParser* p, SbiExprType eCurExpr, SbiToken eTo ...@@ -103,7 +103,7 @@ static bool DoParametersFollow( SbiParser* p, SbiExprType eCurExpr, SbiToken eTo
else // check for default params with reserved names ( e.g. names of tokens ) else // check for default params with reserved names ( e.g. names of tokens )
{ {
SbiTokenizer tokens( *static_cast<SbiTokenizer*>(p) ); SbiTokenizer tokens( *static_cast<SbiTokenizer*>(p) );
// Urk the Next() / Peek() symantics are... weird // Urk the Next() / Peek() semantics are... weird
tokens.Next(); tokens.Next();
if ( tokens.Peek() == ASSIGN ) if ( tokens.Peek() == ASSIGN )
{ {
......
...@@ -4903,7 +4903,7 @@ bool implDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, double& ...@@ -4903,7 +4903,7 @@ bool implDateSerial( sal_Int16 nYear, sal_Int16 nMonth, sal_Int16 nDay, double&
// 2000, 13, xx = 2001, 1, xx ( or January of the following year ) // 2000, 13, xx = 2001, 1, xx ( or January of the following year )
if( ( nMonth < 1 ) || ( nMonth > 12 ) ) if( ( nMonth < 1 ) || ( nMonth > 12 ) )
{ {
// inacurrate around leap year, don't use days to calculate, // inaccurate around leap year, don't use days to calculate,
// just modify the months directory // just modify the months directory
sal_Int16 nYearAdj = ( nMonth /12 ); // default to positive months inputed sal_Int16 nYearAdj = ( nMonth /12 ); // default to positive months inputed
if ( nMonth <=0 ) if ( nMonth <=0 )
......
...@@ -212,7 +212,7 @@ static SbxVariableRef PlusMinus( SbxObject* pObj, SbxObject* pGbl, const sal_Uni ...@@ -212,7 +212,7 @@ static SbxVariableRef PlusMinus( SbxObject* pObj, SbxObject* pGbl, const sal_Uni
SbxVariableRef refVar2( MulDiv( pObj, pGbl, &p ) ); SbxVariableRef refVar2( MulDiv( pObj, pGbl, &p ) );
if( refVar2.is() ) if( refVar2.is() )
{ {
// temporaere Variable! // temporary Variable!
SbxVariable* pVar = refVar.get(); SbxVariable* pVar = refVar.get();
pVar = new SbxVariable( *pVar ); pVar = new SbxVariable( *pVar );
refVar = pVar; refVar = pVar;
......
...@@ -476,7 +476,7 @@ public class LocalOfficeConnection ...@@ -476,7 +476,7 @@ public class LocalOfficeConnection
* </ul> * </ul>
* *
* @param url This is UNO URL which describes the type of a connection. * @param url This is UNO URL which describes the type of a connection.
* @exception java.net.MalformedURLException when inappropreate URL was * @exception java.net.MalformedURLException when inappropriate URL was
* provided. * provided.
*/ */
private void parseUnoUrlWithOfficePath(String url, String prefix) private void parseUnoUrlWithOfficePath(String url, String prefix)
......
...@@ -1035,7 +1035,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar"); ...@@ -1035,7 +1035,7 @@ xLayoutManager.showElement("private:resource/menubar/menubar");
} }
/** Applies all tool visiblities to the real thing. /** Applies all tool visibilities to the real thing.
@deprecated Clients should use the service com.sun.star.frame.LayoutManager, @deprecated Clients should use the service com.sun.star.frame.LayoutManager,
which can be obtained from a frame, to control toolbars. See also which can be obtained from a frame, to control toolbars. See also
......
...@@ -163,7 +163,7 @@ if __name__ == '__main__': ...@@ -163,7 +163,7 @@ if __name__ == '__main__':
displayUsage() displayUsage()
sys.exit(1) sys.exit(1)
# check if sourceDirectorty exists # check if sourceDirectory exists
if not os.path.isdir(sourceDirectory): if not os.path.isdir(sourceDirectory):
print("sourceDirectory %s not found - Aborting" % (sourceDirectory)) print("sourceDirectory %s not found - Aborting" % (sourceDirectory))
sys.exit(1) sys.exit(1)
......
...@@ -48,7 +48,7 @@ void mscx_raiseException( ...@@ -48,7 +48,7 @@ void mscx_raiseException(
} }
//TOOD: Work around missing __CxxDetectRethrow in clang-cl for now (predefined //TODO: Work around missing __CxxDetectRethrow in clang-cl for now (predefined
// in cl, <www.geoffchappell.com/studies/msvc/language/predefined/index.html>): // in cl, <www.geoffchappell.com/studies/msvc/language/predefined/index.html>):
#if defined __clang__ #if defined __clang__
extern "C" int __cdecl __CxxDetectRethrow(void *); extern "C" int __cdecl __CxxDetectRethrow(void *);
......
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