comphelper/source/misc/lok.cxx | 4 ---- 1 file changed, 4 deletions(-)
New commits: commit d168d78e6eecd66c7c063c6c0fff78129c4eb2dc Author: Muhammet Kara <[email protected]> AuthorDate: Sat Aug 3 00:46:59 2019 +0300 Commit: Andras Timar <[email protected]> CommitDate: Tue Sep 3 21:43:56 2019 +0200 Remove work-around for isMobile() Let's remove this dangerous work-around since it is no longer needed after 6ceab5b233da675b25f42fadff9e85d404903322 (cherry picked from commit 610050fcd745694a6dee58152bfc1c4d85535165) Change-Id: Idb18d83f9eac571334fe8bfcd7f212f2f0a930a9 Reviewed-on: https://gerrit.libreoffice.org/78311 Reviewed-by: Andras Timar <[email protected]> Tested-by: Andras Timar <[email protected]> diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx index 8862568608a8..5f5fc31d4421 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -67,10 +67,6 @@ void setMobile(int nViewId, bool bMobile) bool isMobile(int nViewId) { - // No view given, so act as a global var - if (nViewId == -1) - return g_vIsViewMobile.size() > 0; - if (g_vIsViewMobile.find(nViewId) != g_vIsViewMobile.end()) return g_vIsViewMobile[nViewId]; else _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
