diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-07-05 20:59:12 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-07-06 08:38:01 +0200 |
commit | cfc677d667e118bfe7f092b584c4773476b9b906 (patch) | |
tree | 205c30d062899a48e7ce2394cf1cf38520daa446 /sw/inc/textboxhelper.hxx | |
parent | 1c8483d2174bc6419829dface97627a4304c8912 (diff) |
sw: avoid not needed copy in SwTextBoxHelper::getProperty()
Change-Id: If4b4cecf083367082542e12d57ddf16fef3c6dd9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118454
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc/textboxhelper.hxx')
-rw-r--r-- | sw/inc/textboxhelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/textboxhelper.hxx b/sw/inc/textboxhelper.hxx index 1c9fdc66e703..4e73188debee 100644 --- a/sw/inc/textboxhelper.hxx +++ b/sw/inc/textboxhelper.hxx @@ -74,7 +74,7 @@ public: static void getProperty(SwFrameFormat const* pShape, sal_uInt16 nWID, sal_uInt8 nMemberID, css::uno::Any& rValue); /// Get a property of the underlying TextFrame. - static css::uno::Any getProperty(SwFrameFormat const* pShape, OUString sPropName); + static css::uno::Any getProperty(SwFrameFormat const* pShape, const OUString& rPropName); /// There are two types of enum of anchor type, so this function maps this. static css::text::TextContentAnchorType mapAnchorType(const RndStdIds& rAnchorID); |