sw/source/core/unocore/unoport.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b19c601bc4e4700b9d193a86795424e847759b4b
Author: Michael Stahl <mst...@redhat.com>
Date:   Wed Mar 20 14:16:08 2013 +0100

    SwXTextPortion has 4 properties whose names start with "Ruby"
    
    Change-Id: Ic90bd3de5fbe1e9c211e61b04cdb4149437fa325

diff --git a/sw/source/core/unocore/unoport.cxx 
b/sw/source/core/unocore/unoport.cxx
index 89f40f6..caea251 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;
         }
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to