[Libreoffice-commits] core.git: unodevtools/source

Andrzej Hunt andrzej.hunt at collabora.com
Tue Mar 18 12:50:43 PDT 2014


 unodevtools/source/skeletonmaker/cppcompskeleton.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d69346b170a627b039ac1309d427aa3ef764f628
Author: Andrzej Hunt <andrzej.hunt at collabora.com>
Date:   Tue Mar 18 19:18:02 2014 +0000

    Make parameters const too.
    
    (Following on from loplugin:passstringbyref)
    
    Change-Id: I9100f51aa7420b237c84de7d36d2374ac6612d00

diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
index 1ba094e..4a88202 100644
--- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
@@ -34,8 +34,8 @@ namespace skeletonmaker { namespace cpp {
 
 void generateIncludes(std::ostream & o,
          const std::set< OUString >& interfaces,
-         OUString & propertyhelper, bool serviceobject,
-         bool supportxcomponent)
+         const OUString & propertyhelper, const bool serviceobject,
+         const bool supportxcomponent)
 {
     o << "#include \"sal/config.h\"\n";
     if (serviceobject) {


More information about the Libreoffice-commits mailing list