summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-21 09:18:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-21 09:20:46 +0200
commitb4845f5dba90edf84909e6828d476f675606214e (patch)
tree3bf89c5b69679668acdb34bf5e92ef63c4ac6f29 /include
parent08a943fc379c5f8af25128c935e93e6a9d82d136 (diff)
loplugin:passstuffbyref
Change-Id: I4889b3d56b9e6f6926d1d094130c277588ff143c
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/StyleManager.hxx4
-rw-r--r--include/svx/CommonStyleManager.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/StyleManager.hxx b/include/sfx2/StyleManager.hxx
index 66159f75ec9c..962fbb967e47 100644
--- a/include/sfx2/StyleManager.hxx
+++ b/include/sfx2/StyleManager.hxx
@@ -36,8 +36,8 @@ public:
{}
virtual StylePreviewRenderer* CreateStylePreviewRenderer(
- OutputDevice& /*rOutputDev*/, OUString /*rName*/,
- SfxStyleFamily /*eFamily*/, long /*nMaxHeight*/ = 32) = 0;
+ OutputDevice& rOutputDev, OUString const & rName,
+ SfxStyleFamily eFamily, long nMaxHeight = 32) = 0;
};
} // end namespace sfx2
diff --git a/include/svx/CommonStyleManager.hxx b/include/svx/CommonStyleManager.hxx
index 43346aa5dc55..0ce0a3de21fc 100644
--- a/include/svx/CommonStyleManager.hxx
+++ b/include/svx/CommonStyleManager.hxx
@@ -30,7 +30,7 @@ public:
{}
virtual sfx2::StylePreviewRenderer* CreateStylePreviewRenderer(
- OutputDevice& rOutputDev, OUString sName,
+ OutputDevice& rOutputDev, OUString const & rName,
SfxStyleFamily eFamily, long nMaxHeight = 32) SAL_OVERRIDE;
};