diff options
Diffstat (limited to 'cui/source/inc')
-rw-r--r-- | cui/source/inc/CommandCategoryListBox.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/DiagramDialog.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/FontFeaturesDialog.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/SpellDialog.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/backgrnd.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/cfg.hxx | 34 | ||||
-rw-r--r-- | cui/source/inc/cfgutil.hxx | 20 | ||||
-rw-r--r-- | cui/source/inc/cuitabarea.hxx | 6 | ||||
-rw-r--r-- | cui/source/inc/dlgname.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/hldoctp.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/hlmarkwn.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/hltpbase.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/insdlg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/macropg.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/optdict.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/page.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/postdlg.hxx | 4 | ||||
-rw-r--r-- | cui/source/inc/scriptdlg.hxx | 8 | ||||
-rw-r--r-- | cui/source/inc/srchxtra.hxx | 8 | ||||
-rw-r--r-- | cui/source/inc/textanim.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/thesdlg.hxx | 2 |
21 files changed, 55 insertions, 55 deletions
diff --git a/cui/source/inc/CommandCategoryListBox.hxx b/cui/source/inc/CommandCategoryListBox.hxx index acc353b93a73..209ae83ffd42 100644 --- a/cui/source/inc/CommandCategoryListBox.hxx +++ b/cui/source/inc/CommandCategoryListBox.hxx @@ -70,7 +70,7 @@ public: // Adds children of the given macro group to the functions list void addChildren( - weld::TreeIter* parentEntry, const css::uno::Reference<com::sun::star::script::browse::XBrowseNode> &parentNode, + const weld::TreeIter* parentEntry, const css::uno::Reference<com::sun::star::script::browse::XBrowseNode> &parentNode, CuiConfigFunctionListBox* pFunctionListBox, const OUString &filterTerm , SaveInData *pCurrentSaveInData, std::vector<std::unique_ptr<weld::TreeIter>> &rNodesToExpand); }; diff --git a/cui/source/inc/DiagramDialog.hxx b/cui/source/inc/DiagramDialog.hxx index c1ce3316427e..461ffee9a7e6 100644 --- a/cui/source/inc/DiagramDialog.hxx +++ b/cui/source/inc/DiagramDialog.hxx @@ -32,7 +32,7 @@ private: DECL_LINK(OnAddClick, weld::Button&, void); - void populateTree(weld::TreeIter* pParent, const OUString& rParentId); + void populateTree(const weld::TreeIter* pParent, const OUString& rParentId); }; #endif // INCLUDED_CUI_SOURCE_INC_DIAGRAMDIALOG_HXX diff --git a/cui/source/inc/FontFeaturesDialog.hxx b/cui/source/inc/FontFeaturesDialog.hxx index 3e4157129944..d30f92305067 100644 --- a/cui/source/inc/FontFeaturesDialog.hxx +++ b/cui/source/inc/FontFeaturesDialog.hxx @@ -66,7 +66,7 @@ public: ~FontFeaturesDialog() override; virtual short run() override; - OUString const& getResultFontName() { return m_sResultFontName; } + OUString const& getResultFontName() const { return m_sResultFontName; } void updateFontPreview(); }; diff --git a/cui/source/inc/SpellDialog.hxx b/cui/source/inc/SpellDialog.hxx index 7775ea347dbf..65de78342f7e 100644 --- a/cui/source/inc/SpellDialog.hxx +++ b/cui/source/inc/SpellDialog.hxx @@ -109,7 +109,7 @@ public: void ResetUndo(); void Undo(); void AddUndoAction( std::unique_ptr<SfxUndoAction> pAction ); - size_t GetUndoActionCount(); + size_t GetUndoActionCount() const; void UndoActionStart( sal_uInt16 nId ); void UndoActionEnd(); diff --git a/cui/source/inc/backgrnd.hxx b/cui/source/inc/backgrnd.hxx index 78c82a6448ac..099997775374 100644 --- a/cui/source/inc/backgrnd.hxx +++ b/cui/source/inc/backgrnd.hxx @@ -141,7 +141,7 @@ private: bool LoadLinkedGraphic_Impl(); void RaiseLoadError_Impl(); void SetGraphicPosition_Impl( SvxGraphicPosition ePos ); - SvxGraphicPosition GetGraphicPosition_Impl(); + SvxGraphicPosition GetGraphicPosition_Impl() const; void FillControls_Impl(const SvxBrushItem& rBgdAttr, const OUString& rUserData); diff --git a/cui/source/inc/cfg.hxx b/cui/source/inc/cfg.hxx index 5d6a677f8eab..4b4e308803bd 100644 --- a/cui/source/inc/cfg.hxx +++ b/cui/source/inc/cfg.hxx @@ -121,26 +121,26 @@ public: const css::uno::Reference< css::uno::XInterface >& xManager ); void SetModified( bool bValue = true ) { bModified = bValue; } - bool IsModified( ) { return bModified; } + bool IsModified( ) const { return bModified; } - bool IsReadOnly( ) { return bReadOnly; } - bool IsDocConfig( ) { return bDocConfig; } + bool IsReadOnly( ) const { return bReadOnly; } + bool IsDocConfig( ) const { return bDocConfig; } const css::uno::Reference < css::ui::XUIConfigurationManager >& - GetConfigManager() { return m_xCfgMgr; }; + GetConfigManager() const { return m_xCfgMgr; }; const css::uno::Reference < css::ui::XUIConfigurationManager >& - GetParentConfigManager() { return m_xParentCfgMgr; }; + GetParentConfigManager() const { return m_xParentCfgMgr; }; const css::uno::Reference < css::ui::XImageManager >& - GetImageManager() { return m_xImgMgr; }; + GetImageManager() const { return m_xImgMgr; }; const css::uno::Reference < css::ui::XImageManager >& - GetParentImageManager() { return m_xParentImgMgr; }; + GetParentImageManager() const { return m_xParentImgMgr; }; css::uno::Reference < css::container::XNameAccess > m_xCommandToLabelMap; @@ -288,17 +288,17 @@ public: void SetEntries( std::unique_ptr<SvxEntries> entries ) { mpEntries = std::move(entries); } void SetMain() { bIsMain = true; } - bool IsMain() { return bIsMain; } + bool IsMain() const { return bIsMain; } void SetParentData( bool bValue = true ) { bIsParentData = bValue; } - bool IsParentData() { return bIsParentData; } + bool IsParentData() const { return bIsParentData; } void SetModified( bool bValue = true ) { bIsModified = bValue; } - bool IsModified() { return bIsModified; } + bool IsModified() const { return bIsModified; } - bool IsMovable(); - bool IsDeletable(); - bool IsRenamable(); + bool IsMovable() const; + bool IsDeletable() const; + bool IsRenamable() const; void SetVisible( bool b ) { bIsVisible = b; } bool IsVisible() const { return bIsVisible; } @@ -306,7 +306,7 @@ public: void SetBackupGraphic( css::uno::Reference< css::graphic::XGraphic > const & graphic ) { xBackupGraphic = graphic; } - const css::uno::Reference< css::graphic::XGraphic >& GetBackupGraphic() + const css::uno::Reference< css::graphic::XGraphic >& GetBackupGraphic() const { return xBackupGraphic; } sal_Int32 GetStyle() const { return nStyle; } @@ -435,7 +435,7 @@ protected: void InsertEntryIntoUI(SvxConfigEntry* pNewEntryData, int nPos, int nStartCol); - void InsertEntryIntoNotebookbarTabUI(OUString& sClassId ,OUString& sUIItemId, OUString& sUIItemCommand, int nPos, + void InsertEntryIntoNotebookbarTabUI(const OUString& sClassId, const OUString& sUIItemId, const OUString& sUIItemCommand, int nPos, int nStartCol); SvxEntries* FindParentForChild( SvxEntries* pParentEntries, @@ -483,7 +483,7 @@ public: GetFrameWithDefaultAndIdentify( css::uno::Reference< css::frame::XFrame >& _inout_rxFrame ); OUString GetScriptURL() const; - OUString GetSelectedDisplayName(); + OUString GetSelectedDisplayName() const; }; class SvxMainMenuOrganizerDialog : public weld::GenericDialogController @@ -576,7 +576,7 @@ public: SvxNewToolbarDialog(weld::Window* pWindow, const OUString& rName); virtual ~SvxNewToolbarDialog() override; - OUString GetName() + OUString GetName() const { return m_xEdtName->get_text(); } diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx index 8b69238cfbaf..331a59a21d8d 100644 --- a/cui/source/inc/cfgutil.hxx +++ b/cui/source/inc/cfgutil.hxx @@ -68,7 +68,7 @@ public: static bool parseStyleCommand(SfxStyleInfo_Impl& aStyle); void getLabel4Style(SfxStyleInfo_Impl& aStyle); - std::vector< SfxStyleInfo_Impl > getStyleFamilies(); + std::vector< SfxStyleInfo_Impl > getStyleFamilies() const; std::vector< SfxStyleInfo_Impl > getStyles(const OUString& sFamily); static OUString generateCommand(const OUString& sFamily, const OUString& sStyle); @@ -114,29 +114,29 @@ public: void connect_row_activated(const Link<weld::TreeView&, void>& rLink) { m_xTreeView->connect_row_activated(rLink); } void freeze() { m_xTreeView->freeze(); } void thaw() { m_xTreeView->thaw(); } - void append(const OUString& rId, const OUString& rStr, weld::TreeIter* pParent = nullptr) + void append(const OUString& rId, const OUString& rStr, const weld::TreeIter* pParent = nullptr) { m_xTreeView->insert(pParent, -1, &rStr, &rId, nullptr, nullptr, nullptr, false, nullptr); } - std::unique_ptr<weld::TreeIter> tree_append(const OUString& rId, const OUString& rStr, weld::TreeIter* pParent = nullptr) + std::unique_ptr<weld::TreeIter> tree_append(const OUString& rId, const OUString& rStr, const weld::TreeIter* pParent = nullptr) { std::unique_ptr<weld::TreeIter> xIter(m_xTreeView->make_iterator()); m_xTreeView->insert(pParent, -1, &rStr, &rId, nullptr, nullptr, nullptr, false, xIter.get()); return xIter; } - void append(const OUString& rId, const OUString& rStr, const OUString& rImage, weld::TreeIter* pParent = nullptr) + void append(const OUString& rId, const OUString& rStr, const OUString& rImage, const weld::TreeIter* pParent = nullptr) { m_xTreeView->insert(pParent, -1, &rStr, &rId, nullptr, nullptr, &rImage, false, nullptr); } - void append(const OUString& rId, const OUString& rStr, const css::uno::Reference<css::graphic::XGraphic>& rImage, weld::TreeIter* pParent = nullptr) + void append(const OUString& rId, const OUString& rStr, const css::uno::Reference<css::graphic::XGraphic>& rImage, const weld::TreeIter* pParent = nullptr) { m_xTreeView->insert(pParent, -1, &rStr, &rId, nullptr, nullptr, nullptr, false, m_xScratchIter.get()); m_xTreeView->set_image(*m_xScratchIter, rImage, -1); } void remove(int nPos) { m_xTreeView->remove(nPos); } void scroll_to_row(int pos) { m_xTreeView->scroll_to_row(pos); } - void remove(weld::TreeIter& rIter) { m_xTreeView->remove(rIter); } - void expand_row(weld::TreeIter& rIter) { m_xTreeView->expand_row(rIter); } + void remove(const weld::TreeIter& rIter) { m_xTreeView->remove(rIter); } + void expand_row(const weld::TreeIter& rIter) { m_xTreeView->expand_row(rIter); } int n_children() const { return m_xTreeView->n_children(); } std::unique_ptr<weld::TreeIter> make_iterator(const weld::TreeIter* pOrig = nullptr) const { return m_xTreeView->make_iterator(pOrig); } bool get_iter_first(weld::TreeIter& rIter) const { return m_xTreeView->get_iter_first(rIter); } @@ -171,10 +171,10 @@ public: ~CuiConfigFunctionListBox(); void ClearAll(); - OUString GetSelectedScriptURI(); + OUString GetSelectedScriptURI() const; OUString GetHelpText( bool bConsiderParent = true ); - OUString GetCurCommand(); - OUString GetCurLabel(); + OUString GetCurCommand() const; + OUString GetCurLabel() const; }; struct SvxConfigGroupBoxResource_Impl; diff --git a/cui/source/inc/cuitabarea.hxx b/cui/source/inc/cuitabarea.hxx index e60e718a28ce..92dab7b168c2 100644 --- a/cui/source/inc/cuitabarea.hxx +++ b/cui/source/inc/cuitabarea.hxx @@ -62,7 +62,7 @@ class ButtonBox maButtonList.push_back(pButton); maButtonToPos.insert( std::make_pair(pButton, maButtonList.size() - 1) ); } - sal_Int32 GetCurrentButtonPos() { return mnCurrentButton; } + sal_Int32 GetCurrentButtonPos() const { return mnCurrentButton; } sal_Int32 GetButtonPos(weld::ToggleButton* pButton) { std::map<weld::ToggleButton*, sal_Int32>::const_iterator aBtnPos = maButtonToPos.find(pButton); @@ -251,7 +251,7 @@ protected: void SelectFillType( weld::ToggleButton& rButton, const SfxItemSet* _pSet = nullptr ); SfxTabPage* GetFillTabPage() { return m_pFillTabPage; } - bool IsBtnClicked() { return m_bBtnClicked; } + bool IsBtnClicked() const { return m_bBtnClicked; } private: DECL_LINK(SelectFillTypeHdl_Impl, weld::ToggleButton&, void); @@ -762,7 +762,7 @@ public: void SetColorChgd( ChangeType* pIn ) { pnColorListState = pIn; } - void SetCtlPreviewOld( SfxItemSet& rAttrs ) { m_aCtlPreviewOld.SetAttributes( rAttrs ); } + void SetCtlPreviewOld( const SfxItemSet& rAttrs ) { m_aCtlPreviewOld.SetAttributes( rAttrs ); } virtual void FillUserData() override; }; diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx index 83b42d409e07..a1e90f32db71 100644 --- a/cui/source/inc/dlgname.hxx +++ b/cui/source/inc/dlgname.hxx @@ -85,7 +85,7 @@ public: SvxObjectNameDialog(weld::Window* pWindow, const OUString& rName); // data access - OUString GetName() { return m_xEdtName->get_text(); } + OUString GetName() const { return m_xEdtName->get_text(); } // set handler void SetCheckNameHdl(const Link<SvxObjectNameDialog&,bool>& rLink) diff --git a/cui/source/inc/hldoctp.hxx b/cui/source/inc/hldoctp.hxx index 53f302204bf0..9f5f8395f3c1 100644 --- a/cui/source/inc/hldoctp.hxx +++ b/cui/source/inc/hldoctp.hxx @@ -58,7 +58,7 @@ private: SvxLinkInsertMode& eMode ) override; virtual bool ShouldOpenMarkWnd () override {return m_bMarkWndOpen;} virtual void SetMarkWndShouldOpen (bool bOpen) override {m_bMarkWndOpen=bOpen;} - OUString GetCurrentURL (); + OUString GetCurrentURL() const; public: SvxHyperlinkDocTp(weld::Container* pParent, SvxHpLinkDlg* pDlg, const SfxItemSet* pItemSet); diff --git a/cui/source/inc/hlmarkwn.hxx b/cui/source/inc/hlmarkwn.hxx index e45baa8572f7..aa03d4da4ddf 100644 --- a/cui/source/inc/hlmarkwn.hxx +++ b/cui/source/inc/hlmarkwn.hxx @@ -50,7 +50,7 @@ protected: std::unique_ptr<weld::TreeIter> FindEntry(const OUString& aStrName); void ClearTree(); - int FillTree( const css::uno::Reference< css::container::XNameAccess >& xLinks, weld::TreeIter* pParentEntry =nullptr ); + int FillTree( const css::uno::Reference< css::container::XNameAccess >& xLinks, const weld::TreeIter* pParentEntry =nullptr ); DECL_LINK( ClickApplyHdl_Impl, weld::Button&, void ); DECL_LINK( DoubleClickApplyHdl_Impl, weld::TreeView&, void ); diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx index 7c88179d1477..278eab3dd853 100644 --- a/cui/source/inc/hltpbase.hxx +++ b/cui/source/inc/hltpbase.hxx @@ -129,7 +129,7 @@ protected: SfxDispatcher* GetDispatcher() const; - HyperDialogEvent GetMacroEvents(); + HyperDialogEvent GetMacroEvents() const; SvxMacroTableDtor* GetMacroTable(); }; diff --git a/cui/source/inc/insdlg.hxx b/cui/source/inc/insdlg.hxx index a63d8587d658..50f14987b492 100644 --- a/cui/source/inc/insdlg.hxx +++ b/cui/source/inc/insdlg.hxx @@ -40,7 +40,7 @@ protected: const OUString& rUIXMLDescription, const OString& rID, const css::uno::Reference < css::embed::XStorage >& xStorage); public: - const css::uno::Reference<css::embed::XEmbeddedObject>& GetObject() { return m_xObj; } + const css::uno::Reference<css::embed::XEmbeddedObject>& GetObject() const { return m_xObj; } virtual css::uno::Reference<css::io::XInputStream> GetIconIfIconified(OUString* pGraphicMediaType); void SetHelpId(const OString& rHelpId) { m_xDialog->set_help_id(rHelpId); } virtual bool IsCreateNew() const; diff --git a/cui/source/inc/macropg.hxx b/cui/source/inc/macropg.hxx index c80f848ec759..8cb4e5466b19 100644 --- a/cui/source/inc/macropg.hxx +++ b/cui/source/inc/macropg.hxx @@ -58,7 +58,7 @@ class SvxMacroTabPage_ : public SfxTabPage DECL_LINK( AssignDeleteHdl_Impl, weld::Button&, void ); DECL_LINK( DoubleClickHdl_Impl, weld::TreeView&, void ); - static void GenericHandler_Impl( SvxMacroTabPage_* pThis, weld::Button* pBtn ); + static void GenericHandler_Impl( SvxMacroTabPage_* pThis, const weld::Button* pBtn ); css::uno::Reference< css::container::XNameReplace > m_xAppEvents; protected: diff --git a/cui/source/inc/optdict.hxx b/cui/source/inc/optdict.hxx index 5921dc905490..4aed3f4305d0 100644 --- a/cui/source/inc/optdict.hxx +++ b/cui/source/inc/optdict.hxx @@ -50,7 +50,7 @@ private: public: SvxNewDictionaryDialog(weld::Window* pParent); - const css::uno::Reference<css::linguistic2::XDictionary>& GetNewDictionary() { return m_xNewDic; } + const css::uno::Reference<css::linguistic2::XDictionary>& GetNewDictionary() const { return m_xNewDic; } }; // class SvxEditDictionaryDialog ----------------------------------------- diff --git a/cui/source/inc/page.hxx b/cui/source/inc/page.hxx index aa7209a8cd56..a52ca0cffc53 100644 --- a/cui/source/inc/page.hxx +++ b/cui/source/inc/page.hxx @@ -158,7 +158,7 @@ private: bool IsPrinterRangeOverflow(weld::MetricSpinButton& rField, long nFirstMargin, long nLastMargin, MarginPosition nPos); void CheckMarginEdits( bool _bClear ); - bool IsMarginOutOfRange(); + bool IsMarginOutOfRange() const; SvxPageDescPage(TabPageParent pParent, const SfxItemSet& rSet); diff --git a/cui/source/inc/postdlg.hxx b/cui/source/inc/postdlg.hxx index c3c086d89097..62a3379b9289 100644 --- a/cui/source/inc/postdlg.hxx +++ b/cui/source/inc/postdlg.hxx @@ -42,7 +42,7 @@ public: virtual ~SvxPostItDialog() override; static const sal_uInt16* GetRanges(); - const SfxItemSet* GetOutputItemSet() { return m_xOutSet.get(); } + const SfxItemSet* GetOutputItemSet() const { return m_xOutSet.get(); } void SetPrevHdl( const Link<SvxPostItDialog&,void>& rLink ) { m_aPrevHdlLink = rLink; } @@ -71,7 +71,7 @@ public: { m_xDialog->set_title(rTitle); } - std::shared_ptr<weld::Dialog> const & GetDialog() + std::shared_ptr<weld::Dialog> const & GetDialog() const { return m_xDialog; } diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx index 3efd5df17517..7ae0f333563e 100644 --- a/cui/source/inc/scriptdlg.hxx +++ b/cui/source/inc/scriptdlg.hxx @@ -70,8 +70,8 @@ public: SFEntry( const css::uno::Reference< css::script::browse::XBrowseNode >& entryNodes , const css::uno::Reference< css::frame::XModel >& entryModel) { nodes = entryNodes; loaded=false; model = entryModel; } SFEntry( const SFEntry& r ) { nodes = r.nodes; loaded = r.loaded; } - const css::uno::Reference< css::script::browse::XBrowseNode >& GetNode() { return nodes ;} - const css::uno::Reference< css::frame::XModel >& GetModel() { return model ;}; + const css::uno::Reference< css::script::browse::XBrowseNode >& GetNode() const { return nodes ;} + const css::uno::Reference< css::frame::XModel >& GetModel() const { return model ;}; bool isLoaded() const { return loaded; } void setLoaded() { loaded=true; } }; @@ -108,7 +108,7 @@ protected: void CheckButtons( css::uno::Reference< css::script::browse::XBrowseNode > const & node ); void createEntry(weld::TreeIter& rEntry); - void renameEntry(weld::TreeIter& rEntry); + void renameEntry(const weld::TreeIter& rEntry); void deleteEntry(weld::TreeIter& rEntry); css::uno::Reference<css::script::browse::XBrowseNode> getBrowseNode(const weld::TreeIter& rEntry); css::uno::Reference<css::frame::XModel> getModel(const weld::TreeIter& rEntry); @@ -117,7 +117,7 @@ protected: void RestorePreviousSelection(); void Init(const OUString& language); - void delUserData(weld::TreeIter& rIter); + void delUserData(const weld::TreeIter& rIter); void deleteTree(weld::TreeIter& rIter); void deleteAllTree(); void insertEntry(OUString const & rText, OUString const & rBitmap, diff --git a/cui/source/inc/srchxtra.hxx b/cui/source/inc/srchxtra.hxx index 38ee2955aa0d..5513ae236a46 100644 --- a/cui/source/inc/srchxtra.hxx +++ b/cui/source/inc/srchxtra.hxx @@ -73,10 +73,10 @@ public: sal_uInt16 nLonger); virtual ~SvxSearchSimilarityDialog() override; - sal_uInt16 GetOther() { return static_cast<sal_uInt16>(m_xOtherFld->get_value()); } - sal_uInt16 GetShorter() { return static_cast<sal_uInt16>(m_xShorterFld->get_value()); } - sal_uInt16 GetLonger() { return static_cast<sal_uInt16>(m_xLongerFld->get_value()); } - bool IsRelaxed() { return m_xRelaxBox->get_active(); } + sal_uInt16 GetOther() const { return static_cast<sal_uInt16>(m_xOtherFld->get_value()); } + sal_uInt16 GetShorter() const { return static_cast<sal_uInt16>(m_xShorterFld->get_value()); } + sal_uInt16 GetLonger() const { return static_cast<sal_uInt16>(m_xLongerFld->get_value()); } + bool IsRelaxed() const { return m_xRelaxBox->get_active(); } }; #endif diff --git a/cui/source/inc/textanim.hxx b/cui/source/inc/textanim.hxx index 4a7339d4ee8b..ecc725edcb7b 100644 --- a/cui/source/inc/textanim.hxx +++ b/cui/source/inc/textanim.hxx @@ -75,7 +75,7 @@ private: DECL_LINK( ClickDirectionHdl_Impl, weld::Button&, void ); void SelectDirection( SdrTextAniDirection nValue ); - sal_uInt16 GetSelectedDirection(); + sal_uInt16 GetSelectedDirection() const; public: SvxTextAnimationPage(TabPageParent pPage, const SfxItemSet& rInAttrs); diff --git a/cui/source/inc/thesdlg.hxx b/cui/source/inc/thesdlg.hxx index 4172164f70ea..46af0be49cfd 100644 --- a/cui/source/inc/thesdlg.hxx +++ b/cui/source/inc/thesdlg.hxx @@ -74,7 +74,7 @@ public: css::uno::Reference< css::linguistic2::XThesaurus > const & xThesaurus, const OUString &rWord, LanguageType nLanguage); void SetWindowTitle( LanguageType nLanguage ); - OUString GetWord(); + OUString GetWord() const; }; #endif |