summaryrefslogtreecommitdiff
path: root/framework/source/jobs
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-03 14:03:54 +0200
committerNoel Grandin <noel@peralex.com>2014-11-05 08:44:19 +0200
commit705c48d32eec0aa5180e60ca157daca4b154e4a3 (patch)
tree97f43496f4b429a2b8d03b1e71cb2a1c33142a15 /framework/source/jobs
parentb7d8a58ff2698ffc6e22943f64aa97c5ea253bd9 (diff)
fdo#38835 strip out OUString globals
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
Diffstat (limited to 'framework/source/jobs')
-rw-r--r--framework/source/jobs/jobdata.cxx2
-rw-r--r--framework/source/jobs/shelljob.cxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/jobs/jobdata.cxx b/framework/source/jobs/jobdata.cxx
index c0a31e8fe178..3e85ed351e7c 100644
--- a/framework/source/jobs/jobdata.cxx
+++ b/framework/source/jobs/jobdata.cxx
@@ -450,7 +450,7 @@ bool isEnabled( const OUString& sAdminTime ,
we have to encode all '?' signs. Otherwhise e.g. "??-" will be translated
to "~" ...
*/
- static OUString PATTERN_ISO8601("\?\?\?\?-\?\?-\?\?*");
+ static const char PATTERN_ISO8601[] = "\?\?\?\?-\?\?-\?\?*";
WildCard aISOPattern(PATTERN_ISO8601);
bool bValidAdmin = aISOPattern.Matches(sAdminTime);
diff --git a/framework/source/jobs/shelljob.cxx b/framework/source/jobs/shelljob.cxx
index 16741aca86a3..0342061beaab 100644
--- a/framework/source/jobs/shelljob.cxx
+++ b/framework/source/jobs/shelljob.cxx
@@ -40,19 +40,19 @@
namespace framework{
/** address job configuration inside argument set provided on method execute(). */
-static const OUString PROP_JOBCONFIG("JobConfig");
+static const char PROP_JOBCONFIG[] = "JobConfig";
/** address job configuration property "Command". */
-static const OUString PROP_COMMAND("Command");
+static const char PROP_COMMAND[] = "Command";
/** address job configuration property "Arguments". */
-static const OUString PROP_ARGUMENTS("Arguments");
+static const char PROP_ARGUMENTS[] = "Arguments";
/** address job configuration property "DeactivateJobIfDone". */
-static const OUString PROP_DEACTIVATEJOBIFDONE("DeactivateJobIfDone");
+static const char PROP_DEACTIVATEJOBIFDONE[] = "DeactivateJobIfDone";
/** address job configuration property "CheckExitCode". */
-static const OUString PROP_CHECKEXITCODE("CheckExitCode");
+static const char PROP_CHECKEXITCODE[] = "CheckExitCode";
DEFINE_XSERVICEINFO_MULTISERVICE_2(ShellJob ,
::cppu::OWeakObject ,