sal/qa/osl/mutex/osl_Mutex.cxx     |    6 +++++-
 sal/qa/osl/mutex/osl_Mutex_Const.h |   37 -------------------------------------
 2 files changed, 5 insertions(+), 38 deletions(-)

New commits:
commit 97b9d8813edb18f8acecbbd93cb369fd6dfb6fba
Author:     Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
AuthorDate: Thu Aug 3 18:26:43 2023 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Mon Aug 7 09:02:05 2023 +0200

    Drop unnecessary header osl_Mutex_Const.h
    
    It only contained a single define used in a single file
    
    Change-Id: If9f16ab13bb28d2923b97390f1acb013101d0a09
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155349
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmik...@collabora.com>

diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx
index 3424bca07b3c..faa3c36b156c 100644
--- a/sal/qa/osl/mutex/osl_Mutex.cxx
+++ b/sal/qa/osl/mutex/osl_Mutex.cxx
@@ -24,7 +24,11 @@
 #include <cppunit/TestFixture.h>
 #include <cppunit/extensions/HelperMacros.h>
 #include <cppunit/plugin/TestPlugIn.h>
-#include "osl_Mutex_Const.h"
+
+#include <osl/thread.hxx>
+#include <osl/mutex.hxx>
+
+#define BUFFER_SIZE 16
 
 using namespace osl;
 
diff --git a/sal/qa/osl/mutex/osl_Mutex_Const.h 
b/sal/qa/osl/mutex/osl_Mutex_Const.h
deleted file mode 100644
index a5ac53ed4564..000000000000
--- a/sal/qa/osl/mutex/osl_Mutex_Const.h
+++ /dev/null
@@ -1,37 +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 .
- */
-
-#ifndef INCLUDED_SAL_QA_OSL_MUTEX_OSL_MUTEX_CONST_H
-#define INCLUDED_SAL_QA_OSL_MUTEX_OSL_MUTEX_CONST_H
-
-#include <sal/types.h>
-#include <rtl/ustring.hxx>
-#include <osl/thread.hxx>
-#include <osl/mutex.hxx>
-#include <osl/time.h>
-
-#ifdef UNX
-#include <unistd.h>
-#endif
-
-#define BUFFER_SIZE 16
-
-#endif // INCLUDED_SAL_QA_OSL_MUTEX_OSL_MUTEX_CONST_H
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to