Kaydet (Commit) f5145071 authored tarafından Janit Anjaria's avatar Janit Anjaria Kaydeden (comit) Eike Rathke

fdo#62096 Replace OUString compareTo with == operator

I have followed the instructions on the BUgzilla page and using grep i
just replaced all the .compareTo() calls with == operator.

Change-Id: I595f0352335596ee1a387237f5e86791042b2cb6
üst e7a5f5ef
......@@ -565,7 +565,7 @@ void SAL_CALL FmXUndoEnvironment::propertyChange(const PropertyChangeEvent& evt)
"FmXUndoEnvironment::propertyChange: inconsistence!");
for (sal_Int32 i=0; i<nDefaultValueProps; ++i)
{
if (0 == evt.PropertyName.compareTo(pDefaultValueProperties[i]))
if (evt.PropertyName == pDefaultValueProperties[i])
{
try
{
......
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