From 43b4903db3e925c652e25c34362490f8adc9c5ec Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 27 Apr 2016 09:22:13 +0200 Subject: teach stylepolice plugin about ref-counted-pointer naming Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: https://gerrit.libreoffice.org/24459 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/qa/extras/ooxmlimport/ooxmlimport.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sw/qa/extras/ooxmlimport/ooxmlimport.cxx') diff --git a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx index 08cc3c4a1593..f29304f5ecb8 100644 --- a/sw/qa/extras/ooxmlimport/ooxmlimport.cxx +++ b/sw/qa/extras/ooxmlimport/ooxmlimport.cxx @@ -2003,9 +2003,9 @@ DECLARE_OOXMLIMPORT_TEST(testFdo69649, "fdo69649.docx") uno::Reference xTextCursor(xText->createTextCursor( ), uno::UNO_QUERY); xTextCursor->gotoRange(xTextRange->getStart(),false); xTextCursor->gotoRange(xTextRange->getEnd(),true); - OUString xTocString(xTextCursor->getString()); - xTocString = xTocString.copy(256); - CPPUNIT_ASSERT(xTocString.startsWithIgnoreAsciiCase( "Heading 15.1:\t15" ) ); + OUString aTocString(xTextCursor->getString()); + aTocString = aTocString.copy(256); + CPPUNIT_ASSERT(aTocString.startsWithIgnoreAsciiCase( "Heading 15.1:\t15" ) ); } DECLARE_OOXMLIMPORT_TEST(testFdo73389,"fdo73389.docx") -- cgit v1.2.3