summaryrefslogtreecommitdiff
path: root/sd/qa
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 17:55:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 18:26:56 +0200
commitafacb9850bde58918ba6a5305320e90124454154 (patch)
treeafbcac0bba4fd3c04ee7b819f08e3e869a0d7996 /sd/qa
parent867882bcb2bcea0b9d207c3214d32335b10d409e (diff)
loplugin:salunicodeliteral: sd
Change-Id: Ide4c05a1c025b4c093daababa499f46f360710c3
Diffstat (limited to 'sd/qa')
-rw-r--r--sd/qa/unit/export-tests-ooxml1.cxx2
-rw-r--r--sd/qa/unit/tiledrendering/tiledrendering.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/export-tests-ooxml1.cxx b/sd/qa/unit/export-tests-ooxml1.cxx
index e7a29c25f6c4..ab59ffe226b1 100644
--- a/sd/qa/unit/export-tests-ooxml1.cxx
+++ b/sd/qa/unit/export-tests-ooxml1.cxx
@@ -623,7 +623,7 @@ void SdOOXMLExportTest1::testBulletCharAndFont()
uno::Reference<container::XIndexAccess> xLevels(xPropSet->getPropertyValue("NumberingRules"), uno::UNO_QUERY);
uno::Sequence<beans::PropertyValue> aProps;
xLevels->getByIndex(0) >>= aProps; // 1st level
- OUString sBulletChar(sal_Unicode(0xf06c));
+ OUString sBulletChar(u'\xf06c');
for (int i = 0; i < aProps.getLength(); ++i)
{
const beans::PropertyValue& rProp = aProps[i];
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index 5804fdf34bd4..d1aeb4b4360a 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -241,7 +241,7 @@ void SdTiledRenderingTest::callbackImpl(int nType, const char* pPayload)
{
OUString aPayload = OUString::createFromAscii(pPayload);
m_aSelection.clear();
- for (const OUString& rString : lcl_convertSeparated(aPayload, static_cast<sal_Unicode>(';')))
+ for (const OUString& rString : lcl_convertSeparated(aPayload, u';'))
{
::tools::Rectangle aRectangle;
lcl_convertRectangle(rString, aRectangle);