Drop ImplDbgCheckWindow method

Last use of this was removed in 2013 with
commit c0125d64cb

"VCL : Remove usage of DBG_CTOR and DBG_DTOR."

Change-Id: Ibb2f02a1ede6eee2bcc76da22b429e600e347c8e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196530
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen@collabora.com>
This commit is contained in:
Gabor Kelemen
2026-01-06 10:02:55 +01:00
parent 4a9c718382
commit 8ada5793ce
4 changed files with 0 additions and 59 deletions
@@ -1344,8 +1344,6 @@ include/vcl/weldutils.hxx:350
void weld::DateFormatter::CursorChangedHdl(weld::Entry &)
include/vcl/weldutils.hxx:350
void weld::DateFormatter::LinkStubCursorChangedHdl(void *,weld::Entry &)
include/vcl/window.hxx:366
const char * ImplDbgCheckWindow(const void *)
include/vcl/windowstate.hxx:123
std::basic_ostream<char> & vcl::operator<<(std::basic_ostream<char> &,const vcl::WindowData &)
include/xmloff/txtimp.hxx:113
-8
View File
@@ -366,10 +366,6 @@ enum class GetDlgWindowType
};
#ifdef DBG_UTIL
const char* ImplDbgCheckWindow( const void* pObj );
#endif
namespace vcl { class Window; }
namespace vcl { class Cursor; }
namespace vcl { class WindowOutputDevice; }
@@ -477,10 +473,6 @@ private:
std::unique_ptr<WindowImpl> mpWindowImpl;
#ifdef DBG_UTIL
friend const char* ::ImplDbgCheckWindow( const void* pObj );
#endif
public:
DECL_DLLPRIVATE_LINK( ImplHandlePaintHdl, Timer*, void );
-1
View File
@@ -173,7 +173,6 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/source/window/legacyaccessibility \
vcl/source/window/clipping \
vcl/source/window/stacking \
vcl/source/window/debug \
vcl/source/window/globalization \
vcl/source/window/builder \
vcl/source/window/commandevent \
-48
View File
@@ -1,48 +0,0 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <vcl/window.hxx>
#include <tools/debug.hxx>
#include <window.h>
#ifdef DBG_UTIL
const char* ImplDbgCheckWindow(const void* pObj)
{
DBG_TESTSOLARMUTEX();
const vcl::Window* pWindow = static_cast<vcl::Window const*>(pObj);
if ((pWindow->GetType() < WindowType::FIRST) || (pWindow->GetType() > WindowType::LAST))
return "Window data overwrite";
// check window-chain
vcl::Window* pChild = pWindow->mpWindowImpl->mpFirstChild;
while (pChild)
{
if (pChild->mpWindowImpl->mpParent != pWindow)
return "Child-Window-Parent wrong";
pChild = pChild->mpWindowImpl->mpNext;
}
return nullptr;
}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */