sw/source/core/doc/textboxhelper.cxx | 4 ++-- sw/source/core/txtnode/thints.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit bb44338df3aa4e2f45a7e03131c2e774d35aa1a8 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Mon Oct 12 11:21:37 2015 +0200 sw: indentation fixes Change-Id: I29dbc13abea146dd7bdd6a52e30ff104a2900163 diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx index 2ccd934..db26d10 100644 --- a/sw/source/core/doc/textboxhelper.cxx +++ b/sw/source/core/doc/textboxhelper.cxx @@ -195,13 +195,13 @@ std::map<SwFrameFormat*, SwFrameFormat*> SwTextBoxHelper::findShapes(const SwDoc /// If the passed SdrObject is in fact a TextFrame, that is used as a TextBox. bool lcl_isTextBox(SdrObject* pSdrObject, std::set<const SwFrameFormat*>& rTextBoxes) { - SwVirtFlyDrawObj* pObject = dynamic_cast<SwVirtFlyDrawObj*>( pSdrObject ); + SwVirtFlyDrawObj* pObject = dynamic_cast<SwVirtFlyDrawObj*>(pSdrObject); return pObject && rTextBoxes.find(pObject->GetFormat()) != rTextBoxes.end(); } bool SwTextBoxHelper::isTextBox(const SdrObject* pObject) { - const SwVirtFlyDrawObj* pVirtFlyDrawObj = dynamic_cast<const SwVirtFlyDrawObj*>( pObject ); + const SwVirtFlyDrawObj* pVirtFlyDrawObj = dynamic_cast<const SwVirtFlyDrawObj*>(pObject); if (!pVirtFlyDrawObj) return false; std::set<const SwFrameFormat*> aTextBoxes = findTextBoxes(pVirtFlyDrawObj->GetFormat()->GetDoc()); diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx index f13c1d4..7e5098f 100644 --- a/sw/source/core/txtnode/thints.cxx +++ b/sw/source/core/txtnode/thints.cxx @@ -1221,7 +1221,7 @@ SwTextAttr* SwTextNode::InsertItem( const sal_Int32 nEnd, const SetAttrMode nMode ) { - // character attributes will be inserted as automatic styles: + // character attributes will be inserted as automatic styles: OSL_ENSURE( !isCHRATR(rAttr.Which()), "AUTOSTYLES - " "SwTextNode::InsertItem should not be called with character attributes"); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits