diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-03-20 14:16:08 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-03-20 14:16:08 +0100 |
commit | b19c601bc4e4700b9d193a86795424e847759b4b (patch) | |
tree | 1cff1f984549e9b22bedf424406c319535ee0b61 /sw | |
parent | Slight touch-up of German translation. (diff) | |
download | core-b19c601bc4e4700b9d193a86795424e847759b4b.tar.gz core-b19c601bc4e4700b9d193a86795424e847759b4b.zip |
SwXTextPortion has 4 properties whose names start with "Ruby"
Change-Id: Ic90bd3de5fbe1e9c211e61b04cdb4149437fa325
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/unocore/unoport.cxx | 4 |
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; } } |