diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-09-17 18:35:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-09-17 22:22:24 +0200 |
commit | 590e44c802d7809a3a4cfb71a5fa9603aff39bd9 (patch) | |
tree | 7bd68a3b3077c654b4fe113034ae6cb168290f9d /embedserv | |
parent | f13c2ce1879182331b2cb57066e23b7a3fc0eb83 (diff) |
loplugin:simplifyconstruct (clang-cl)
Change-Id: I7cae6b3f31b10efc72884bce4bda7bf6b380cbc2
Reviewed-on: https://gerrit.libreoffice.org/60597
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/docholder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx index 0efc380843b9..03131f36896c 100644 --- a/embedserv/source/embed/docholder.cxx +++ b/embedserv/source/embed/docholder.cxx @@ -1205,7 +1205,7 @@ css::uno::Reference< css::awt::XWindow> SAL_CALL DocumentHolder::getContainerWin if(m_xContainerWindow.is()) return m_xContainerWindow; - uno::Reference<awt::XWindow> xWin(nullptr); + uno::Reference<awt::XWindow> xWin; uno::Reference<awt::XToolkit2> xToolkit = awt::Toolkit::create( comphelper::getComponentContext(m_xFactory) ); |