summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-03-20 14:16:08 +0100
committerMichael Stahl <mstahl@redhat.com>2013-03-20 14:16:08 +0100
commitb19c601bc4e4700b9d193a86795424e847759b4b (patch)
tree1cff1f984549e9b22bedf424406c319535ee0b61 /sw
parent631eb6141bae5569dc6331fa39891c5227d4a2e4 (diff)
SwXTextPortion has 4 properties whose names start with "Ruby"
Change-Id: Ic90bd3de5fbe1e9c211e61b04cdb4149437fa325
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/unocore/unoport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoport.cxx b/sw/source/core/unocore/unoport.cxx
index 89f40f6daa68..caea251ac319 100644
--- a/sw/source/core/unocore/unoport.cxx
+++ b/sw/source/core/unocore/unoport.cxx
@@ -763,7 +763,7 @@ beans::PropertyState SwXTextPortion::getPropertyState(const OUString& rPropertyN
throw uno::RuntimeException();
if (GetTextPortionType() == PORTION_RUBY_START &&
- rPropertyName.startsWith("Ruby")) //TODO: startsWith or ==?
+ rPropertyName.startsWith("Ruby"))
{
eRet = beans::PropertyState_DIRECT_VALUE;
}
@@ -794,7 +794,7 @@ uno::Sequence< beans::PropertyState > SwXTextPortion::getPropertyStates(
beans::PropertyState* pStates = aRet.getArray();
for(sal_Int32 nProp = 0; nProp < rPropertyNames.getLength();nProp++)
{
- if (pNames[nProp].startsWith("Ruby")) //TODO: startsWith or ==?
+ if (pNames[nProp].startsWith("Ruby"))
pStates[nProp] = beans::PropertyState_DIRECT_VALUE;
}
}