Kaydet (Commit) 9325dca9 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

"atomar" is not a word

SCNR

Change-Id: I3aaa8d9b37423d44fe11f161cc21c0a77b466353
üst b3644853
......@@ -2887,7 +2887,7 @@ void ODatabaseForm::load_impl(sal_Bool bCausedByParentForm, sal_Bool bMoveToFirs
// if we're loaded as sub form we got a "rowSetChanged" from the parent rowset _before_ we got the "loaded"
// so we don't need to execute the statement again, this was already done
// (and there were no relevant changes between these two listener calls, the "load" of a form is quite an
// atomar operation.)
// atomic operation.)
sal_Bool bSuccess = sal_False;
if (bExecute)
......
......@@ -68,7 +68,7 @@ public:
position of the wrapped stream at construction time). */
void align( size_t nSize );
/** Aligns the stream according to the passed type and reads an atomar value. */
/** Aligns the stream according to the passed type and reads a value. */
template< typename Type >
inline Type readAligned() { align( sizeof( Type ) ); return readValue< Type >(); }
/** Aligns the stream according to the passed type and skips the size of the type. */
......
......@@ -73,7 +73,7 @@ public:
void align( size_t nSize );
void pad( sal_Int32 nBytes, size_t nAtomSize = 1);
/** Aligns the stream according to the passed type and reads an atomar value. */
/** Aligns the stream according to the passed type and reads a value. */
template< typename Type >
inline void writeAligned( Type nVal ) { align( sizeof( Type ) ); writeValue( nVal ); }
/** Aligns the stream according to the passed type and skips the size of the type. */
......
......@@ -258,7 +258,7 @@ namespace svl
Effectively, calling this method is equivalent to <code>while ( IsInListAction() ) LeaveListAction();</code>,
followed by <code>Clear()</code>. The only difference to this calling sequence is that Reset is an
atomar operation, also resulting in only one notification.
atomic operation, also resulting in only one notification.
*/
virtual void Reset() = 0;
......
......@@ -602,12 +602,12 @@ uno::Reference< embed::XStorage > SAL_CALL FSStorage::openStorageElement(
{
::utl::UCBContentHelper::Kill( aFolderURL.GetMainURL( INetURLObject::NO_DECODE ) );
bFolderExists =
MakeFolderNoUI( aFolderURL.GetMainURL( INetURLObject::NO_DECODE ) ); // TODO: not atomar :(
MakeFolderNoUI( aFolderURL.GetMainURL( INetURLObject::NO_DECODE ) ); // TODO: not atomic :(
}
else if ( !bFolderExists )
{
bFolderExists =
MakeFolderNoUI( aFolderURL.GetMainURL( INetURLObject::NO_DECODE ) ); // TODO: not atomar :(
MakeFolderNoUI( aFolderURL.GetMainURL( INetURLObject::NO_DECODE ) ); // TODO: not atomic :(
}
}
else if ( ( nStorageMode & embed::ElementModes::TRUNCATE ) )
......
......@@ -199,7 +199,7 @@ void DocumentLockFile::RemoveFile()
{
::osl::MutexGuard aGuard( m_aMutex );
// TODO/LATER: the removing is not atomar, is it possible in general to make it atomar?
// TODO/LATER: the removing is not atomic, is it possible in general to make it atomic?
uno::Sequence< ::rtl::OUString > aNewEntry = GenerateOwnEntry();
uno::Sequence< ::rtl::OUString > aFileData = GetLockData();
......
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