[Libreoffice-commits] core.git: svx/source
Janit Anjaria
janit92 at gmail.com
Fri Apr 19 13:30:01 PDT 2013
svx/source/form/fmundo.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f51450717d4e639bd8af81c7d1ed13cc08e57e22
Author: Janit Anjaria <janit92 at 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
{
More information about the Libreoffice-commits
mailing list