summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/text.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2021-08-29 00:59:08 +1000
committerTomaž Vajngerl <quikee@gmail.com>2021-08-30 02:46:33 +0200
commit229136b7c9363bc758c9e925ccfd0c9bb34ceaec (patch)
treeb5d2546256a9bb0e8740d242cce5e3c0cd3ee332 /vcl/qa/cppunit/text.cxx
parentd350a1364a1c34b96d00f2f716c44882b7b57fe9 (diff)
vcl: move TextLayoutCache into vcl::text namespace
Placed TextLayoutCache function into own source file and moved it into the new vcl::text namespace. With this patch we will have these vcl::* namespaces: namespace vcl::bitmap namespace vcl::CommandInfoProvider namespace vcl::detail namespace vcl::drawmode namespace vcl::fileregistration namespace vcl::filter namespace vcl::font namespace vcl::graphic namespace vcl::lok namespace vcl::pdf namespace vcl::table namespace vcl::test namespace vcl::text namespace vcl::unohelper namespace vcl::unotools Change-Id: Ia38c2d73715676a924cdbb0de6308a72a40ec3b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121206 Reviewed-by: Hossein <hossein@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/qa/cppunit/text.cxx')
-rw-r--r--vcl/qa/cppunit/text.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/qa/cppunit/text.cxx b/vcl/qa/cppunit/text.cxx
index 0db15435a675..548690674f47 100644
--- a/vcl/qa/cppunit/text.cxx
+++ b/vcl/qa/cppunit/text.cxx
@@ -382,10 +382,10 @@ void VclTextTest::testVerticalText()
void VclTextTest::testTextLayoutCache()
{
OUString sTestString = u"The quick brown fox\n jumped over the lazy dogالعاشر";
- vcl::TextLayoutCache cache(sTestString.getStr(), sTestString.getLength());
+ vcl::text::TextLayoutCache cache(sTestString.getStr(), sTestString.getLength());
- vcl::Run run1 = cache.runs[0];
- vcl::Run run2 = cache.runs[1];
+ vcl::text::Run run1 = cache.runs[0];
+ vcl::text::Run run2 = cache.runs[1];
bool bCorrectRuns = (cache.runs.size() == 2);
CPPUNIT_ASSERT_MESSAGE("Wrong number of runs", bCorrectRuns);