summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-11-07 10:37:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-11-07 13:08:51 +0100
commitf9b10e54d139388df44e63501be5f209f8f3302f (patch)
tree2cdc80aec45451b8eff0d90d201b9c3cb9db2057
parent47708d533e1325032df55eb667ef0c47fa05e7e5 (diff)
rename FloatingWindow::ImplInit so no need for using directive
Change-Id: I55babcf716292fa9fac3e9cb4ba66a2038a1d80b Reviewed-on: https://gerrit.libreoffice.org/82203 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--include/vcl/floatwin.hxx3
-rw-r--r--vcl/source/window/floatwin.cxx12
2 files changed, 7 insertions, 8 deletions
diff --git a/include/vcl/floatwin.hxx b/include/vcl/floatwin.hxx
index 75dd4c1fec10..52d09597b59c 100644
--- a/include/vcl/floatwin.hxx
+++ b/include/vcl/floatwin.hxx
@@ -100,8 +100,7 @@ private:
FloatingWindow & operator= (const FloatingWindow &) = delete;
protected:
- using Window::ImplInit;
- SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle );
+ SAL_DLLPRIVATE void ImplInitFloating( vcl::Window* pParent, WinBits nStyle );
SAL_DLLPRIVATE void ImplInitSettings();
virtual void ApplySettings(vcl::RenderContext& rRenderContext) override;
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index 198ac87de9d8..baa3a46bc978 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -54,7 +54,7 @@ tools::Rectangle& FloatingWindow::ImplGetItemEdgeClipRect()
return mpImplData->maItemEdgeClipRect;
}
-void FloatingWindow::ImplInit( vcl::Window* pParent, WinBits nStyle )
+void FloatingWindow::ImplInitFloating( vcl::Window* pParent, WinBits nStyle )
{
mpImplData.reset(new ImplData);
@@ -74,7 +74,7 @@ void FloatingWindow::ImplInit( vcl::Window* pParent, WinBits nStyle )
{
mpWindowImpl->mbOverlapWin = true;
nStyle |= WB_DIALOGCONTROL;
- SystemWindow::ImplInit(pParent, nStyle, nullptr);
+ ImplInit(pParent, nStyle, nullptr);
}
else
{
@@ -89,7 +89,7 @@ void FloatingWindow::ImplInit( vcl::Window* pParent, WinBits nStyle )
// nFloatWinStyle |= WB_CLOSEABLE;
mpWindowImpl->mbFrame = true;
mpWindowImpl->mbOverlapWin = true;
- SystemWindow::ImplInit(pParent, nFloatWinStyle & ~WB_BORDER, nullptr);
+ ImplInit(pParent, nFloatWinStyle & ~WB_BORDER, nullptr);
}
else
{
@@ -107,7 +107,7 @@ void FloatingWindow::ImplInit( vcl::Window* pParent, WinBits nStyle )
nStyle |= WB_CLOSEABLE; // make undecorated floaters closeable
}
pBorderWin = VclPtr<ImplBorderWindow>::Create(pParent, nStyle, nBorderStyle);
- SystemWindow::ImplInit(pBorderWin, nStyle & ~WB_BORDER, nullptr);
+ ImplInit(pBorderWin, nStyle & ~WB_BORDER, nullptr);
pBorderWin->mpWindowImpl->mpClientWindow = this;
pBorderWin->GetBorder(mpWindowImpl->mnLeftBorder, mpWindowImpl->mnTopBorder,
mpWindowImpl->mnRightBorder, mpWindowImpl->mnBottomBorder);
@@ -150,7 +150,7 @@ void FloatingWindow::ImplInitSettings()
FloatingWindow::FloatingWindow(vcl::Window* pParent, WinBits nStyle) :
SystemWindow(WindowType::FLOATINGWINDOW)
{
- ImplInit(pParent, nStyle);
+ ImplInitFloating(pParent, nStyle);
}
FloatingWindow::FloatingWindow(vcl::Window* pParent, const OString& rID, const OUString& rUIXMLDescription, const css::uno::Reference<css::frame::XFrame> &rFrame)
@@ -177,7 +177,7 @@ void FloatingWindow::doDeferredInit(WinBits nBits)
{
vcl::Window *pParent = mpDialogParent;
mpDialogParent = nullptr;
- ImplInit(pParent, nBits);
+ ImplInitFloating(pParent, nBits);
mbIsDeferredInit = false;
}