diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-05 15:06:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-05 15:07:17 +0200 |
commit | 86b44e8e78716fbfc1783d692debcbb201fb9bd4 (patch) | |
tree | cae64df7bfb656962c16c7137bb98a8801419084 /dbaccess | |
parent | 25c50ff9fb0f277da9bc164d8244a774ef1ebba4 (diff) |
fdo#38835 strip out OUString globals
Change-Id: I8bc386ffa88e31988bdc778a845403bec0772799
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/qa/unit/embeddeddb_performancetest.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/qa/unit/embeddeddb_performancetest.cxx b/dbaccess/qa/unit/embeddeddb_performancetest.cxx index 662ed73d8023..5c0a6b6a7bc1 100644 --- a/dbaccess/qa/unit/embeddeddb_performancetest.cxx +++ b/dbaccess/qa/unit/embeddeddb_performancetest.cxx @@ -86,7 +86,7 @@ class EmbeddedDBPerformanceTest : public DBTestBase { private: - const static OUString our_sEnableTestEnvVar; + static const char our_sEnableTestEnvVar[]; // We store the results and print them at the end due to the amount of warning // noise present which otherwise obscures the results. @@ -154,14 +154,14 @@ void EmbeddedDBPerformanceTest::printTimes( ); } -const OUString EmbeddedDBPerformanceTest::our_sEnableTestEnvVar("DBA_PERFTEST"); +const char EmbeddedDBPerformanceTest::our_sEnableTestEnvVar[] = "DBA_PERFTEST"; // TODO: we probably should create a document from scratch instead? void EmbeddedDBPerformanceTest::testPerformance() { OUString sEnabled; - osl_getEnvironment(our_sEnableTestEnvVar.pData, &sEnabled.pData); + osl_getEnvironment(OUString(our_sEnableTestEnvVar).pData, &sEnabled.pData); if (sEnabled.isEmpty()) return; |