sfx2/source/dialog/splitwin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit d5c20c6899fb535fa4dd8c85285453d635970cae Author: Matteo Casalin <matteo.casa...@yahoo.com> AuthorDate: Sun Feb 10 15:57:57 2019 +0100 Commit: Matteo Casalin <matteo.casa...@yahoo.com> CommitDate: Thu Feb 14 07:38:23 2019 +0100 No need to downcast integer type here Change-Id: I99ed9bf6443c8b3c08d9ee45d171751d603c1125 Reviewed-on: https://gerrit.libreoffice.org/67633 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casa...@yahoo.com> diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx index 9a97c291aaed..c4396069e705 100644 --- a/sfx2/source/dialog/splitwin.cxx +++ b/sfx2/source/dialog/splitwin.cxx @@ -240,8 +240,8 @@ SfxSplitWindow::SfxSplitWindow( vcl::Window* pParent, SfxChildAlignment eAl, pEmptyWin->bFadeIn = true; bPinned = true; // always assume pinned - floating mode not used anymore - sal_uInt16 nCount = static_cast<sal_uInt16>(aWinData.getToken(0, ',', nIdx).toInt32()); - for ( sal_uInt16 n=0; n<nCount; n++ ) + const sal_Int32 nCount{ aWinData.getToken(0, ',', nIdx).toInt32() }; + for ( sal_Int32 n=0; n<nCount; ++n ) { std::unique_ptr<SfxDock_Impl> pDock(new SfxDock_Impl); pDock->pWin = nullptr; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits