Kaydet (Commit) c13802e0 authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) Michael Stahl

Fix typo "persistant" -> "persistant"

Change-Id: I639afec2508d189c10a180fd8f824e634afbd14a
Reviewed-on: https://gerrit.libreoffice.org/2347Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst d5f12bfb
......@@ -100,7 +100,7 @@ public:
CreateEmbeddedObject( const com::sun::star::uno::Sequence < sal_Int8 >&,
const com::sun::star::uno::Sequence < com::sun::star::beans::PropertyValue >&, ::rtl::OUString& );
// insert an embedded object into the container - objects persistant representation will be added to the storage
// insert an embedded object into the container - objects persistent representation will be added to the storage
sal_Bool InsertEmbeddedObject( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&, ::rtl::OUString& );
// load an embedded object from a MediaDescriptor and insert it into the container
......
......@@ -104,16 +104,16 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsProfileDirServiceProvider,
// nsProfileDirServiceProvider::nsIDirectoryServiceProvider
NS_IMETHODIMP
nsProfileDirServiceProvider::GetFile(const char *prop, PRBool *persistant, nsIFile **_retval)
nsProfileDirServiceProvider::GetFile(const char *prop, PRBool *persistent, nsIFile **_retval)
{
NS_ENSURE_ARG(prop);
NS_ENSURE_ARG_POINTER(persistant);
NS_ENSURE_ARG_POINTER(persistent);
NS_ENSURE_ARG_POINTER(_retval);
if (!mProfileDir)
return NS_ERROR_FAILURE;
*persistant = PR_TRUE;
*persistent = PR_TRUE;
nsIFile* domainDir = mProfileDir;
......
......@@ -937,13 +937,13 @@ void SAL_CALL OCommonEmbeddedObject::setPersistentEntry(
&& ( m_nObjectState == -1 || nEntryConnectionMode != embed::EntryInitModes::NO_INIT ) )
{
// if the object is not loaded
// it can not get persistant representation without initialization
// it can not get persistent representation without initialization
// if the object is loaded
// it can switch persistant representation only without initialization
// it can switch persistent representation only without initialization
throw embed::WrongStateException(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Can't change persistant representation of activated object!\n" )),
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Can't change persistent representation of activated object!\n" )),
uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
}
......
......@@ -324,7 +324,7 @@ void SAL_CALL ODummyEmbeddedObject::setPersistentEntry(
&& ( m_nObjectState == -1 || nEntryConnectionMode != embed::EntryInitModes::NO_INIT ) )
{
throw embed::WrongStateException(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Can't change persistant representation of activated object!\n" )),
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Can't change persistent representation of activated object!\n" )),
uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
}
......
......@@ -1331,13 +1331,13 @@ void SAL_CALL OleEmbeddedObject::setPersistentEntry(
&& ( m_nObjectState == -1 || nEntryConnectionMode != embed::EntryInitModes::NO_INIT ) )
{
// if the object is not loaded
// it can not get persistant representation without initialization
// it can not get persistent representation without initialization
// if the object is loaded
// it can switch persistant representation only without initialization
// it can switch persistent representation only without initialization
throw embed::WrongStateException(
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Can't change persistant representation of activated object!\n" )),
::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "Can't change persistent representation of activated object!\n" )),
uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) );
}
......
......@@ -381,10 +381,10 @@ public final class OwnEmbeddedObject extends WeakBase
&& ( m_nObjectState == -1 || nEntryConnectionMode != com.sun.star.embed.EntryInitModes.NO_INIT ) )
{
// if the object is not loaded
// it can not get persistant representation without initialization
// it can not get persistent representation without initialization
// if the object is loaded
// it can switch persistant representation only without initialization
// it can switch persistent representation only without initialization
throw new com.sun.star.embed.WrongStateException();
}
......
......@@ -1737,7 +1737,7 @@ void SAL_CALL SvxShape::_setPropertyValue( const OUString& rPropertyName, const
{
if(bIsNotPersist)
{
// Not-Persistant Attribute, hole diese extra
// Not-Persistent Attribute, hole diese extra
mpObj->TakeNotPersistAttr(*pSet, sal_False);
}
}
......@@ -1833,7 +1833,7 @@ uno::Any SvxShape::_getPropertyValue( const OUString& PropertyName )
{
if(pMap->nWID >= SDRATTR_NOTPERSIST_FIRST && pMap->nWID <= SDRATTR_NOTPERSIST_LAST)
{
// Not-Persistant Attribute, hole diese extra
// Not-Persistent Attribute, hole diese extra
mpObj->TakeNotPersistAttr(aSet, sal_False);
}
}
......
......@@ -365,7 +365,7 @@
table:is-selection %boolean; "false"
table:on-update-keep-styles %boolean; "false"
table:on-update-keep-size %boolean; "true"
table:has-persistant-data %boolean; "true"
table:has-persistent-data %boolean; "true"
table:orientation (row | column) "row"
table:contains-header %boolean; "true"
table:display-filter-buttons %boolean; "false"
......
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