svx/source/form/fmundo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f51450717d4e639bd8af81c7d1ed13cc08e57e22 Author: Janit Anjaria <jani...@gmail.com> Date: Sat Apr 20 01:10:51 2013 +0530 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 diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx index d176abd..20b924b 100644 --- a/svx/source/form/fmundo.cxx +++ b/svx/source/form/fmundo.cxx @@ -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 { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits