summaryrefslogtreecommitdiff
path: root/test/source/text/xtextcontent.cxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:22:23 +0100
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2020-11-18 12:04:26 +0100
commitf5e3b2e83ab463064f100a9cd93f09cadaae2292 (patch)
treeb3e543959112187befbf3e320d7563fb9d382be1 /test/source/text/xtextcontent.cxx
parent831148376eed244292638d57099ab92fe4bdffbe (diff)
tdf#123936 Formatting files in module test with clang-format
Change-Id: I8b2cc4917564626432ce0219e24f253a534ce8e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105719 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'test/source/text/xtextcontent.cxx')
-rw-r--r--test/source/text/xtextcontent.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/test/source/text/xtextcontent.cxx b/test/source/text/xtextcontent.cxx
index b4b60aaead52..762584e887d1 100644
--- a/test/source/text/xtextcontent.cxx
+++ b/test/source/text/xtextcontent.cxx
@@ -16,21 +16,21 @@
using namespace css;
using namespace css::uno;
-namespace apitest {
-
+namespace apitest
+{
void XTextContent::testGetAnchor()
{
- uno::Reference< text::XTextContent > xTextContent(init(), UNO_QUERY_THROW);
- uno::Reference< uno::XInterface > xAnchor(xTextContent->getAnchor());
+ uno::Reference<text::XTextContent> xTextContent(init(), UNO_QUERY_THROW);
+ uno::Reference<uno::XInterface> xAnchor(xTextContent->getAnchor());
CPPUNIT_ASSERT(xAnchor.is());
}
void XTextContent::testAttach()
{
- uno::Reference< text::XTextContent > xTextContent(init(), UNO_QUERY_THROW);
+ uno::Reference<text::XTextContent> xTextContent(init(), UNO_QUERY_THROW);
- uno::Reference< text::XTextContent > xContent(getTextContent(), UNO_SET_THROW);
- uno::Reference< text::XTextRange > xRange(getTextRange(), UNO_SET_THROW);
+ uno::Reference<text::XTextContent> xContent(getTextContent(), UNO_SET_THROW);
+ uno::Reference<text::XTextRange> xRange(getTextRange(), UNO_SET_THROW);
try
{
@@ -52,7 +52,6 @@ void XTextContent::testAttach()
CPPUNIT_ASSERT(false);
}
}
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */