Kaydet (Commit) 3503b920 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: passing class rtl::OUString by value, rather pass by reference

Change-Id: I6a6b24706ed07c5de9870604b6fe5e382ca776c8
üst 382361a3
......@@ -90,7 +90,7 @@ namespace writerfilter {
namespace dmapper{
//line numbering for header/footer
void lcl_linenumberingHeaderFooter( PropertyNameSupplier& rPropNameSupplier, uno::Reference<container::XNameContainer> xStyles, OUString rname, DomainMapper_Impl* dmapper )
void lcl_linenumberingHeaderFooter( PropertyNameSupplier& rPropNameSupplier, uno::Reference<container::XNameContainer> xStyles, const OUString& rname, DomainMapper_Impl* dmapper )
{
const StyleSheetEntryPtr pEntry = dmapper->GetStyleSheetTable()->FindStyleSheetByISTD( rname );
if (!pEntry)
......
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