summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/docsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/docsh.cxx')
-rw-r--r--sw/source/uibase/app/docsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx
index 1ccc19651629..b6ec409f14e1 100644
--- a/sw/source/uibase/app/docsh.cxx
+++ b/sw/source/uibase/app/docsh.cxx
@@ -1141,7 +1141,7 @@ void SwDocShell::GetState(SfxItemSet& rSet)
case FN_REDLINE_ACCEPT_ALL:
case FN_REDLINE_REJECT_ALL:
{
- if (GetDoc()->getIDocumentRedlineAccess().GetRedlineTable().size() == 0)
+ if (GetDoc()->getIDocumentRedlineAccess().GetRedlineTable().empty())
rSet.DisableItem(nWhich);
}
break;