loplugin:external (clang-cl)
Change-Id: Iab2231e90e55c7e583a2fafd08469ee01b02ce82 Reviewed-on: https://gerrit.libreoffice.org/83767 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
fc2d2e0d83
commit
0675ee723d
5 changed files with 24 additions and 0 deletions
|
@ -959,6 +959,8 @@ oslFileError SAL_CALL osl_closeDirectory(oslDirectory Directory)
|
|||
return eError;
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
/* Different types of paths */
|
||||
enum PATHTYPE
|
||||
{
|
||||
|
@ -969,6 +971,8 @@ enum PATHTYPE
|
|||
PATHTYPE_FILE
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
oslFileError SAL_CALL osl_getDirectoryItem(rtl_uString *strFilePath, oslDirectoryItem *pItem)
|
||||
{
|
||||
oslFileError error = osl_File_E_None;
|
||||
|
|
|
@ -74,11 +74,15 @@ static void copy_ustr_n( void *dest, const void *source, size_t length ) { memcp
|
|||
|
||||
typedef FILETIME osl_TStamp;
|
||||
|
||||
namespace {
|
||||
|
||||
enum osl_TLockMode
|
||||
{
|
||||
un_lock, read_lock, write_lock
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
struct osl_TFile
|
||||
{
|
||||
HANDLE m_Handle;
|
||||
|
|
|
@ -27,12 +27,16 @@
|
|||
#include <o3tl/sorted_vector.hxx>
|
||||
#include <o3tl/char16_t2wchar_t.hxx>
|
||||
|
||||
namespace {
|
||||
|
||||
enum DdeItemType
|
||||
{
|
||||
DDEITEM,
|
||||
DDEGETPUTITEM
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
struct DdeItemImpData
|
||||
{
|
||||
HCONV nHCnv;
|
||||
|
|
|
@ -3658,12 +3658,16 @@ bool ImplHandleSalObjSysCharMsg( HWND hWnd, WPARAM wParam, LPARAM lParam )
|
|||
return nRet;
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
enum class DeferPolicy
|
||||
{
|
||||
Blocked,
|
||||
Allowed
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
// Remember to release the solar mutex on success!
|
||||
static WinSalFrame* ProcessOrDeferMessage( HWND hWnd, INT nMsg, WPARAM pWParam = 0,
|
||||
DeferPolicy eCanDefer = DeferPolicy::Allowed )
|
||||
|
@ -3704,12 +3708,16 @@ static WinSalFrame* ProcessOrDeferMessage( HWND hWnd, INT nMsg, WPARAM pWParam =
|
|||
return pFrame;
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
enum class PostedState
|
||||
{
|
||||
IsPosted,
|
||||
IsInitial
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
static bool ImplHandlePostPaintMsg( HWND hWnd, RECT* pRect,
|
||||
PostedState eProcessed = PostedState::IsPosted )
|
||||
{
|
||||
|
|
|
@ -72,6 +72,8 @@ using namespace com::sun::star::uno;
|
|||
using namespace com::sun::star::accessibility;
|
||||
using namespace com::sun::star::accessibility::AccessibleStateType;
|
||||
|
||||
namespace {
|
||||
|
||||
enum XInterfaceIndex {
|
||||
XI_COMPONENT = 0x01,
|
||||
XI_TEXT = 0x02,
|
||||
|
@ -89,6 +91,8 @@ enum XInterfaceIndex {
|
|||
XI_NULL = -1
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
// IA2 states mapping, and name
|
||||
// maintenance the consistency, change one array, change the three all
|
||||
long const IA2_STATES[] =
|
||||
|
|
Loading…
Reference in a new issue