summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorKenneth Beck <overlordkb.dev@gmail.com>2013-03-01 23:33:49 -0600
committerStephan Bergmann <sbergman@redhat.com>2013-03-06 10:39:30 +0100
commit21e1e859a7dc883a0347b6537e2518f4b2e9d0ff (patch)
tree144fb3c0960eecba48c322e0813423747c4ade1c /sfx2
parent0ece7f368b499a010e3ecf2ffa193c242f9a78db (diff)
fdo#60724 change spelling error REMOVEABLE -> REMOVABLE
Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/qa/complex/sfx2/DocumentProperties.java24
-rw-r--r--sfx2/source/doc/SfxDocumentMetaData.cxx2
-rw-r--r--sfx2/source/doc/docinf.cxx2
3 files changed, 14 insertions, 14 deletions
diff --git a/sfx2/qa/complex/sfx2/DocumentProperties.java b/sfx2/qa/complex/sfx2/DocumentProperties.java
index 35f9b094bb3a..17faed72d440 100644
--- a/sfx2/qa/complex/sfx2/DocumentProperties.java
+++ b/sfx2/qa/complex/sfx2/DocumentProperties.java
@@ -351,16 +351,16 @@ public class DocumentProperties
dur.Seconds = 555;
dur.MilliSeconds = 444;
- udpc.addProperty("Frobnicate", PropertyAttribute.REMOVEABLE, b);
- udpc.addProperty("FrobDuration", PropertyAttribute.REMOVEABLE, dur);
- udpc.addProperty("FrobDuration2", PropertyAttribute.REMOVEABLE, t);
- udpc.addProperty("FrobEndDate", PropertyAttribute.REMOVEABLE, date);
- udpc.addProperty("FrobStartTime", PropertyAttribute.REMOVEABLE, dt);
- udpc.addProperty("Pi", PropertyAttribute.REMOVEABLE, new Double(d));
- udpc.addProperty("Foo", PropertyAttribute.REMOVEABLE, "bar");
- udpc.addProperty("Removed", PropertyAttribute.REMOVEABLE, "bar");
+ udpc.addProperty("Frobnicate", PropertyAttribute.REMOVABLE, b);
+ udpc.addProperty("FrobDuration", PropertyAttribute.REMOVABLE, dur);
+ udpc.addProperty("FrobDuration2", PropertyAttribute.REMOVABLE, t);
+ udpc.addProperty("FrobEndDate", PropertyAttribute.REMOVABLE, date);
+ udpc.addProperty("FrobStartTime", PropertyAttribute.REMOVABLE, dt);
+ udpc.addProperty("Pi", PropertyAttribute.REMOVABLE, new Double(d));
+ udpc.addProperty("Foo", PropertyAttribute.REMOVABLE, "bar");
+ udpc.addProperty("Removed", PropertyAttribute.REMOVABLE, "bar");
// #i94175#: empty property name is valid ODF 1.1
- udpc.addProperty("", PropertyAttribute.REMOVEABLE, "eeeeek");
+ udpc.addProperty("", PropertyAttribute.REMOVABLE, "eeeeek");
try {
udpc.removeProperty("Info 1");
udpc.removeProperty("Removed");
@@ -369,7 +369,7 @@ public class DocumentProperties
}
try {
- udpc.addProperty("Forbidden", PropertyAttribute.REMOVEABLE,
+ udpc.addProperty("Forbidden", PropertyAttribute.REMOVABLE,
new String[] { "foo", "bar" });
fail("inserting value of non-supported type did not fail");
} catch (IllegalTypeException e) {
@@ -454,14 +454,14 @@ public class DocumentProperties
xMB.addModifyListener(listener);
xDP.setAuthor("not me");
assertTrue("Listener Author", listener.reset());
- udpc.addProperty("Listener", PropertyAttribute.REMOVEABLE, "foo");
+ udpc.addProperty("Listener", PropertyAttribute.REMOVABLE, "foo");
assertTrue("Listener UserDefined Add", listener.reset());
udps.setPropertyValue("Listener", "bar");
assertTrue("Listener UserDefined Set", listener.reset());
udpc.removeProperty("Listener");
assertTrue("Listener UserDefined Remove", listener.reset());
xMB.removeModifyListener(listener);
- udpc.addProperty("Listener2", PropertyAttribute.REMOVEABLE, "foo");
+ udpc.addProperty("Listener2", PropertyAttribute.REMOVABLE, "foo");
assertTrue("Removed Listener UserDefined Add", !listener.reset());
System.out.println("...done");
diff --git a/sfx2/source/doc/SfxDocumentMetaData.cxx b/sfx2/source/doc/SfxDocumentMetaData.cxx
index cfecf3ff6283..8e0d05b68635 100644
--- a/sfx2/source/doc/SfxDocumentMetaData.cxx
+++ b/sfx2/source/doc/SfxDocumentMetaData.cxx
@@ -1337,7 +1337,7 @@ void SAL_CALL SfxDocumentMetaData::init(
}
try {
m_xUserDefined->addProperty(name,
- css::beans::PropertyAttribute::REMOVEABLE, any);
+ css::beans::PropertyAttribute::REMOVABLE, any);
} catch (const css::beans::PropertyExistException &) {
DBG_WARNING1("SfxDocumentMetaData: duplicate: %s",
OUStringToOString(name, RTL_TEXTENCODING_UTF8).getStr());
diff --git a/sfx2/source/doc/docinf.cxx b/sfx2/source/doc/docinf.cxx
index e58afd7159bc..d1b156164cd8 100644
--- a/sfx2/source/doc/docinf.cxx
+++ b/sfx2/source/doc/docinf.cxx
@@ -156,7 +156,7 @@ sal_uInt32 SFX2_DLLPUBLIC LoadOlePropertySet(
try
{
xUserDefined->addProperty( aPropName,
- beans::PropertyAttribute::REMOVEABLE, aPropValue );
+ beans::PropertyAttribute::REMOVABLE, aPropValue );
}
catch (const uno::Exception&)
{