diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-26 15:25:14 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-06-27 05:23:32 +0000 |
commit | 82644f5952fa8780ffd590d23b194bf1866ed099 (patch) | |
tree | d3ca730a5d7b1c92a96fb344dcb69c10f7881daa /sw/source/core/access/accdoc.cxx | |
parent | f384ae4c81c2459f9955697ecc36412f7409b936 (diff) |
loplugin:singlevalfields in sw(part4)
Change-Id: I73d94ae89edb2e6f37cfa087a0d85b5a90df4a8a
Reviewed-on: https://gerrit.libreoffice.org/26679
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/core/access/accdoc.cxx')
-rw-r--r-- | sw/source/core/access/accdoc.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx index bed5158177c9..f24ece41ec0b 100644 --- a/sw/source/core/access/accdoc.cxx +++ b/sw/source/core/access/accdoc.cxx @@ -220,15 +220,10 @@ OUString SAL_CALL SwAccessibleDocumentBase::getAccessibleName() sFileName = pDocSh->GetTitle( SFX_TITLE_APINAME ); } } - OUString sReadOnly; - if(pDoc->getDocReadOnly()) - { - sReadOnly = GetResource( STR_ACCESS_DOC_WORDPROCESSING_READONLY ); - } if ( !sFileName.isEmpty() ) { - sAccName = sFileName + sReadOnly + " - " + sAccName; + sAccName = sFileName + " - " + sAccName; } } |