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

Fix typos

Change-Id: Iedd82d035454c940d76a94c7e910c81827c1389c
Reviewed-on: https://gerrit.libreoffice.org/48828Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 8f9941d5
...@@ -1029,7 +1029,7 @@ bool StringConstant::VisitCXXConstructExpr(CXXConstructExpr const * expr) { ...@@ -1029,7 +1029,7 @@ bool StringConstant::VisitCXXConstructExpr(CXXConstructExpr const * expr) {
{ {
report( report(
DiagnosticsEngine::Warning, DiagnosticsEngine::Warning,
("call of '%0' with suspicous construction" ("call of '%0' with suspicious construction"
" of %1 with empty string constant" " of %1 with empty string constant"
" argument"), " argument"),
getMemberLocation(call)) getMemberLocation(call))
...@@ -1510,7 +1510,7 @@ void StringConstant::reportChange( ...@@ -1510,7 +1510,7 @@ void StringConstant::reportChange(
{ {
report( report(
DiagnosticsEngine::Warning, DiagnosticsEngine::Warning,
("call of '%0' with suspicous call of %1 with" ("call of '%0' with suspicious call of %1 with"
" empty string constant argument"), " empty string constant argument"),
getMemberLocation(call)) getMemberLocation(call))
<< fdecl->getQualifiedNameAsString() << original << fdecl->getQualifiedNameAsString() << original
...@@ -1643,7 +1643,7 @@ void StringConstant::checkEmpty( ...@@ -1643,7 +1643,7 @@ void StringConstant::checkEmpty(
case TreatEmpty::Error: case TreatEmpty::Error:
report( report(
DiagnosticsEngine::Warning, DiagnosticsEngine::Warning,
"call of '%0' with suspicous empty string constant argument", "call of '%0' with suspicious empty string constant argument",
getMemberLocation(expr)) getMemberLocation(expr))
<< callee->getQualifiedNameAsString() << expr->getSourceRange(); << callee->getQualifiedNameAsString() << expr->getSourceRange();
break; break;
......
...@@ -76,7 +76,7 @@ namespace connectivity { namespace hsqldb ...@@ -76,7 +76,7 @@ namespace connectivity { namespace hsqldb
// in HSQL, we need to do it this way ... // in HSQL, we need to do it this way ...
// //
// I can imagine scenarios where this fails, e.g. when dropping the view // I can imagine scenarios where this fails, e.g. when dropping the view
// succeedes, re-creating it fails, some other thread alters a table which // succeeds, re-creating it fails, some other thread alters a table which
// the view was based on, and then we try to restore the view with the // the view was based on, and then we try to restore the view with the
// original command, which then fails, too. // original command, which then fails, too.
// //
......
...@@ -81,7 +81,7 @@ T3SQLNativeSql pODBC3SQLNativeSql; ...@@ -81,7 +81,7 @@ T3SQLNativeSql pODBC3SQLNativeSql;
bool LoadFunctions(oslModule pODBCso); bool LoadFunctions(oslModule pODBCso);
// Take care of Dynamicly loading of the DLL/shared lib and Addresses: // Take care of Dynamically loading of the DLL/shared lib and Addresses:
// Returns sal_True at success // Returns sal_True at success
bool LoadLibrary_ODBC3(OUString &_rPath) bool LoadLibrary_ODBC3(OUString &_rPath)
{ {
......
...@@ -384,7 +384,7 @@ void ProgressCmdEnv::handle( uno::Reference< task::XInteractionRequest > const & ...@@ -384,7 +384,7 @@ void ProgressCmdEnv::handle( uno::Reference< task::XInteractionRequest > const &
{ {
SolarMutexGuard guard; SolarMutexGuard guard;
short n = ScopedVclPtrInstance<DependencyDialog>( m_pDialogHelper? m_pDialogHelper->getWindow() : nullptr, deps )->Execute(); short n = ScopedVclPtrInstance<DependencyDialog>( m_pDialogHelper? m_pDialogHelper->getWindow() : nullptr, deps )->Execute();
// Distinguish between closing the dialog and programatically // Distinguish between closing the dialog and programmatically
// canceling the dialog (headless VCL): // canceling the dialog (headless VCL):
approve = n == RET_OK approve = n == RET_OK
|| (n == RET_CANCEL && !Application::IsDialogCancelEnabled()); || (n == RET_CANCEL && !Application::IsDialogCancelEnabled());
......
...@@ -2024,7 +2024,7 @@ namespace drawinglayer ...@@ -2024,7 +2024,7 @@ namespace drawinglayer
aViewTransform.scale(fDPIXChange, fDPIYChange); aViewTransform.scale(fDPIXChange, fDPIYChange);
} }
// also take scaling from Size reduction into acount // also take scaling from Size reduction into account
if(!basegfx::fTools::equal(fReduceFactor, 1.0)) if(!basegfx::fTools::equal(fReduceFactor, 1.0))
{ {
aViewTransform.scale(fReduceFactor, fReduceFactor); aViewTransform.scale(fReduceFactor, fReduceFactor);
......
...@@ -149,7 +149,7 @@ bool AxBinaryPropertyReader::ArrayStringProperty::readProperty( AxAlignedInputSt ...@@ -149,7 +149,7 @@ bool AxBinaryPropertyReader::ArrayStringProperty::readProperty( AxAlignedInputSt
if( !lclReadString( rInStrm, aString, rInStrm.readuInt32(), true ) ) if( !lclReadString( rInStrm, aString, rInStrm.readuInt32(), true ) )
return false; return false;
mrArray.push_back( aString ); mrArray.push_back( aString );
// every array string is aligned on 4 byte boundries // every array string is aligned on 4 byte boundaries
rInStrm.align( 4 ); rInStrm.align( 4 );
} }
return true; return true;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
// implementations reachable via the service manager. If a given implementation // implementations reachable via the service manager. If a given implementation
// is the only implementor of some service that has a zero-parameter // is the only implementor of some service that has a zero-parameter
// constructor, instantiate the implementation through that service name. If a // constructor, instantiate the implementation through that service name. If a
// given implementation does not offer any such contructors (because it does not // given implementation does not offer any such constructors (because it does not
// support any single-interface--based service, or because for each relevant // support any single-interface--based service, or because for each relevant
// service there are multiple implementations or it does not have an appropriate // service there are multiple implementations or it does not have an appropriate
// constructor) but does support at least one accumulation-based service, then // constructor) but does support at least one accumulation-based service, then
......
...@@ -1117,7 +1117,7 @@ ConvErr ExcelToSc::Convert( ScRangeListTabs& rRangeList, XclImpStream& aIn, std: ...@@ -1117,7 +1117,7 @@ ConvErr ExcelToSc::Convert( ScRangeListTabs& rRangeList, XclImpStream& aIn, std:
break; break;
case 0x4B: case 0x4B:
case 0x6B: case 0x6B:
case 0x2B: // Deleted Area Refernece [323 273] case 0x2B: // Deleted Area Reference [323 273]
nIgnore = 6; nIgnore = 6;
break; break;
case 0x4C: case 0x4C:
......
...@@ -91,7 +91,7 @@ public: ...@@ -91,7 +91,7 @@ public:
/** Calculate the minimal zoom factor as the value at which the /** Calculate the minimal zoom factor as the value at which the
application area would completely fill the window. All values set application area would completely fill the window. All values set
manually or programatically are set to this value if they are manually or programmatically are set to this value if they are
smaller. If the currently used zoom factor is smaller than the minimal zoom smaller. If the currently used zoom factor is smaller than the minimal zoom
factor than set the minimal zoom factor as the new current zoom factor than set the minimal zoom factor as the new current zoom
factor. factor.
......
...@@ -217,7 +217,7 @@ public: ...@@ -217,7 +217,7 @@ public:
/** Typically skipping the current effect is triggered by mouse clicks /** Typically skipping the current effect is triggered by mouse clicks
or key presses that trigger the next effect. This method allows the or key presses that trigger the next effect. This method allows the
skipping of effects to be triggered programatically. skipping of effects to be triggered programmatically.
*/ */
void callSkipEffectEventHandler(); void callSkipEffectEventHandler();
......
...@@ -31,7 +31,7 @@ This class, as a base abstract class, sets a frame of functionality, ...@@ -31,7 +31,7 @@ This class, as a base abstract class, sets a frame of functionality,
delegating the data Object get/set methods to a Value object, delegating the data Object get/set methods to a Value object,
and leaving the UI get/set methods abstract. and leaving the UI get/set methods abstract.
Note that event listening is *not* a part of this model. Note that event listening is *not* a part of this model.
the updateData() or updateUI() methods should be programatically called. the updateData() or updateUI() methods should be programmatically called.
in child classes, the updateData() will be binded to UI event calls. in child classes, the updateData() will be binded to UI event calls.
<br><br> <br><br>
This class holds references to a Data Object and a Value object. This class holds references to a Data Object and a Value object.
......
...@@ -1022,7 +1022,7 @@ void GraphicImport::lcl_sprm(Sprm& rSprm) ...@@ -1022,7 +1022,7 @@ void GraphicImport::lcl_sprm(Sprm& rSprm)
break; break;
case NS_ooxml::LN_CT_Anchor_positionH: // 90976; case NS_ooxml::LN_CT_Anchor_positionH: // 90976;
{ {
// Use a special handler for the positionning // Use a special handler for the positioning
PositionHandlerPtr pHandler( new PositionHandler( m_pImpl->m_rPositionOffsets, m_pImpl->m_rAligns )); PositionHandlerPtr pHandler( new PositionHandler( m_pImpl->m_rPositionOffsets, m_pImpl->m_rAligns ));
writerfilter::Reference<Properties>::Pointer_t pProperties = rSprm.getProps(); writerfilter::Reference<Properties>::Pointer_t pProperties = rSprm.getProps();
if( pProperties.get( ) ) if( pProperties.get( ) )
...@@ -1048,7 +1048,7 @@ void GraphicImport::lcl_sprm(Sprm& rSprm) ...@@ -1048,7 +1048,7 @@ void GraphicImport::lcl_sprm(Sprm& rSprm)
break; break;
case NS_ooxml::LN_CT_Anchor_positionV: // 90977; case NS_ooxml::LN_CT_Anchor_positionV: // 90977;
{ {
// Use a special handler for the positionning // Use a special handler for the positioning
PositionHandlerPtr pHandler( new PositionHandler( m_pImpl->m_rPositionOffsets, m_pImpl->m_rAligns)); PositionHandlerPtr pHandler( new PositionHandler( m_pImpl->m_rPositionOffsets, m_pImpl->m_rAligns));
writerfilter::Reference<Properties>::Pointer_t pProperties = rSprm.getProps(); writerfilter::Reference<Properties>::Pointer_t pProperties = rSprm.getProps();
if( pProperties.get( ) ) if( pProperties.get( ) )
......
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