summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanit Anjaria <janit92@gmail.com>2013-04-20 01:10:51 +0530
committerEike Rathke <erack@redhat.com>2013-04-19 22:29:40 +0200
commitf51450717d4e639bd8af81c7d1ed13cc08e57e22 (patch)
tree42d7a6700327d354fdf897b263b94f1994e22523
parente7a5f5ef80c3e66101cfb063cbed0527c0559319 (diff)
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
-rw-r--r--svx/source/form/fmundo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx
index d176abdf4978..20b924b28f66 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
{