# HG changeset patch # User Sebastien Jodogne # Date 1764077499 -3600 # Node ID d7bbe6dc90ba26e8d09eac7d7b829b3ed2ebd5b7 # Parent f44c708caf2576c78adac06757c0255f8178559b cppcheck diff -r f44c708caf25 -r d7bbe6dc90ba OrthancFramework/Sources/DicomParsing/Internals/DicomFrameIndex.cpp --- a/OrthancFramework/Sources/DicomParsing/Internals/DicomFrameIndex.cpp Tue Nov 25 14:24:48 2025 +0100 +++ b/OrthancFramework/Sources/DicomParsing/Internals/DicomFrameIndex.cpp Tue Nov 25 14:31:39 2025 +0100 @@ -227,7 +227,7 @@ } } - virtual uint8_t* GetRawFrameBuffer(unsigned int index) + virtual uint8_t* GetRawFrameBuffer(unsigned int index) ORTHANC_OVERRIDE { if (index >= startFragment_.size()) { @@ -300,11 +300,10 @@ } } - virtual uint8_t* GetRawFrameBuffer(unsigned int index) + virtual uint8_t* GetRawFrameBuffer(unsigned int index) ORTHANC_OVERRIDE { return pixelData_ + index * frameSize_; } - }; @@ -337,11 +336,10 @@ } } - virtual uint8_t* GetRawFrameBuffer(unsigned int index) + virtual uint8_t* GetRawFrameBuffer(unsigned int index) ORTHANC_OVERRIDE { throw OrthancException(ErrorCode_NotImplemented); } - }; diff -r f44c708caf25 -r d7bbe6dc90ba OrthancFramework/Sources/Enumerations.h --- a/OrthancFramework/Sources/Enumerations.h Tue Nov 25 14:24:48 2025 +0100 +++ b/OrthancFramework/Sources/Enumerations.h Tue Nov 25 14:31:39 2025 +0100 @@ -973,12 +973,6 @@ DicomTransferSyntax GetTransferSyntax(const std::string& uid); ORTHANC_PUBLIC - bool IsRawTransferSyntax(DicomTransferSyntax syntax); - - ORTHANC_PUBLIC - bool IsLossyTransferSyntax(DicomTransferSyntax syntax); - - ORTHANC_PUBLIC const char* GetResourceTypeText(ResourceType type, bool isPlural, bool isUpperCase); diff -r f44c708caf25 -r d7bbe6dc90ba OrthancServer/Resources/RunCppCheck-2.17.1.sh --- a/OrthancServer/Resources/RunCppCheck-2.17.1.sh Tue Nov 25 14:24:48 2025 +0100 +++ b/OrthancServer/Resources/RunCppCheck-2.17.1.sh Tue Nov 25 14:31:39 2025 +0100 @@ -17,7 +17,7 @@ constParameterCallback:../../OrthancFramework/Sources/DicomNetworking/Internals/StoreScp.cpp:112 constParameterCallback:../../OrthancFramework/Sources/DicomNetworking/Internals/StoreScp.cpp:113 constParameterCallback:../../OrthancFramework/Sources/Pkcs11.cpp:125 -constParameterCallback:../../OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp:3489 +constParameterCallback:../../OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.cpp:3493 constParameterCallback:../../OrthancServer/Sources/OrthancGetRequestHandler.cpp:47 constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:447 constParameterPointer:../../OrthancFramework/Sources/Logging.cpp:451 @@ -39,7 +39,7 @@ knownConditionTrueFalse:../../OrthancServer/Plugins/Engine/OrthancPlugins.cpp:2298 knownConditionTrueFalse:../../OrthancServer/Plugins/Engine/OrthancPlugins.cpp:2299 knownConditionTrueFalse:../../OrthancServer/Plugins/Engine/OrthancPlugins.cpp:2300 -nullPointer:../../OrthancFramework/UnitTestsSources/RestApiTests.cpp:322 +nullPointer:../../OrthancFramework/UnitTestsSources/RestApiTests.cpp:321 stlFindInsert:../../OrthancFramework/Sources/RestApi/RestApiCallDocumentation.cpp:166 stlFindInsert:../../OrthancFramework/Sources/RestApi/RestApiCallDocumentation.cpp:74 syntaxError:../../OrthancFramework/Sources/SQLite/FunctionContext.h:53