diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-03 16:49:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-03 21:32:05 +0200 |
commit | 98d7b40986afaf35894f8a7b36530975cae73fa9 (patch) | |
tree | 27f059b6118e93a0244b1945e76459bcb560b80d /sw/inc/textboxhelper.hxx | |
parent | f060d6450702c9992948266385aea9aa06000a8a (diff) |
loplugin:constparams in sw part2
Change-Id: I51ae0e8caaf46f141d3d15ace47612df1e476de7
Reviewed-on: https://gerrit.libreoffice.org/40735
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/textboxhelper.hxx')
-rw-r--r-- | sw/inc/textboxhelper.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/textboxhelper.hxx b/sw/inc/textboxhelper.hxx index db49d276740e..eba513190fcf 100644 --- a/sw/inc/textboxhelper.hxx +++ b/sw/inc/textboxhelper.hxx @@ -60,10 +60,10 @@ public: /// Does the same, but works on properties which lack an sw-specific WID / MemberID. static void syncProperty(SwFrameFormat* pShape, const OUString& rPropertyName, const css::uno::Any& rValue); /// Get a property of the underlying TextFrame. - static void getProperty(SwFrameFormat* pShape, sal_uInt16 nWID, sal_uInt8 nMemberID, css::uno::Any& rValue); + static void getProperty(SwFrameFormat const * pShape, sal_uInt16 nWID, sal_uInt8 nMemberID, css::uno::Any& rValue); /// Similar to syncProperty(), but used by the internal API (e.g. for UI purposes). - static void syncFlyFrameAttr(SwFrameFormat& rShape, SfxItemSet& rSet); + static void syncFlyFrameAttr(SwFrameFormat& rShape, SfxItemSet const & rSet); /** * If we have an associated TextFrame, then return that. @@ -95,11 +95,11 @@ public: /// Count number of shapes in the document, excluding TextBoxes. static sal_Int32 getCount(const SwDoc* pDoc); /// Count number of shapes on the page, excluding TextBoxes. - static sal_Int32 getCount(SdrPage* pPage); + static sal_Int32 getCount(SdrPage const * pPage); /// Get a shape by index, excluding TextBoxes. /// /// @throws css::lang::IndexOutOfBoundsException - static css::uno::Any getByIndex(SdrPage* pPage, sal_Int32 nIndex); + static css::uno::Any getByIndex(SdrPage const * pPage, sal_Int32 nIndex); /// Get the order of the shape, excluding TextBoxes. static sal_Int32 getOrdNum(const SdrObject* pObject); /// If pTextBox is a textbox, then set rWrapThrough to the surround of its shape. |