Kaydet (Commit) ea79176e authored tarafından Eike Rathke's avatar Eike Rathke

pass const OUString&, Clang loplugin:passstuffbyref

Change-Id: Ia3bf8a59c38b32a9ed24d21432f95e7141d72072
üst faea61ed
......@@ -35,7 +35,7 @@
#include <IDocumentStylePoolAccess.hxx>
static rtl::Reference<SwDocStyleSheet> lcl_getDocStyleSheet(OUString rName, SwWrtShell *pSh)
static rtl::Reference<SwDocStyleSheet> lcl_getDocStyleSheet(const OUString& rName, SwWrtShell *pSh)
{
sal_uInt16 nFamily = SFX_STYLE_FAMILY_PARA;
SfxStyleSheetBasePool* mpBase = pSh->GetView().GetDocShell()->GetStyleSheetPool();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment