summaryrefslogtreecommitdiff
path: root/sc/qa
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa')
-rw-r--r--sc/qa/extras/htmlexporttest.cxx2
-rw-r--r--sc/qa/unit/tiledrendering/tiledrendering.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/qa/extras/htmlexporttest.cxx b/sc/qa/extras/htmlexporttest.cxx
index ed5dae9f2d88..b366f0e32e91 100644
--- a/sc/qa/extras/htmlexporttest.cxx
+++ b/sc/qa/extras/htmlexporttest.cxx
@@ -36,7 +36,7 @@ class ScHTMLExportTest : public test::BootstrapFixture, public unotest::MacrosTe
Reference<XComponent> mxComponent;
OUString maFilterOptions;
- void load(const char* pDir, const char* pName)
+ void load(const OUString& pDir, const char* pName)
{
if (mxComponent.is())
mxComponent->dispose();
diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx
index 531171e4f23a..b05817af6c5c 100644
--- a/sc/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx
@@ -51,7 +51,7 @@ std::ostream& operator<<(std::ostream& os, ViewShellId const & id)
namespace
{
-const char* const DATA_DIRECTORY = "/sc/qa/unit/tiledrendering/data/";
+char const DATA_DIRECTORY[] = "/sc/qa/unit/tiledrendering/data/";
class ScTiledRenderingTest : public test::BootstrapFixture, public unotest::MacrosTest, public XmlTestTools
{