[Libreoffice-commits] core.git: writerfilter/source
Tor Lillqvist
tml at collabora.com
Sun Jan 4 20:40:53 PST 2015
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3503b92070e5b7389c0d44eb980067f68e458f40
Author: Tor Lillqvist <tml at collabora.com>
Date: Mon Jan 5 06:22:19 2015 +0200
WaE: passing class rtl::OUString by value, rather pass by reference
Change-Id: I6a6b24706ed07c5de9870604b6fe5e382ca776c8
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index b903c51..0d2042c 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -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)
More information about the Libreoffice-commits
mailing list