diff options
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/appuno.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/control/templatedlglocalview.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/templatesearchview.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/devtools/ObjectInspectorTreeHandler.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/templatedlg.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/templatesearchview.hxx | 4 | ||||
-rw-r--r-- | sfx2/source/sidebar/DeckTitleBar.cxx | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/sfx2/source/appl/appuno.cxx b/sfx2/source/appl/appuno.cxx index c02f164de836..f16c825d4886 100644 --- a/sfx2/source/appl/appuno.cxx +++ b/sfx2/source/appl/appuno.cxx @@ -1791,7 +1791,7 @@ bool RequestPackageReparation::isApproved() const return mxImpl->isApproved(); } -css::uno::Reference < task::XInteractionRequest > RequestPackageReparation::GetRequest() +css::uno::Reference < task::XInteractionRequest > RequestPackageReparation::GetRequest() const { return mxImpl; } @@ -1836,7 +1836,7 @@ NotifyBrokenPackage::~NotifyBrokenPackage() { } -css::uno::Reference < task::XInteractionRequest > NotifyBrokenPackage::GetRequest() +css::uno::Reference < task::XInteractionRequest > NotifyBrokenPackage::GetRequest() const { return mxImpl; } diff --git a/sfx2/source/control/templatedlglocalview.cxx b/sfx2/source/control/templatedlglocalview.cxx index d4a8f949ed4d..f916e57c8d7d 100644 --- a/sfx2/source/control/templatedlglocalview.cxx +++ b/sfx2/source/control/templatedlglocalview.cxx @@ -226,7 +226,7 @@ void TemplateDlgLocalView::Hide() ListView::HideListView(); } -bool TemplateDlgLocalView::IsVisible() +bool TemplateDlgLocalView::IsVisible() const { return ThumbnailView::IsVisible() || ListView::IsListViewVisible(); } diff --git a/sfx2/source/control/templatesearchview.cxx b/sfx2/source/control/templatesearchview.cxx index 941b54c4d80f..009dbb9f4c15 100644 --- a/sfx2/source/control/templatesearchview.cxx +++ b/sfx2/source/control/templatesearchview.cxx @@ -279,7 +279,7 @@ void TemplateSearchView::Hide() ListView::HideListView(); } -bool TemplateSearchView::IsVisible() +bool TemplateSearchView::IsVisible() const { return ThumbnailView::IsVisible() || ListView::IsListViewVisible(); } diff --git a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx index 292b25548aef..62fb08229798 100644 --- a/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx +++ b/sfx2/source/devtools/ObjectInspectorTreeHandler.cxx @@ -549,7 +549,7 @@ public: { } - uno::Any getAny() { return maAny; } + const uno::Any& getAny() const { return maAny; } bool shouldShowExpander() override { diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 707fcd07b936..14e7db818f1e 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -328,7 +328,7 @@ void SfxTemplateManagerDlg::setTemplateViewMode(TemplateViewMode eViewMode) } } -TemplateViewMode SfxTemplateManagerDlg::getTemplateViewMode() +TemplateViewMode SfxTemplateManagerDlg::getTemplateViewMode() const { return mViewMode; } diff --git a/sfx2/source/inc/templatesearchview.hxx b/sfx2/source/inc/templatesearchview.hxx index e564e03a4a08..c18e5af2797d 100644 --- a/sfx2/source/inc/templatesearchview.hxx +++ b/sfx2/source/inc/templatesearchview.hxx @@ -51,7 +51,7 @@ public: void Clear() override; - bool IsVisible(); + bool IsVisible() const; void syncCursor(); @@ -96,4 +96,4 @@ private: #endif // INCLUDED_SFX2_SOURCE_INC_TEMPLATESEARCHVIEW_HXX -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/sidebar/DeckTitleBar.cxx b/sfx2/source/sidebar/DeckTitleBar.cxx index 9a7e34870045..6700014e82a4 100644 --- a/sfx2/source/sidebar/DeckTitleBar.cxx +++ b/sfx2/source/sidebar/DeckTitleBar.cxx @@ -78,7 +78,7 @@ DeckTitleBar::~DeckTitleBar() { } -tools::Rectangle DeckTitleBar::GetDragArea() +tools::Rectangle DeckTitleBar::GetDragArea() const { int x, y, width, height; if (mxGripWidget->GetDrawingArea()->get_extents_relative_to(*mxTitlebar, x, y, width, height)) |