diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 08:54:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-11-15 09:42:02 +0100 |
commit | 8c4c1abc9ffa7d9f893d4d16de61594ee090f10b (patch) | |
tree | 137c17f7ae50b12eb5e00c7a06aaef3e825dea5c | |
parent | 4ddd6f329163cbac5ff31e51a5b028d8eeedadd2 (diff) |
loplugin:staticmethods in svx
Change-Id: I94df3aa40fa79877ccebf1ed8709bd7cc47748d9
Reviewed-on: https://gerrit.libreoffice.org/63398
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | cui/source/tabpages/connect.cxx | 2 | ||||
-rw-r--r-- | include/svx/ClassificationDialog.hxx | 2 | ||||
-rw-r--r-- | include/svx/charmap.hxx | 2 | ||||
-rw-r--r-- | include/svx/dlgctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/fntctrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/hexcolorcontrol.hxx | 2 | ||||
-rw-r--r-- | include/svx/pagectrl.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdgmoitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdtaditm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdtaitm.hxx | 4 | ||||
-rw-r--r-- | include/svx/sdtakitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sdtfsitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sxcecitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sxctitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sxekitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sxmtpitm.hxx | 4 | ||||
-rw-r--r-- | include/svx/sxmuitm.hxx | 2 | ||||
-rw-r--r-- | svx/inc/sxcikitm.hxx | 2 | ||||
-rw-r--r-- | svx/inc/sxmkitm.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/ClassificationDialog.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/hexcolorcontrol.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdattr.cxx | 28 |
22 files changed, 37 insertions, 37 deletions
diff --git a/cui/source/tabpages/connect.cxx b/cui/source/tabpages/connect.cxx index 9586d3d4e539..286e6ce0e3b1 100644 --- a/cui/source/tabpages/connect.cxx +++ b/cui/source/tabpages/connect.cxx @@ -415,7 +415,7 @@ void SvxConnectionPage::FillTypeLB() const sal_uInt16 nCount = pEdgeKindItem->GetValueCount(); for (sal_uInt16 i = 0; i < nCount; i++) { - OUString aStr = pEdgeKindItem->GetValueTextByPos(i); + OUString aStr = SdrEdgeKindItem::GetValueTextByPos(i); m_xLbType->append_text(aStr); } } diff --git a/include/svx/ClassificationDialog.hxx b/include/svx/ClassificationDialog.hxx index 607f6565bdbc..3efa8fbc7a8b 100644 --- a/include/svx/ClassificationDialog.hxx +++ b/include/svx/ClassificationDialog.hxx @@ -69,7 +69,7 @@ private: DECL_LINK(SelectRecentlyUsedHdl, ListBox&, void); DECL_LINK(SelectIPPartHdl, ListBox&, void); DECL_LINK(EditWindowModifiedHdl, LinkParamNone*, void); - DECL_LINK(ExpandedHdl, VclExpander&, void); + DECL_STATIC_LINK(ClassificationDialog, ExpandedHdl, VclExpander&, void); void insertField(ClassificationType eType, OUString const & rString, OUString const & rFullString, OUString const & rIdentifier = OUString()); void insertCategoryField(sal_Int32 nID); diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx index 6871aae3dea7..21f81b9bfb91 100644 --- a/include/svx/charmap.hxx +++ b/include/svx/charmap.hxx @@ -94,7 +94,7 @@ public: virtual void SelectIndex( int index, bool bFocus = false ); void OutputIndex( int index ); void DeSelect(); - void CopyToClipboard(const OUString& str); + static void CopyToClipboard(const OUString& str); bool IsSelected(sal_uInt16 _nPos) const { return _nPos == nSelectedIndex; } sal_uInt16 GetSelectIndexId() const { return sal::static_int_cast<sal_uInt16>(nSelectedIndex); } static sal_uInt16 GetRowPos(sal_uInt16 _nPos); diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index 52c1f4f20ca7..64205752626e 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -79,7 +79,7 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC SvxRectCtl : public weld::CustomWidgetContro private: VclPtr<SvxTabPage> m_pPage; - SVX_DLLPRIVATE void InitSettings(vcl::RenderContext& rRenderContext); + SVX_DLLPRIVATE static void InitSettings(vcl::RenderContext& rRenderContext); SVX_DLLPRIVATE void InitRectBitmap(); SVX_DLLPRIVATE BitmapEx& GetRectBitmap(); SVX_DLLPRIVATE void Resize_Impl(const Size& rSize); diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx index c122c98943d6..df12355ef42a 100644 --- a/include/svx/fntctrl.hxx +++ b/include/svx/fntctrl.hxx @@ -88,7 +88,7 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC FontPrevWindow : public weld::CustomWidgetCo private: std::unique_ptr<FontPrevWin_Impl> pImpl; - SVX_DLLPRIVATE void ApplySettings(vcl::RenderContext& rRenderContext); + SVX_DLLPRIVATE static void ApplySettings(vcl::RenderContext& rRenderContext); virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override; SVX_DLLPRIVATE static void SetFontSize(const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont); SVX_DLLPRIVATE static void SetFontLang(const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont); diff --git a/include/svx/hexcolorcontrol.hxx b/include/svx/hexcolorcontrol.hxx index 675948751c75..91960d9f7f9b 100644 --- a/include/svx/hexcolorcontrol.hxx +++ b/include/svx/hexcolorcontrol.hxx @@ -35,7 +35,7 @@ class SVX_DLLPUBLIC HexColorControl private: std::unique_ptr<weld::Entry> m_xEntry; - DECL_LINK(ImplProcessInputHdl, OUString&, bool); + DECL_STATIC_LINK(HexColorControl, ImplProcessInputHdl, OUString&, bool); public: HexColorControl(std::unique_ptr<weld::Entry> pEdit); diff --git a/include/svx/pagectrl.hxx b/include/svx/pagectrl.hxx index 22cd0576a23c..3da3950ec9ef 100644 --- a/include/svx/pagectrl.hxx +++ b/include/svx/pagectrl.hxx @@ -71,7 +71,7 @@ protected: virtual void DrawPage(vcl::RenderContext& rRenderContext, const Point& rPoint, const bool bSecond, const bool bEnabled); - void drawFillAttributes(vcl::RenderContext& rRenderContext, + static void drawFillAttributes(vcl::RenderContext& rRenderContext, const drawinglayer::attribute::SdrAllFillAttributesHelperPtr& rFillAttributes, const tools::Rectangle& rPaintRange, const tools::Rectangle& rDefineRange); diff --git a/include/svx/sdgmoitm.hxx b/include/svx/sdgmoitm.hxx index 3ce9d7d581c0..d070868b432b 100644 --- a/include/svx/sdgmoitm.hxx +++ b/include/svx/sdgmoitm.hxx @@ -40,7 +40,7 @@ public: virtual SfxPoolItem* Clone( SfxItemPool* pPool = nullptr ) const override; virtual sal_uInt16 GetValueCount() const override; - OUString GetValueTextByPos( sal_uInt16 nPos ) const; + static OUString GetValueTextByPos( sal_uInt16 nPos ); virtual bool GetPresentation( SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, diff --git a/include/svx/sdtaditm.hxx b/include/svx/sdtaditm.hxx index 7a0b939e4fa0..f786fd1681b6 100644 --- a/include/svx/sdtaditm.hxx +++ b/include/svx/sdtaditm.hxx @@ -41,7 +41,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/include/svx/sdtaitm.hxx b/include/svx/sdtaitm.hxx index c56952cbf86a..823812b50194 100644 --- a/include/svx/sdtaitm.hxx +++ b/include/svx/sdtaitm.hxx @@ -43,7 +43,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const override; }; @@ -67,7 +67,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/include/svx/sdtakitm.hxx b/include/svx/sdtakitm.hxx index 09f990abcb9a..bfe0129a48a7 100644 --- a/include/svx/sdtakitm.hxx +++ b/include/svx/sdtakitm.hxx @@ -85,7 +85,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/include/svx/sdtfsitm.hxx b/include/svx/sdtfsitm.hxx index 939e2ab9cdc9..ac5b71cec722 100644 --- a/include/svx/sdtfsitm.hxx +++ b/include/svx/sdtfsitm.hxx @@ -44,7 +44,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; virtual bool HasBoolValue() const override; virtual bool GetBoolValue() const override; diff --git a/include/svx/sxcecitm.hxx b/include/svx/sxcecitm.hxx index 3f5d980b86af..d3617f94bbd6 100644 --- a/include/svx/sxcecitm.hxx +++ b/include/svx/sxcecitm.hxx @@ -36,7 +36,7 @@ public: virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override; virtual sal_uInt16 GetValueCount() const override; // { return 3; } - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/include/svx/sxctitm.hxx b/include/svx/sxctitm.hxx index 9ca7f5be2a8e..72db35e6f911 100644 --- a/include/svx/sxctitm.hxx +++ b/include/svx/sxctitm.hxx @@ -33,7 +33,7 @@ public: SdrCaptionTypeItem(SdrCaptionType eStyle=SdrCaptionType::Type3): SfxEnumItem(SDRATTR_CAPTIONTYPE, eStyle) {} virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override; virtual sal_uInt16 GetValueCount() const override; // { return 4; } - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/include/svx/sxekitm.hxx b/include/svx/sxekitm.hxx index b779dedf029e..bfb5b60299f9 100644 --- a/include/svx/sxekitm.hxx +++ b/include/svx/sxekitm.hxx @@ -38,7 +38,7 @@ public: virtual sal_uInt16 GetValueCount() const override; // { return 5; } virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/include/svx/sxmtpitm.hxx b/include/svx/sxmtpitm.hxx index d16605ba17c4..22ad0ed12494 100644 --- a/include/svx/sxmtpitm.hxx +++ b/include/svx/sxmtpitm.hxx @@ -38,7 +38,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; @@ -55,7 +55,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/include/svx/sxmuitm.hxx b/include/svx/sxmuitm.hxx index 3d62f15320b5..52c6e826be28 100644 --- a/include/svx/sxmuitm.hxx +++ b/include/svx/sxmuitm.hxx @@ -35,7 +35,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/svx/inc/sxcikitm.hxx b/svx/inc/sxcikitm.hxx index c651227806d4..03740ab7758c 100644 --- a/svx/inc/sxcikitm.hxx +++ b/svx/inc/sxcikitm.hxx @@ -36,7 +36,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/svx/inc/sxmkitm.hxx b/svx/inc/sxmkitm.hxx index 2d9eb52041d4..2eed2e61bef2 100644 --- a/svx/inc/sxmkitm.hxx +++ b/svx/inc/sxmkitm.hxx @@ -36,7 +36,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; - OUString GetValueTextByPos(sal_uInt16 nPos) const; + static OUString GetValueTextByPos(sal_uInt16 nPos); virtual bool GetPresentation(SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString& rText, const IntlWrapper&) const override; }; diff --git a/svx/source/dialog/ClassificationDialog.cxx b/svx/source/dialog/ClassificationDialog.cxx index 124fbe61da3f..74dbb68900a4 100644 --- a/svx/source/dialog/ClassificationDialog.cxx +++ b/svx/source/dialog/ClassificationDialog.cxx @@ -697,7 +697,7 @@ IMPL_LINK_NOARG(ClassificationDialog, EditWindowModifiedHdl, LinkParamNone*, voi toggleWidgetsDependingOnCategory(); } -IMPL_LINK(ClassificationDialog, ExpandedHdl, VclExpander&, rExpander, void) +IMPL_STATIC_LINK(ClassificationDialog, ExpandedHdl, VclExpander&, rExpander, void) { std::shared_ptr<comphelper::ConfigurationChanges> aConfigurationChanges(comphelper::ConfigurationChanges::create()); officecfg::Office::Common::Classification::IntellectualPropertySectionExpanded::set(rExpander.get_expanded(), aConfigurationChanges); diff --git a/svx/source/dialog/hexcolorcontrol.cxx b/svx/source/dialog/hexcolorcontrol.cxx index 6f662565b0f7..e9ddfb553a43 100644 --- a/svx/source/dialog/hexcolorcontrol.cxx +++ b/svx/source/dialog/hexcolorcontrol.cxx @@ -63,7 +63,7 @@ Color HexColorControl::GetColor() return Color(nColor); } -IMPL_LINK(HexColorControl, ImplProcessInputHdl, OUString&, rTest, bool) +IMPL_STATIC_LINK(HexColorControl, ImplProcessInputHdl, OUString&, rTest, bool) { const sal_Unicode* pTest = rTest.getStr(); sal_Int32 nLen = rTest.getLength(); diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx index b62dda4b7a05..74ecec61ae71 100644 --- a/svx/source/svdraw/svdattr.cxx +++ b/svx/source/svdraw/svdattr.cxx @@ -884,7 +884,7 @@ SfxPoolItem* SdrCaptionTypeItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrCaptionTypeItem::GetValueCount() const { return 4; } -OUString SdrCaptionTypeItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrCaptionTypeItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALCAPTIONTYPES[] = { @@ -915,7 +915,7 @@ SfxPoolItem* SdrCaptionEscDirItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrCaptionEscDirItem::GetValueCount() const { return 3; } -OUString SdrCaptionEscDirItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrCaptionEscDirItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALCAPTIONTYPES[] = { @@ -952,7 +952,7 @@ SfxPoolItem* SdrTextFitToSizeTypeItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrTextFitToSizeTypeItem::GetValueCount() const { return 4; } -OUString SdrTextFitToSizeTypeItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrTextFitToSizeTypeItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALFITTISIZETYPES[] = { @@ -1017,7 +1017,7 @@ SfxPoolItem* SdrTextVertAdjustItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrTextVertAdjustItem::GetValueCount() const { return 5; } -OUString SdrTextVertAdjustItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrTextVertAdjustItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALTEXTVADJTYPES[] = { @@ -1079,7 +1079,7 @@ SfxPoolItem* SdrTextHorzAdjustItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrTextHorzAdjustItem::GetValueCount() const { return 5; } -OUString SdrTextHorzAdjustItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrTextHorzAdjustItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALTEXTHADJTYPES[] = { @@ -1134,7 +1134,7 @@ SfxPoolItem* SdrTextAniKindItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrTextAniKindItem::GetValueCount() const { return 5; } -OUString SdrTextAniKindItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrTextAniKindItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALTEXTANITYPES[] = { @@ -1188,7 +1188,7 @@ SfxPoolItem* SdrTextAniDirectionItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrTextAniDirectionItem::GetValueCount() const { return 4; } -OUString SdrTextAniDirectionItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrTextAniDirectionItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALTEXTANITYPES[] = { @@ -1357,7 +1357,7 @@ SfxPoolItem* SdrEdgeKindItem::Clone(SfxItemPool* /*pPool*/) const { r sal_uInt16 SdrEdgeKindItem::GetValueCount() const { return 4; } -OUString SdrEdgeKindItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrEdgeKindItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALEDGES[] = { @@ -1528,7 +1528,7 @@ SfxPoolItem* SdrMeasureKindItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrMeasureKindItem::GetValueCount() const { return 2; } -OUString SdrMeasureKindItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrMeasureKindItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALMEASURETYPES[] = { @@ -1579,7 +1579,7 @@ SfxPoolItem* SdrMeasureTextHPosItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrMeasureTextHPosItem::GetValueCount() const { return 4; } -OUString SdrMeasureTextHPosItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrMeasureTextHPosItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALMEASURETEXTTYPES[] = { @@ -1632,7 +1632,7 @@ SfxPoolItem* SdrMeasureTextVPosItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrMeasureTextVPosItem::GetValueCount() const { return 5; } -OUString SdrMeasureTextVPosItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrMeasureTextVPosItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALMEASURETEXTTYPES[] = { @@ -1685,7 +1685,7 @@ SfxPoolItem* SdrMeasureUnitItem::Clone(SfxItemPool* /*pPool*/) const sal_uInt16 SdrMeasureUnitItem::GetValueCount() const { return 14; } -OUString SdrMeasureUnitItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrMeasureUnitItem::GetValueTextByPos(sal_uInt16 nPos) { OUString aRetval; @@ -1731,7 +1731,7 @@ SfxPoolItem* SdrCircKindItem::Clone(SfxItemPool* /*pPool*/) const { ret sal_uInt16 SdrCircKindItem::GetValueCount() const { return 4; } -OUString SdrCircKindItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrCircKindItem::GetValueTextByPos(sal_uInt16 nPos) { static const char* ITEMVALCIRCTYPES[] = { @@ -1881,7 +1881,7 @@ sal_uInt16 SdrGrafModeItem::GetValueCount() const return 4; } -OUString SdrGrafModeItem::GetValueTextByPos(sal_uInt16 nPos) const +OUString SdrGrafModeItem::GetValueTextByPos(sal_uInt16 nPos) { OUString aStr; |