summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-03-25 00:49:47 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-03-25 10:25:10 +0100
commit0085d2f3fac063883306818affdd8e268db7b4ee (patch)
tree4657f02d0e7e45541e577af3b2bca0ba3c0760aa
parent760e94cdf16031b8fcd44ea3d32380a4103d0484 (diff)
kill a typed Modify use
Change-Id: I713501f7ac31a5188932432adff626279432f305
-rw-r--r--sw/source/core/doc/DocumentContentOperationsManager.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx
index 4b37b043326e..b2c13c2e75de 100644
--- a/sw/source/core/doc/DocumentContentOperationsManager.cxx
+++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx
@@ -2366,12 +2366,8 @@ bool DocumentContentOperationsManager::Overwrite( const SwPaM &rRg, const OUStri
? pNode->GetpSwpHints()->Count() : 0;
if( nOldAttrCnt != nNewAttrCnt )
{
- SwUpdateAttr aHint(
- 0,
- 0,
- 0);
-
- pNode->ModifyBroadcast( 0, &aHint, TYPE( SwCrsrShell ) );
+ SwUpdateAttr aHint(0,0,0);
+ pNode->ModifyBroadcast(nullptr, &aHint);
}
if (!m_rDoc.GetIDocumentUndoRedo().DoesUndo() &&