diff options
author | Janit Anjaria <janit92@gmail.com> | 2013-04-20 01:10:51 +0530 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-04-19 22:29:40 +0200 |
commit | f51450717d4e639bd8af81c7d1ed13cc08e57e22 (patch) | |
tree | 42d7a6700327d354fdf897b263b94f1994e22523 /svx | |
parent | e7a5f5ef80c3e66101cfb063cbed0527c0559319 (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
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmundo.cxx | 2 |
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 { |