summaryrefslogtreecommitdiff
path: root/include/vcl/syswin.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-28 10:59:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-28 19:35:13 +0200
commitd72511eda923c827a6175bec9b8f24c237f82730 (patch)
tree2f0173ce3a9ff08b9cfccad0313db9a142f1a6ba /include/vcl/syswin.hxx
parent0bcc4b55d723f73b2fb7a86fcfebeca49905079e (diff)
gives names to all the Idles and Tasks
enforce it by making the constructor parameter non-default. Change-Id: I321543e4dcf15ea0a43ad8cce91d2f8dc22df6ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122766 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/syswin.hxx')
-rw-r--r--include/vcl/syswin.hxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx
index 7108bc2ba927..0c35073aec09 100644
--- a/include/vcl/syswin.hxx
+++ b/include/vcl/syswin.hxx
@@ -135,7 +135,7 @@ private:
protected:
// Single argument ctors shall be explicit.
- explicit SystemWindow(WindowType nType);
+ explicit SystemWindow(WindowType nType, const char* pIdleDebugName);
void loadUI(vcl::Window* pParent, const OString& rID, const OUString& rUIXMLDescription, const css::uno::Reference<css::frame::XFrame> &rFrame = css::uno::Reference<css::frame::XFrame>());
void SetWindowStateData( const WindowStateData& rData );
@@ -144,8 +144,6 @@ protected:
SAL_DLLPRIVATE void DoInitialLayout();
- SAL_DLLPRIVATE void SetIdleDebugName( const char *pDebugName );
-
public:
virtual ~SystemWindow() override;
virtual void dispose() override;
@@ -247,10 +245,4 @@ public:
VclPtr<VirtualDevice> createScreenshot();
};
-inline void SystemWindow::SetIdleDebugName( const char *pDebugName )
-{
- maLayoutIdle.SetDebugName( pDebugName );
-}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */