diff options
Diffstat (limited to 'sw/source/uibase/wrtsh/wrtsh3.cxx')
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh3.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh3.cxx b/sw/source/uibase/wrtsh/wrtsh3.cxx index aa0badb54e61..573ea4a9752d 100644 --- a/sw/source/uibase/wrtsh/wrtsh3.cxx +++ b/sw/source/uibase/wrtsh/wrtsh3.cxx @@ -140,10 +140,6 @@ bool SwWrtShell::GotoContentControl(const SwFormatContentControl& rContentContro GetIDocumentUndoRedo().StartUndo(SwUndoId::REPLACE, &aRewriter); // Update the content. - SwTextContentControl* pTextContentControl - = const_cast<SwFormatContentControl&>(rContentControl).GetTextAttr(); - // If the content control is at the end of the line, then expand is false by default. - pTextContentControl->SetDontExpand(false); DelLeft(); pContentControl->SetSelectedListItem(std::nullopt); Insert(aNewState); |