diff options
Diffstat (limited to 'sd/qa')
-rw-r--r-- | sd/qa/unit/SVGExportTests.cxx | 2 | ||||
-rw-r--r-- | sd/qa/unit/import-tests.cxx | 2 | ||||
-rw-r--r-- | sd/qa/unit/tiledrendering/tiledrendering.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sd/qa/unit/SVGExportTests.cxx b/sd/qa/unit/SVGExportTests.cxx index c976436a6f89..9afc5cb42a01 100644 --- a/sd/qa/unit/SVGExportTests.cxx +++ b/sd/qa/unit/SVGExportTests.cxx @@ -37,7 +37,7 @@ protected: xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("svg"), BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0")); } - void load(const char* pDir, const char* pName) + void load(const OUString& pDir, const char* pName) { return loadURL(m_directories.getURLFromSrc(pDir) + OUString::createFromAscii(pName), pName); } diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx index 8040997bc8a7..e4258b161730 100644 --- a/sd/qa/unit/import-tests.cxx +++ b/sd/qa/unit/import-tests.cxx @@ -1370,7 +1370,7 @@ void SdImportTest::testTdf93124() void SdImportTest::testTdf99729() { - const char* filenames[] = { "/sd/qa/unit/data/odp/tdf99729-new.odp", "/sd/qa/unit/data/odp/tdf99729-legacy.odp" }; + const OUString filenames[] = { "/sd/qa/unit/data/odp/tdf99729-new.odp", "/sd/qa/unit/data/odp/tdf99729-legacy.odp" }; int nonwhitecounts[] = { 0, 0 }; for (unsigned int i = 0; i < SAL_N_ELEMENTS(filenames); ++i) { diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx index b5c2e0107639..7f85c8892d9e 100644 --- a/sd/qa/unit/tiledrendering/tiledrendering.cxx +++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx @@ -52,7 +52,7 @@ using namespace css; -static const char* const DATA_DIRECTORY = "/sd/qa/unit/tiledrendering/data/"; +static char const DATA_DIRECTORY[] = "/sd/qa/unit/tiledrendering/data/"; static std::ostream& operator<<(std::ostream& os, ViewShellId id) { |