summaryrefslogtreecommitdiff
path: root/sw/source/core/access/accdoc.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-26 15:25:14 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-27 05:23:32 +0000
commit82644f5952fa8780ffd590d23b194bf1866ed099 (patch)
treed3ca730a5d7b1c92a96fb344dcb69c10f7881daa /sw/source/core/access/accdoc.cxx
parentf384ae4c81c2459f9955697ecc36412f7409b936 (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.cxx7
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;
}
}