summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/basic/sbxvar.hxx2
-rw-r--r--include/framework/interaction.hxx2
-rw-r--r--include/sfx2/brokenpackageint.hxx4
-rw-r--r--include/sfx2/listview.hxx8
-rw-r--r--include/sfx2/templatedlg.hxx4
-rw-r--r--include/sfx2/templatedlglocalview.hxx2
-rw-r--r--include/vcl/filter/pdfdocument.hxx2
-rw-r--r--include/vcl/gfxlink.hxx2
-rw-r--r--include/vcl/toolkit/treelistbox.hxx2
-rw-r--r--include/xmloff/xmlexp.hxx2
10 files changed, 15 insertions, 15 deletions
diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx
index 342ba8c33583..6454e445629f 100644
--- a/include/basic/sbxvar.hxx
+++ b/include/basic/sbxvar.hxx
@@ -295,7 +295,7 @@ public:
SbxObject* GetParent() { return pParent;}
virtual void SetParent( SbxObject* );
- const OUString& GetDeclareClassName();
+ const OUString& GetDeclareClassName() const;
void SetDeclareClassName( const OUString& );
void SetComListener( const css::uno::Reference< css::uno::XInterface >& xComListener,
StarBASIC* pParentBasic );
diff --git a/include/framework/interaction.hxx b/include/framework/interaction.hxx
index d02c5cd99067..4700d19200c9 100644
--- a/include/framework/interaction.hxx
+++ b/include/framework/interaction.hxx
@@ -75,7 +75,7 @@ public:
bool isAbort() const;
OUString getFilter() const;
- css::uno::Reference<css::task::XInteractionRequest> GetRequest();
+ css::uno::Reference<css::task::XInteractionRequest> GetRequest() const;
};
/*-************************************************************************************************************
diff --git a/include/sfx2/brokenpackageint.hxx b/include/sfx2/brokenpackageint.hxx
index e7a1e3876257..37c98540a6bc 100644
--- a/include/sfx2/brokenpackageint.hxx
+++ b/include/sfx2/brokenpackageint.hxx
@@ -42,7 +42,7 @@ public:
RequestPackageReparation(const RequestPackageReparation&) = delete;
RequestPackageReparation& operator=(const RequestPackageReparation&) = delete;
bool isApproved() const;
- css::uno::Reference<css::task::XInteractionRequest> GetRequest();
+ css::uno::Reference<css::task::XInteractionRequest> GetRequest() const;
};
class NotifyBrokenPackage_Impl;
@@ -55,7 +55,7 @@ public:
~NotifyBrokenPackage();
NotifyBrokenPackage(const NotifyBrokenPackage&) = delete;
NotifyBrokenPackage& operator=(const NotifyBrokenPackage&) = delete;
- css::uno::Reference<css::task::XInteractionRequest> GetRequest();
+ css::uno::Reference<css::task::XInteractionRequest> GetRequest() const;
};
#endif // INCLUDED_SFX2_BROKENPACKAGEINT_HXX
diff --git a/include/sfx2/listview.hxx b/include/sfx2/listview.hxx
index 4f7e37a49671..5b253754dd45 100644
--- a/include/sfx2/listview.hxx
+++ b/include/sfx2/listview.hxx
@@ -66,17 +66,17 @@ protected:
void select_id(const OUString& sId) { mxTreeView->select_id(sId); }
- int get_selected_index() { return mxTreeView->get_selected_index(); }
+ int get_selected_index() const { return mxTreeView->get_selected_index(); }
- std::vector<int> get_selected_rows() { return mxTreeView->get_selected_rows(); }
+ std::vector<int> get_selected_rows() const { return mxTreeView->get_selected_rows(); }
- bool IsListViewVisible() { return mxTreeView->is_visible(); }
+ bool IsListViewVisible() const { return mxTreeView->is_visible(); }
OUString get_id(int pos) { return mxTreeView->get_id(pos); }
void set_cursor(int pos) { mxTreeView->set_cursor(pos); }
- int get_cursor_index() { return mxTreeView->get_cursor_index(); }
+ int get_cursor_index() const { return mxTreeView->get_cursor_index(); }
sal_uInt16 get_cursor_nId() { return get_nId(mxTreeView->get_cursor_index()); }
diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx
index 35bb0620978b..05a693611603 100644
--- a/include/sfx2/templatedlg.hxx
+++ b/include/sfx2/templatedlg.hxx
@@ -46,7 +46,7 @@ public:
void setDocumentModel(const css::uno::Reference<css::frame::XModel>& rModel);
void setTemplateViewMode(TemplateViewMode eViewMode);
- TemplateViewMode getTemplateViewMode();
+ TemplateViewMode getTemplateViewMode() const;
protected:
void getApplicationSpecificSettings();
@@ -210,4 +210,4 @@ private:
#endif // INCLUDED_SFX2_INC_TEMPLATEDLG_HXX
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/sfx2/templatedlglocalview.hxx b/include/sfx2/templatedlglocalview.hxx
index bdae9eb44e35..409a1acaa578 100644
--- a/include/sfx2/templatedlglocalview.hxx
+++ b/include/sfx2/templatedlglocalview.hxx
@@ -36,7 +36,7 @@ public:
virtual void Hide() override;
- bool IsVisible();
+ bool IsVisible() const;
void connect_focus_rect(const Link<weld::Widget&, tools::Rectangle>& rLink)
{
diff --git a/include/vcl/filter/pdfdocument.hxx b/include/vcl/filter/pdfdocument.hxx
index 7f7cc8dfb641..26866544bf60 100644
--- a/include/vcl/filter/pdfdocument.hxx
+++ b/include/vcl/filter/pdfdocument.hxx
@@ -231,7 +231,7 @@ public:
void SetValue(const OString& rValue) { m_aValue = rValue; }
const OString& GetValue() const;
sal_uInt64 GetLocation() const;
- sal_uInt64 GetLength() { return m_aValue.getLength(); }
+ sal_uInt64 GetLength() const { return m_aValue.getLength(); }
void writeString(OStringBuffer& rBuffer) override
{
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx
index 1acb51d05c0a..790589e68225 100644
--- a/include/vcl/gfxlink.hxx
+++ b/include/vcl/gfxlink.hxx
@@ -86,7 +86,7 @@ public:
sal_uInt32 GetDataSize() const { return maDataContainer.getSize(); }
const sal_uInt8* GetData() const;
- const BinaryDataContainer& getDataContainer()
+ const BinaryDataContainer& getDataContainer() const
{
return maDataContainer;
}
diff --git a/include/vcl/toolkit/treelistbox.hxx b/include/vcl/toolkit/treelistbox.hxx
index c2c2a2c05c84..c2aa4c03913c 100644
--- a/include/vcl/toolkit/treelistbox.hxx
+++ b/include/vcl/toolkit/treelistbox.hxx
@@ -678,7 +678,7 @@ public:
// Make single click "activate" a row like a double-click normally does
void SetActivateOnSingleClick(bool bEnable) { mbActivateOnSingleClick = bEnable; }
- bool GetActivateOnSingleClick() { return mbActivateOnSingleClick; }
+ bool GetActivateOnSingleClick() const { return mbActivateOnSingleClick; }
// Make mouse over a row "select" a row like a single-click normally does
void SetHoverSelection(bool bEnable) { mbHoverSelection = bEnable; }
diff --git a/include/xmloff/xmlexp.hxx b/include/xmloff/xmlexp.hxx
index d1925585431d..adba9e653077 100644
--- a/include/xmloff/xmlexp.hxx
+++ b/include/xmloff/xmlexp.hxx
@@ -378,7 +378,7 @@ public:
// Get common attribute list as implementation or interface.
SvXMLAttributeList &GetAttrList() { return *mxAttrList; }
- css::uno::Reference< css::xml::sax::XAttributeList > GetXAttrList() { return mxAttrList; }
+ css::uno::Reference< css::xml::sax::XAttributeList > GetXAttrList() const { return mxAttrList; }
// Get document handler. This methods are not const, because the
// reference allows modifications through the handler.