summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/LokControlHandler.hxx13
-rw-r--r--include/sfx2/childwin.hxx2
-rw-r--r--include/sfx2/devtools/ObjectInspectorWidgets.hxx2
-rw-r--r--include/sfx2/sidebar/SidebarController.hxx2
4 files changed, 10 insertions, 9 deletions
diff --git a/include/sfx2/LokControlHandler.hxx b/include/sfx2/LokControlHandler.hxx
index 5a6d87529fb4..b32be1b70593 100644
--- a/include/sfx2/LokControlHandler.hxx
+++ b/include/sfx2/LokControlHandler.hxx
@@ -23,8 +23,9 @@
class LokControlHandler
{
public:
- static bool postMouseEvent(SdrPage* pPage, SdrView* pDrawView, vcl::Window const& rMainWindow,
- int nType, Point aPointHmm, int nCount, int nButtons, int nModifier)
+ static bool postMouseEvent(const SdrPage* pPage, const SdrView* pDrawView,
+ vcl::Window const& rMainWindow, int nType, Point aPointHmm,
+ int nCount, int nButtons, int nModifier)
{
SdrObjListIter aIterator(pPage, SdrIterMode::Flat);
while (aIterator.IsMore())
@@ -68,7 +69,7 @@ public:
return false;
}
- static void drawUnoControl(SdrView* pDrawView, SdrUnoObj* pUnoObect,
+ static void drawUnoControl(const SdrView* pDrawView, const SdrUnoObj* pUnoObect,
vcl::Window const& rMainWindow, VirtualDevice& rDevice,
tools::Rectangle const& rTileRectHMM, double scaleX, double scaleY)
{
@@ -104,9 +105,9 @@ public:
xControlView->draw(aRectanglePx.Left() * scaleX, aRectanglePx.Top() * scaleY);
}
- static void paintControlTile(SdrPage* pPage, SdrView* pDrawView, vcl::Window const& rMainWindow,
- VirtualDevice& rDevice, Size aOutputSize,
- tools::Rectangle const& rTileRect)
+ static void paintControlTile(const SdrPage* pPage, const SdrView* pDrawView,
+ vcl::Window const& rMainWindow, VirtualDevice& rDevice,
+ Size aOutputSize, tools::Rectangle const& rTileRect)
{
tools::Rectangle aTileRectHMM
= o3tl::convert(rTileRect, o3tl::Length::twip, o3tl::Length::mm100);
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx
index 3788c006cf36..e21832b575c4 100644
--- a/include/sfx2/childwin.hxx
+++ b/include/sfx2/childwin.hxx
@@ -94,7 +94,7 @@ struct SFX2_DLLPUBLIC SfxChildWinFactory
struct SfxChildWindow_Impl;
-extern SFX2_DLLPUBLIC bool ParentIsFloatingWindow(vcl::Window *pParent);
+extern SFX2_DLLPUBLIC bool ParentIsFloatingWindow(const vcl::Window *pParent);
class SFX2_DLLPUBLIC SfxChildWindow
{
diff --git a/include/sfx2/devtools/ObjectInspectorWidgets.hxx b/include/sfx2/devtools/ObjectInspectorWidgets.hxx
index 6481d786a222..9c719d2aabef 100644
--- a/include/sfx2/devtools/ObjectInspectorWidgets.hxx
+++ b/include/sfx2/devtools/ObjectInspectorWidgets.hxx
@@ -14,7 +14,7 @@
struct ObjectInspectorWidgets
{
- ObjectInspectorWidgets(std::unique_ptr<weld::Builder>& rxBuilder)
+ ObjectInspectorWidgets(const std::unique_ptr<weld::Builder>& rxBuilder)
: mpClassNameLabel(rxBuilder->weld_label("class_name_value_id"))
, mpInterfacesTreeView(rxBuilder->weld_tree_view("interfaces_treeview_id"))
, mpServicesTreeView(rxBuilder->weld_tree_view("services_treeview_id"))
diff --git a/include/sfx2/sidebar/SidebarController.hxx b/include/sfx2/sidebar/SidebarController.hxx
index 3df8d8fb2e45..f65d260402ea 100644
--- a/include/sfx2/sidebar/SidebarController.hxx
+++ b/include/sfx2/sidebar/SidebarController.hxx
@@ -175,7 +175,7 @@ public:
bool hasChartContextCurrently() const;
- static SidebarController* GetSidebarControllerForView(SfxViewShell* pViewShell);
+ static SidebarController* GetSidebarControllerForView(const SfxViewShell* pViewShell);
private:
SidebarController(SidebarDockingWindow* pParentWindow, const SfxViewFrame* pViewFrame);