tdf#123936 Formatting files in module editeng with clang-format

Change-Id: I745057f4a6dc0d8103ed7fa29d0f662226a5cee5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105663
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
This commit is contained in:
Philipp Hofer
2020-11-12 12:55:03 +01:00
committed by Christian Lohmaier
parent 5035f265cd
commit 32b57a159e
7 changed files with 36 additions and 46 deletions

View File

@@ -30,5 +30,4 @@ extern void SvxWriteXML( EditEngine& rEditEngine, SvStream& rStream, const ESele
/** this function imports xml from the stream into the selected of an edit engine */
extern EditPaM SvxReadXML(EditEngine& rEditEngine, SvStream& rStream, const ESelection& rSel);
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -21,7 +21,6 @@
#include <editeng/unotext.hxx>
class SvxEditSource;
/** Wraps SvxUnoTextRangeBase and provides us with the text properties

View File

@@ -17,12 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <editeng/measfld.hxx>
SdrMeasureField::~SdrMeasureField()
{
}
SdrMeasureField::~SdrMeasureField() {}
std::unique_ptr<SvxFieldData> SdrMeasureField::Clone() const
{

View File

@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <editeng/edtdlg.hxx>
EditAbstractDialogFactory* EditAbstractDialogFactory::Create()
@@ -25,8 +24,6 @@ EditAbstractDialogFactory* EditAbstractDialogFactory::Create()
return dynamic_cast<EditAbstractDialogFactory*>(VclAbstractDialogFactory::Create());
}
EditAbstractDialogFactory::~EditAbstractDialogFactory()
{
}
EditAbstractDialogFactory::~EditAbstractDialogFactory() {}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -17,22 +17,25 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <editeng/forbiddencharacterstable.hxx>
#include <unotools/localedatawrapper.hxx>
SvxForbiddenCharactersTable::SvxForbiddenCharactersTable(const css::uno::Reference< css::uno::XComponentContext >& rxContext)
SvxForbiddenCharactersTable::SvxForbiddenCharactersTable(
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
: m_xContext(rxContext)
{
}
std::shared_ptr<SvxForbiddenCharactersTable> SvxForbiddenCharactersTable::makeForbiddenCharactersTable(const css::uno::Reference< css::uno::XComponentContext>& rxContext)
std::shared_ptr<SvxForbiddenCharactersTable>
SvxForbiddenCharactersTable::makeForbiddenCharactersTable(
const css::uno::Reference<css::uno::XComponentContext>& rxContext)
{
return std::shared_ptr<SvxForbiddenCharactersTable>(new SvxForbiddenCharactersTable(rxContext));
}
const css::i18n::ForbiddenCharacters* SvxForbiddenCharactersTable::GetForbiddenCharacters( LanguageType nLanguage, bool bGetDefault )
const css::i18n::ForbiddenCharacters*
SvxForbiddenCharactersTable::GetForbiddenCharacters(LanguageType nLanguage, bool bGetDefault)
{
css::i18n::ForbiddenCharacters* pForbiddenCharacters = nullptr;
Map::iterator it = maMap.find(nLanguage);
@@ -47,7 +50,8 @@ const css::i18n::ForbiddenCharacters* SvxForbiddenCharactersTable::GetForbiddenC
return pForbiddenCharacters;
}
void SvxForbiddenCharactersTable::SetForbiddenCharacters( LanguageType nLanguage, const css::i18n::ForbiddenCharacters& rForbiddenChars )
void SvxForbiddenCharactersTable::SetForbiddenCharacters(
LanguageType nLanguage, const css::i18n::ForbiddenCharacters& rForbiddenChars)
{
maMap[nLanguage] = rForbiddenChars;
}

View File

@@ -3571,13 +3571,10 @@ drawinglayer/source/tools/wmfemfhelper.cxx
editeng/inc/AccessibleStringWrap.hxx
editeng/inc/editattr.hxx
editeng/inc/editdoc.hxx
editeng/inc/editeng.hxx
editeng/inc/editxml.hxx
editeng/inc/edtspell.hxx
editeng/inc/eerdll2.hxx
editeng/inc/helpids.h
editeng/inc/unomodel.hxx
editeng/inc/unopracc.hxx
editeng/qa/items/borderline_test.cxx
editeng/qa/lookuptree/lookuptree_test.cxx
editeng/qa/unit/core-test.cxx
@@ -3636,7 +3633,6 @@ editeng/source/items/numitem.cxx
editeng/source/items/optitems.cxx
editeng/source/items/paperinf.cxx
editeng/source/items/paraitem.cxx
editeng/source/items/svdfield.cxx
editeng/source/items/svxfont.cxx
editeng/source/items/textitem.cxx
editeng/source/items/writingmodeitem.cxx
@@ -3649,8 +3645,6 @@ editeng/source/misc/SvXMLAutoCorrectImport.hxx
editeng/source/misc/SvXMLAutoCorrectTokenHandler.cxx
editeng/source/misc/SvXMLAutoCorrectTokenHandler.hxx
editeng/source/misc/acorrcfg.cxx
editeng/source/misc/edtdlg.cxx
editeng/source/misc/forbiddencharacterstable.cxx
editeng/source/misc/hangulhanja.cxx
editeng/source/misc/splwrap.cxx
editeng/source/misc/svxacorr.cxx