From 8a4ca714261ffb3fe863cb7a06b05a3cf9c40bab Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Thu, 2 May 2024 22:30:35 +0800 Subject: [PATCH] [SplitP.hpp] rename to .hpp --- libgnucash/engine/CMakeLists.txt | 2 +- libgnucash/engine/{SplitP.h => SplitP.hpp} | 4 ++-- libgnucash/engine/Transaction.cpp | 2 +- libgnucash/engine/TransactionP.hpp | 2 +- libgnucash/engine/mocks/gmock-Split.h | 2 +- libgnucash/engine/test/utest-Split.cpp | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename libgnucash/engine/{SplitP.h => SplitP.hpp} (99%) diff --git a/libgnucash/engine/CMakeLists.txt b/libgnucash/engine/CMakeLists.txt index 202d9102544..599fcc0077e 100644 --- a/libgnucash/engine/CMakeLists.txt +++ b/libgnucash/engine/CMakeLists.txt @@ -6,7 +6,7 @@ add_subdirectory(mocks) set(engine_noinst_HEADERS AccountP.hpp - SplitP.h + SplitP.hpp SX-book.h SX-ttinfo.h TransactionP.hpp diff --git a/libgnucash/engine/SplitP.h b/libgnucash/engine/SplitP.hpp similarity index 99% rename from libgnucash/engine/SplitP.h rename to libgnucash/engine/SplitP.hpp index 4192cc5dde1..d13c2ffa1bf 100644 --- a/libgnucash/engine/SplitP.h +++ b/libgnucash/engine/SplitP.hpp @@ -1,5 +1,5 @@ /********************************************************************\ - * SplitP.h -- private header for splits * + * SplitP.hpp -- private header for splits * * Copyright (C) 1997 Robin D. Clark * * Copyright (C) 1997-2000 Linas Vepstas * * Copyright (C) 2000 Bill Gribble * @@ -25,7 +25,7 @@ /* * FILE: - * SplitP.h + * SplitP.hpp * * FUNCTION: * The is the *private* split header file. Code outside of diff --git a/libgnucash/engine/Transaction.cpp b/libgnucash/engine/Transaction.cpp index 0cc0fcf4aad..dc6d5186bd8 100644 --- a/libgnucash/engine/Transaction.cpp +++ b/libgnucash/engine/Transaction.cpp @@ -46,7 +46,7 @@ #include "Scrub.h" #include "Scrub3.h" #include "TransactionP.hpp" -#include "SplitP.h" +#include "SplitP.hpp" #include "TransLog.h" #include "cap-gains.h" #include "gnc-commodity.h" diff --git a/libgnucash/engine/TransactionP.hpp b/libgnucash/engine/TransactionP.hpp index 50a2d80a878..512e5dde017 100644 --- a/libgnucash/engine/TransactionP.hpp +++ b/libgnucash/engine/TransactionP.hpp @@ -49,7 +49,7 @@ #include #include "gnc-engine.h" /* for typedefs */ -#include "SplitP.h" +#include "SplitP.hpp" #include "qof.h" diff --git a/libgnucash/engine/mocks/gmock-Split.h b/libgnucash/engine/mocks/gmock-Split.h index ce022fb2d00..0fe7eb24e41 100644 --- a/libgnucash/engine/mocks/gmock-Split.h +++ b/libgnucash/engine/mocks/gmock-Split.h @@ -4,7 +4,7 @@ #include #include -#include +#include #include "gmock-qofbook.h" #include "gmock-gobject.h" diff --git a/libgnucash/engine/test/utest-Split.cpp b/libgnucash/engine/test/utest-Split.cpp index 23d163ee597..8ec6d59399e 100644 --- a/libgnucash/engine/test/utest-Split.cpp +++ b/libgnucash/engine/test/utest-Split.cpp @@ -28,7 +28,7 @@ #include /* Add specific headers for this class */ #include -#include +#include #include #include #include