summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorSzabolcs Dezsi <dezsiszabi@hotmail.com>2012-04-06 14:09:04 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-04-08 19:24:00 +0200
commite4fb171d3ad15ae9abbc93d9db956674498c9dd5 (patch)
tree6d297c3054a7de5a8baee08db9237d0f01fffb52 /unodevtools
parent8e5318b0b971580f8dabecc1318c74e799e84d53 (diff)
Replaced a few equal calls with ==
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/skeletonmaker/skeletonmaker.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unodevtools/source/skeletonmaker/skeletonmaker.cxx b/unodevtools/source/skeletonmaker/skeletonmaker.cxx
index 456f7b2408a9..3609798cb543 100644
--- a/unodevtools/source/skeletonmaker/skeletonmaker.cxx
+++ b/unodevtools/source/skeletonmaker/skeletonmaker.cxx
@@ -165,16 +165,16 @@ SAL_IMPLEMENT_MAIN()
// check command
rtl_getAppCommandArg(nPos++, &arg.pData);
- if ( arg.equals(OUString(RTL_CONSTASCII_USTRINGPARAM("dump"))) ) {
+ if ( arg == "dump" ) {
options.dump = true;
- } else if ( arg.equals(OUString(RTL_CONSTASCII_USTRINGPARAM("component"))) ) {
+ } else if ( arg == "component" ) {
options.dump = false;
options.shortnames = true;
- } else if ( arg.equals(OUString(RTL_CONSTASCII_USTRINGPARAM("calc-add-in"))) ) {
+ } else if ( arg == "calc-add-in" ) {
options.dump = false;
options.shortnames = true;
options.componenttype = 2;
- } else if ( arg.equals(OUString(RTL_CONSTASCII_USTRINGPARAM("add-on"))) ) {
+ } else if ( arg == "add-on" ) {
options.dump = false;
options.shortnames = true;
options.componenttype = 3;