Rename .cpp examples to .cxx

The files are renamed, and the associated lines in Makefiles and
elsewhere are also changed.

Change-Id: Ieec38055690e03afd8982320ee0836904a3f41eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156670
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
This commit is contained in:
Hossein 2023-09-07 17:16:24 +02:00
parent debd9a749c
commit 65325f9c2f
7 changed files with 16 additions and 16 deletions

View file

@ -366,17 +366,17 @@ $(eval $(call gb_Package_add_files_with_dir,odk_examples,$(SDKDIRNAME)/examples,
DevelopersGuide/UCB/data/data.txt \
OLE/activex/Makefile \
OLE/activex/README.txt \
OLE/activex/SOActiveX.cpp \
OLE/activex/SOActiveX.cxx \
OLE/activex/SOActiveX.h \
OLE/activex/SOActiveX.rgs \
OLE/activex/SOComWindowPeer.cpp \
OLE/activex/SOComWindowPeer.cxx \
OLE/activex/SOComWindowPeer.h \
OLE/activex/SOComWindowPeer.rgs \
OLE/activex/StdAfx2.cpp \
OLE/activex/StdAfx2.cxx \
OLE/activex/StdAfx2.h \
OLE/activex/example.html \
OLE/activex/resource.h \
OLE/activex/so_activex.cpp \
OLE/activex/so_activex.cxx \
OLE/activex/so_activex.def \
OLE/activex/so_activex.idl \
OLE/activex/so_activex.rc \

View file

@ -50,12 +50,12 @@ OUT_COMP_SLO=$(OUT_SLO)/$(COMPONENT_NAME)
MIDLFILES = so_activex.idl
CXXFILES = SOActiveX.cpp \
SOComWindowPeer.cpp \
so_activex.cpp \
StdAfx2.cpp
CXXFILES = SOActiveX.cxx \
SOComWindowPeer.cxx \
so_activex.cxx \
StdAfx2.cxx
SLOFILES = $(patsubst %.cpp,$(OUT_COMP_SLO)/%.$(OBJ_EXT),$(CXXFILES))
SLOFILES = $(patsubst %.cxx,$(OUT_COMP_SLO)/%.$(OBJ_EXT),$(CXXFILES))
# Targets
.PHONY: ALL
@ -76,7 +76,7 @@ $(OUT_COMP_GEN)/so_activex.res : so_activex.rc $(OUT_COMP_INC)/so_activex.h
-$(MKDIR) $(subst /,$(PS),$(@D))
rc $(CC_INCLUDES) /R /FO$@ so_activex.rc
$(OUT_COMP_SLO)/%.$(OBJ_EXT) : %.cpp
$(OUT_COMP_SLO)/%.$(OBJ_EXT) : %.cxx
-$(MKDIR) $(subst /,$(PS),$(@D))
$(CC) $(CC_FLAGS) $(CC_INCLUDES) -I$(OUT_COMP_INC) $(CC_DEFINES) $(CC_OUTPUT_SWITCH)$(subst /,$(PS),$@) $<

View file

@ -33,7 +33,7 @@
*
*************************************************************************/
// SOActiveX.cpp : Implementation of CSOActiveX
// SOActiveX.cxx : Implementation of CSOActiveX
#include "stdafx2.h"
#include "so_activex.h"

View file

@ -33,7 +33,7 @@
*
*************************************************************************/
// stdafx1.cpp : source file that includes just the standard includes
// stdafx1.cxx : source file that includes just the standard includes
// stdafx1.pch will be the pre-compiled header
// stdafx1.obj will contain the pre-compiled type information
@ -41,9 +41,9 @@
#ifdef _ATL_STATIC_REGISTRY
#include <statreg.h>
#include <statreg.cpp>
#include <statreg.cxx>
#endif
#include <atlimpl.cpp>
#include <atlimpl.cxx>
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -33,7 +33,7 @@
*
*************************************************************************/
// so_activex.cpp : Implementation of DLL Exports.
// so_activex.cxx : Implementation of DLL Exports.
// Note: Proxy/Stub Information
// To build a separate proxy/stub DLL,

View file

@ -6871,7 +6871,7 @@ odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilterDetection/
odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/FlatXmlFilter_cpp/FlatXml.cxx
odk/examples/DevelopersGuide/ProfUNO/CppBinding/office_connect.cxx
odk/examples/DevelopersGuide/ProfUNO/SimpleBootstrap_cpp/SimpleBootstrap_cpp.cxx
odk/examples/OLE/activex/SOActiveX.cpp
odk/examples/OLE/activex/SOActiveX.cxx
odk/examples/OLE/activex/SOActiveX.h
odk/examples/OLE/activex/SOComWindowPeer.h
odk/examples/OLE/activex/resource.h