summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-10-12 11:21:37 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-10-12 11:21:38 +0200
commitbb44338df3aa4e2f45a7e03131c2e774d35aa1a8 (patch)
tree4beea0e681d64d980769eefa1aa0c2fc8256fe8b
parenta44d9541c78e6b398c42e0b8d559665f5dec4e0d (diff)
sw: indentation fixes
Change-Id: I29dbc13abea146dd7bdd6a52e30ff104a2900163
-rw-r--r--sw/source/core/doc/textboxhelper.cxx4
-rw-r--r--sw/source/core/txtnode/thints.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx
index 2ccd934bb6ea..db26d1042152 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 f13c1d48d80c..7e5098fa8209 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");