summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh/wrtsh1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/wrtsh/wrtsh1.cxx')
-rw-r--r--sw/source/uibase/wrtsh/wrtsh1.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx
index 9e7e6005abc6..18139d02318c 100644
--- a/sw/source/uibase/wrtsh/wrtsh1.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh1.cxx
@@ -1352,12 +1352,11 @@ void SwWrtShell::BulletOn()
SelectionType SwWrtShell::GetSelectionType() const
{
- // ContentType cannot be determined within a
- // Start-/Endaction parentheses.
+ // ContentType cannot be determined within a Start-/EndAction.
// Because there is no invalid value TEXT will be returned.
- // The value does not matter, it may be updated in endaction anyway.
+ // The value does not matter, it may be updated in EndAction anyway.
- if ( BasicActionPend() )
+ if (ActionPend())
return IsSelFrameMode() ? SelectionType::Frame : SelectionType::Text;
SwView &_rView = const_cast<SwView&>(GetView());