Group |
Location |
Level |
Code |
Message |
General Analysis |
textwindowaccessibility.cxx:210 |
High |
V503 |
This is a nonsensical comparison: pointer >= 0. |
General Analysis |
textwindowaccessibility.cxx:209 |
High |
V503 |
This is a nonsensical comparison: pointer >= 0. |
General Analysis |
textwindowaccessibility.cxx:1383 |
High |
V503 |
This is a nonsensical comparison: pointer >= 0. |
General Analysis |
textwindowaccessibility.cxx:1385 |
High |
V503 |
This is a nonsensical comparison: pointer >= 0. |
General Analysis |
dlgedobj.cxx:1311 |
High |
V547 |
Expression 'nNewValue < 1' is always true. |
General Analysis |
dlgedobj.cxx:582 |
High |
V547 |
Expression 'nNewTabIndex < 0' is always false. |
General Analysis |
dlgedobj.cxx:1306 |
High |
V547 |
Expression 'nNewValue < 1' is always true. |
General Analysis |
sbunoobj.cxx:2246 |
High |
V595 |
The 'pParams' pointer was utilized before it was verified against nullptr. Check lines: 2246, 2258. |
General Analysis |
symtbl.cxx:444 |
High |
V530 |
The return value of function 'release' is required to be utilized. |
General Analysis |
dllmgr-x86.cxx:545 |
High |
V724 |
Converting type 'int' to type 'sal_Bool' can lead to a loss of high-order bits. Non-zero value can become 'FALSE'. |
General Analysis |
methods1.cxx:1169 |
High |
V1028 |
Possible overflow. Consider casting arguments of the operator to the type instead of casting its result. |
General Analysis |
runtime.cxx:4491 |
High |
V595 |
The 'pProp' pointer was utilized before it was verified against nullptr. Check lines: 4491, 4497. |
General Analysis |
sbxbase.cxx:130 |
High |
V530 |
The return value of function 'release' is required to be utilized. |
General Analysis |
sbxvalue.cxx:167 |
High |
V547 |
Expression 'aData.eType == SbxDECIMAL' is always true. |
General Analysis |
dx_canvashelper.cxx:627 |
High |
V758 |
The 'rARGBColor' reference becomes invalid when temporary object returned by a function is destroyed. |
General Analysis |
dx_surfacebitmap.cxx:48 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maLockedRect. |
General Analysis |
dx_surfacebitmap.cxx:112 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aBmpData. |
General Analysis |
dx_vcltools.cxx:158 |
High |
V554 |
Incorrect use of shared_ptr. The memory allocated with 'new []' will be cleaned using 'delete'. |
General Analysis |
chart2export.cxx:300 |
High |
V614 |
Uninitialized variable 'nErrorBarStyle' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2export.cxx:1791 |
High |
V614 |
Uninitialized variable 'nCharUnderline' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2export.cxx:1839 |
High |
V614 |
Uninitialized variable 'nFontSize' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2export.cxx:1840 |
High |
V614 |
Uninitialized variable 'nFontColor' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2export.cxx:1745 |
High |
V614 |
Uninitialized variable 'nFontColor' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2export.cxx:1744 |
High |
V614 |
Uninitialized variable 'nFontSize' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:806 |
High |
V614 |
Uninitialized variable 'lineColor' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:1375 |
High |
V614 |
Uninitialized variable 'nFontColor' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:558 |
High |
V614 |
Uninitialized variable 'nNumberFormat' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:281 |
High |
V614 |
Uninitialized variable 'nErrorBarStyle' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:1419 |
High |
V614 |
Uninitialized variable 'nCharUnderline' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:232 |
High |
V614 |
Uninitialized variable 'nErrorBarStyle' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:1464 |
High |
V614 |
Uninitialized variable 'nFontSize' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:1465 |
High |
V614 |
Uninitialized variable 'nFontColor' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:248 |
High |
V614 |
Uninitialized variable 'bVal' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:1374 |
High |
V614 |
Uninitialized variable 'nFontSize' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
chart2import.cxx:956 |
High |
V614 |
Uninitialized variable 'nNumberFormat' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
charttest.hxx:425 |
High |
V614 |
Uninitialized variable 'fVal' used. Consider checking the first actual argument of the 'push_back' function. |
General Analysis |
charttypedialogcontroller.cxx:1191 |
High |
V547 |
Expression 'nNumLines < 0' is always false. |
General Analysis |
tp_3d_scenegeometry.cxx:111 |
High |
V547 |
Expression is always true. |
General Analysis |
diagramhelper.cxx:292 |
High |
V1008 |
Consider inspecting the 'for' operator. No more than one iteration of the loop will be performed. |
General Analysis |
threedhelper.cxx:1211 |
High |
V614 |
Uninitialized variable 'aOldShadeMode' used. |
General Analysis |
threedhelper.cxx:1281 |
High |
V547 |
Expression 'aShadeMode == drawing::ShadeMode_FLAT' is always false. |
General Analysis |
threedhelper.cxx:1361 |
High |
V614 |
Uninitialized variable 'aCurrentLineStyle' used. |
General Analysis |
vpolargrid.cxx:165 |
High |
V758 |
The 'rAngleScale' reference becomes invalid when temporary object returned by a function is destroyed. |
General Analysis |
vpolargrid.cxx:164 |
High |
V758 |
The 'rRadiusScale' reference becomes invalid when temporary object returned by a function is destroyed. |
General Analysis |
barchart.cxx:310 |
High |
V547 |
Expression 'nPercentDiagonal < 5' is always true. |
General Analysis |
piechart.cxx:597 |
High |
V614 |
Uninitialized variable 'aParam.mfLogicYSum' used. |
General Analysis |
vseriesplotter.cxx:2276 |
High |
V547 |
Expression 'aLineStyle != drawing::LineStyle_NONE' is always false. |
General Analysis |
vseriesplotter.cxx:2278 |
High |
V547 |
Expression 'aLineStyle == drawing::LineStyle_DASH' is always false. |
General Analysis |
climaker_emit.cxx:282 |
High |
V614 |
Potentially uninitialized pointer 'ret_type' used. |
General Analysis |
global.cxx:138 |
High |
V654 |
The condition 'nIndex != - 1' of loop is always true. |
General Analysis |
memorystream.cxx:193 |
High |
V1028 |
Possible overflow. Consider casting arguments of the operator to the type instead of casting its result. |
General Analysis |
tkeys.cxx:284 |
High |
V547 |
Expression 'KeyType::PRIMARY == nKeyType' is always true. |
General Analysis |
mqueryhelper.cxx:320 |
High |
V547 |
Expression 'condition == MQueryExpression::AND' is always true. |
General Analysis |
mresultset.cxx:1307 |
High |
V654 |
The condition of loop is always false. |
General Analysis |
mysqlc_connection.cxx:65 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_settings. |
General Analysis |
mysqlc_databasemetadata.cxx:781 |
High |
V517 |
The use of 'if (A) {...} else if (A) {...}' pattern was detected. There is a probability of logical error presence. Check lines: 781, 783. |
General Analysis |
oconnection.cxx:364 |
High |
V542 |
Consider inspecting an odd type cast: 'unsigned char' to 'void *'. |
General Analysis |
oresultset.cxx:1385 |
High |
V547 |
Expression '_par0 > 0' is always true. |
General Analysis |
affinebridge.cxx:272 |
High |
V547 |
Expression 'm_outerThreadId == 0' is always true. |
General Analysis |
threadident.cxx:42 |
High |
V522 |
Dereferencing of the null pointer 'ppThreadId' might take place. The null pointer is passed into 'createLocalId' function. Inspect the first argument. Check lines: 42, 104. |
General Analysis |
weak.cxx:204 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_pReserved. |
General Analysis |
cfg.cxx:3169 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: '0 == aSize.Width'. |
General Analysis |
cfg.cxx:3169 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: '0 == aSize.Height'. |
General Analysis |
cfg.cxx:3383 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: '0 == aSize.Width'. |
General Analysis |
cfg.cxx:3383 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: '0 == aSize.Height'. |
General Analysis |
iconcdlg.cxx:475 |
High |
V654 |
The condition 'i < nCount' of loop is always false. |
General Analysis |
iconcdlg.cxx:475 |
High |
V621 |
Consider inspecting the 'for' operator. It's possible that the loop will be executed incorrectly or won't be executed at all. |
General Analysis |
iconcdlg.cxx:479 |
High |
V547 |
Expression 'aUS.size() > 1' is always false. |
General Analysis |
optupdt.cxx:123 |
High |
V547 |
Expression 'lastChecked == 0' is always true. |
General Analysis |
optupdt.cxx:295 |
High |
V547 |
Expression 'nValue == 604800' is always false. |
General Analysis |
optupdt.cxx:293 |
High |
V547 |
Expression 'nValue == 86400' is always false. |
General Analysis |
documentdefinition.cxx:862 |
High |
V1007 |
The value from the uninitialized optional 'aDocumentMacroMode' is used. Probably it is a mistake. |
General Analysis |
documentdefinition.cxx:799 |
High |
V1007 |
The value from the uninitialized optional 'aDocumentMacroMode' is used. Probably it is a mistake. |
General Analysis |
databasedataprovider.cxx:169 |
High |
V547 |
Expression is always false. |
General Analysis |
sdbcoretools.cxx:129 |
High |
V547 |
Expression '(nMode & ElementModes::WRITE) != 0' is always false. |
General Analysis |
hsqlimport.cxx:309 |
High |
V614 |
The 'pException' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. |
General Analysis |
appcontroller.cxx:1064 |
High |
V614 |
Uninitialized variable 'nTmp' used. |
General Analysis |
adodatalinks.cxx:114 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
asyncmodaldialog.cxx:83 |
High |
V773 |
Visibility scope of the 'pExecutor' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
querydesignview.cxx:714 |
High |
V595 |
The '_pView' pointer was utilized before it was verified against nullptr. Check lines: 714, 738. |
General Analysis |
relationcontroller.cxx:510 |
High |
V773 |
Visibility scope of the 'pThread' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
cmdlineargs.cxx:412 |
High |
V501 |
There are identical sub-expressions '!supplier.next(& aArg)' to the left and to the right of the '||' operator. |
General Analysis |
cmdlinehelp.cxx:224 |
High |
V530 |
The return value of function 'freopen' is required to be utilized. |
General Analysis |
cmdlinehelp.cxx:225 |
High |
V530 |
The return value of function 'freopen' is required to be utilized. |
General Analysis |
cmdlinehelp.cxx:223 |
High |
V530 |
The return value of function 'freopen' is required to be utilized. |
General Analysis |
init.cxx:2673 |
High |
V595 |
The 'gImpl' pointer was utilized before it was verified against nullptr. Check lines: 2673, 2683. |
General Analysis |
init.cxx:2945 |
High |
V614 |
Uninitialized variable 'bIsPhysical' used. |
General Analysis |
sdrlightingattribute3d.cxx:135 |
High |
V758 |
The 'rLight' reference becomes invalid when temporary object returned by a function is destroyed. |
General Analysis |
source.cxx:51 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_threadIdWindow, m_sourceActions. |
General Analysis |
accessibleeditabletextpara.cxx:1237 |
High |
V593 |
Consider reviewing the expression of the 'A = B == C' kind. The expression is calculated as following: 'A = (B == C)'. |
General Analysis |
editdoc.cxx:2107 |
High |
V530 |
The return value of function 'release' is required to be utilized. |
General Analysis |
editeng.cxx:1027 |
High |
V547 |
Expression 'eFunc == KeyFuncType::DONTKNOW' is always true. |
General Analysis |
impedit.cxx:237 |
High |
V623 |
Consider inspecting the '?:' operator. A temporary object of the 'VclPtr' type is being created and subsequently destroyed. Check second operand. |
General Analysis |
frmitems.cxx:2036 |
High |
V781 |
The value of the 'cLine' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 2036, 2039. |
General Analysis |
olecomponent.cxx:916 |
High |
V530 |
The return value of function 'CoGetMalloc' is required to be utilized. |
General Analysis |
olecomponent.cxx:337 |
High |
V575 |
The null pointer is passed into 'GetBitmapBits' function. Inspect the third argument. |
General Analysis |
olepersist.cxx:1928 |
High |
V547 |
Expression is always false. |
General Analysis |
servprov.cxx:138 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_factoryHandle. |
General Analysis |
syswinwrapper.cxx:132 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_hWndParent. |
General Analysis |
advisesink.cxx:29 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_nListenerID. |
General Analysis |
advisesink.cxx:41 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_nListenerID. |
General Analysis |
advisesink.cxx:76 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_nListenerID. |
General Analysis |
inprocembobj.cxx:1299 |
High |
V716 |
Suspicious type conversion in return statement: returned HRESULT, but function actually returns BOOL. |
General Analysis |
soactivex.cxx:387 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
loadlisteneradapter.cxx:100 |
High |
V571 |
Recurring check. The 'if (m_pListener)' condition was already verified in line 97. |
General Analysis |
ldapuserprofilebe.cxx:130 |
High |
V547 |
Expression 'definition->mPort == 0' is always true. |
General Analysis |
winuserinfobe.cxx:199 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
oleobjw.cxx:83 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_bOriginalDispatch. |
General Analysis |
unoobjw.cxx:2145 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: mpInterfaceOleWrapper. |
General Analysis |
cellbindinghelper.cxx:430 |
High |
V547 |
Expression 'FormComponentType::LISTBOX != nClassId' is always true. |
General Analysis |
formcomponenthandler.cxx:3052 |
High |
V547 |
Expression 'eType == ListSourceType_SQL' is always true. |
General Analysis |
formlinkdialog.cxx:541 |
High |
V547 |
Expression 'nKeyType != KeyType::FOREIGN' is always true. |
General Analysis |
propertyhandler.cxx:397 |
High |
V547 |
Expression 'FUNIT_NONE == eUnit' is always true. |
General Analysis |
propertyhandler.cxx:58 |
High |
V670 |
The uninitialized class member 'm_aMutex' is used to initialize the 'm_aPropertyListeners' member. Remember that members are initialized in the order of their declarations inside a class. |
General Analysis |
scanwin.cxx:200 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aSrcIdent. |
General Analysis |
giflzwc.cxx:73 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: pBlockBuf. |
General Analysis |
lzwdecom.cxx:27 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: pOutBuf. |
General Analysis |
escherex.cxx:2780 |
High |
V614 |
Uninitialized variable 'bExtrusionMetal' used. |
General Analysis |
escherex.cxx:2898 |
High |
V614 |
Uninitialized variable 'bExtrusionColor' used. |
General Analysis |
escherex.cxx:2992 |
High |
V614 |
Uninitialized variable 'bConcentricGradientFillAllowed' used. |
General Analysis |
escherex.cxx:3004 |
High |
V614 |
Uninitialized variable 'bTextPathAllowed' used. |
General Analysis |
escherex.cxx:2980 |
High |
V614 |
Uninitialized variable 'bExtrusionAllowed' used. |
General Analysis |
escherex.cxx:2662 |
High |
V614 |
Uninitialized variable 'bExtrusionOn' used. |
General Analysis |
escherex.cxx:1180 |
High |
V547 |
Expression 'nLuminance > 100' is always false. |
General Analysis |
escherex.cxx:3521 |
High |
V614 |
Uninitialized variable 'bSwitched' used. |
General Analysis |
escherex.cxx:3503 |
High |
V614 |
Uninitialized variable 'bMirroredX' used. |
General Analysis |
escherex.cxx:3512 |
High |
V614 |
Uninitialized variable 'bMirroredY' used. |
General Analysis |
escherex.cxx:3263 |
High |
V614 |
Uninitialized variable 'bTextPathOn' used. |
General Analysis |
escherex.cxx:3307 |
High |
V614 |
Uninitialized variable 'bSameLetterHeights' used. |
General Analysis |
escherex.cxx:3339 |
High |
V547 |
Expression 'nCharScaleWidth != 100' is always false. |
General Analysis |
escherex.cxx:2712 |
High |
V614 |
Uninitialized variable 'bExtrusionLightFace' used. |
General Analysis |
escherex.cxx:2724 |
High |
V614 |
Uninitialized variable 'bExtrusionFirstLightHarsh' used. |
General Analysis |
escherex.cxx:3295 |
High |
V614 |
Uninitialized variable 'bTextPathScaleX' used. |
General Analysis |
escherex.cxx:2736 |
High |
V614 |
Uninitialized variable 'bExtrusionSecondLightHarsh' used. |
General Analysis |
mscodec.cxx:545 |
High |
V614 |
Uninitialized buffer 'pnDummy' used. Consider checking the first actual argument of the 'Decode' function. |
General Analysis |
msdffimp.cxx:6380 |
High |
V595 |
The 'pStData' pointer was utilized before it was verified against nullptr. Check lines: 6380, 6384. |
General Analysis |
msdffimp.cxx:7360 |
High |
V773 |
The 'pRet' pointer was assigned values twice without releasing the memory. A memory leak is possible. |
General Analysis |
svdfppt.cxx:2209 |
High |
V547 |
Expression 'ePageKind == PPT_NOTEPAGE' is always true. |
General Analysis |
svdfppt.cxx:520 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aDocAtom. |
General Analysis |
t602filter.cxx:764 |
High |
V547 |
Expression 'ch == '\n'' is always true. |
General Analysis |
button.cxx:665 |
High |
V547 |
Expression 'eButtonType == FormButtonType_URL' is always false. |
General Analysis |
clickableimage.cxx:501 |
High |
V773 |
Visibility scope of the 'pMultiplexer' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
date.cxx:213 |
High |
V547 |
Expression 'nFieldType == DataType::TIMESTAMP' is always false. |
General Analysis |
formcomponent.cxx:1955 |
High |
V547 |
Expression 'ColumnValue::NO_NULLS == nNullableFlag' is always true. |
General Analysis |
groupmanager.cxx:52 |
High |
V547 |
Expression is always false. |
General Analysis |
radiobutton.cxx:146 |
High |
V547 |
Expression 'nType != FormComponentType::RADIOBUTTON' is always true. |
General Analysis |
radiobutton.cxx:368 |
High |
V547 |
Expression 'nValue == 1' is always false. |
General Analysis |
radiobutton.cxx:220 |
High |
V547 |
Expression 'nType != FormComponentType::RADIOBUTTON' is always true. |
General Analysis |
time.cxx:205 |
High |
V547 |
Expression 'nFieldType == DataType::TIMESTAMP' is always false. |
General Analysis |
limitedformats.cxx:151 |
High |
V547 |
Expression '- 1 == pFormatTable->nKey' is always true. |
General Analysis |
formulacompiler.cxx:469 |
High |
V547 |
Expression 'aVec.size() < nCount' is always true. |
General Analysis |
formulacompiler.cxx:632 |
High |
V501 |
There are identical sub-expressions 'mpTable[ocArrayColSep] != mpTable[eOp]' to the left and to the right of the '&&' operator. |
General Analysis |
token.cxx:1438 |
High |
V773 |
The function was exited without releasing the 'pCtx' pointer. A memory leak is possible. |
General Analysis |
token.cxx:1438 |
High |
V773 |
The function was exited without releasing the 'pOcds' pointer. A memory leak is possible. |
General Analysis |
token.cxx:1438 |
High |
V773 |
The function was exited without releasing the 'pOcas' pointer. A memory leak is possible. |
General Analysis |
vistafilepickerimpl.cxx:491 |
High |
V547 |
Expression 'tmp != 0' is always false. |
General Analysis |
closedispatcher.cxx:337 |
High |
V705 |
It is possible that 'else' block was forgotten or commented out, thus altering the program's operation logics. |
General Analysis |
titlebarupdate.cxx:261 |
High |
V547 |
Expression 'nIcon == INVALID_ICON_ID' is always true. |
General Analysis |
frame.cxx:1340 |
High |
V547 |
Expression 'eState == E_ACTIVE' is always true. |
General Analysis |
frame.cxx:3025 |
High |
V547 |
Expression 'nIcon == - 1' is always true. |
General Analysis |
popuptoolbarcontroller.cxx:167 |
High |
V614 |
Uninitialized variable 'bValue' used. Consider checking the second actual argument of the 'CheckItem' function. |
General Analysis |
subtoolbarcontroller.cxx:165 |
High |
V614 |
Uninitialized variable 'bValue' used. |
General Analysis |
hinfo.cxx:40 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: summary. |
General Analysis |
calendar_jewish.cxx:286 |
High |
V763 |
Parameter 'nNativeNumberMode' is always rewritten in function body before being used. |
General Analysis |
transliteration_numeric.cxx:87 |
High |
V646 |
Consider inspecting the application's logic. It's possible that 'else' keyword is missing. |
General Analysis |
extract.hxx:110 |
High |
V547 |
Expression 'nValue != 0' is always false. |
General Analysis |
extract.hxx:103 |
High |
V614 |
Uninitialized variable 'b' used. |
General Analysis |
proptypehlp.hxx:53 |
High |
V547 |
Expression 'i16 != 0' is always false. |
General Analysis |
poolitem.hxx:61 |
High |
V547 |
Expression 'nNum != 0' is always false. |
General Analysis |
color.hxx:222 |
High |
V614 |
Uninitialized variable 'nTmp' used. Consider checking the first actual argument of the 'Color' function. |
General Analysis |
odata.cxx:1161 |
High |
V557 |
Array overrun is possible. The 'nId' index is pointing beyond array bound. |
General Analysis |
odata.cxx:735 |
High |
V773 |
The function was exited without releasing the 'p' pointer. A memory leak is possible. |
General Analysis |
com_sun_star_lib_connections_pipe_pipeconnection.c:430 |
High |
V547 |
Expression 'state >= ACQUIRED' is always true. |
General Analysis |
elements.cxx:201 |
High |
V547 |
Expression 'USER == m_layer' is always true. |
General Analysis |
framework.cxx:229 |
High |
V547 |
Expression 'mode == jfw::JFW_MODE_DIRECT' is always true. |
General Analysis |
hyphenimp.cxx:463 |
High |
V595 |
The 'cut' pointer was utilized before it was verified against nullptr. Check lines: 463, 482. |
General Analysis |
lwpdrawobj.cxx:956 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_aTextRec. |
General Analysis |
lwpfilter.cxx:167 |
High |
V595 |
The 'pDecompressed' pointer was utilized before it was verified against nullptr. Check lines: 167, 172. |
General Analysis |
lwpsdwgrouploaderv0102.cxx:407 |
High |
V773 |
The 'pRetObjct' pointer was assigned values twice without releasing the memory. A memory leak is possible. |
General Analysis |
lwptblformula.cxx:109 |
High |
V527 |
It is odd that the '\0' value is assigned to 'char' type pointer. Probably meant: ** (pBuf.get() + nStrLen) = '\0'. |
General Analysis |
lwptblformula.cxx:487 |
High |
V783 |
Dereferencing of the invalid iterator 'aItr' might take place. |
General Analysis |
utlist.cxx:87 |
High |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'SetPrev' function. |
General Analysis |
utlist.hxx:99 |
High |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'SetPrev' function. |
General Analysis |
xfrow.cxx:127 |
High |
V773 |
Visibility scope of the 'pNULLCell' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
xftable.cxx:234 |
High |
V773 |
Visibility scope of the 'pNullRow' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
test-typed_flags.cxx:33 |
High |
V501 |
There are identical sub-expressions 'ConfigurationChangedHint::ONE' to the left and to the right of the '&' operator. |
General Analysis |
test-typed_flags.cxx:37 |
High |
V501 |
There are identical sub-expressions 'ConfigurationChangedHint::ONE' to the left and to the right of the '|' operator. |
General Analysis |
xmlfilterbase.cxx:820 |
High |
V614 |
Uninitialized variable 'num' used. Consider checking the third actual argument of the 'writeElement' function. |
General Analysis |
agileengine.cxx:220 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: mInfo. |
General Analysis |
diagram.cxx:207 |
High |
V758 |
The 'rVec' reference becomes invalid when temporary object returned by a function is destroyed. |
General Analysis |
diagram.cxx:272 |
High |
V758 |
The 'rVec' reference becomes invalid when temporary object returned by a function is destroyed. |
General Analysis |
diagramlayoutatoms.hxx:127 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maConstraint. |
General Analysis |
fillproperties.cxx:435 |
High |
V568 |
It's odd that the argument of sizeof() operator is the expression. |
General Analysis |
chartexport.cxx:3878 |
High |
V547 |
Expression 'nRotationY < 0' is always false. |
General Analysis |
chartexport.cxx:3842 |
High |
V547 |
Expression 'nRotationX < 0' is always false. |
General Analysis |
chartexport.cxx:2879 |
High |
V547 |
Expression 'dMinorUnitCount != 5' is always true. |
General Analysis |
chartexport.cxx:3669 |
High |
V547 |
Expression 'nSplineType != 0' is always false. |
General Analysis |
chartexport.cxx:3072 |
High |
V547 |
Expression 'nLabelBorderWidth > 0' is always false. |
General Analysis |
chartexport.cxx:236 |
High |
V547 |
Expression '0 == nAxisIndex' is always true. |
General Analysis |
drawingml.cxx:2428 |
High |
V547 |
Expression 'nLeft != 254' is always false. |
General Analysis |
drawingml.cxx:1394 |
High |
V503 |
This is a nonsensical comparison: pointer < 0. |
General Analysis |
drawingml.cxx:1608 |
High |
V547 |
Expression 'nCharEscapement == 0' is always true. |
General Analysis |
drawingml.cxx:2381 |
High |
V547 |
Expression 'nTextRotateAngle == - 90' is always false. |
General Analysis |
drawingml.cxx:322 |
High |
V547 |
Expression 'nFillColor != nThemeColor' is always false. |
General Analysis |
drawingml.cxx:2429 |
High |
V547 |
Expression 'nRight != 254' is always false. |
General Analysis |
drawingml.cxx:2262 |
High |
V547 |
Expression 'nParaTopMargin != 0' is always false. |
General Analysis |
drawingml.cxx:1396 |
High |
V503 |
This is a nonsensical comparison: pointer < 0. |
General Analysis |
drawingml.cxx:2273 |
High |
V547 |
Expression 'nParaBottomMargin != 0' is always false. |
General Analysis |
drawingml.cxx:2386 |
High |
V547 |
Expression 'nTextRotateAngle == - 270' is always false. |
General Analysis |
drawingml.cxx:3284 |
High |
V614 |
Uninitialized variable 'nTransparency' used. |
General Analysis |
drawingml.cxx:3051 |
High |
V547 |
Expression 'nVal == 100' is always false. |
General Analysis |
drawingml.cxx:2435 |
High |
V547 |
Expression 'nTextRotateAngle != 0' is always false. |
General Analysis |
drawingml.cxx:2430 |
High |
V547 |
Expression 'nTop != 127' is always false. |
General Analysis |
drawingml.cxx:2431 |
High |
V547 |
Expression 'nBottom != 127' is always false. |
General Analysis |
shapes.cxx:1430 |
High |
V547 |
Expression 'nRadius == 0' is always true. |
General Analysis |
shapes.cxx:1743 |
High |
V547 |
Expression 'nLeftMargin > 0' is always false. |
General Analysis |
shapes.cxx:1744 |
High |
V547 |
Expression 'nRightMargin > 0' is always false. |
General Analysis |
shapes.cxx:866 |
High |
V547 |
Expression 'nRotation != 0' is always false. |
General Analysis |
shapecontexthandler.cxx:185 |
High |
V614 |
The 'pMasterShape' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. Consider checking the second actual argument of the 'GraphicalObjectFrameContext' function. |
General Analysis |
wpscontext.cxx:134 |
High |
V568 |
It's odd that the argument of sizeof() operator is the 'bTextFrame ? aProps : aShapeProps' expression. |
General Analysis |
vmlshape.cxx:814 |
High |
V1007 |
The value from the uninitialized optional 'oRotation' is used. Probably it is a mistake. |
General Analysis |
vmlshape.cxx:539 |
High |
V1007 |
The value from the uninitialized optional 'oLineWidth' is used. Probably it is a mistake. |
General Analysis |
owriteablestream.cxx:1650 |
High |
V595 |
The 'm_pImpl' pointer was utilized before it was verified against nullptr. Check lines: 1650, 1652. |
General Analysis |
owriteablestream.cxx:1634 |
High |
V595 |
The 'm_pImpl' pointer was utilized before it was verified against nullptr. Check lines: 1634, 1636. |
General Analysis |
xstorage.cxx:1528 |
High |
V774 |
The 'pElement' pointer was used after the memory was released. |
General Analysis |
zippackage.cxx:1142 |
High |
V773 |
Visibility scope of the 'pBuffer' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
zippackage.cxx:1078 |
High |
V773 |
Visibility scope of the 'pBuffer' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
zippackage.cxx:590 |
High |
V773 |
Visibility scope of the 'pPkgStream' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
reflwrit.cxx:1101 |
High |
V773 |
Visibility scope of the 'cpIndexSuperNames' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
reflwrit.cxx:354 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_constValue. |
General Analysis |
reflwrit.cxx:196 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_value. |
General Analysis |
fileurl.cxx:55 |
High |
V590 |
Consider inspecting this expression. The expression is excessive or contains a misprint. |
General Analysis |
reportdefinition.cxx:2376 |
High |
V783 |
Dereferencing of the invalid iterator 'aFind' might take place. |
General Analysis |
reportdefinition.cxx:198 |
High |
V547 |
Expression is always true. |
General Analysis |
tools.hxx:91 |
High |
V503 |
This is a nonsensical comparison: pointer >= 0. |
General Analysis |
tools.hxx:69 |
High |
V503 |
This is a nonsensical comparison: pointer >= 0. |
General Analysis |
reportdrawpage.cxx:133 |
High |
V773 |
Visibility scope of the 'pShape' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
rptobject.cxx:832 |
High |
V571 |
Recurring check. The 'if (m_xReportComponent.is())' condition was already verified in line 829. |
General Analysis |
viewswindow.cxx:1131 |
High |
V568 |
It's odd that the argument of sizeof() operator is the expression. |
General Analysis |
viewswindow.cxx:446 |
High |
V783 |
Dereferencing of the invalid iterator '-- aIter' might take place. |
General Analysis |
filepath.cxx:83 |
High |
V595 |
The 'ustrFile' pointer was utilized before it was verified against nullptr. Check lines: 83, 107. |
General Analysis |
dllentry.cxx:225 |
High |
V718 |
The 'CreateThread' function should not be called from 'DllMain' function. |
General Analysis |
process.cxx:107 |
High |
V575 |
The null pointer is passed into 'CreateRemoteThread' function. Inspect the fifth argument. |
General Analysis |
security.cxx:328 |
High |
V724 |
Converting type 'BOOL' to type 'sal_Bool' can lead to a loss of high-order bits. Non-zero value can become 'FALSE'. |
General Analysis |
security.cxx:763 |
High |
V575 |
The null pointer is passed into 'WNetGetUserW' function. Inspect the second argument. |
General Analysis |
security.cxx:336 |
High |
V575 |
The null pointer is passed into 'WNetGetUserW' function. Inspect the second argument. |
General Analysis |
test_cpy_wrt_file.cxx:53 |
High |
V614 |
Uninitialized buffer 'static_cast< void * > (buffer)' used. Consider checking the first actual argument of the 'write' function. |
General Analysis |
osl_pipe.cxx:444 |
High |
V501 |
There are identical sub-expressions to the left and to the right of the '==' operator: aPipe == aPipe |
General Analysis |
digest.cxx:286 |
High |
V597 |
The compiler could delete the 'memset' function call, which is used to flush 'state' buffer. The RtlSecureZeroMemory() function should be used to erase the private data. |
General Analysis |
digest.cxx:629 |
High |
V1008 |
Consider inspecting the 'for' operator. No more than one iteration of the loop will be performed. |
General Analysis |
ustring.cxx:1547 |
High |
V595 |
The '* newStr' pointer was utilized before it was verified against nullptr. Check lines: 1547, 1548. |
General Analysis |
ustring.cxx:1531 |
High |
V595 |
The '* newStr' pointer was utilized before it was verified against nullptr. Check lines: 1531, 1532. |
General Analysis |
ustring.cxx:1515 |
High |
V595 |
The '* newStr' pointer was utilized before it was verified against nullptr. Check lines: 1515, 1516. |
General Analysis |
convertisciidevangari.cxx:197 |
High |
V547 |
Expression 'eAction == BAD_INPUT_NO_OUTPUT' is always true. |
General Analysis |
fastparser.cxx:1096 |
High |
V654 |
The condition 'nRead > 0' of loop is always true. |
General Analysis |
fastparser.cxx:380 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maSharedEvent. |
General Analysis |
chgtrack.hxx:236 |
High |
V773 |
Visibility scope of the 'pLnk' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
new_cond_format.cxx:198 |
High |
V614 |
Uninitialized variable 'bGradient' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
new_cond_format.cxx:182 |
High |
V614 |
Uninitialized variable 'eAxisPos' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
new_cond_format.cxx:190 |
High |
V614 |
Uninitialized variable 'bShow' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
drwlayer.cxx:2184 |
High |
V595 |
The 'pObj' pointer was utilized before it was verified against nullptr. Check lines: 2184, 2188. |
General Analysis |
table3.cxx:2857 |
High |
V773 |
The function was exited without releasing the 'pTest' pointer. A memory leak is possible. |
General Analysis |
table3.cxx:2857 |
High |
V773 |
The function was exited without releasing the 'pPasst' pointer. A memory leak is possible. |
General Analysis |
validat.cxx:846 |
High |
V773 |
The function was exited without releasing the 'pEntry' pointer. A memory leak is possible. |
General Analysis |
address.cxx:1355 |
High |
V595 |
The 'pExtInfo' pointer was utilized before it was verified against nullptr. Check lines: 1355, 1363. |
General Analysis |
chgtrack.cxx:401 |
High |
V773 |
Visibility scope of the 'pLink1' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
compiler.cxx:4689 |
High |
V773 |
The function was exited without releasing the 'pFunctionStack' pointer. A memory leak is possible. |
General Analysis |
interpr2.cxx:1512 |
High |
V547 |
Expression 'nGlobalError != FormulaError::NONE' is always false. |
General Analysis |
token.cxx:5136 |
High |
V622 |
Consider inspecting the 'switch' statement. It's possible that the first 'case' operator is missing. |
General Analysis |
xestyle.cxx:2621 |
High |
V557 |
Array overrun is possible. The 'nXFIndex' index is pointing beyond array bound. |
General Analysis |
xestyle.cxx:2613 |
High |
V557 |
Array overrun is possible. The 'nXFIndex' index is pointing beyond array bound. |
General Analysis |
viewsettings.cxx:181 |
High |
V758 |
The 'rModel' reference becomes invalid when smart pointer returned by a function is destroyed. |
General Analysis |
viewsettings.cxx:233 |
High |
V758 |
The 'rModel' reference becomes invalid when smart pointer returned by a function is destroyed. |
General Analysis |
viewsettings.cxx:314 |
High |
V758 |
The 'rModel' reference becomes invalid when smart pointer returned by a function is destroyed. |
General Analysis |
viewsettings.cxx:242 |
High |
V758 |
The 'rModel' reference becomes invalid when smart pointer returned by a function is destroyed. |
General Analysis |
xmlcondformat.cxx:29 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maCache. |
General Analysis |
xmlexprt.cxx:2086 |
High |
V547 |
Expression 'nNumberFormat == - 1' is always true. |
General Analysis |
xmlimprt.cxx:1750 |
High |
V595 |
The 'pDoc' pointer was utilized before it was verified against nullptr. Check lines: 1750, 1768. |
General Analysis |
xmlstyli.cxx:507 |
High |
V595 |
The 'mpCondFormat' pointer was utilized before it was verified against nullptr. Check lines: 507, 523. |
General Analysis |
accessibletablebase.cxx:314 |
High |
V1028 |
Possible overflow. Consider casting arguments of the operator to the type instead of casting its result. |
General Analysis |
accessibletablebase.cxx:313 |
High |
V1028 |
Possible overflow. Consider casting arguments of the operator to the type instead of casting its result. |
General Analysis |
scmod.cxx:1103 |
High |
V595 |
The 'pDocSh' pointer was utilized before it was verified against nullptr. Check lines: 1103, 1132. |
General Analysis |
transobj.cxx:498 |
High |
V547 |
Expression is always true. |
General Analysis |
checklistmenu.cxx:826 |
High |
V557 |
Array overrun is possible. The 'mnSelectedMenu' index is pointing beyond array bound. |
General Analysis |
checklistmenu.cxx:827 |
High |
V557 |
Array overrun is possible. The 'mnSelectedMenu' index is pointing beyond array bound. |
General Analysis |
dbdocfun.cxx:970 |
High |
V773 |
The function was exited without releasing the 'pAttribDoc' pointer. A memory leak is possible. |
General Analysis |
celllistsource.cxx:206 |
High |
V614 |
Uninitialized variable 'nResultType' used. |
General Analysis |
cellvaluebinding.cxx:209 |
High |
V614 |
Uninitialized variable 'nResultType' used. |
General Analysis |
cellsh3.cxx:192 |
High |
V595 |
The 'pHdl' pointer was utilized before it was verified against nullptr. Check lines: 192, 197. |
General Analysis |
formatsh.cxx:2040 |
High |
V547 |
Expression 'nScript == SvtScriptType::NONE' is always true. |
General Analysis |
formatsh.cxx:2257 |
High |
V547 |
Expression 'nScript == SvtScriptType::NONE' is always true. |
General Analysis |
viewfun3.cxx:2001 |
High |
V575 |
The null pointer is passed into 'move' function. Inspect the first argument. |
General Analysis |
viewfun3.cxx:2000 |
High |
V575 |
The null pointer is passed into 'move' function. Inspect the first argument. |
General Analysis |
swarmsolver.cxx:544 |
High |
V614 |
Uninitialized variable 'fValue' used. Consider checking the second actual argument of the 'updateBound' function. |
General Analysis |
import-tests.cxx:352 |
High |
V547 |
Expression 'i == nUpdateMe' is always false. |
General Analysis |
pptexanimations.cxx:285 |
High |
V547 |
Expression 'nFill != AnimationFill::AUTO' is always true. |
General Analysis |
pptx-animations.cxx:801 |
High |
V614 |
Uninitialized variable 'value' used. |
General Analysis |
pptx-epptooxml.cxx:1168 |
High |
V557 |
Array overrun is possible. The 'nPageNum' index is pointing beyond array bound. |
General Analysis |
pptx-text.cxx:410 |
High |
V547 |
Expression 'nVal != css::text::FontRelief::NONE' is always false. |
General Analysis |
slidetransitionpane.cxx:1195 |
High |
V568 |
It's odd that the argument of sizeof() operator is the expression. |
General Analysis |
sdtreelb.cxx:1332 |
High |
V654 |
The condition 'pEntry != nullptr' of loop is always true. |
General Analysis |
fubullet.cxx:221 |
High |
V595 |
The 'mpViewShell' pointer was utilized before it was verified against nullptr. Check lines: 221, 242. |
General Analysis |
fupoor.cxx:609 |
High |
V547 |
Expression is always true. |
General Analysis |
server.cxx:113 |
High |
V501 |
There are identical sub-expressions 'pSocket->readLine(aLine)' to the left and to the right of the '&&' operator. |
General Analysis |
documenthelper.cxx:173 |
High |
V654 |
The condition '!bFound' of loop is always true. |
General Analysis |
slideshowimpl.cxx:896 |
High |
V595 |
The 'pStartPage' pointer was utilized before it was verified against nullptr. Check lines: 896, 907. |
General Analysis |
slideshowimpl.cxx:1518 |
High |
V773 |
Visibility scope of the 'pInArgs' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
drtxtob.cxx:193 |
High |
V595 |
The 'mpViewShell' pointer was utilized before it was verified against nullptr. Check lines: 193, 201. |
General Analysis |
drtxtob1.cxx:96 |
High |
V595 |
The 'mpViewShell' pointer was utilized before it was verified against nullptr. Check lines: 96, 125. |
General Analysis |
drviewsa.cxx:544 |
High |
V595 |
The 'GetActiveWindow()' pointer was utilized before it was verified against nullptr. Check lines: 544, 567. |
General Analysis |
outlnvsh.cxx:1266 |
High |
V595 |
The 'GetActiveWindow()' pointer was utilized before it was verified against nullptr. Check lines: 1266, 1282. |
General Analysis |
sdview3.cxx:943 |
High |
V547 |
Expression 'nGrFormat != SotClipboardFormatId::NONE' is always false. |
General Analysis |
viewshe2.cxx:799 |
High |
V773 |
Visibility scope of the 'pSdClient' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
viewshel.cxx:415 |
High |
V595 |
The 'GetView()' pointer was utilized before it was verified against nullptr. Check lines: 415, 426. |
General Analysis |
pdfiprocessor.cxx:414 |
High |
V773 |
Visibility scope of the 'pPoly' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
pdfiprocessor.cxx:428 |
High |
V773 |
Visibility scope of the 'pPoly' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
pdfiprocessor.cxx:468 |
High |
V773 |
Visibility scope of the 'pLink' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
pdfiprocessor.cxx:400 |
High |
V773 |
Visibility scope of the 'pPoly' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
presenterspritepane.cxx:145 |
High |
V571 |
Recurring check. The 'if (xContentCanvasComponent.is())' condition was already verified in line 143. |
General Analysis |
inst_msu.cxx:402 |
High |
V530 |
The return value of function 'release' is required to be utilized. |
General Analysis |
upgrade.cxx:51 |
High |
V518 |
The '_alloca' function allocates strange amount of memory calculated by 'expression'. Perhaps the correct variant is 'expression + sizeof(wchar_t)'. |
General Analysis |
appopen.cxx:541 |
High |
V773 |
Visibility scope of the 'pSet' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
imestatuswindow.cxx:94 |
High |
V614 |
Uninitialized variable 'bShow' used. Consider checking the first actual argument of the 'ShowImeStatusWindow' function. |
General Analysis |
newhelp.cxx:3071 |
High |
V547 |
Expression '1010 == nActionId' is always true. |
General Analysis |
workwin.cxx:2371 |
High |
V623 |
Consider inspecting the '?:' operator. A temporary object of the 'VclPtr' type is being created and subsequently destroyed. Check second operand. |
General Analysis |
workwin.cxx:1566 |
High |
V595 |
The 'pCW' pointer was utilized before it was verified against nullptr. Check lines: 1566, 1577. |
General Analysis |
dinfdlg.cxx:958 |
High |
V595 |
The 'GetTabDialog()' pointer was utilized before it was verified against nullptr. Check lines: 958, 978. |
General Analysis |
sfxbasemodel.cxx:2144 |
High |
V547 |
Expression 'nSuppFlavors == 10' is always true. |
General Analysis |
priorityhbox.cxx:157 |
High |
V595 |
The 'pWindow' pointer was utilized before it was verified against nullptr. Check lines: 157, 163. |
General Analysis |
priorityhbox.cxx:133 |
High |
V595 |
The 'pWindow' pointer was utilized before it was verified against nullptr. Check lines: 133, 139. |
General Analysis |
eventsupplier.cxx:434 |
High |
V595 |
The 'pDoc' pointer was utilized before it was verified against nullptr. Check lines: 434, 460. |
General Analysis |
viewprn.cxx:358 |
High |
V595 |
The 'mpViewShell' pointer was utilized before it was verified against nullptr. Check lines: 358, 370. |
General Analysis |
ooofilt.cxx:466 |
High |
V547 |
Expression 'm_eState == FilteringProperty' is always true. |
General Analysis |
thumbviewer.cxx:271 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: color_depth_. |
General Analysis |
animationbasenode.cxx:417 |
High |
V614 |
Uninitialized variable 'eTiming' used. |
General Analysis |
viewshape.cxx:668 |
High |
V1007 |
The value from the uninitialized optional 'aClip' is used. Probably it is a mistake. |
General Analysis |
viewshape.cxx:712 |
High |
V1007 |
The value from the uninitialized optional 'aClip' is used. Probably it is a mistake. |
General Analysis |
parse.c:467 |
High |
V726 |
An attempt to free memory containing the 'symbols->s_pairs' array by using the 'free' function. This is incorrect as 'symbols->s_pairs' is a member of class. |
General Analysis |
formats.cxx:1525 |
High |
V542 |
Consider inspecting an odd type cast: 'unsigned short *' to 'unsigned char'. |
General Analysis |
formats.cxx:1516 |
High |
V542 |
Consider inspecting an odd type cast: 'unsigned short *' to 'unsigned char'. |
General Analysis |
formats.cxx:1534 |
High |
V542 |
Consider inspecting an odd type cast: 'unsigned short *' to 'unsigned char'. |
General Analysis |
stgio.cxx:214 |
High |
V567 |
The modification of the 'nCount' variable is unsequenced relative to another operation on the same variable. This may lead to undefined behavior. |
General Analysis |
lrucache.hxx:93 |
High |
V547 |
Expression '_nCachedElements > 0' is always true. |
General Analysis |
javavm.cxx:1040 |
High |
V547 |
Expression 'value != 0' is always false. |
General Analysis |
javavm.cxx:1112 |
High |
V614 |
Uninitialized variable 'b' used. |
General Analysis |
test_itempool.cxx:100 |
High |
V773 |
Visibility scope of the 'pPool' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
itemset.cxx:1686 |
High |
V773 |
The function was exited without releasing the 'pPtr' pointer. A memory leak is possible. |
General Analysis |
strmadpt.cxx:525 |
High |
V641 |
The size of the allocated memory buffer is not a multiple of the element size. |
General Analysis |
strmadpt.cxx:595 |
High |
V641 |
The size of the allocated memory buffer is not a multiple of the element size. |
General Analysis |
zforscan.cxx:149 |
High |
V501 |
There are identical sub-expressions to the left and to the right of the '-' operator: NF_KEY_COLOR - NF_KEY_COLOR |
General Analysis |
zforscan.cxx:404 |
High |
V501 |
There are identical sub-expressions to the left and to the right of the '-' operator: NF_KEY_COLOR - NF_KEY_COLOR |
General Analysis |
zforscan.cxx:634 |
High |
V501 |
There are identical sub-expressions to the left and to the right of the '-' operator: NF_KEY_COLOR - NF_KEY_COLOR |
General Analysis |
ddesvr.cxx:381 |
High |
V654 |
The condition 'bContinue' of loop is always false. |
General Analysis |
svlbitm.cxx:343 |
High |
V595 |
The 'pView' pointer was utilized before it was verified against nullptr. Check lines: 343, 347. |
General Analysis |
inettbc.cxx:1264 |
High |
V547 |
Expression 'eSmartProt == INetProtocol::NotValid' is always true. |
General Analysis |
placeeditdialog.cxx:163 |
High |
V501 |
There are identical sub-expressions 'OUString("").isEmpty()' to the left and to the right of the '||' operator. |
General Analysis |
placeeditdialog.cxx:165 |
High |
V501 |
There are identical sub-expressions 'OUString("").isEmpty()' to the left and to the right of the '||' operator. |
General Analysis |
placeeditdialog.cxx:167 |
High |
V501 |
There are identical sub-expressions 'OUString("").isEmpty()' to the left and to the right of the '||' operator. |
General Analysis |
generictoolboxcontroller.cxx:141 |
High |
V614 |
Uninitialized variable 'bValue' used. Consider checking the second actual argument of the 'CheckItem' function. |
General Analysis |
svtxgridcontrol.cxx:196 |
High |
V547 |
Expression 'rowHeaderWidth <= 0' is always true. |
General Analysis |
unoiface.cxx:936 |
High |
V614 |
Uninitialized variable 'b' used. Consider checking the first actual argument of the 'SetThousandsSep' function. |
General Analysis |
unoiface.cxx:866 |
High |
V614 |
Uninitialized variable 'b' used. Consider checking the first actual argument of the 'SetTreatAsNumber' function. |
General Analysis |
unoiface.cxx:455 |
High |
V614 |
Uninitialized variable 'b' used. Consider checking the first actual argument of the 'EnableFocusSelectionHide' function. |
General Analysis |
unoiface.cxx:440 |
High |
V614 |
Uninitialized variable 'b' used. Consider checking the first actual argument of the 'SetReadOnly' function. |
General Analysis |
imapwnd.cxx:55 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aInfo. |
General Analysis |
svxbmpnumvalueset.cxx:818 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: bGrfNotFound. |
General Analysis |
fmgridcl.cxx:620 |
High |
V547 |
Expression '2 == nCommandType' is always true. |
General Analysis |
fmgridif.cxx:1033 |
High |
V670 |
The uninitialized class member 'm_aMutex' is used to initialize the 'm_aModifyListeners' member. Remember that members are initialized in the order of their declarations inside a class. |
General Analysis |
fmgridif.cxx:1034 |
High |
V670 |
The uninitialized class member 'm_aMutex' is used to initialize the 'm_aUpdateListeners' member. Remember that members are initialized in the order of their declarations inside a class. |
General Analysis |
fmgridif.cxx:1035 |
High |
V670 |
The uninitialized class member 'm_aMutex' is used to initialize the 'm_aContainerListeners' member. Remember that members are initialized in the order of their declarations inside a class. |
General Analysis |
fmgridif.cxx:1036 |
High |
V670 |
The uninitialized class member 'm_aMutex' is used to initialize the 'm_aSelectionListeners' member. Remember that members are initialized in the order of their declarations inside a class. |
General Analysis |
fmgridif.cxx:1037 |
High |
V670 |
The uninitialized class member 'm_aMutex' is used to initialize the 'm_aGridControlListeners' member. Remember that members are initialized in the order of their declarations inside a class. |
General Analysis |
fmcontrolbordermanager.cxx:123 |
High |
V547 |
Expression 'nBorderStyle == VisualEffect::FLAT' is always false. |
General Analysis |
galtheme.cxx:1240 |
High |
V773 |
Visibility scope of the 'pTransferable' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
galtheme.cxx:1234 |
High |
V773 |
Visibility scope of the 'pTransferable' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
viewobjectcontactofunocontrol.cxx:948 |
High |
V758 |
The 'rDevice' reference becomes invalid when temporary object returned by a function is destroyed. |
General Analysis |
svdmrkv.cxx:1905 |
High |
V595 |
The 'pPV' pointer was utilized before it was verified against nullptr. Check lines: 1905, 1919. |
General Analysis |
svdobj.cxx:2192 |
High |
V547 |
Expression is always false. Probably the '||' operator should be used here. |
General Analysis |
svdpagv.cxx:295 |
High |
V773 |
Visibility scope of the 'pPageWindow' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
svdpdf.hxx:146 |
High |
V523 |
The 'then' statement is equivalent to the 'else' statement. |
General Analysis |
svdview.cxx:962 |
High |
V595 |
The 'pOut' pointer was utilized before it was verified against nullptr. Check lines: 962, 974. |
General Analysis |
svdview.cxx:424 |
High |
V595 |
The 'pPV' pointer was utilized before it was verified against nullptr. Check lines: 424, 453. |
General Analysis |
cell.cxx:793 |
High |
V614 |
The 'pTextObject' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. |
General Analysis |
tbcontrl.cxx:934 |
High |
V595 |
The 'pBox' pointer was utilized before it was verified against nullptr. Check lines: 934, 941. |
General Analysis |
unopool.cxx:296 |
High |
V595 |
The 'pPool' pointer was utilized before it was verified against nullptr. Check lines: 296, 297. |
General Analysis |
unoshtxt.cxx:528 |
High |
V595 |
The 'mpObject' pointer was utilized before it was verified against nullptr. Check lines: 528, 536. |
General Analysis |
macros-test.cxx:259 |
High |
V773 |
Visibility scope of the 'pDoc' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
macros-test.cxx:229 |
High |
V773 |
Visibility scope of the 'pDoc' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
uwriter.cxx:1766 |
High |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'MoveTo' function. |
General Analysis |
uiwriter.cxx:2567 |
High |
V773 |
Visibility scope of the 'pDoc' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
swatrset.cxx:380 |
High |
V614 |
The 'tmpSet' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. |
General Analysis |
swatrset.cxx:105 |
High |
V773 |
Visibility scope of the 'pSdrPool' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
crsrsh.cxx:3279 |
High |
V773 |
Visibility scope of the 'pCurrentCursor' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
crsrsh.cxx:2015 |
High |
V773 |
Visibility scope of the 'pNew' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
crsrsh.cxx:2009 |
High |
V773 |
Visibility scope of the 'pNew' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
pam.cxx:704 |
High |
V595 |
The 'pDoc' pointer was utilized before it was verified against nullptr. Check lines: 704, 719. |
General Analysis |
swcrsr.cxx:1834 |
High |
V595 |
The 'pTableCursor' pointer was utilized before it was verified against nullptr. Check lines: 1834, 1852. |
General Analysis |
trvltbl.cxx:895 |
High |
V595 |
The 'm_pBoxIdx' pointer was utilized before it was verified against nullptr. Check lines: 895, 903. |
General Analysis |
docbm.cxx:1328 |
High |
V595 |
The 'pEndIdx' pointer was utilized before it was verified against nullptr. Check lines: 1328, 1347. |
General Analysis |
docdesc.cxx:493 |
High |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'SetFollow' function. |
General Analysis |
docfmt.cxx:98 |
High |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'SetNextTextFormatColl' function. |
General Analysis |
doclay.cxx:1254 |
High |
V595 |
The 'pContact' pointer was utilized before it was verified against nullptr. Check lines: 1254, 1256. |
General Analysis |
docnum.cxx:380 |
High |
V781 |
The value of the 'nLevel' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 380, 383. |
General Analysis |
docredln.cxx:1837 |
High |
V773 |
The function was exited without releasing the 'pPaM' pointer. A memory leak is possible. |
General Analysis |
doctxm.cxx:1827 |
High |
V637 |
Two opposite conditions were encountered. The second condition is always false. Check lines: 1827, 1829. |
General Analysis |
documentfieldsmanager.cxx:424 |
High |
V535 |
The variable 'i' is being used for this loop and for the outer loop. Check lines: 414, 424. |
General Analysis |
notxtfrm.cxx:1174 |
High |
V595 |
The 'pOLENd' pointer was utilized before it was verified against nullptr. Check lines: 1174, 1204. |
General Analysis |
ndsect.cxx:1151 |
High |
V773 |
Visibility scope of the 'pEnd' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
ndtbl.cxx:393 |
High |
V595 |
The 'pContentNd' pointer was utilized before it was verified against nullptr. Check lines: 393, 401. |
General Analysis |
nodes.cxx:677 |
High |
V773 |
Visibility scope of the 'pTmpSttNd' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
nodes.cxx:923 |
High |
V773 |
Visibility scope of the 'pSttNd' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
acorrect.cxx:161 |
High |
V773 |
The function was exited without releasing the 'pPam' pointer. A memory leak is possible. |
General Analysis |
eddel.cxx:90 |
High |
V654 |
The condition 'pEndSelPos' of loop is always true. |
General Analysis |
edlingu.cxx:843 |
High |
V763 |
Parameter 'pCursor' is always rewritten in function body before being used. |
General Analysis |
authfld.cxx:281 |
High |
V637 |
Two opposite conditions were encountered. The second condition is always false. Check lines: 281, 285. |
General Analysis |
usrfld.cxx:188 |
High |
V547 |
Expression 'nType & nsSwGetSetExpType::GSE_STRING' is always true. |
General Analysis |
tblsel.cxx:2039 |
High |
V773 |
Visibility scope of the 'pRow' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
tblsel.cxx:2299 |
High |
V773 |
Visibility scope of the 'pHeadline' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
colfrm.cxx:43 |
High |
V773 |
Visibility scope of the 'pColBody' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
fly.cxx:1506 |
High |
V522 |
Dereferencing of the null pointer 'pAnchoredObj' might take place. |
General Analysis |
frmtool.cxx:1503 |
High |
V595 |
The 'pActualSection' pointer was utilized before it was verified against nullptr. Check lines: 1503, 1508. |
General Analysis |
ftnfrm.cxx:1367 |
High |
V773 |
The 'pParent' pointer was assigned values twice without releasing the memory. A memory leak is possible. |
General Analysis |
ftnfrm.cxx:766 |
High |
V654 |
The condition '!pRet' of loop is always true. |
General Analysis |
ftnfrm.cxx:1883 |
High |
V654 |
The condition '_pFootnote' of loop is always true. |
General Analysis |
pagechg.cxx:591 |
High |
V773 |
Visibility scope of the 'pBodyFrame' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
pagechg.cxx:2081 |
High |
V595 |
The 'pViewOpt' pointer was utilized before it was verified against nullptr. Check lines: 2081, 2107. |
General Analysis |
paintfrm.cxx:1975 |
High |
V595 |
The 'pBrush' pointer was utilized before it was verified against nullptr. Check lines: 1975, 1990. |
General Analysis |
sectfrm.cxx:130 |
High |
V773 |
Visibility scope of the 'pOld' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
tabfrm.cxx:3219 |
High |
V773 |
Visibility scope of the 'pHeadline' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
tabfrm.cxx:1194 |
High |
V773 |
Visibility scope of the 'pHeadline' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
trvlfrm.cxx:778 |
High |
V595 |
The 'pTable' pointer was utilized before it was verified against nullptr. Check lines: 778, 785. |
General Analysis |
trvlfrm.cxx:1564 |
High |
V654 |
The condition 'pCnt' of loop is always true. |
General Analysis |
wsfrm.cxx:2881 |
High |
V571 |
Recurring check. The 'if (IsTabFrame())' condition was already verified in line 2879. |
General Analysis |
swxmltextblocks.cxx:65 |
High |
V773 |
The function was exited without releasing the 'pDocSh' pointer. A memory leak is possible. |
General Analysis |
swxmltextblocks.cxx:107 |
High |
V773 |
The function was exited without releasing the 'pDocSh' pointer. A memory leak is possible. |
General Analysis |
atrstck.cxx:284 |
High |
V512 |
A call of the 'memcpy' function will lead to underflow of the buffer 'm_pArray'. |
General Analysis |
frmform.cxx:1930 |
High |
V654 |
The condition 'pFootnoteBoss' of loop is always true. |
General Analysis |
itratr.cxx:331 |
High |
V595 |
The 'm_pMergedPara' pointer was utilized before it was verified against nullptr. Check lines: 331, 342. |
General Analysis |
itratr.cxx:469 |
High |
V595 |
The 'pAttr->End()' pointer was utilized before it was verified against nullptr. Check lines: 469, 473. |
General Analysis |
itratr.cxx:72 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_aFontIdx. |
General Analysis |
itrform2.cxx:225 |
High |
V595 |
The 'pPor' pointer was utilized before it was verified against nullptr. Check lines: 225, 231. |
General Analysis |
porfly.cxx:236 |
High |
V595 |
The 'rInf.GetVsh()' pointer was utilized before it was verified against nullptr. Check lines: 236, 237. |
General Analysis |
portxt.cxx:133 |
High |
V595 |
The 'rInf.GetTextFrame()' pointer was utilized before it was verified against nullptr. Check lines: 133, 159. |
General Analysis |
txtcache.hxx:40 |
High |
V530 |
The return value of function 'release' is required to be utilized. |
General Analysis |
txtfld.cxx:287 |
High |
V773 |
The 'pRet' pointer was assigned values twice without releasing the memory. A memory leak is possible. |
General Analysis |
undraw.cxx:384 |
High |
V773 |
Visibility scope of the 'pContact' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
undraw.cxx:287 |
High |
V773 |
Visibility scope of the 'pContact' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
unins.cxx:764 |
High |
V530 |
The return value of function 'release' is required to be utilized. |
General Analysis |
unocoll.cxx:122 |
High |
V595 |
The 'mpDocShell' pointer was utilized before it was verified against nullptr. Check lines: 122, 142. |
General Analysis |
unodraw.cxx:693 |
High |
V773 |
The exception was thrown without releasing the 'pPam' pointer. A memory leak is possible. |
General Analysis |
unoobj.cxx:1895 |
High |
V590 |
Consider inspecting this expression. The expression is excessive or contains a misprint. |
General Analysis |
unoredline.cxx:137 |
High |
V773 |
The exception was thrown without releasing the 'pXCursor' pointer. A memory leak is possible. |
General Analysis |
unosett.cxx:2143 |
High |
V773 |
The exception was thrown without releasing the 'pDocRule' pointer. A memory leak is possible. |
General Analysis |
unostyle.cxx:1679 |
High |
V595 |
The 'pPrinter' pointer was utilized before it was verified against nullptr. Check lines: 1679, 1683. |
General Analysis |
unotext.cxx:2593 |
High |
V773 |
The exception was thrown without releasing the 'pXCursor' pointer. A memory leak is possible. |
General Analysis |
vnew.cxx:181 |
High |
V763 |
Parameter 'pOutput' is always rewritten in function body before being used. |
General Analysis |
vnew.cxx:256 |
High |
V763 |
Parameter 'pOutput' is always rewritten in function body before being used. |
General Analysis |
vprint.cxx:529 |
High |
V773 |
The function was exited without releasing the 'pMetaFile' pointer. A memory leak is possible. |
General Analysis |
docxattributeoutput.cxx:1571 |
High |
V523 |
The 'then' statement is equivalent to the 'else' statement. |
General Analysis |
docxexport.cxx:1462 |
High |
V586 |
The 'clear' function is called twice for deallocation of the same resource. Check lines: 1442, 1462. |
General Analysis |
wrtw8esh.cxx:1073 |
High |
V539 |
Consider inspecting iterators which are being passed as arguments to function 'erase'. |
General Analysis |
wrtw8nds.cxx:504 |
High |
V595 |
The 'pFont' pointer was utilized before it was verified against nullptr. Check lines: 504, 517. |
General Analysis |
ww8graf.cxx:2685 |
High |
V773 |
Visibility scope of the 'pFormatURL' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
ww8par.cxx:5325 |
High |
V595 |
The 'pHt' pointer was utilized before it was verified against nullptr. Check lines: 5325, 5326. |
General Analysis |
ww8par2.cxx:756 |
High |
V590 |
Consider inspecting the '* pData <= MAXLEVEL && * pData <= 9' expression. The expression is excessive or contains a misprint. |
General Analysis |
ww8par2.cxx:802 |
High |
V590 |
Consider inspecting this expression. The expression is excessive or contains a misprint. |
General Analysis |
ww8par2.cxx:1081 |
High |
V614 |
Uninitialized variable 'nWwCols' used. |
General Analysis |
ww8par2.cxx:1974 |
High |
V773 |
The 'pNewBand' pointer was assigned values twice without releasing the memory. A memory leak is possible. |
General Analysis |
ww8par6.cxx:1129 |
High |
V547 |
Expression 'eVer <= ww::eWW7' is always false. |
General Analysis |
ww8par6.cxx:2815 |
High |
V595 |
The 'm_pPaM' pointer was utilized before it was verified against nullptr. Check lines: 2815, 2835. |
General Analysis |
xmlexp.cxx:393 |
High |
V547 |
Expression 'nIndex < 11' is always true. |
General Analysis |
xmlfmt.cxx:152 |
High |
V501 |
There are identical sub-expressions 'SkipWS()' to the left and to the right of the '&&' operator. |
General Analysis |
swuiccoll.cxx:171 |
High |
V595 |
The 'm_pFormat' pointer was utilized before it was verified against nullptr. Check lines: 171, 183. |
General Analysis |
vbaapplication.cxx:365 |
High |
V773 |
Visibility scope of the 'pWindow' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
vbaapplication.cxx:315 |
High |
V773 |
Visibility scope of the 'pWindow' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
vbaapplication.cxx:303 |
High |
V773 |
Visibility scope of the 'pWindow' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
vbaapplication.cxx:291 |
High |
V773 |
Visibility scope of the 'pWindow' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
vbaapplication.cxx:279 |
High |
V773 |
Visibility scope of the 'pWindow' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
vbaapplication.cxx:373 |
High |
V773 |
Visibility scope of the 'pWindow' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
docsh.cxx:435 |
High |
V595 |
The 'GetMedium()' pointer was utilized before it was verified against nullptr. Check lines: 435, 455. |
General Analysis |
swdtflvr.cxx:3509 |
High |
V765 |
A compound assignment expression 'x -= x - ...' is suspicious. Consider inspecting it for a possible error. |
General Analysis |
swdtflvr.cxx:202 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_bOldIdle, m_bCleanUp. |
General Analysis |
edtwin.cxx:1463 |
High |
V547 |
Expression is always true. |
General Analysis |
toxmgr.cxx:147 |
High |
V773 |
Visibility scope of the 'pMark' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
drawbase.cxx:519 |
High |
V547 |
Expression is always true. |
General Analysis |
textsh1.cxx:210 |
High |
V788 |
Uninitialized variable 'pRequest' will be used in the lambda expression, as it was captured by value. |
General Analysis |
tablemgr.cxx:267 |
High |
V773 |
Visibility scope of the 'pClient' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
view2.cxx:2183 |
High |
V595 |
The 'pDoc' pointer was utilized before it was verified against nullptr. Check lines: 2183, 2199. |
General Analysis |
viewtab.cxx:1390 |
High |
V547 |
Expression 'nWhich == (10000 + 284)' is always true. |
General Analysis |
viewtab.cxx:1332 |
High |
V547 |
Expression 'nWhich == (10000 + 285)' is always true. |
General Analysis |
unodoc.cxx:64 |
High |
V773 |
The function was exited without releasing the 'pShell' pointer. A memory leak is possible. |
General Analysis |
unodoc.cxx:77 |
High |
V773 |
The function was exited without releasing the 'pShell' pointer. A memory leak is possible. |
General Analysis |
content.cxx:812 |
High |
V595 |
The 'pOldMember' pointer was utilized before it was verified against nullptr. Check lines: 812, 822. |
General Analysis |
uitool.cxx:281 |
High |
V547 |
Expression 'nFirstShare < 0' is always true. |
General Analysis |
wrtsh1.cxx:589 |
High |
V773 |
Visibility scope of the 'pCli' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
wrtsh1.cxx:739 |
High |
V773 |
The function was exited without releasing the 'pCli' pointer. A memory leak is possible. |
General Analysis |
wrtsh1.cxx:427 |
High |
V773 |
Visibility scope of the 'pClient' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
wrtsh2.cxx:196 |
High |
V773 |
Visibility scope of the 'pTmp' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
unoapi_property_testers.cxx:166 |
High |
V614 |
Uninitialized variable 'nPropertySet' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
unoapi_property_testers.cxx:146 |
High |
V614 |
Uninitialized variable 'nPropertySet' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
unoapi_property_testers.cxx:146 |
High |
V614 |
Uninitialized variable 'nPropertyGet' used. Consider checking the first actual argument of the 'assertEquals' function. |
General Analysis |
unoapi_property_testers.cxx:127 |
High |
V614 |
Uninitialized variable 'nPropertySet' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
unoapi_property_testers.cxx:107 |
High |
V614 |
Uninitialized variable 'dPropertyGet' used. Consider checking the first actual argument of the 'assertDoubleEquals' function. |
General Analysis |
unoapi_property_testers.cxx:185 |
High |
V614 |
Uninitialized variable 'nPropertyGet' used. Consider checking the first actual argument of the 'assertEquals' function. |
General Analysis |
unoapi_property_testers.cxx:185 |
High |
V614 |
Uninitialized variable 'nPropertySet' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
unoapi_property_testers.cxx:107 |
High |
V614 |
Uninitialized variable 'dPropertySet' used. Consider checking the second actual argument of the 'assertDoubleEquals' function. |
General Analysis |
unoapi_property_testers.cxx:88 |
High |
V614 |
Uninitialized variable 'dPropertySet' used. Consider checking the second actual argument of the 'assertDoubleEquals' function. |
General Analysis |
constructors.cxx:161 |
High |
V614 |
Uninitialized variable 'arg29b' used. |
General Analysis |
constructors.cxx:157 |
High |
V614 |
Uninitialized variable 'arg27b' used. |
General Analysis |
constructors.cxx:176 |
High |
V614 |
Uninitialized variable 'arg38b' used. |
General Analysis |
constructors.cxx:173 |
High |
V614 |
Uninitialized variable 'arg35' used. |
General Analysis |
constructors.cxx:169 |
High |
V614 |
Uninitialized variable 'arg33b' used. |
General Analysis |
constructors.cxx:130 |
High |
V614 |
Uninitialized variable 'arg13' used. |
General Analysis |
constructors.cxx:115 |
High |
V614 |
Uninitialized variable 'arg0' used. |
General Analysis |
vclxprinter.cxx:105 |
High |
V614 |
Uninitialized variable 'n' used. |
General Analysis |
vclxprinter.cxx:116 |
High |
V614 |
Uninitialized variable 'b' used. |
General Analysis |
controlmodelcontainerbase.cxx:990 |
High |
V783 |
Dereferencing of the invalid iterator 'aCurrentGroup' might take place. |
General Analysis |
unocontrolmodel.cxx:733 |
High |
V547 |
Expression 'n == 18' is always true. |
General Analysis |
unocontrols.cxx:1273 |
High |
V547 |
Expression 'nState != 0' is always false. |
General Analysis |
formpdfexport.cxx:462 |
High |
V547 |
Expression 'eButtonType == FormButtonType_SUBMIT' is always false. |
General Analysis |
formpdfexport.cxx:536 |
High |
V547 |
Expression 'nState != 0' is always false. |
General Analysis |
formpdfexport.cxx:447 |
High |
V547 |
Expression 'nMaxTextLength <= 0' is always true. |
General Analysis |
formpdfexport.cxx:482 |
High |
V547 |
Expression 'eButtonType == FormButtonType_URL' is always false. |
General Analysis |
formpdfexport.cxx:526 |
High |
V547 |
Expression 'nState != 0' is always false. |
General Analysis |
ttime.cxx:471 |
High |
V1028 |
Possible overflow. Consider casting arguments of the operator to the type instead of casting its result. |
General Analysis |
cachedcontentresultset.cxx:1725 |
High |
V547 |
Expression 'm_nRow == 1' is always true. |
General Analysis |
filtask.cxx:2749 |
High |
V783 |
Dereferencing of the invalid iterator 'itnew' might take place. Check lines: 2741, 2749. |
General Analysis |
hierarchydata.cxx:1112 |
High |
V547 |
Expression 'nType == 0' is always true. |
General Analysis |
tdoc_content.cxx:2295 |
High |
V547 |
Expression 'eType == STREAM' is always true. |
General Analysis |
tdoc_datasupplier.cxx:271 |
High |
V758 |
The 'rName' reference becomes invalid when temporary object returned by a function is destroyed. |
General Analysis |
tdoc_datasupplier.cxx:212 |
High |
V758 |
The 'rName' reference becomes invalid when temporary object returned by a function is destroyed. |
General Analysis |
cppcompskeleton.cxx:1194 |
High |
V595 |
The 'pofs' pointer was utilized before it was verified against nullptr. Check lines: 1194, 1220. |
General Analysis |
cppcompskeleton.cxx:1033 |
High |
V595 |
The 'pofs' pointer was utilized before it was verified against nullptr. Check lines: 1033, 1057. |
General Analysis |
javacompskeleton.cxx:897 |
High |
V595 |
The 'pofs' pointer was utilized before it was verified against nullptr. Check lines: 897, 914. |
General Analysis |
javatypemaker.cxx:602 |
High |
V533 |
It is likely that a wrong variable is being incremented inside the 'for' operator. Consider reviewing 'i'. |
General Analysis |
iahndl-ssl.cxx:134 |
High |
V773 |
The function was exited without releasing the 'pNumberFormatter' pointer. A memory leak is possible. |
General Analysis |
vbacheckbox.cxx:56 |
High |
V547 |
Expression 'nValue == - 1' is always true. |
General Analysis |
vbacheckbox.cxx:51 |
High |
V547 |
Expression 'nValue != 0' is always true. |
General Analysis |
vbaradiobutton.cxx:50 |
High |
V547 |
Expression 'nValue != 0' is always true. |
General Analysis |
vbaradiobutton.cxx:55 |
High |
V547 |
Expression 'nValue == - 1' is always true. |
General Analysis |
vbadocumentsbase.cxx:231 |
High |
V547 |
Expression 'meDocType == EXCEL_DOCUMENT' is always true. |
General Analysis |
gdiimpl.cxx:478 |
High |
V501 |
There are identical sub-expressions 'tryShaders("combinedTextureVertexShader", "combinedTextureFragmentShader")' to the left and to the right of the '&&' operator. |
General Analysis |
windeviceinfo.cxx:359 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: mbDeleteDevices. |
General Analysis |
windeviceinfo.cxx:858 |
High |
V557 |
Array overrun is possible. The 'id' index is pointing beyond array bound. |
General Analysis |
windeviceinfo.cxx:369 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: mbDeleteDevices. |
General Analysis |
xgraphictest.cxx:79 |
High |
V614 |
Uninitialized variable 'nType' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
xgraphictest.cxx:101 |
High |
V614 |
Uninitialized variable 'nBitsPerPixel' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
xgraphictest.cxx:106 |
High |
V614 |
Uninitialized variable 'bTransparent' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
xgraphictest.cxx:111 |
High |
V614 |
Uninitialized variable 'bAlpha' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
xgraphictest.cxx:116 |
High |
V614 |
Uninitialized variable 'bAnimated' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
xgraphictest.cxx:144 |
High |
V614 |
Uninitialized variable 'nType' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
xgraphictest.cxx:153 |
High |
V614 |
Uninitialized variable 'bLinked' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
xgraphictest.cxx:183 |
High |
V614 |
Uninitialized variable 'nType' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
xgraphictest.cxx:192 |
High |
V614 |
Uninitialized variable 'bLinked' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
xgraphictest.cxx:221 |
High |
V614 |
Uninitialized variable 'nType' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
xgraphictest.cxx:230 |
High |
V614 |
Uninitialized variable 'bLinked' used. Consider checking the second actual argument of the 'assertEquals' function. |
General Analysis |
timer.cxx:354 |
High |
V654 |
The condition 'nCount < 20' of loop is always true. |
General Analysis |
timer.cxx:387 |
High |
V654 |
The condition 'nCount < 200' of loop is always true. |
General Analysis |
edit.cxx:2773 |
High |
V623 |
Consider inspecting the '?:' operator. A temporary object is being created and subsequently destroyed. Check third operand. |
General Analysis |
graphicfilter.cxx:2041 |
High |
V614 |
The 'pFilterConfigItem' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. |
General Analysis |
graphicfilter.cxx:1712 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: 'aSize.Width'. |
General Analysis |
graphicfilter.cxx:1712 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: 'aSize.Height'. |
General Analysis |
graphicfilter2.cxx:442 |
High |
V763 |
Parameter 'bExtendedInfo' is always rewritten in function body before being used. |
General Analysis |
decode.cxx:31 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: pOutBuf. |
General Analysis |
sft.cxx:640 |
High |
V781 |
The value of the 'np' variable is checked after it was used. Perhaps there is a mistake in program logic. Check lines: 640, 643. |
General Analysis |
sft.cxx:814 |
High |
V630 |
The 'calloc' function is used to allocate memory for an array of objects which are classes containing constructors. |
General Analysis |
sft.cxx:2552 |
High |
V630 |
The 'calloc' function is used to allocate memory for an array of objects which are classes containing constructors. |
General Analysis |
impgraph.cxx:262 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maSwapInfo. |
General Analysis |
impgraph.cxx:250 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maSwapInfo. |
General Analysis |
impgraph.cxx:274 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maSwapInfo. |
General Analysis |
impgraph.cxx:238 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maSwapInfo. |
General Analysis |
impgraph.cxx:179 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maSwapInfo. |
General Analysis |
impgraph.cxx:299 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maSwapInfo. |
General Analysis |
impgraph.cxx:286 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maSwapInfo. |
General Analysis |
pngwrite.cxx:122 |
High |
V547 |
Expression 'mnInterlaced == 0' is always true. |
General Analysis |
print3.cxx:905 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: 'aIsSize.Height'. |
General Analysis |
print3.cxx:897 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: 'aSetSize.Height'. |
General Analysis |
print3.cxx:897 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: 'aSetSize.Width'. |
General Analysis |
print3.cxx:372 |
High |
V547 |
Expression 'nContent == 0' is always false. |
General Analysis |
print3.cxx:705 |
High |
V547 |
Expression 'nJobIteration < nJobs - 1' is always false. |
General Analysis |
print3.cxx:905 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: 'aIsSize.Width'. |
General Analysis |
region.cxx:1281 |
High |
V522 |
Dereferencing of the null pointer 'getPolyPolygon()' might take place. |
General Analysis |
region.cxx:1309 |
High |
V522 |
Dereferencing of the null pointer 'getB2DPolyPolygon()' might take place. |
General Analysis |
unographicprovider.cxx:310 |
High |
V614 |
The 'pIStm' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. |
General Analysis |
builder.cxx:3873 |
High |
V623 |
Consider inspecting the '?:' operator. A temporary object of the 'VclPtr' type is being created and subsequently destroyed. Check third operand. |
General Analysis |
menu.cxx:2709 |
High |
V757 |
It is possible that an incorrect variable is compared with nullptr after type conversion using 'dynamic_cast'. Check lines: 2709, 2710. |
General Analysis |
paint.cxx:298 |
High |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'ApplySettings' function. |
General Analysis |
toolbox.cxx:3283 |
High |
V773 |
The function was exited without releasing the 'pMgr' pointer. A memory leak is possible. |
General Analysis |
toolbox.cxx:3581 |
High |
V773 |
The function was exited without releasing the 'pMgr' pointer. A memory leak is possible. |
General Analysis |
toolbox.cxx:3605 |
High |
V773 |
The function was exited without releasing the 'pMgr' pointer. A memory leak is possible. |
General Analysis |
window.cxx:461 |
High |
V595 |
The 'pOverlapWindow' pointer was utilized before it was verified against nullptr. Check lines: 461, 466. |
General Analysis |
window.cxx:1526 |
High |
V614 |
The 'pOverlapRegion' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. |
General Analysis |
salinfo.cxx:144 |
High |
V773 |
Visibility scope of the 'aDesktopRC' handle was exited without releasing the resource. A resource leak is possible. |
General Analysis |
salinst.cxx:424 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: mhInst. |
General Analysis |
gdiimpl.cxx:676 |
High |
V773 |
Visibility scope of the 'pTmpSalBmp' pointer was exited without releasing the memory. A memory leak is possible. |
General Analysis |
gdiimpl.cxx:258 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: mnPenColor, mnBrushColor. |
General Analysis |
salbmp.cxx:605 |
High |
V614 |
Uninitialized variable 'aHBmp64' used. |
General Analysis |
salframe.cxx:822 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maFullScreenRect, mnFullScreenShowState, mnStyle. |
General Analysis |
salobj.cxx:546 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: mpClipRgnData, mpNextClipRect, mbFirstClipRect. |
General Analysis |
accdescendantmanagereventlistener.cxx:184 |
High |
V595 |
The 'pAgent' pointer was utilized before it was verified against nullptr. Check lines: 184, 186. |
General Analysis |
accobject.cxx:874 |
High |
V595 |
The 'm_pIMAcc' pointer was utilized before it was verified against nullptr. Check lines: 874, 879. |
General Analysis |
accobject.cxx:384 |
High |
V597 |
The compiler could delete the 'memset' function call, which is used to flush 'pUNumberString' buffer. The RtlSecureZeroMemory() function should be used to erase the private data. |
General Analysis |
acctextbase.cxx:172 |
High |
V614 |
Uninitialized variable 'nColor' used. Consider checking the first actual argument of the 'number' function. |
General Analysis |
maccessible.cxx:1043 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
maccessible.cxx:2649 |
High |
V716 |
Suspicious type conversion in return statement: returned HRESULT, but function actually returns BOOL. |
General Analysis |
maccessible.cxx:2901 |
High |
V512 |
A call of the 'memcpy' function will lead to underflow of the buffer '& pvData->boolVal'. |
General Analysis |
maccessible.cxx:2660 |
High |
V716 |
Suspicious type conversion in return statement: returned HRESULT, but function actually returns BOOL. |
General Analysis |
maccessible.cxx:2488 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
maccessible.cxx:206 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
maccessible.cxx:673 |
High |
V595 |
The 'm_pIParent' pointer was utilized before it was verified against nullptr. Check lines: 673, 675. |
General Analysis |
maccessible.cxx:1077 |
High |
V530 |
The return value of function 'SysAllocString' is required to be utilized. |
General Analysis |
maccessible.cxx:196 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
maccessible.cxx:1111 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
maccessible.cxx:1190 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
maccessible.cxx:201 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
maccessible.cxx:1216 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
maccessible.cxx:212 |
High |
V745 |
A 'wchar_t *' type string is incorrectly converted to 'BSTR' type string. Consider using 'SysAllocString' function. |
General Analysis |
domainmapper.cxx:2789 |
High |
V547 |
Expression 'nIntValue == 0' is always true. |
General Analysis |
domainmapper.cxx:3255 |
High |
V547 |
Expression 'nFirstLineIndent < 0' is always false. |
General Analysis |
domainmappertablemanager.cxx:458 |
High |
V1007 |
The value from the uninitialized optional 'oCurrentWidth' is used. Probably it is a mistake. |
General Analysis |
domainmappertablemanager.cxx:479 |
High |
V1007 |
The value from the uninitialized optional 'oCurrentWidth' is used. Probably it is a mistake. |
General Analysis |
graphicimport.cxx:1292 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: 'aGraphicSize.Width'. |
General Analysis |
graphicimport.cxx:1299 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: 'aGraphicSize.Width'. |
General Analysis |
graphicimport.cxx:1292 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: 'aGraphicSize.Height'. |
General Analysis |
graphicimport.cxx:1299 |
High |
V516 |
Consider inspecting an odd expression. Non-null function pointer is compared to null: 'aGraphicSize.Height'. |
General Analysis |
numberingmanager.cxx:603 |
High |
V614 |
Uninitialized variable 'nValue' used. |
General Analysis |
propertymap.cxx:1417 |
High |
V547 |
Expression 'eWritingMode == text::WritingMode_LR_TB' is always true. |
General Analysis |
rtfsdrimport.cxx:1011 |
High |
V1007 |
The value from the uninitialized optional 'oRelLeft' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1012 |
High |
V1007 |
The value from the uninitialized optional 'oRelTop' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1011 |
High |
V1007 |
The value from the uninitialized optional 'oGroupLeft' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1015 |
High |
V1007 |
The value from the uninitialized optional 'oRelLeft' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1008 |
High |
V1007 |
The value from the uninitialized optional 'oGroupTop' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1008 |
High |
V1007 |
The value from the uninitialized optional 'oGroupBottom' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1007 |
High |
V1007 |
The value from the uninitialized optional 'oGroupLeft' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1007 |
High |
V1007 |
The value from the uninitialized optional 'oGroupRight' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:844 |
High |
V1007 |
The value from the uninitialized optional 'oY' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:843 |
High |
V1007 |
The value from the uninitialized optional 'oX' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:491 |
High |
V1007 |
The value from the uninitialized optional 'oY' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:490 |
High |
V1007 |
The value from the uninitialized optional 'oX' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1016 |
High |
V1007 |
The value from the uninitialized optional 'oRelBottom' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1016 |
High |
V1007 |
The value from the uninitialized optional 'oRelTop' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1012 |
High |
V1007 |
The value from the uninitialized optional 'oGroupTop' is used. Probably it is a mistake. |
General Analysis |
rtfsdrimport.cxx:1015 |
High |
V1007 |
The value from the uninitialized optional 'oRelRight' is used. Probably it is a mistake. |
General Analysis |
epubexporttest.cxx:287 |
High |
V1028 |
Possible overflow. Consider casting arguments of the operator to the type instead of casting its result. |
General Analysis |
resultsetforquery.cxx:240 |
High |
V1030 |
The 'aIndexFolderResultVector' variable is used after it was moved. |
General Analysis |
schxmlchartcontext.cxx:227 |
High |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: maSeriesDefaultsAndStyles. |
General Analysis |
schxmlexport.cxx:1607 |
High |
V1028 |
Possible overflow. Consider casting arguments of the operator to the type instead of casting its result. |
General Analysis |
animationimport.cxx:1365 |
High |
V614 |
Uninitialized variable 'fDuration' used. Consider checking the first actual argument of the 'Any' function. |
General Analysis |
animationimport.cxx:1389 |
High |
V614 |
Uninitialized variable 'eTiming' used. |
General Analysis |
elementexport.cxx:1860 |
High |
V547 |
Expression is always true. |
General Analysis |
elementexport.cxx:1609 |
High |
V547 |
Expression is always false. |
General Analysis |
elementexport.cxx:1935 |
High |
V547 |
Expression is always true. |
General Analysis |
layerexport.cxx:544 |
High |
V547 |
Expression is always false. |
General Analysis |
prstylei.cxx:568 |
High |
V547 |
Expression 'FillStyle_NONE != eFillStyle' is always false. |
General Analysis |
exp_share.hxx:236 |
High |
V614 |
Uninitialized variable 'v' used. Consider checking the first actual argument of the 'boolean' function. |
General Analysis |
xmldlg_export.cxx:1251 |
High |
V1013 |
Suspicious subexpression f1.Pitch == f2.CharSet in a sequence of similar comparisons. |
General Analysis |
textwindowaccessibility.cxx:2027 |
Medium |
V547 |
Expression 'Oep <= Osp' is always false. |
General Analysis |
acc_factory.cxx:309 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
acc_factory.cxx:346 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
acc_factory.cxx:314 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
acc_factory.cxx:350 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
vclxaccessiblebox.cxx:521 |
Medium |
V560 |
A part of conditional expression is always true: m_aBoxType == LISTBOX. |
General Analysis |
vclxaccessiblebox.cxx:423 |
Medium |
V547 |
Expression 'm_bIsDropDownBox' is always true. |
General Analysis |
animcore.cxx:125 |
Medium |
V690 |
The 'AnimationNode' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
soundhandler.cxx:90 |
Medium |
V547 |
Expression 'pTypeCollection == nullptr' is always true. |
General Analysis |
baside2.cxx:347 |
Medium |
V547 |
Expression 'pMethod' is always true. |
General Analysis |
baside2b.cxx:2447 |
Medium |
V547 |
Expression 'pNewArray' is always true. |
General Analysis |
baside2b.cxx:2443 |
Medium |
V560 |
A part of conditional expression is always true: pOldArray == nullptr. |
General Analysis |
baside2b.cxx:2443 |
Medium |
V560 |
A part of conditional expression is always false: pNewArray == nullptr. |
General Analysis |
baside2b.cxx:2416 |
Medium |
V560 |
A part of conditional expression is always true: pNewArray != nullptr. |
General Analysis |
baside2b.cxx:2096 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
baside2b.cxx:150 |
Medium |
V547 |
Expression 'nIndexStart != - 1' is always true. |
General Analysis |
baside2b.cxx:2455 |
Medium |
V547 |
Expression 'pNewArray' is always true. |
General Analysis |
baside3.cxx:1246 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
basidesh.cxx:125 |
Medium |
V1019 |
Compound assignment expression 'Event.Accessor >>= sModuleName' is used inside condition. |
General Analysis |
basidesh.cxx:118 |
Medium |
V1019 |
Compound assignment expression 'Event.Accessor >>= sModuleName' is used inside condition. |
General Analysis |
basobj3.cxx:113 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBasic'. |
General Analysis |
moduldl2.cxx:1214 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
dlged.cxx:492 |
Medium |
V560 |
A part of conditional expression is always true: nHeight == 0. |
General Analysis |
dlged.cxx:492 |
Medium |
V560 |
A part of conditional expression is always true: nWidth == 0. |
General Analysis |
dlgedfunc.cxx:262 |
Medium |
V560 |
A part of conditional expression is always true: pHdl. |
General Analysis |
dlgedobj.cxx:155 |
Medium |
V547 |
Expression 'bDecoration' is always true. |
General Analysis |
dlgedobj.cxx:262 |
Medium |
V547 |
Expression 'bDecoration' is always true. |
General Analysis |
dlgedobj.cxx:203 |
Medium |
V547 |
Expression 'bDecoration' is always true. |
General Analysis |
dlgedobj.cxx:311 |
Medium |
V547 |
Expression 'bDecoration' is always true. |
General Analysis |
dlgedobj.cxx:429 |
Medium |
V547 |
Expression 'nNewValue < 1' is always true. |
General Analysis |
dlgedobj.cxx:422 |
Medium |
V547 |
Expression 'nNewValue < 1' is always true. |
General Analysis |
hommatrixtemplate.hxx:121 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rToBeCopied'. |
General Analysis |
b2dpolygonclipper.cxx:279 |
Medium |
V547 |
Expression '!bInside' is always false. |
General Analysis |
b2dpolygonclipper.cxx:275 |
Medium |
V547 |
Expression '!bInside' is always false. |
General Analysis |
b2dpolygonclipper.cxx:267 |
Medium |
V547 |
Expression '!bInside' is always false. |
General Analysis |
b2dpolygonclipper.cxx:263 |
Medium |
V547 |
Expression '!bInside' is always false. |
General Analysis |
b2dtrapezoid.cxx:380 |
Medium |
V778 |
Two similar code fragments were found. Perhaps, this is a typo and 'getEnd' variable should be used instead of 'getStart'. |
General Analysis |
b2dtrapezoid.cxx:368 |
Medium |
V778 |
Two similar code fragments were found. Perhaps, this is a typo and 'getEnd' variable should be used instead of 'getStart'. |
General Analysis |
unopolypolygon.cxx:392 |
Medium |
V571 |
Recurring check. The 'nPointIndex' condition was already verified in line 385. |
General Analysis |
unopolypolygon.cxx:392 |
Medium |
V560 |
A part of conditional expression is always true: nPointIndex. |
General Analysis |
basmgr.cxx:1770 |
Medium |
V1004 |
The 'mpLib' pointer was used unsafely after it was verified against nullptr. Check lines: 1765, 1770. |
General Analysis |
sb.cxx:531 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'PutObject' function. |
General Analysis |
sbunoobj.cxx:3908 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
dim.cxx:1225 |
Medium |
V668 |
There is no sense in testing the 'pProc' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
exprnode.cxx:384 |
Medium |
V636 |
The 'll / lr' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
io.cxx:257 |
Medium |
V668 |
There is no sense in testing the 'pChan' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
io.cxx:239 |
Medium |
V668 |
There is no sense in testing the 'pChan' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
symtbl.cxx:76 |
Medium |
V614 |
Potentially uninitialized buffer 'buf' used. Consider checking the first actual argument of the 'createFromAscii' function. |
General Analysis |
symtbl.cxx:109 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
symtbl.cxx:120 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
symtbl.cxx:144 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
symtbl.cxx:171 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
dllmgr-x86.cxx:169 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
dllmgr-x86.cxx:185 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'arr'. |
General Analysis |
dllmgr-x86.cxx:221 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
dllmgr-x86.cxx:238 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'arr'. |
General Analysis |
dllmgr-x86.cxx:413 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
dllmgr-x86.cxx:432 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'arr'. |
General Analysis |
iosys.cxx:611 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: pChan. |
General Analysis |
methods.cxx:2648 |
Medium |
V547 |
Expression '!pRTLData' is always false. |
General Analysis |
runtime.cxx:3224 |
Medium |
V547 |
Expression '!bVBAEnabled' is always true. |
General Analysis |
runtime.cxx:1602 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pUnoStructVal'. |
General Analysis |
stdobj.cxx:719 |
Medium |
V619 |
The array 'p' is being utilized as a pointer to single object. |
General Analysis |
sbxform.cxx:723 |
Medium |
V560 |
A part of conditional expression is always false: nMaxDigit >= nDigitPos. |
General Analysis |
sbxscan.cxx:421 |
Medium |
V793 |
It is odd that the result of the 'nExp / 10' statement is a part of the condition. Perhaps, this statement should have been compared with something else. |
General Analysis |
sbxvar.cxx:335 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &r'. |
General Analysis |
namecont.cxx:3466 |
Medium |
V668 |
There is no sense in testing the 'm_pScriptSubPackageIterator' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
namecont.cxx:3412 |
Medium |
V668 |
There is no sense in testing the 'm_pScriptSubPackageIterator' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
namecont.cxx:3358 |
Medium |
V668 |
There is no sense in testing the 'm_pScriptSubPackageIterator' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
bridge.cxx:907 |
Medium |
V779 |
Unreachable code detected. It is possible that an error is present. |
General Analysis |
writer.cxx:411 |
Medium |
V547 |
Expression is always false. |
General Analysis |
cpp2uno.cxx:123 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
cpp2uno.cxx:133 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
except.cxx:391 |
Medium |
V547 |
Expression '!s_pInfos' is always true. |
General Analysis |
except.cxx:135 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
except.cxx:434 |
Medium |
V547 |
Expression '!s_pRTTIs' is always true. |
General Analysis |
except.cxx:205 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: somecode. |
General Analysis |
except.cxx:333 |
Medium |
V522 |
There might be dereferencing of a potential null pointer '(sal_Int32 *) _types'. Check lines: 333, 332. |
General Analysis |
uno2cpp.cxx:217 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
uno2cpp.cxx:228 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
component.cxx:53 |
Medium |
V547 |
Expression '!s_pStaticOidPart' is always true. |
General Analysis |
jni_java2uno.cxx:187 |
Medium |
V1032 |
The pointer 'mem' is cast to a more strictly aligned pointer type. |
General Analysis |
jni_java2uno.cxx:203 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
nativethreadpool.cxx:132 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
dx_bitmapcanvashelper.cxx:208 |
Medium |
V547 |
Expression '!mpTarget' is always false. |
General Analysis |
dx_bitmapcanvashelper.cxx:194 |
Medium |
V547 |
Expression '!mpTarget' is always false. |
General Analysis |
dx_bitmapcanvashelper.cxx:179 |
Medium |
V547 |
Expression '!mpTarget' is always false. |
General Analysis |
dx_bitmapcanvashelper.cxx:163 |
Medium |
V547 |
Expression '!mpTarget' is always false. |
General Analysis |
dx_config.cxx:53 |
Medium |
V1019 |
Compound assignment expression 'aProps[0] >>= aValues' is used inside condition. |
General Analysis |
dx_vcltools.cxx:57 |
Medium |
V641 |
The size of the '& rBIH' buffer is not a multiple of the element size of the type 'BITMAPCOREHEADER const'. |
General Analysis |
simplecanvasimpl.cxx:115 |
Medium |
V560 |
A part of conditional expression is always true: sal_Int32(0xFF) != 0. |
General Analysis |
simplecanvasimpl.cxx:128 |
Medium |
V560 |
A part of conditional expression is always true: sal_Int32(0xFF) != 0. |
General Analysis |
chart2export.cxx:334 |
Medium |
V547 |
Expression 'bForceIntercept' is always false. |
General Analysis |
chart2export.cxx:1226 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1223, 1226. |
General Analysis |
accessiblebase.cxx:694 |
Medium |
V547 |
Expression 'pParent != nullptr' is always true. |
General Analysis |
accessiblebase.cxx:342 |
Medium |
V547 |
Expression 'pParent' is always true. |
General Analysis |
areawrapper.cxx:153 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:615 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:614 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:613 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:612 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:611 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:621 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:616 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:617 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:618 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:619 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:622 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:623 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axiswrapper.cxx:620 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1408 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1223 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
chartdocumentwrapper.cxx:1406 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1405 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1407 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1416 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1415 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1409 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1413 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1412 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1411 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1410 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartdocumentwrapper.cxx:1414 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:752 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:751 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:750 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:733 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:748 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:747 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:746 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:749 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:754 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:744 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:741 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:740 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:739 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:738 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:737 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:745 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:755 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:731 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:758 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:355 |
Medium |
V703 |
It is odd that the 'm_pDataSeriesPointWrapper' field in derived class 'WrappedLineColorProperty' overwrites field in base class 'WrappedSeriesAreaOrLineProperty'. Check lines: dataseriespointwrapper.cxx:355, wrappedseriesareaorlineproperty.hxx:41. |
General Analysis |
dataseriespointwrapper.cxx:403 |
Medium |
V703 |
It is odd that the 'm_pDataSeriesPointWrapper' field in derived class 'WrappedLineStyleProperty' overwrites field in base class 'WrappedSeriesAreaOrLineProperty'. Check lines: dataseriespointwrapper.cxx:403, wrappedseriesareaorlineproperty.hxx:41. |
General Analysis |
dataseriespointwrapper.cxx:613 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
dataseriespointwrapper.cxx:714 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:716 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:717 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:756 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:726 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:728 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:729 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:730 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:736 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:732 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:831 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
dataseriespointwrapper.cxx:727 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dataseriespointwrapper.cxx:735 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1859 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1860 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1870 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1868 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1867 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1866 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1865 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1869 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1863 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1862 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1861 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
diagramwrapper.cxx:1864 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
gridwrapper.cxx:165 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
legendwrapper.cxx:394 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
legendwrapper.cxx:390 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
legendwrapper.cxx:391 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
legendwrapper.cxx:395 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
titlewrapper.cxx:472 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
titlewrapper.cxx:471 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
titlewrapper.cxx:470 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wallfloorwrapper.cxx:147 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wallfloorwrapper.cxx:146 |
Medium |
V1023 |
A pointer without owner is added to the 'aWrappedProperties' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedautomaticpositionproperties.cxx:116 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:317 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:57 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:58 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:59 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:316 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:60 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:62 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:63 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:64 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:65 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:67 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:211 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:69 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:212 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:213 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:214 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:215 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:314 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:315 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:318 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedaxisandgridexistenceproperties.cxx:68 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedcharacterheightproperty.cxx:49 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedcharacterheightproperty.cxx:51 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedcharacterheightproperty.cxx:50 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappeddatacaptionproperties.cxx:95 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:119 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:559 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 546, 559. |
General Analysis |
wrappedscaleproperty.cxx:419 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
wrappedscaleproperty.cxx:120 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:125 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:118 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:188 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
wrappedscaleproperty.cxx:116 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:115 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:114 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:113 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:112 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:117 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:111 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:110 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:122 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:123 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:124 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaleproperty.cxx:121 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedscaletextproperties.cxx:128 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedsceneproperty.cxx:37 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedsplineproperties.cxx:204 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedsplineproperties.cxx:205 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedsplineproperties.cxx:209 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:931 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:930 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:929 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:928 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:927 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:922 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:925 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:924 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:923 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:921 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:932 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:934 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:926 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstatisticproperties.cxx:936 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstockproperties.cxx:264 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedstockproperties.cxx:265 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedsymbolproperties.cxx:166 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedsymbolproperties.cxx:167 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedsymbolproperties.cxx:168 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedsymbolproperties.cxx:170 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wrappedsymbolproperties.cxx:235 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
wrappedsymbolproperties.cxx:347 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
wrappedsymbolproperties.cxx:477 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
wrappedsymbolproperties.cxx:446 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
wrappedsymbolproperties.cxx:169 |
Medium |
V1023 |
A pointer without owner is added to the 'rList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
databrowser.cxx:822 |
Medium |
V668 |
There is no sense in testing the 'm_spNumberFormatterWrapper' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
dialogmodel.cxx:861 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pModel'. |
General Analysis |
dlg_objectproperties.cxx:400 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 397, 400. |
General Analysis |
objectnameprovider.cxx:580 |
Medium |
V547 |
Expression 'bForceIntercept' is always false. |
General Analysis |
res_legendposition.cxx:158 |
Medium |
V614 |
Potentially uninitialized variable 'eNewPos' used. Consider checking the first actual argument of the 'Any' function. |
General Analysis |
tp_axispositions.cxx:162 |
Medium |
V560 |
A part of conditional expression is always true: nN < nMaxCount. |
General Analysis |
tp_charttype.cxx:673 |
Medium |
V547 |
Expression 'bEnableComplexChartTypes' is always true. |
General Analysis |
tp_charttype.cxx:671 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aChartTypeDialogControllerList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tp_charttype.cxx:669 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aChartTypeDialogControllerList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tp_charttype.cxx:681 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aChartTypeDialogControllerList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tp_charttype.cxx:676 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aChartTypeDialogControllerList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tp_charttype.cxx:668 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aChartTypeDialogControllerList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tp_charttype.cxx:678 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aChartTypeDialogControllerList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tp_charttype.cxx:679 |
Medium |
V547 |
Expression 'bEnableComplexChartTypes' is always true. |
General Analysis |
tp_charttype.cxx:670 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aChartTypeDialogControllerList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tp_charttype.cxx:683 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aChartTypeDialogControllerList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tp_charttype.cxx:672 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aChartTypeDialogControllerList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tp_charttype.cxx:675 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aChartTypeDialogControllerList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
viewelementlistprovider.cxx:123 |
Medium |
V560 |
A part of conditional expression is always true: !pSymbolList. |
General Analysis |
axisitemconverter.cxx:96 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
axisitemconverter.cxx:100 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
datapointitemconverter.cxx:223 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
datapointitemconverter.cxx:221 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
datapointitemconverter.cxx:226 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
datapointitemconverter.cxx:227 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
legenditemconverter.cxx:53 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
legenditemconverter.cxx:56 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
multiplechartconverters.cxx:151 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
multiplechartconverters.cxx:178 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
multiplechartconverters.cxx:120 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
multiplechartconverters.cxx:85 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
multiplechartconverters.cxx:56 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
regressionequationitemconverter.cxx:59 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
regressionequationitemconverter.cxx:64 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
seriesoptionsitemconverter.cxx:255 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
seriesoptionsitemconverter.cxx:274 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
textlabelitemconverter.cxx:199 |
Medium |
V1023 |
A pointer without owner is added to the 'maConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
titleitemconverter.cxx:113 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
titleitemconverter.cxx:100 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
titleitemconverter.cxx:82 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
titleitemconverter.cxx:78 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aConverters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
chartcontroller.cxx:409 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSidebar'. |
General Analysis |
chartcontroller_properties.cxx:229 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
chartcontroller_textedit.cxx:178 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
chartcontroller_tools.cxx:377 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
chartcontroller_window.cxx:859 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pModel'. |
General Analysis |
chartcontroller_window.cxx:1438 |
Medium |
V571 |
Recurring check. The 'pChartWindow' condition was already verified in line 1435. |
General Analysis |
chartcontroller_window.cxx:1838 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
chartcontroller_window.cxx:1468 |
Medium |
V571 |
Recurring check. The 'pChartWindow' condition was already verified in line 1465. |
General Analysis |
chartcontroller_window.cxx:1759 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
drawcommanddispatch.cxx:367 |
Medium |
V1019 |
Compound assignment expression 'pKeyModifier->Value >>= nKeyModifier' is used inside condition. |
General Analysis |
chartareapanel.cxx:52 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
chartaxispanel.cxx:204 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
chartaxispanel.cxx:58 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
chartaxispanel.cxx:172 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
chartcolorwrapper.cxx:33 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
charterrorbarpanel.cxx:229 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
charterrorbarpanel.cxx:198 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
charterrorbarpanel.cxx:71 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
charterrorbarpanel.cxx:90 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
chartlinepanel.cxx:52 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
uiobject.cxx:63 |
Medium |
V1023 |
A pointer without owner is added to the 'maCommands' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
xmlfilter.cxx:117 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
xmlfilter.cxx:95 |
Medium |
V547 |
Expression 'aMDHelper.ISSET_Storage' is always false. |
General Analysis |
chartmodel_persistence.cxx:174 |
Medium |
V1019 |
Compound assignment expression 'aFilterProps >>= aProps' is used inside condition. |
General Analysis |
datapoint.cxx:202 |
Medium |
V1019 |
Compound assignment expression 'rValue >>= xBroadcaster' is used inside condition. |
General Analysis |
datapoint.cxx:194 |
Medium |
V1019 |
Compound assignment expression 'aOldValue >>= xBroadcaster' is used inside condition. |
General Analysis |
dataseries.cxx:289 |
Medium |
V1019 |
Compound assignment expression 'rValue >>= xBroadcaster' is used inside condition. |
General Analysis |
dataseries.cxx:281 |
Medium |
V1019 |
Compound assignment expression 'aOldValue >>= xBroadcaster' is used inside condition. |
General Analysis |
bubbledatainterpreter.cxx:138 |
Medium |
V547 |
Expression 'aSizeValuesVector.size() > nN' is always true. |
General Analysis |
candlestickcharttype.cxx:296 |
Medium |
V1019 |
Compound assignment expression 'aOldValue >>= xBroadcaster' is used inside condition. |
General Analysis |
candlestickcharttype.cxx:304 |
Medium |
V1019 |
Compound assignment expression 'rValue >>= xBroadcaster' is used inside condition. |
General Analysis |
stockcharttypetemplate.cxx:448 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
axishelper.cxx:462 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 458, 462. |
General Analysis |
axishelper.cxx:642 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
axishelper.cxx:730 |
Medium |
V560 |
A part of conditional expression is always true: nSubGridIndex >= 0. |
General Analysis |
axishelper.cxx:1095 |
Medium |
V547 |
Expression 'bVertical' is always false. |
General Analysis |
axishelper.cxx:1096 |
Medium |
V547 |
Expression 'bVertical' is always false. |
General Analysis |
axishelper.cxx:159 |
Medium |
V547 |
Expression 'bLinkToSource' is always true. |
General Analysis |
chartmodelhelper.cxx:236 |
Medium |
V547 |
Expression 'bOldValue == bIncludeHiddenCells' is always true. |
General Analysis |
diagramhelper.cxx:1560 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
diagramhelper.cxx:1396 |
Medium |
V560 |
A part of conditional expression is always true: nOtherSeriesIndex >= 0. |
General Analysis |
diagramhelper.cxx:1588 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
opropertyset.cxx:203 |
Medium |
V1019 |
Compound assignment expression 'rValue >>= nValue' is used inside condition. |
General Analysis |
rangehighlighter.cxx:231 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
threedhelper.cxx:946 |
Medium |
V547 |
Expression 'bRightAngledAxes' is always true. |
General Analysis |
threedhelper.cxx:224 |
Medium |
V547 |
Expression '!bRightAngledAxes' is always true. |
General Analysis |
threedhelper.cxx:78 |
Medium |
V547 |
Expression 'bLightOn' is always false. |
General Analysis |
threedhelper.cxx:55 |
Medium |
V547 |
Expression 'bRightAngledAxes' is always false. |
General Analysis |
threedhelper.cxx:1006 |
Medium |
V560 |
A part of conditional expression is always true: !bRightAngledAxes. |
General Analysis |
threedhelper.cxx:152 |
Medium |
V547 |
Expression '!bIsOn' is always true. |
General Analysis |
titlehelper.cxx:330 |
Medium |
V547 |
Expression 'bStacked' is always false. |
General Analysis |
tickmarks_equidistant.cxx:336 |
Medium |
V547 |
Expression 'nDepthCount > 0' is always true. |
General Analysis |
vaxisbase.cxx:144 |
Medium |
V547 |
Expression '!bShow' is always true. |
General Analysis |
vcartesianaxis.cxx:1594 |
Medium |
V547 |
Expression '!pTickFactory2D' is always false. |
General Analysis |
vcartesianaxis.cxx:1781 |
Medium |
V547 |
Expression '!pTickFactory2D' is always false. |
General Analysis |
vcartesianaxis.cxx:1685 |
Medium |
V547 |
Expression '!pTickFactory2D' is always false. |
General Analysis |
vcartesianaxis.cxx:1648 |
Medium |
V547 |
Expression '!pTickFactory2D' is always false. |
General Analysis |
vcartesianaxis.cxx:1089 |
Medium |
V560 |
A part of conditional expression is always true: m_pPosHelper. |
General Analysis |
vpolaraxis.cxx:53 |
Medium |
V773 |
The 'm_pPosHelper' pointer was not released in destructor. A memory leak is possible. |
General Analysis |
vpolargrid.cxx:54 |
Medium |
V773 |
The 'm_pPosHelper' pointer was not released in destructor. A memory leak is possible. |
General Analysis |
areachart.cxx:711 |
Medium |
V547 |
Expression '!pPosHelper' is always false. |
General Analysis |
areachart.cxx:681 |
Medium |
V547 |
Expression '!pPosHelper' is always false. |
General Analysis |
areachart.cxx:842 |
Medium |
V560 |
A part of conditional expression is always true: !bCreateXErrorBar. |
General Analysis |
areachart.cxx:546 |
Medium |
V547 |
Expression '!pPosHelper' is always false. |
General Analysis |
areachart.cxx:862 |
Medium |
V547 |
Expression 'pSymbolProperties' is always true. |
General Analysis |
areachart.cxx:890 |
Medium |
V547 |
Expression 'bCreateXErrorBar' is always false. |
General Analysis |
areachart.cxx:893 |
Medium |
V547 |
Expression 'bCreateYErrorBar' is always false. |
General Analysis |
areachart.cxx:841 |
Medium |
V560 |
A part of conditional expression is always true: !bCreateYErrorBar. |
General Analysis |
barchart.cxx:93 |
Medium |
V773 |
The 'm_pMainPosHelper' pointer was not released in destructor. A memory leak is possible. |
General Analysis |
bubblechart.cxx:223 |
Medium |
V547 |
Expression '!pPosHelper' is always false. |
General Analysis |
candlestickchart.cxx:54 |
Medium |
V773 |
The 'm_pMainPosHelper' pointer was not released in destructor. A memory leak is possible. |
General Analysis |
netchart.cxx:259 |
Medium |
V547 |
Expression '!pPosHelper' is always false. |
General Analysis |
netchart.cxx:555 |
Medium |
V547 |
Expression 'pSymbolProperties' is always true. |
General Analysis |
netchart.cxx:385 |
Medium |
V547 |
Expression '!pPosHelper' is always false. |
General Analysis |
netchart.cxx:419 |
Medium |
V547 |
Expression '!pPosHelper' is always false. |
General Analysis |
piechart.cxx:203 |
Medium |
V773 |
The 'm_pPosHelper' pointer was not released in destructor. A memory leak is possible. |
General Analysis |
splines.cxx:858 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 834, 858. |
General Analysis |
vseriesplotter.cxx:966 |
Medium |
V560 |
A part of conditional expression is always true: !bShowPositive. |
General Analysis |
vseriesplotter.cxx:2091 |
Medium |
V1004 |
The 'pRet' pointer was used unsafely after it was verified against nullptr. Check lines: 2089, 2091. |
General Analysis |
vseriesplotter.cxx:1309 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
vseriesplotter.cxx:759 |
Medium |
V560 |
A part of conditional expression is always true: eAlignment == LABEL_ALIGN_CENTER. |
General Analysis |
vseriesplotter.cxx:1167 |
Medium |
V547 |
Expression 'bForceIntercept' is always false. |
General Analysis |
vseriesplotter.cxx:966 |
Medium |
V560 |
A part of conditional expression is always true: !bShowNegative. |
General Analysis |
vseriesplotter.cxx:2274 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
chartview.cxx:1418 |
Medium |
V560 |
A part of conditional expression is always true: nWritingMode != text::WritingMode2::PAGE. |
General Analysis |
chartview.cxx:1438 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
chartview.cxx:2079 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
chartview.cxx:1408 |
Medium |
V560 |
A part of conditional expression is always false: nWritingMode == text::WritingMode2::PAGE. |
General Analysis |
chartview.cxx:2217 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
chartview.cxx:2460 |
Medium |
V547 |
Expression 'bRefreshAddInAllowed' is always true. |
General Analysis |
chartview.cxx:1418 |
Medium |
V560 |
A part of conditional expression is always false: nWritingMode != - 1. |
General Analysis |
chartview.cxx:1920 |
Medium |
V547 |
Expression 'bLinkToSource' is always true. |
General Analysis |
chartview.cxx:561 |
Medium |
V560 |
A part of conditional expression is always false: !bIncludeHiddenCells. |
General Analysis |
chartview.cxx:569 |
Medium |
V547 |
Expression 'bSortByXValues' is always false. |
General Analysis |
chartview.cxx:1408 |
Medium |
V560 |
A part of conditional expression is always true: nWritingMode == - 1. |
General Analysis |
chartview.cxx:2088 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
labelpositionhelper.cxx:88 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
shapefactory.cxx:2491 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
shapefactory.cxx:2525 |
Medium |
V547 |
Expression '!pShapeFactory' is always true. |
General Analysis |
vdataseries.cxx:566 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
vlegend.cxx:127 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
vlegend.cxx:74 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
vlegendsymbolfactory.cxx:67 |
Medium |
V1019 |
Compound assignment expression '* pLineWidthAny >>= nLineWidth' is used inside condition. |
General Analysis |
cli_bridge.cxx:177 |
Medium |
V641 |
The size of the 'mapping' buffer is not a multiple of the element size of the type 'uno_Mapping'. |
General Analysis |
cli_data.cxx:1333 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
cli_environment.cxx:121 |
Medium |
V519 |
The 'ret' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 120, 121. |
General Analysis |
cli_proxy.cxx:343 |
Medium |
V601 |
The 'false' value is implicitly cast to the pointer. |
General Analysis |
cli_uno.cxx:93 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
cli_uno.cxx:79 |
Medium |
V1032 |
The pointer 'mem' is cast to a more strictly aligned pointer type. |
General Analysis |
typemanager.cxx:224 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
cpputype.cxx:531 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
javatype.cxx:1926 |
Medium |
V1016 |
The value '0' is out of range of enum values. This causes unspecified or undefined behavior. |
General Analysis |
javatype.cxx:2318 |
Medium |
V1016 |
The value is out of range of enum 'AccessFlags' values. This causes unspecified or undefined behavior. |
General Analysis |
containermultiplexer.cxx:125 |
Medium |
V547 |
Expression 'm_pListener' is always true. |
General Analysis |
namecontainer.cxx:157 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
backupfilehelper.cxx:1476 |
Medium |
V547 |
Expression 'bRetval' is always true. |
General Analysis |
graphicmimetype.cxx:72 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
instancelocker.cxx:152 |
Medium |
V1019 |
Compound assignment expression 'aArguments[2] >>= xApproval' is used inside condition. |
General Analysis |
mimeconfighelper.cxx:493 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
mimeconfighelper.cxx:271 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
mimeconfighelper.cxx:270 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
mimeconfighelper.cxx:375 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
mimeconfighelper.cxx:272 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
mimeconfighelper.cxx:266 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
mimeconfighelper.cxx:407 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
mimeconfighelper.cxx:600 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
officeinstallationdirectories.cxx:214 |
Medium |
V547 |
Expression 'm_pOfficeBrandDir == nullptr' is always true. |
General Analysis |
opropertybag.cxx:86 |
Medium |
V1019 |
Compound assignment expression '_rArguments[2] >>= AutomaticAddition' is used inside condition. |
General Analysis |
opropertybag.cxx:85 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
opropertybag.cxx:84 |
Medium |
V1019 |
Compound assignment expression '_rArguments[0] >>= aTypes' is used inside condition. |
General Analysis |
memorystream.cxx:194 |
Medium |
V547 |
Expression 'nNewSize > ((sal_Int32) 0x7FFFFFFF)' is always false. |
General Analysis |
seekableinput.cxx:85 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
components.cxx:600 |
Medium |
V547 |
Expression '!ignore' is always true. |
General Analysis |
readonlyaccess.cxx:90 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= locale' is used inside condition. |
General Analysis |
readwriteaccess.cxx:114 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= locale' is used inside condition. |
General Analysis |
dbmetadata.cxx:249 |
Medium |
V1019 |
Compound assignment expression 'setting >>= bDoesSupportPrimaryKeys' is used inside condition. |
General Analysis |
dbtools.cxx:596 |
Medium |
V571 |
Recurring check. The 'xObjectCollection.is()' condition was already verified in line 594. |
General Analysis |
dbtools2.cxx:125 |
Medium |
V560 |
A part of conditional expression is always false: nScale > 0. |
General Analysis |
dbtools2.cxx:125 |
Medium |
V560 |
A part of conditional expression is always false: nPrecision > 0. |
General Analysis |
parameters.cxx:223 |
Medium |
V547 |
Expression 'isFunction' is always false. |
General Analysis |
predicateinput.cxx:173 |
Medium |
V560 |
A part of conditional expression is always false: (DataType::DECIMAL == nType). |
General Analysis |
predicateinput.cxx:169 |
Medium |
V560 |
A part of conditional expression is always false: (DataType::FLOAT == nType). |
General Analysis |
predicateinput.cxx:137 |
Medium |
V560 |
A part of conditional expression is always false: (DataType::CLOB == nType). |
General Analysis |
predicateinput.cxx:136 |
Medium |
V560 |
A part of conditional expression is always false: (DataType::LONGVARCHAR == nType). |
General Analysis |
predicateinput.cxx:135 |
Medium |
V560 |
A part of conditional expression is always false: (DataType::VARCHAR == nType). |
General Analysis |
predicateinput.cxx:134 |
Medium |
V560 |
A part of conditional expression is always false: (DataType::CHAR == nType). |
General Analysis |
predicateinput.cxx:170 |
Medium |
V560 |
A part of conditional expression is always false: (DataType::REAL == nType). |
General Analysis |
predicateinput.cxx:172 |
Medium |
V560 |
A part of conditional expression is always false: (DataType::NUMERIC == nType). |
General Analysis |
predicateinput.cxx:171 |
Medium |
V560 |
A part of conditional expression is always false: (DataType::DOUBLE == nType). |
General Analysis |
statementcomposer.cxx:148 |
Medium |
V547 |
Expression '!bQueryEscapeProcessing' is always true. |
General Analysis |
zpoolcollection.cxx:155 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
adatabasemetadataresultset.cxx:329 |
Medium |
V1001 |
The 'columnIndex' variable is assigned but is not used by the end of the function. |
General Analysis |
agroups.cxx:64 |
Medium |
V1004 |
The 'pGroup' pointer was used unsafely after it was verified against nullptr. Check lines: 61, 64. |
General Analysis |
aindexes.cxx:65 |
Medium |
V1004 |
The 'pIndex' pointer was used unsafely after it was verified against nullptr. Check lines: 61, 65. |
General Analysis |
akeys.cxx:70 |
Medium |
V1004 |
The 'pKey' pointer was used unsafely after it was verified against nullptr. Check lines: 61, 70. |
General Analysis |
aresultset.cxx:274 |
Medium |
V547 |
Expression 'aPos > 0' is always false. |
General Analysis |
atables.cxx:72 |
Medium |
V1004 |
The 'pTable' pointer was used unsafely after it was verified against nullptr. Check lines: 68, 72. |
General Analysis |
ausers.cxx:63 |
Medium |
V1004 |
The 'pUser' pointer was used unsafely after it was verified against nullptr. Check lines: 59, 63. |
General Analysis |
awrapado.cxx:1957 |
Medium |
V1019 |
Compound assignment expression 'catalog >>= sCatalog' is used inside condition. |
General Analysis |
dresultset.cxx:117 |
Medium |
V1019 |
Compound assignment expression 'rhs >>= nSecond' is used inside condition. |
General Analysis |
dtable.cxx:562 |
Medium |
V560 |
A part of conditional expression is always true: m_aMemoHeader.db_size == 512. |
General Analysis |
fcomp.cxx:167 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fcomp.cxx:194 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fcomp.cxx:853 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fcomp.cxx:870 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fcomp.cxx:191 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fcomp.cxx:783 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fcomp.cxx:206 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fcomp.cxx:158 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fcomp.cxx:209 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fcomp.cxx:264 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fcomp.cxx:155 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aCodeList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
blob.cxx:33 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_statusVector. |
General Analysis |
preparedstatement.cxx:77 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'm_pInSqlda'. Check lines: 77, 76. |
General Analysis |
preparedstatement.cxx:643 |
Medium |
V555 |
The expression 'xBlob->length() - nDataWritten > 0' will work as 'xBlob->length() != nDataWritten'. |
General Analysis |
preparedstatement.cxx:808 |
Medium |
V555 |
The expression 'xBytes.getLength() - nDataWritten > 0' will work as 'xBytes.getLength() != nDataWritten'. |
General Analysis |
statementcommonbase.cxx:47 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_statusVector. |
General Analysis |
subcomponent.hxx:122 |
Medium |
V547 |
Expression '!s_pProps' is always true. |
General Analysis |
object.cxx:169 |
Medium |
V1004 |
The '_pEnvironment' pointer was used unsafely after it was verified against nullptr. Check lines: 165, 169. |
General Analysis |
mresultset.cxx:1469 |
Medium |
V1019 |
Compound assignment expression 'rhs >>= nSecond' is used inside condition. |
General Analysis |
mysqlc_subcomponent.hxx:116 |
Medium |
V547 |
Expression '!s_pProps' is always true. |
General Analysis |
oresultset.cxx:289 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
oresultset.cxx:292 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
oresultset.cxx:264 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
oresultset.cxx:271 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
oresultset.cxx:286 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
pq_statics.cxx:115 |
Medium |
V547 |
Expression '!p' is always true. |
General Analysis |
pq_statics.cxx:145 |
Medium |
V519 |
The 'statics.cPERCENT' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 127, 145. |
General Analysis |
pq_tools.cxx:755 |
Medium |
V666 |
Consider inspecting fourth argument of the function 'rtl_str_shortenedCompareIgnoreAsciiCase_WithLength'. It is possible that the value does not correspond with the length of a string which was passed with the third argument. |
General Analysis |
pq_tools.cxx:755 |
Medium |
V666 |
Consider inspecting fifth argument of the function 'rtl_str_shortenedCompareIgnoreAsciiCase_WithLength'. It is possible that the value does not correspond with the length of a string which was passed with the third argument. |
General Analysis |
sqliterator.cxx:1759 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
sqlnode.cxx:1967 |
Medium |
V586 |
The 'delete' operator is called twice for deallocation of the same memory space. |
General Analysis |
sqlnode.cxx:1997 |
Medium |
V586 |
The 'delete' operator is called twice for deallocation of the same memory space. |
General Analysis |
sqlnode.cxx:2020 |
Medium |
V586 |
The 'delete' operator is called twice for deallocation of the same memory space. |
General Analysis |
sqlnode.cxx:2031 |
Medium |
V586 |
The 'delete' operator is called twice for deallocation of the same memory space. |
General Analysis |
implrenderer.cxx:2769 |
Medium |
V560 |
A part of conditional expression is always true: aSubset.mnSubsetBegin >= 0. |
General Analysis |
helper_purpenv_proxy.cxx:417 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
current.cxx:49 |
Medium |
V547 |
Expression 'nullptr == s_type_XCurrentContext' is always true. |
General Analysis |
static_types.cxx:125 |
Medium |
V547 |
Expression '!s_aTypes[eTypeClass]' is always true. |
General Analysis |
typelib.cxx:1864 |
Medium |
V547 |
Expression '!bInited' is always true. |
General Analysis |
copy.hxx:300 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
copy.hxx:141 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
data.cxx:51 |
Medium |
V547 |
Expression 'nullptr == g_pQITD' is always true. |
General Analysis |
lbmap.cxx:612 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 600, 612. |
General Analysis |
lbmap.cxx:419 |
Medium |
V764 |
Possible incorrect order of arguments passed to 'getBridgeName' function: 'rTo' and 'rFrom'. |
General Analysis |
lbmap.cxx:423 |
Medium |
V764 |
Possible incorrect order of arguments passed to 'getBridgeName' function: 'rTo' and 'rFrom'. |
General Analysis |
lbmap.cxx:600 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 592, 600. |
General Analysis |
component_context.cxx:296 |
Medium |
V1019 |
Compound assignment expression 'args_ >>= args' is used inside condition. |
General Analysis |
findsofficepath.c:76 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'data'. Check lines: 76, 63. |
General Analysis |
implbase_ex.cxx:91 |
Medium |
V547 |
Expression '!cd->m_storedTypeRefs' is always true. |
General Analysis |
macro_expander.cxx:62 |
Medium |
V547 |
Expression 's_bstrap' is always false. |
General Analysis |
propertysetmixin.cxx:680 |
Medium |
V547 |
Expression '!present' is always true. |
General Analysis |
propertysetmixin.cxx:703 |
Medium |
V547 |
Expression 'isAmbiguous' is always false. |
General Analysis |
propertysetmixin.cxx:705 |
Medium |
V547 |
Expression 'isDefaulted' is always false. |
General Analysis |
propshlp.cxx:762 |
Medium |
V519 |
The 'pCont' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 761, 762. |
General Analysis |
propshlp.cxx:254 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servicemanager.cxx:909 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= arg' is used inside condition. |
General Analysis |
unourl.cxx:142 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rOther'. |
General Analysis |
unourl.cxx:239 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rOther'. |
General Analysis |
weak.cxx:264 |
Medium |
V547 |
Expression '!m_pWeakConnectionPoint' is always true. |
General Analysis |
cfgutil.cxx:281 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
cfgutil.cxx:424 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
hlmarkwn.cxx:531 |
Medium |
V547 |
Expression 'pEntry' is always true. |
General Analysis |
iconcdlg.cxx:233 |
Medium |
V1023 |
A pointer without owner is added to the 'maPageList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
insdlg.cxx:439 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 422, 439. |
General Analysis |
signsignaturelinedialog.cxx:69 |
Medium |
V547 |
Expression '!bIsSignatureLine' is always true. |
General Analysis |
spelldialog.cxx:1841 |
Medium |
V560 |
A part of conditional expression is always true: nTextLen. |
General Analysis |
srchxtra.cxx:96 |
Medium |
V547 |
Expression 'pList' is always true. |
General Analysis |
optgdlg.cxx:1790 |
Medium |
V547 |
Expression 'pCurr' is always true. |
General Analysis |
optgdlg.cxx:1245 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
optlingu.cxx:616 |
Medium |
V560 |
A part of conditional expression is always true: pEntry. |
General Analysis |
optlingu.cxx:800 |
Medium |
V560 |
A part of conditional expression is always true: pEntry. |
General Analysis |
optlingu.cxx:854 |
Medium |
V560 |
A part of conditional expression is always true: pTmp. |
General Analysis |
optsave.cxx:65 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aDefaultReadonlyArr. |
General Analysis |
treeopt.cxx:138 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
treeopt.cxx:1018 |
Medium |
V547 |
Expression '!pGroupInfo->m_pModule' is always false. |
General Analysis |
autocdlg.cxx:99 |
Medium |
V560 |
A part of conditional expression is always false: !pOpt. |
General Analysis |
autocdlg.cxx:2316 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
autocdlg.cxx:2548 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
border.cxx:440 |
Medium |
V547 |
Expression 'bDialogUseCharAttr' is always false. |
General Analysis |
chardlg.cxx:1687 |
Medium |
V560 |
A part of conditional expression is always true: nEPos != - 1. |
General Analysis |
connect.cxx:294 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
connect.cxx:267 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
connect.cxx:253 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
connect.cxx:499 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
connect.cxx:225 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
connect.cxx:211 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
connect.cxx:197 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
connect.cxx:169 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
connect.cxx:183 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
connect.cxx:239 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
measure.cxx:279 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
measure.cxx:251 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
measure.cxx:236 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
measure.cxx:206 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
measure.cxx:191 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
measure.cxx:221 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
paragrph.cxx:967 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 963, 967. |
General Analysis |
paragrph.cxx:971 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 967, 971. |
General Analysis |
paragrph.cxx:982 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 978, 982. |
General Analysis |
textanim.cxx:272 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
textanim.cxx:214 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
textanim.cxx:247 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
textanim.cxx:180 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
textanim.cxx:146 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
textanim.cxx:159 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
textanim.cxx:197 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
textattr.cxx:122 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
textattr.cxx:134 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
textattr.cxx:146 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
textattr.cxx:158 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
tpbitmap.cxx:288 |
Medium |
V668 |
There is no sense in testing the 'pGraphicObject' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
tppattern.cxx:388 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
tpshadow.cxx:373 |
Medium |
V560 |
A part of conditional expression is always true: pYDistItem. |
General Analysis |
tpshadow.cxx:373 |
Medium |
V560 |
A part of conditional expression is always true: pXDistItem. |
General Analysis |
empty-stdlib-save.cxx:95 |
Medium |
V519 |
The 'a' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 91, 95. |
General Analysis |
rowset.cxx:2595 |
Medium |
V793 |
It is odd that the result of the 'nSize / sizeof (sal_Unicode)' statement is a part of the condition. Perhaps, this statement should have been compared with something else. |
General Analysis |
tablecontainer.cxx:350 |
Medium |
V571 |
Recurring check. The 'm_xMetaData.is()' condition was already verified in line 348. |
General Analysis |
commandcontainer.cxx:72 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
componentdefinition.cxx:78 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= rName' is used inside condition. |
General Analysis |
databasedocument.cxx:1956 |
Medium |
V524 |
It is odd that the body of 'removeStorageChangeListener' function is fully equivalent to the body of 'addStorageChangeListener' function. |
General Analysis |
documentdefinition.cxx:799 |
Medium |
V547 |
Expression '!aDocumentMacroMode' is always true. |
General Analysis |
documentdefinition.cxx:856 |
Medium |
V547 |
Expression '!aDocumentMacroMode' is always true. |
General Analysis |
documentdefinition.cxx:1986 |
Medium |
V547 |
Expression 'bCouldSuspend' is always true. |
General Analysis |
documentevents.cxx:155 |
Medium |
V1019 |
Compound assignment expression 'Element >>= aEventDescriptor' is used inside condition. |
General Analysis |
modelimpl.cxx:1033 |
Medium |
V1016 |
Expression '_eType >= E_FORM' is always true. |
General Analysis |
modelimpl.cxx:1033 |
Medium |
V1016 |
Expression '_eType <= E_TABLE' is always true. |
General Analysis |
databasedataprovider.cxx:183 |
Medium |
V547 |
Expression '!bFirstCellAsLabel' is always false. |
General Analysis |
macromigrationpages.cxx:44 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
hsqlimport.cxx:309 |
Medium |
V547 |
Expression 'pException' is always false. |
General Analysis |
xmlexport.cxx:266 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlexport.cxx:125 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlexport.cxx:109 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlexport.cxx:791 |
Medium |
V547 |
Expression 'bValue' is always false. |
General Analysis |
xmlfilter.cxx:246 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
connectiontools.cxx:130 |
Medium |
V1019 |
Compound assignment expression '_rArguments[0] >>= xConnection' is used inside condition. |
General Analysis |
appcontroller.cxx:574 |
Medium |
V560 |
A part of conditional expression is always true: (5000 + 710) == _nId. |
General Analysis |
appcontroller.cxx:1028 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
appcontroller.cxx:1077 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
appcontroller.cxx:1856 |
Medium |
V614 |
Potentially null smart pointer 'pDesigner' used. |
General Analysis |
appcontroller.cxx:1966 |
Medium |
V614 |
Potentially null smart pointer 'pDesigner' used. |
General Analysis |
appdetailpagehelper.cxx:857 |
Medium |
V547 |
Expression 'pTreeView' is always true. |
General Analysis |
appdetailpagehelper.cxx:867 |
Medium |
V547 |
Expression 'pTreeView' is always true. |
General Analysis |
brwctrlr.cxx:1481 |
Medium |
V560 |
A part of conditional expression is always true: aReturn.bEnabled. |
General Analysis |
brwctrlr.cxx:1978 |
Medium |
V519 |
The 'bParserSuccess' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1978, 1978. |
General Analysis |
brwctrlr.cxx:492 |
Medium |
V524 |
It is odd that the body of 'activateLast' function is fully equivalent to the body of 'activateFirst' function. |
General Analysis |
exsrcbrw.cxx:77 |
Medium |
V773 |
The 'm_pDataSourceImpl' pointer was not released in destructor. A memory leak is possible. |
General Analysis |
unodatbr.cxx:1773 |
Medium |
V560 |
A part of conditional expression is always true: getBrowserView(). |
General Analysis |
unodatbr.cxx:1779 |
Medium |
V560 |
A part of conditional expression is always true: getBrowserView(). |
General Analysis |
unodatbr.cxx:1018 |
Medium |
V560 |
A part of conditional expression is always true: (nullptr == pObjectEntry). |
General Analysis |
curledit.cxx:125 |
Medium |
V1004 |
The 'GetSubEdit()' pointer was used unsafely after it was verified against nullptr. Check lines: 92, 125. |
General Analysis |
fielddesccontrol.cxx:1089 |
Medium |
V547 |
Expression 'pFieldDescr' is always true. |
General Analysis |
fielddesccontrol.cxx:1240 |
Medium |
V547 |
Expression 'pFieldDescr' is always true. |
General Analysis |
admincontrols.cxx:219 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
admincontrols.cxx:218 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
admincontrols.cxx:206 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
admincontrols.cxx:217 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
admincontrols.cxx:216 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
admincontrols.cxx:215 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
admincontrols.cxx:209 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
admincontrols.cxx:208 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
admincontrols.cxx:207 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
admincontrols.cxx:205 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
admincontrols.cxx:214 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
advancedsettings.cxx:220 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
advancedsettings.cxx:222 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
advancedsettings.cxx:205 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
advancedsettings.cxx:360 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
advancedsettings.cxx:359 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
advancedsettings.cxx:354 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
advancedsettings.cxx:215 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
advancedsettings.cxx:361 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
advancedsettings.cxx:201 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
connectionhelper.cxx:662 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
connectionhelper.cxx:669 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
connectionhelper.cxx:663 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
connectionhelper.cxx:664 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbadminimpl.cxx:269 |
Medium |
V519 |
The 'aRequest.HasAccount' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 263, 269. |
General Analysis |
dbsetupconnectionpages.cxx:480 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:482 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:479 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:483 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:602 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:607 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:481 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:478 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:473 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:472 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:471 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:355 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:214 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:213 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:212 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:211 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:210 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:206 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:205 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:474 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:721 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:771 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:204 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:770 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:879 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:878 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:877 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:876 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:871 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:203 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:869 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:868 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:778 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:777 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:772 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dbsetupconnectionpages.cxx:870 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:603 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:602 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:601 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:594 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:593 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:374 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:368 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:367 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:137 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:134 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:128 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:123 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:373 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
detailpages.cxx:366 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
generalpage.cxx:356 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
generalpage.cxx:361 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
generalpage.cxx:496 |
Medium |
V547 |
Expression '!bAllowCreateLocalDatabase' is always false. |
General Analysis |
paramdialog.cxx:252 |
Medium |
V519 |
The 'pValues->Value' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 251, 252. |
General Analysis |
tablespage.cxx:567 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:188 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:202 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:186 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:190 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:191 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:196 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:189 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:198 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:197 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:201 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:200 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:187 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
textconnectionhelper.cxx:199 |
Medium |
V1023 |
A pointer without owner is added to the '_rControlList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tablerow.hxx:30 |
Medium |
V690 |
The 'OTableRow' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
tokenwriter.hxx:168 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: sIndent. |
General Analysis |
dexport.cxx:677 |
Medium |
V668 |
There is no sense in testing the 'm_pUpdateHelper' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
tokenwriter.cxx:325 |
Medium |
V524 |
It is odd that the body of 'Read' function is fully equivalent to the body of 'Write' function. |
General Analysis |
uitools.cxx:324 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!_bAutoIncrement' and '_bAutoIncrement'. |
General Analysis |
uitools.cxx:341 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!_bAutoIncrement' and '_bAutoIncrement'. |
General Analysis |
uitools.cxx:364 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!_bAutoIncrement' and '_bAutoIncrement'. |
General Analysis |
uitools.cxx:1293 |
Medium |
V547 |
Expression 'bEscapeProcessing' is always false. |
General Analysis |
limitboxcontroller.cxx:129 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
querycontroller.cxx:1205 |
Medium |
V560 |
A part of conditional expression is always false: !bNew. |
General Analysis |
querycontroller.cxx:1205 |
Medium |
V560 |
A part of conditional expression is always true: bNew. |
General Analysis |
querycontroller.cxx:1649 |
Medium |
V1019 |
Compound assignment expression 'xQueries->getByName(m_sName) >>= xProp' is used inside condition. |
General Analysis |
tableconnection.cxx:88 |
Medium |
V1023 |
A pointer without owner is added to the 'm_vConnLine' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tableconnection.cxx:59 |
Medium |
V1023 |
A pointer without owner is added to the 'm_vConnLine' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
tablewindowlistbox.cxx:265 |
Medium |
V560 |
A part of conditional expression is always true: FirstSelected(). |
General Analysis |
tablecontroller.cxx:300 |
Medium |
V560 |
A part of conditional expression is always false: !bNew. |
General Analysis |
columncontrol.cxx:53 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
composerdialogs.cxx:189 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
composerdialogs.cxx:141 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
dbinteraction.cxx:352 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
dbinteraction.cxx:363 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
textconnectionsettings_uno.cxx:136 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unodirectsql.cxx:75 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unosqlmessage.cxx:95 |
Medium |
V1019 |
Compound assignment expression 'args[1] >>= parentWindow' is used inside condition. |
General Analysis |
unosqlmessage.cxx:95 |
Medium |
V1019 |
Compound assignment expression 'args[0] >>= title' is used inside condition. |
General Analysis |
app.cxx:1041 |
Medium |
V1001 |
The 'aRet' variable is assigned but is not used by the end of the function. |
General Analysis |
app.cxx:1023 |
Medium |
V1001 |
The 'aRet' variable is assigned but is not used by the end of the function. |
General Analysis |
app.cxx:947 |
Medium |
V1001 |
The 'aRet' variable is assigned but is not used by the end of the function. |
General Analysis |
check_ext_deps.cxx:189 |
Medium |
V1019 |
Compound assignment expression 'rStatus >>= sText' is used inside condition. |
General Analysis |
check_ext_deps.cxx:202 |
Medium |
V1019 |
Compound assignment expression 'rStatus >>= sText' is used inside condition. |
General Analysis |
officeipcthread.cxx:722 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
opencl.cxx:103 |
Medium |
V547 |
Expression is always false. |
General Analysis |
dp_gui_extensioncmdqueue.cxx:536 |
Medium |
V1019 |
Compound assignment expression 'rStatus >>= text' is used inside condition. |
General Analysis |
dp_commandenvironments.cxx:147 |
Medium |
V1019 |
Compound assignment expression 'request >>= instExc' is used inside condition. |
General Analysis |
dp_commandenvironments.cxx:235 |
Medium |
V1019 |
Compound assignment expression 'request >>= depExc' is used inside condition. |
General Analysis |
dp_commandenvironments.cxx:146 |
Medium |
V1019 |
Compound assignment expression 'request >>= licExc' is used inside condition. |
General Analysis |
dp_descriptioninfoset.cxx:175 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
init.cxx:2006 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 2006, 2005. |
General Analysis |
init.cxx:2806 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 2806, 2805. |
General Analysis |
init.cxx:3200 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 3200, 3199. |
General Analysis |
init.cxx:3251 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 3251, 3250. |
General Analysis |
init.cxx:2027 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 2027, 2026. |
General Analysis |
init.cxx:3542 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 3542, 3541. |
General Analysis |
init.cxx:3638 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 3638, 3637. |
General Analysis |
init.cxx:2937 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
init.cxx:2982 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 2982, 2981. |
General Analysis |
init.cxx:2768 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 2768, 2767. |
General Analysis |
init.cxx:2858 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 2858, 2857. |
General Analysis |
init.cxx:1965 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 1965, 1964. |
General Analysis |
init.cxx:2653 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 2653, 2652. |
General Analysis |
init.cxx:1985 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 1985, 1984. |
General Analysis |
migration.cxx:342 |
Medium |
V560 |
A part of conditional expression is always true: !bInserted. |
General Analysis |
acceptor.cxx:168 |
Medium |
V1019 |
Compound assignment expression 'aArguments[1] >>= bEnable' is used inside condition. |
General Analysis |
acceptor.cxx:167 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= bEnable' is used inside condition. |
General Analysis |
acceptor.cxx:143 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= m_aAcceptString' is used inside condition. |
General Analysis |
guistdio.inc:180 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'readBuf' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
guistdio.inc:171 |
Medium |
V769 |
The 'readBuf' pointer in the 'readBuf + readAll' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 171, 166. |
General Analysis |
xshapedumper.cxx:1143 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= aAdjustmentValues' is used inside condition. |
General Analysis |
xshapedumper.cxx:1138 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= aRectangleValue' is used inside condition. |
General Analysis |
xshapedumper.cxx:1148 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= aCoordinates' is used inside condition. |
General Analysis |
xshapedumper.cxx:1153 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= aSegments' is used inside condition. |
General Analysis |
baseprimitive2d.cxx:234 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pA'. |
General Analysis |
baseprimitive2d.cxx:234 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pB'. |
General Analysis |
graphicprimitivehelper2d.cxx:180 |
Medium |
V560 |
A part of conditional expression is always true: mbBufferingAllowed. |
General Analysis |
graphicprimitivehelper2d.cxx:180 |
Medium |
V571 |
Recurring check. The 'mbBufferingAllowed' condition was already verified in line 177. |
General Analysis |
baseprimitive3d.cxx:181 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pB'. |
General Analysis |
baseprimitive3d.cxx:181 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pA'. |
General Analysis |
sdrlatheprimitive3d.cxx:101 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 83, 101. |
General Analysis |
wmfemfhelper.cxx:2887 |
Medium |
V747 |
An odd expression inside parenthesis. It is possible that a function name is missing. |
General Analysis |
wmfemfhelper.cxx:2201 |
Medium |
V747 |
An odd expression inside parenthesis. It is possible that a function name is missing. |
General Analysis |
mctfentry.cxx:43 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
mtaoleclipb.cxx:457 |
Medium |
V519 |
The 'm_bInRegisterClipViewer' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 455, 457. |
General Analysis |
wcbentry.cxx:45 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
winclipboard.cxx:168 |
Medium |
V547 |
Expression '!rBHelper.bDisposed' is always true. |
General Analysis |
source.cxx:99 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
sourcecontext.cxx:27 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: m_currentAction. |
General Analysis |
target.cxx:454 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
target.cxx:315 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
ftranslentry.cxx:47 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
core-test.cxx:660 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pACPURLField2'. |
General Analysis |
core-test.cxx:617 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pURLField1'. |
General Analysis |
core-test.cxx:625 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pURLField2'. |
General Analysis |
core-test.cxx:668 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pACPURLField3'. |
General Analysis |
core-test.cxx:652 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pACPURLField1'. |
General Analysis |
accessibleeditabletextpara.cxx:1591 |
Medium |
V560 |
A part of conditional expression is always true: nIndex >= reeBegin. |
General Analysis |
accessibleeditabletextpara.cxx:932 |
Medium |
V560 |
A part of conditional expression is always true: nIndex >= reeBegin. |
General Analysis |
editview.cxx:1314 |
Medium |
V560 |
A part of conditional expression is always false: !pFontItem. |
General Analysis |
eehtml.cxx:630 |
Medium |
V560 |
A part of conditional expression is always true: (nHLevel >= 1). |
General Analysis |
impedit2.cxx:2628 |
Medium |
V668 |
There is no sense in testing the 'pCTLOptions' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
impedit2.cxx:1076 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
impedit3.cxx:1552 |
Medium |
V547 |
Expression 'bCalcCharPositions' is always true. |
General Analysis |
impedit3.cxx:810 |
Medium |
V547 |
Expression 'nXWidth <= nTmpWidth' is always false. |
General Analysis |
impedit3.cxx:1042 |
Medium |
V547 |
Expression 'cChar' is always false. |
General Analysis |
impedit3.cxx:1123 |
Medium |
V547 |
Expression 'cChar' is always false. |
General Analysis |
impedit3.cxx:1173 |
Medium |
V547 |
Expression 'bCalcCharPositions' is always true. |
General Analysis |
impedit3.cxx:2702 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 2693, 2702. |
General Analysis |
impedit3.cxx:803 |
Medium |
V547 |
Expression 'bCalcCharPositions' is always true. |
General Analysis |
borderline.cxx:458 |
Medium |
V793 |
It is odd that the result of the 'nOut + nIn + nDist' statement is a part of the condition. Perhaps, this statement should have been compared with something else. |
General Analysis |
frmitems.cxx:1108 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= aShadow' is used inside condition. |
General Analysis |
frmitems.cxx:2273 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rCpy'. |
General Analysis |
numitem.cxx:720 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rCopy'. |
General Analysis |
paraitem.cxx:169 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= aLSp' is used inside condition. |
General Analysis |
hangulhanja.cxx:228 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: m_bIgnorePostPositionalWord, m_bShowRecentlyUsedFirst, m_bAutoReplaceUnique. |
General Analysis |
hangulhanja.cxx:928 |
Medium |
V547 |
Expression 'pResult' is always true. |
General Analysis |
splwrap.cxx:162 |
Medium |
V560 |
A part of conditional expression is always true: !bReverse. |
General Analysis |
svxacorr.cxx:937 |
Medium |
V547 |
Expression '!bAtStart' is always true. |
General Analysis |
svxacorr.cxx:1936 |
Medium |
V1019 |
Compound assignment expression 'nAktTime -= aLastCheckTime' is used inside condition. |
General Analysis |
svxacorr.cxx:2004 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
svxacorr.cxx:2114 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
svxmlautocorrectexport.cxx:94 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
txtrange.cxx:250 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
outliner.cxx:1188 |
Medium |
V560 |
A part of conditional expression is always false: (pPara->nFlags != nPrevFlags). |
General Analysis |
unoipset.cxx:227 |
Medium |
V571 |
Recurring check. This condition was already verified in line 224. |
General Analysis |
unoipset.cxx:161 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
unotext.cxx:1873 |
Medium |
V1004 |
The 'GetEditSource()' pointer was used unsafely after it was verified against nullptr. Check lines: 1854, 1873. |
General Analysis |
unotext.cxx:1127 |
Medium |
V547 |
Expression '!bUnknownPropertyFound' is always false. |
General Analysis |
unotext.cxx:1148 |
Medium |
V547 |
Expression '!bUnknownPropertyFound' is always true. |
General Analysis |
unotext.cxx:1940 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unotext.cxx:1935 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unotext2.cxx:386 |
Medium |
V614 |
Potentially uninitialized variable 'mpEditSource' used. |
General Analysis |
persistence.cxx:1794 |
Medium |
V560 |
A part of conditional expression is always false: !m_bIsLink. |
General Analysis |
oleembed.cxx:841 |
Medium |
V763 |
Parameter 'nVerbID' is always rewritten in function body before being used. |
General Analysis |
olepersist.cxx:1881 |
Medium |
V547 |
Expression 'm_pOleComponent' is always true. |
General Analysis |
olevisual.cxx:370 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
ownview.cxx:222 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
docholder.cxx:948 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
docholder.cxx:987 |
Medium |
V560 |
A part of conditional expression is always true: m_pInterceptor. |
General Analysis |
tracker.cxx:212 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: m_bAllowInvert. |
General Analysis |
tracker.cxx:324 |
Medium |
V1016 |
The value '9' is out of range of enum values. This causes unspecified or undefined behavior. |
General Analysis |
tracker.cxx:677 |
Medium |
V1032 |
The pointer '& rectT' is cast to a more strictly aligned pointer type. |
General Analysis |
dllentry.cxx:53 |
Medium |
V560 |
A part of conditional expression is always true: nSign <= 15. |
General Analysis |
emfreader.cxx:1447 |
Medium |
V1023 |
A pointer without owner is added to the 'maBmpSaveList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
emfreader.cxx:1382 |
Medium |
V1023 |
A pointer without owner is added to the 'maBmpSaveList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
emfreader.cxx:1517 |
Medium |
V1023 |
A pointer without owner is added to the 'maBmpSaveList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wmfreader.cxx:794 |
Medium |
V1023 |
A pointer without owner is added to the 'maBmpSaveList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
wmfreader.cxx:745 |
Medium |
V1023 |
A pointer without owner is added to the 'maBmpSaveList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
eventattacher.cxx:281 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
eventattacher.cxx:849 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
eventattacher.cxx:733 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
eventattacher.cxx:99 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unodialogabp.cxx:104 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= xParentWindow' is used inside condition. |
General Analysis |
so_activex.cxx:525 |
Medium |
V560 |
A part of conditional expression is always true: (((HRESULT)(hr)) >= 0). |
General Analysis |
soactivex.cxx:1032 |
Medium |
V768 |
The variable 'mnVersion' is of enum type. It is odd that it is used as a variable of a Boolean-type. |
General Analysis |
soactivex.cxx:360 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
soactivex.cxx:365 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
soactivex.cxx:367 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
sodispatchinterceptor.cxx:196 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
framectr.cxx:439 |
Medium |
V519 |
The 'aValue' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 437, 439. |
General Analysis |
framectr.cxx:469 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
framectr.cxx:743 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
framectr.cxx:418 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
framectr.cxx:763 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
framectr.cxx:825 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
framectr.cxx:111 |
Medium |
V547 |
Expression '!bCacheInitialized' is always true. |
General Analysis |
loadlisteneradapter.cxx:100 |
Medium |
V547 |
Expression 'm_pListener' is always true. |
General Analysis |
ldapaccess.cxx:81 |
Medium |
V547 |
Expression 'stub != nullptr' is always false. |
General Analysis |
controlwizard.cxx:220 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
oleobjw.cxx:1365 |
Medium |
V519 |
The 'anyArg' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1364, 1365. |
General Analysis |
oleobjw.cxx:1372 |
Medium |
V519 |
The 'anyArg' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1371, 1372. |
General Analysis |
oleobjw.cxx:1842 |
Medium |
V519 |
The 'anyArg' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1841, 1842. |
General Analysis |
oleobjw.cxx:1835 |
Medium |
V519 |
The 'anyArg' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1834, 1835. |
General Analysis |
unoconversionutilities.hxx:2042 |
Medium |
V547 |
Expression 'bFail' is always false. |
General Analysis |
unoconversionutilities.hxx:41 |
Medium |
V677 |
Custom declaration of a standard 'BYTE' type. The system header file should be used: #include <WinDef.h>. |
General Analysis |
unoobjw.cxx:2366 |
Medium |
V508 |
The use of 'new type(n)' pattern was detected. Probably meant: 'new type[n]'. |
General Analysis |
unoobjw.cxx:2476 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: mnIndex. |
General Analysis |
windata.hxx:45 |
Medium |
V690 |
Copy constructor is declared as private in the 'VarDesc' class, but the default '=' operator will still be generated by compiler. It is dangerous to use such a class. |
General Analysis |
windata.hxx:85 |
Medium |
V690 |
Copy constructor is declared as private in the 'FuncDesc' class, but the default '=' operator will still be generated by compiler. It is dangerous to use such a class. |
General Analysis |
windata.hxx:164 |
Medium |
V690 |
Copy constructor is declared as private in the 'TypeAttr' class, but the default '=' operator will still be generated by compiler. It is dangerous to use such a class. |
General Analysis |
cellbindinghelper.cxx:467 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
controlfontdialog.cxx:106 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= xGridModel' is used inside condition. |
General Analysis |
defaultforminspection.cxx:215 |
Medium |
V1019 |
Compound assignment expression 'arguments[1] >>= nMaxHelpTextLines' is used inside condition. |
General Analysis |
editpropertyhandler.cxx:104 |
Medium |
V547 |
Expression 'bRichText' is always false. |
General Analysis |
editpropertyhandler.cxx:110 |
Medium |
V547 |
Expression 'bMultiLine' is always false. |
General Analysis |
editpropertyhandler.cxx:95 |
Medium |
V547 |
Expression 'bHasVScroll' is always false. |
General Analysis |
eformshelper.cxx:175 |
Medium |
V560 |
A part of conditional expression is always true: !bCan. |
General Analysis |
eformshelper.cxx:134 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
eformshelper.cxx:175 |
Medium |
V560 |
A part of conditional expression is always false: pCompatibleTypes. |
General Analysis |
formcomponenthandler.cxx:317 |
Medium |
V1019 |
Compound assignment expression '_rValue >>= xGrfObj' is used inside condition. |
General Analysis |
formcomponenthandler.cxx:2736 |
Medium |
V547 |
Expression '!bIsLink' is always false. |
General Analysis |
formcomponenthandler.cxx:2871 |
Medium |
V1001 |
The 'any' variable is assigned but is not used by the end of the function. |
General Analysis |
formgeometryhandler.cxx:628 |
Medium |
V547 |
Expression '!bIsVisible' is always false. |
General Analysis |
formlinkdialog.cxx:399 |
Medium |
V560 |
A part of conditional expression is always false: (nCommandType == CommandType::TABLE). |
General Analysis |
formlinkdialog.cxx:400 |
Medium |
V560 |
A part of conditional expression is always false: (nCommandType == CommandType::QUERY). |
General Analysis |
formlinkdialog.cxx:594 |
Medium |
V547 |
Expression 'bEnable' is always true. |
General Analysis |
genericpropertyhandler.cxx:224 |
Medium |
V1019 |
Compound assignment expression 'aControlValue >>= sURL' is used inside condition. |
General Analysis |
handlerhelper.cxx:273 |
Medium |
V1001 |
The 'aReturn' variable is assigned but is not used by the end of the function. |
General Analysis |
pcrunodialogs.cxx:137 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= xTabbingModel' is used inside condition. |
General Analysis |
pcrunodialogs.cxx:137 |
Medium |
V1019 |
Compound assignment expression 'aArguments[1] >>= xControlContext' is used inside condition. |
General Analysis |
pcrunodialogs.cxx:137 |
Medium |
V1019 |
Compound assignment expression 'aArguments[2] >>= xParentWindow' is used inside condition. |
General Analysis |
propertyhandler.cxx:392 |
Medium |
V560 |
A part of conditional expression is always false: (nUnitAsInt > FUNIT_NONE). |
General Analysis |
propertyhandler.cxx:392 |
Medium |
V560 |
A part of conditional expression is always true: (nUnitAsInt <= FUNIT_100TH_MM). |
General Analysis |
stringrepresentation.cxx:346 |
Medium |
V547 |
Expression 'pElements != pElementsEnd' is always true. |
General Analysis |
submissionhandler.cxx:149 |
Medium |
V560 |
A part of conditional expression is always true: (eType != FormButtonType_SUBMIT). |
General Analysis |
submissionhandler.cxx:149 |
Medium |
V560 |
A part of conditional expression is always false: (eType != FormButtonType_PUSH). |
General Analysis |
download.cxx:112 |
Medium |
V1001 |
The 'aValue' variable is assigned but is not used by the end of the function. |
General Analysis |
download.cxx:144 |
Medium |
V793 |
It is odd that the result of the 'dltotal + out->Offset' statement is a part of the condition. Perhaps, this statement should have been compared with something else. |
General Analysis |
updatecheckconfig.cxx:111 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
updatecheckconfig.cxx:126 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
cacheitem.cxx:246 |
Medium |
V1019 |
Compound assignment expression 'aSet >>= uno_n2' is used inside condition. |
General Analysis |
cacheitem.cxx:199 |
Medium |
V1019 |
Compound assignment expression 'aSet >>= uno_s2' is used inside condition. |
General Analysis |
cacheitem.cxx:182 |
Medium |
V1019 |
Compound assignment expression 'aSet >>= n2' is used inside condition. |
General Analysis |
cacheitem.cxx:170 |
Medium |
V1019 |
Compound assignment expression 'aSet >>= p2' is used inside condition. |
General Analysis |
cacheitem.cxx:220 |
Medium |
V1019 |
Compound assignment expression 'aSet >>= uno_p2' is used inside condition. |
General Analysis |
cacheitem.cxx:153 |
Medium |
V1019 |
Compound assignment expression 'aSet >>= v2' is used inside condition. |
General Analysis |
filtercache.cxx:1037 |
Medium |
V547 |
Expression 'bPreferred' is always false. |
General Analysis |
filtercache.cxx:1050 |
Medium |
V547 |
Expression 'bPreferred' is always false. |
General Analysis |
actimpr.cxx:793 |
Medium |
V614 |
Potentially uninitialized variable 'eTextAdjust' used. Consider checking the first actual argument of the 'Any' function. |
General Analysis |
bundles.cxx:56 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rSource'. |
General Analysis |
cgm.cxx:697 |
Medium |
V668 |
There is no sense in testing the 'pCGM' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
elements.hxx:31 |
Medium |
V690 |
The 'CGMElements' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
dxf2mtf.cxx:606 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
dxfentrd.cxx:632 |
Medium |
V1023 |
A pointer without owner is added to the 'aEdges' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dxfentrd.cxx:633 |
Medium |
V1023 |
A pointer without owner is added to the 'aEdges' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dxfentrd.cxx:631 |
Medium |
V1023 |
A pointer without owner is added to the 'aEdges' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dxfentrd.cxx:630 |
Medium |
V1023 |
A pointer without owner is added to the 'aEdges' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dxftblrd.cxx:26 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: fDash. |
General Analysis |
ipict.cxx:1024 |
Medium |
V547 |
Expression 'nWidth' is always true. |
General Analysis |
ipict.cxx:1136 |
Medium |
V614 |
Potentially null smart pointer 'pBitmap' used. |
General Analysis |
ipict.cxx:1050 |
Medium |
V547 |
Expression 'nHeight' is always true. |
General Analysis |
ipict.cxx:1047 |
Medium |
V547 |
Expression 'nWidth' is always true. |
General Analysis |
ipict.cxx:1027 |
Medium |
V547 |
Expression 'nHeight' is always true. |
General Analysis |
ipict.cxx:926 |
Medium |
V560 |
A part of conditional expression is always true: nWidth. |
General Analysis |
itiff.cxx:1469 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1462, 1469. |
General Analysis |
dffpropset.cxx:1201 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
escherex.cxx:1574 |
Medium |
V560 |
A part of conditional expression is always false: nRed. |
General Analysis |
escherex.cxx:1262 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= bVisible' is used inside condition. |
General Analysis |
escherex.cxx:1642 |
Medium |
V547 |
Expression 'nBlue' is always false. |
General Analysis |
escherex.cxx:826 |
Medium |
V547 |
Expression 'bAutoGrowWidth' is always false. |
General Analysis |
escherex.cxx:1574 |
Medium |
V560 |
A part of conditional expression is always false: nTransparency. |
General Analysis |
escherex.cxx:821 |
Medium |
V547 |
Expression 'bAutoGrowSize' is always false. |
General Analysis |
escherex.cxx:1685 |
Medium |
V560 |
A part of conditional expression is always false: nSizeX == - 100. |
General Analysis |
escherex.cxx:1685 |
Medium |
V560 |
A part of conditional expression is always false: nSizeY == - 100. |
General Analysis |
escherex.cxx:1685 |
Medium |
V560 |
A part of conditional expression is always true: nOffsetX == 0. |
General Analysis |
escherex.cxx:1264 |
Medium |
V547 |
Expression '!bVisible' is always true. |
General Analysis |
escherex.cxx:817 |
Medium |
V547 |
Expression 'bWordWrap' is always false. |
General Analysis |
escherex.cxx:1685 |
Medium |
V560 |
A part of conditional expression is always true: nPosOffsetX == 0. |
General Analysis |
escherex.cxx:1685 |
Medium |
V560 |
A part of conditional expression is always true: nPosOffsetY == 0. |
General Analysis |
escherex.cxx:2269 |
Medium |
V547 |
Expression 'bHasShadow' is always false. |
General Analysis |
escherex.cxx:776 |
Medium |
V547 |
Expression 'bAutoGrowWidth' is always false. |
General Analysis |
escherex.cxx:769 |
Medium |
V547 |
Expression 'bAutoGrowSize' is always false. |
General Analysis |
escherex.cxx:765 |
Medium |
V547 |
Expression 'bWordWrap' is always false. |
General Analysis |
escherex.cxx:4541 |
Medium |
V1019 |
Compound assignment expression '* pGluePointType >>= nGluePointType' is used inside condition. |
General Analysis |
escherex.cxx:3908 |
Medium |
V560 |
A part of conditional expression is always true: pData. |
General Analysis |
escherex.cxx:1685 |
Medium |
V560 |
A part of conditional expression is always true: nOffsetY == 0. |
General Analysis |
escherex.cxx:1269 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= bPrintable' is used inside condition. |
General Analysis |
escherex.cxx:2923 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
escherex.cxx:1618 |
Medium |
V560 |
A part of conditional expression is always false: nBlue. |
General Analysis |
escherex.cxx:1622 |
Medium |
V547 |
Expression 'bMirrored' is always false. |
General Analysis |
escherex.cxx:1627 |
Medium |
V547 |
Expression 'nTransparency' is always false. |
General Analysis |
escherex.cxx:1618 |
Medium |
V560 |
A part of conditional expression is always false: nGreen. |
General Analysis |
escherex.cxx:1618 |
Medium |
V560 |
A part of conditional expression is always false: nRed. |
General Analysis |
escherex.cxx:1618 |
Medium |
V560 |
A part of conditional expression is always false: nTransparency. |
General Analysis |
escherex.cxx:1574 |
Medium |
V560 |
A part of conditional expression is always false: nBlue. |
General Analysis |
escherex.cxx:1637 |
Medium |
V547 |
Expression 'nGreen' is always false. |
General Analysis |
escherex.cxx:1632 |
Medium |
V547 |
Expression 'nRed' is always false. |
General Analysis |
escherex.cxx:1574 |
Medium |
V560 |
A part of conditional expression is always false: nGreen. |
General Analysis |
mscodec.cxx:443 |
Medium |
V512 |
A call of the 'memcpy' function will lead to underflow of the buffer 'pKeyData'. |
General Analysis |
msdffimp.cxx:6389 |
Medium |
V1004 |
The 'pStData' pointer was used unsafely after it was verified against nullptr. Check lines: 6384, 6389. |
General Analysis |
msdffimp.cxx:6870 |
Medium |
V668 |
There is no sense in testing the 'pData' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
msdffimp.cxx:5640 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
msdffimp.cxx:4562 |
Medium |
V1019 |
Compound assignment expression '* pAny >>= seqAdjustmentValues' is used inside condition. |
General Analysis |
msdffimp.cxx:3985 |
Medium |
V668 |
There is no sense in testing the 'pRet' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
msdffimp.cxx:4529 |
Medium |
V1019 |
Compound assignment expression '* pAny >>= seqCoordinates' is used inside condition. |
General Analysis |
msdffimp.cxx:5621 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
msdffimp.cxx:5657 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
msvbahelper.cxx:478 |
Medium |
V547 |
Expression 'pShell' is always true. |
General Analysis |
svdfppt.cxx:5297 |
Medium |
V1023 |
A pointer without owner is added to the 'aCharPropList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdfppt.cxx:5358 |
Medium |
V1023 |
A pointer without owner is added to the 'aCharPropList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdfppt.cxx:5371 |
Medium |
V1023 |
A pointer without owner is added to the 'aCharPropList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdfppt.cxx:5398 |
Medium |
V1023 |
A pointer without owner is added to the 'aCharPropList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdfppt.cxx:2081 |
Medium |
V668 |
There is no sense in testing the 'pBuf' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
svdfppt.cxx:3727 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 3724, 3727. |
General Analysis |
svdfppt.cxx:2954 |
Medium |
V778 |
Two similar code fragments were found. Perhaps, this is a typo and 'pCObj' variable should be used instead of 'pBObj'. |
General Analysis |
pdfdialog.cxx:51 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
svgfilter.cxx:263 |
Medium |
V668 |
There is no sense in testing the 'aNewSdrGrafObj' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
xmlfilteradaptor.cxx:105 |
Medium |
V1019 |
Compound assignment expression 'It->second >>= aFilterName' is used inside condition. |
General Analysis |
xmlfilteradaptor.cxx:338 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= aAnySeq' is used inside condition. |
General Analysis |
xmlfiltersettingsdialog.cxx:655 |
Medium |
V547 |
Expression 'bOk' is always true. |
General Analysis |
xmlfiltersettingsdialog.cxx:809 |
Medium |
V560 |
A part of conditional expression is always true: !bTypeStillUsed. |
General Analysis |
checkbox.cxx:212 |
Medium |
V547 |
Expression 'bTriState' is always true. |
General Analysis |
clickableimage.cxx:222 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
edit.cxx:577 |
Medium |
V560 |
A part of conditional expression is always true: nFieldLen <= ((sal_Int16) 0x7FFF). |
General Analysis |
edit.cxx:577 |
Medium |
V560 |
A part of conditional expression is always false: nFieldLen > 0. |
General Analysis |
filter.cxx:761 |
Medium |
V1019 |
Compound assignment expression 'aArguments[2] >>= xControlModel' is used inside condition. |
General Analysis |
filter.cxx:759 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= m_xMessageParent' is used inside condition. |
General Analysis |
filter.cxx:760 |
Medium |
V1019 |
Compound assignment expression 'aArguments[1] >>= m_xFormatter' is used inside condition. |
General Analysis |
formattedfield.cxx:819 |
Medium |
V1019 |
Compound assignment expression 'aControlValue >>= f' is used inside condition. |
General Analysis |
formattedfield.cxx:859 |
Medium |
V547 |
Expression 'bExternalValue' is always false. |
General Analysis |
formcomponent.cxx:2298 |
Medium |
V560 |
A part of conditional expression is always false: (nFieldType == DataType::BINARY). |
General Analysis |
formcomponent.cxx:2332 |
Medium |
V547 |
Expression 'bNeedValueTransfer' is always true. |
General Analysis |
formcomponent.cxx:2321 |
Medium |
V547 |
Expression 'bIsNewRecord' is always false. |
General Analysis |
formcomponent.cxx:2301 |
Medium |
V560 |
A part of conditional expression is always true: (nFieldType == DataType::OBJECT). |
General Analysis |
formcomponent.cxx:2300 |
Medium |
V560 |
A part of conditional expression is always false: (nFieldType == DataType::LONGVARBINARY). |
General Analysis |
formcomponent.cxx:2299 |
Medium |
V560 |
A part of conditional expression is always false: (nFieldType == DataType::VARBINARY). |
General Analysis |
formcomponent.cxx:2264 |
Medium |
V560 |
A part of conditional expression is always true: !bIsNewRecord. |
General Analysis |
imagecontrol.cxx:938 |
Medium |
V547 |
Expression 'bReadOnly' is always false. |
General Analysis |
listbox.cxx:1706 |
Medium |
V547 |
Expression 'bMultiSelection' is always false. |
General Analysis |
listbox.cxx:880 |
Medium |
V547 |
Expression '!aBoundColumn' is always false. |
General Analysis |
listbox.cxx:776 |
Medium |
V547 |
Expression '!aBoundColumn' is always false. |
General Analysis |
windowstateguard.cxx:133 |
Medium |
V560 |
A part of conditional expression is always true: !bShouldBeEnabled. |
General Analysis |
interfacecontainer.cxx:828 |
Medium |
V547 |
Expression 'bHandleVbaEvents' is always false. |
General Analysis |
richtextcontrol.cxx:160 |
Medium |
V547 |
Expression '!bReallyActAsRichText' is always true. |
General Analysis |
richtextcontrol.cxx:129 |
Medium |
V547 |
Expression 'nBorder' is always false. |
General Analysis |
richtextcontrol.cxx:85 |
Medium |
V547 |
Expression 'bFlagValue' is always false. |
General Analysis |
richtextmodel.cxx:531 |
Medium |
V547 |
Expression '!pId' is always true. |
General Analysis |
formoperations.cxx:1631 |
Medium |
V547 |
Expression '!bApplied' is always false. |
General Analysis |
formoperations.cxx:1432 |
Medium |
V547 |
Expression 'bHidden' is always false. |
General Analysis |
formoperations.cxx:1222 |
Medium |
V547 |
Expression 'bUseEscapeProcessing' is always false. |
General Analysis |
formoperations.cxx:753 |
Medium |
V547 |
Expression '!bApplied' is always true. |
General Analysis |
navbarcontrol.cxx:102 |
Medium |
V547 |
Expression 'bTabStop' is always false. |
General Analysis |
navbarcontrol.cxx:97 |
Medium |
V547 |
Expression 'nBorder' is always false. |
General Analysis |
formulacompiler.cxx:1370 |
Medium |
V560 |
A part of conditional expression is always false: (eOp == ocTableRef). |
General Analysis |
formulacompiler.cxx:1369 |
Medium |
V560 |
A part of conditional expression is always false: (eOp == ocDBArea). |
General Analysis |
formulaopcodemapperobj.cxx:106 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
formula.cxx:1487 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
iodlg.cxx:346 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_pFocusWidgets. |
General Analysis |
iodlg.cxx:1306 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
iodlgimp.cxx:270 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
remotefilesdialog.cxx:37 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_pFocusWidgets. |
General Analysis |
remotefilesdialog.cxx:1296 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
vistafilepicker.cxx:388 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
vistafilepicker.hxx:180 |
Medium |
V762 |
It is possible a virtual function was overridden incorrectly. See first argument of function 'disposing' in derived class 'VistaFilePicker' and base class 'WeakComponentImplHelperBase'. |
General Analysis |
vistafilepickerimpl.cxx:1098 |
Medium |
V519 |
The 'hResult' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1097, 1098. |
General Analysis |
dispatchdisabler.cxx:29 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= aDisabledURLs' is used inside condition. |
General Analysis |
framelistanalyzer.cxx:233 |
Medium |
V547 |
Expression 'bHidden' is always false. |
General Analysis |
uiconfigelementwrapperbase.cxx:427 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigelementwrapperbase.cxx:461 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
helponstartup.cxx:319 |
Medium |
V547 |
Expression 'bHelpEnabled' is always false. |
General Analysis |
jobresult.cxx:110 |
Medium |
V547 |
Expression 'bDeactivate' is always false. |
General Analysis |
layoutmanager.cxx:1305 |
Medium |
V547 |
Expression '!oldDockingAreaWindows.empty()' is always false. |
General Analysis |
layoutmanager.cxx:493 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
layoutmanager.cxx:566 |
Medium |
V560 |
A part of conditional expression is always true: pGlobalSettings. |
General Analysis |
toolbarlayoutmanager.cxx:3391 |
Medium |
V560 |
A part of conditional expression is always true: bDockingInProgress. |
General Analysis |
autorecovery.cxx:1626 |
Medium |
V547 |
Expression 'bEnabled' is always false. |
General Analysis |
frame.cxx:1523 |
Medium |
V519 |
The 'm_xComponentWindow' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1501, 1523. |
General Analysis |
pathsettings.cxx:526 |
Medium |
V1001 |
The 'a' variable is assigned but is not used by the end of the function. |
General Analysis |
sessionlistener.cxx:235 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
substitutepathvars.cxx:348 |
Medium |
V560 |
A part of conditional expression is always true: !bSubstitutionCompleted. |
General Analysis |
moduleuiconfigurationmanager.cxx:468 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:1146 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:433 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:435 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:448 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:451 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:465 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:500 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:849 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= aModuleShortName' is used inside condition. |
General Analysis |
moduleuiconfigurationmanager.cxx:849 |
Medium |
V1019 |
Compound assignment expression 'aArguments[1] >>= m_aModuleIdentifier' is used inside condition. |
General Analysis |
moduleuiconfigurationmanager.cxx:1105 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:1181 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:1219 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
moduleuiconfigurationmanager.cxx:1368 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:421 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:882 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:890 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
uiconfigurationmanager.cxx:354 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:917 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:389 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:904 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
uiconfigurationmanager.cxx:950 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:930 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
uiconfigurationmanager.cxx:1076 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:1045 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
uiconfigurationmanager.cxx:985 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
uiconfigurationmanager.cxx:369 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:356 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:372 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
uiconfigurationmanager.cxx:386 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
controlmenucontroller.cxx:305 |
Medium |
V560 |
A part of conditional expression is always true: bUpdateImages. |
General Analysis |
fontmenucontroller.cxx:98 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
resourcemenucontroller.cxx:227 |
Medium |
V1019 |
Compound assignment expression 'rEvent.State >>= aVerbs' is used inside condition. |
General Analysis |
statusbarmanager.cxx:373 |
Medium |
V668 |
There is no sense in testing the 'pController' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
statusbarmanager.cxx:273 |
Medium |
V519 |
The 'm_bUpdateControllers' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 268, 273. |
General Analysis |
toolbarmanager.cxx:570 |
Medium |
V1019 |
Compound assignment expression 'Event.Element >>= xNameAccess' is used inside condition. |
General Analysis |
toolbarmanager.cxx:395 |
Medium |
V519 |
The 'm_bUpdateControllers' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 381, 395. |
General Analysis |
toolbarmanager.cxx:372 |
Medium |
V519 |
The 'm_bUpdateControllers' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 358, 372. |
General Analysis |
menubarfactory.cxx:61 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
statusbarfactory.cxx:72 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
imagesdocumenthandler.cxx:150 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
helplinker.cxx:252 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'length' function is written to the 8-bit variable. |
General Analysis |
helplinker.cxx:248 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'length' function is written to the 8-bit variable. |
General Analysis |
lucenehelper.cxx:36 |
Medium |
V1032 |
The pointer 'str' is cast to a more strictly aligned pointer type. |
General Analysis |
lucenehelper.cxx:36 |
Medium |
V512 |
A call of the 'OUString' function will lead to overflow of the buffer 'str'. |
General Analysis |
drawing.h:377 |
Medium |
V668 |
There is no sense in testing the 'hdo' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
formula.cxx:594 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'buf'. Check lines: 594, 584. |
General Analysis |
formula.cxx:634 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'buf'. Check lines: 634, 624. |
General Analysis |
hbox.cxx:101 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: format. |
General Analysis |
hbox.cxx:89 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: id. |
General Analysis |
hbox.cxx:108 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: format, date. |
General Analysis |
hbox.cxx:216 |
Medium |
V512 |
A call of the 'memcpy' function will lead to underflow of the buffer 'cbuf'. |
General Analysis |
hbox.cxx:345 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: reserved, skip, scale, reserved3. |
General Analysis |
hbox.cxx:174 |
Medium |
V512 |
A call of the 'memcpy' function will lead to underflow of the buffer 'cbuf'. |
General Analysis |
hbox.cxx:78 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: type, reserved1, reserved2. |
General Analysis |
hcode.cxx:1406 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'out'. Check lines: 1406, 1398. |
General Analysis |
htags.cxx:48 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: name, type. |
General Analysis |
hwpfile.cxx:558 |
Medium |
V1023 |
A pointer without owner is added to the 'columnlist' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
hwpread.cxx:835 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: number, user_shape, deco. |
General Analysis |
hwpread.cxx:561 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: reserved, info. |
General Analysis |
hwpread.cxx:494 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: reserved, reserved2. |
General Analysis |
hwpread.cxx:754 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: compose. |
General Analysis |
hwpread.cxx:582 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: reserved, info. |
General Analysis |
hwpread.cxx:615 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: reserved, info. |
General Analysis |
hwpreader.cxx:555 |
Medium |
V512 |
A call of the 'sprintf' function will lead to overflow of the buffer 'filename'. |
General Analysis |
hwpreader.cxx:1149 |
Medium |
V560 |
A part of conditional expression is always true: !pPage->header_even. |
General Analysis |
hwpreader.cxx:1184 |
Medium |
V560 |
A part of conditional expression is always true: !pPage->header_odd. |
General Analysis |
hwpreader.cxx:1250 |
Medium |
V560 |
A part of conditional expression is always true: !pPage->footer_even. |
General Analysis |
hwpreader.cxx:1285 |
Medium |
V560 |
A part of conditional expression is always true: !pPage->footer_odd. |
General Analysis |
hwpreader.cxx:2919 |
Medium |
V547 |
Expression 'pstart' is always true. |
General Analysis |
hwpreader.cxx:2939 |
Medium |
V519 |
The 'tstart' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2937, 2939. |
General Analysis |
hwpreader.cxx:3076 |
Medium |
V519 |
The 'pstart' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3074, 3076. |
General Analysis |
lexer.cxx:1941 |
Medium |
V1004 |
The 'b' pointer was used unsafely after it was verified against nullptr. Check lines: 1935, 1941. |
General Analysis |
lexer.cxx:1932 |
Medium |
V1004 |
The 'buf' pointer was used unsafely after it was verified against nullptr. Check lines: 1926, 1932. |
General Analysis |
lexer.cxx:1875 |
Medium |
V1004 |
The 'b' pointer was used unsafely after it was verified against nullptr. Check lines: 1872, 1875. |
General Analysis |
lexer.cxx:1572 |
Medium |
V1004 |
The 'b->yy_ch_buf' pointer was used unsafely after it was verified against nullptr. Check lines: 1568, 1572. |
General Analysis |
lexer.cxx:1754 |
Medium |
V1004 |
The 'b' pointer was used unsafely after it was verified against nullptr. Check lines: 1751, 1754. |
General Analysis |
mzstring.h:81 |
Medium |
V690 |
The 'MzString' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
languagetag.cxx:1694 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1692, 1694. |
General Analysis |
languagetag.cxx:1541 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1539, 1541. |
General Analysis |
languagetag.cxx:1677 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1675, 1677. |
General Analysis |
breakiterator_unicode.cxx:397 |
Medium |
V560 |
A part of conditional expression is always false: rv.startPos == icu::BreakIterator::DONE. |
General Analysis |
cclass_unicode_parser.cxx:748 |
Medium |
V560 |
A part of conditional expression is always false: current == cDecimalSep. |
General Analysis |
characterclassificationimpl.cxx:129 |
Medium |
V1023 |
A pointer without owner is added to the 'lookupTable' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
characterclassificationimpl.cxx:142 |
Medium |
V1023 |
A pointer without owner is added to the 'lookupTable' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
characterclassificationimpl.cxx:181 |
Medium |
V1023 |
A pointer without owner is added to the 'lookupTable' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
collatorimpl.cxx:144 |
Medium |
V1023 |
A pointer without owner is added to the 'lookupTable' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
collatorimpl.cxx:156 |
Medium |
V1023 |
A pointer without owner is added to the 'lookupTable' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
defaultnumberingprovider.cxx:1053 |
Medium |
V1001 |
The 'aEnabled' variable is assigned but is not used by the end of the function. |
General Analysis |
indexentrysupplier_default.cxx:101 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'table'. |
General Analysis |
indexentrysupplier_default.cxx:110 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: keys, mkeys. |
General Analysis |
inputsequencechecker.cxx:125 |
Medium |
V1023 |
A pointer without owner is added to the 'lookupTable' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
localenode.cxx:2095 |
Medium |
V560 |
A part of conditional expression is always true: 0 <= i. |
General Analysis |
localenode.cxx:1294 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
levdis.hxx:133 |
Medium |
V690 |
The 'WLevDistance' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
textsearch.cxx:1131 |
Medium |
V560 |
A part of conditional expression is always false: nStartPos > nStringLen. |
General Analysis |
textsearch.cxx:1303 |
Medium |
V560 |
A part of conditional expression is always false: nEndPos > nStringLen. |
General Analysis |
textconversion_ko.cxx:328 |
Medium |
V547 |
Expression 'length + nStartPos > start' is always true. |
General Analysis |
transliteration_numeric.cxx:75 |
Medium |
V560 |
A part of conditional expression is always true: i < endPos. |
General Analysis |
paper.cxx:381 |
Medium |
V547 |
Expression 'static_cast<size_t> (ePaper) < nTabSize' is always true. |
General Analysis |
slot.cxx:289 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
svidl.cxx:212 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 203, 212. |
General Analysis |
svidl.cxx:130 |
Medium |
V560 |
A part of conditional expression is always true: nExit == 0. |
General Analysis |
svidl.cxx:164 |
Medium |
V560 |
A part of conditional expression is always true: !bErr. |
General Analysis |
astoperation.cxx:44 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
aststruct.cxx:35 |
Medium |
V1023 |
A pointer without owner is added to the 'm_typeParameters' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
sbmeth.hxx:30 |
Medium |
V690 |
Copy constructor is declared as private in the 'SbMethod' class, but the default '=' operator will still be generated by compiler. It is dangerous to use such a class. |
General Analysis |
vclwrapper.hxx:97 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rhs'. |
General Analysis |
anycompare.hxx:135 |
Medium |
V1019 |
Compound assignment expression '_rhs >>= rhs' is used inside condition. |
General Analysis |
anycompare.hxx:115 |
Medium |
V1019 |
Compound assignment expression '_rhs >>= rhs' is used inside condition. |
General Analysis |
anycompare.hxx:93 |
Medium |
V1019 |
Compound assignment expression '_rhs >>= rhs' is used inside condition. |
General Analysis |
anycompare.hxx:76 |
Medium |
V1019 |
Compound assignment expression '_rhs >>= rhs' is used inside condition. |
General Analysis |
proparrhlp.hxx:122 |
Medium |
V547 |
Expression '!s_pProps' is always true. |
General Analysis |
implbase.hxx:111 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::WeakImplHelper' class, as it is followed by a subsequent cast to 'pcr::OPropertyBrowserController' type (see also propcontroller.cxx, line 615). |
General Analysis |
implbase1.hxx:84 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper1' class, as it is followed by a subsequent cast to 'frm::OFormattedControl' type (see also formattedfield.cxx, line 234). |
General Analysis |
implbase1.hxx:84 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper1' class, as it is followed by a subsequent cast to 'VCLXAccessibleComponent' type (see also vclxaccessiblecomponent.cxx, line 101). |
General Analysis |
implbase1.hxx:84 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper1' class, as it is followed by a subsequent cast to 'FmXListBoxCell' type (see also gridcell.cxx, line 4316). |
General Analysis |
implbase1.hxx:84 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper1' class, as it is followed by a subsequent cast to 'FmXGridCell' type (see also gridcell.cxx, line 3379). |
General Analysis |
implbase12.hxx:96 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper12' class, as it is followed by a subsequent cast to 'frm::ODatabaseForm' type (see also databaseform.cxx, line 2597). |
General Analysis |
implbase2.hxx:85 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper2' class, as it is followed by a subsequent cast to 'OAccessibleMenuBaseComponent' type (see also accessiblemenubasecomponent.cxx, line 515). |
General Analysis |
implbase2.hxx:85 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper2' class, as it is followed by a subsequent cast to 'FmXGridCell' type (see also gridcell.cxx, line 3379). |
General Analysis |
implbase2.hxx:85 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper2' class, as it is followed by a subsequent cast to 'FmXFilterCell' type (see also gridcell.cxx, line 4676). |
General Analysis |
implbase3.hxx:86 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper3' class, as it is followed by a subsequent cast to 'ScAccessibleDocument' type (see also accessibledocument.cxx, line 1457). |
General Analysis |
implbase3.hxx:86 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper3' class, as it is followed by a subsequent cast to 'frm::OEditControl' type (see also edit.cxx, line 248). |
General Analysis |
implbase3.hxx:86 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper3' class, as it is followed by a subsequent cast to 'basctl::AccessibleDialogWindow' type (see also accessibledialogwindow.cxx, line 302). |
General Analysis |
implbase3.hxx:86 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper3' class, as it is followed by a subsequent cast to 'frm::ORichTextModel' type (see also richtextmodel.cxx, line 541). |
General Analysis |
implbase4.hxx:88 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper4' class, as it is followed by a subsequent cast to 'frm::OListBoxControl' type (see also listbox.cxx, line 2022). |
General Analysis |
implbase4.hxx:88 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper4' class, as it is followed by a subsequent cast to 'frm::ODatabaseForm' type (see also databaseform.cxx, line 2597). |
General Analysis |
implbase5.hxx:89 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper5' class, as it is followed by a subsequent cast to 'dbaui::SbaTableQueryBrowser' type (see also unodatbr.cxx, line 2111). |
General Analysis |
implbase5.hxx:89 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper5' class, as it is followed by a subsequent cast to 'dbaui::OApplicationController' type (see also appcontrollerdnd.cxx, line 793). |
General Analysis |
implbase5.hxx:89 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper5' class, as it is followed by a subsequent cast to 'dbaui::OApplicationController' type (see also appcontroller.cxx, line 1869). |
General Analysis |
implbase5.hxx:89 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper5' class, as it is followed by a subsequent cast to 'rptui::OReportController' type (see also reportcontroller.cxx, line 1718). |
General Analysis |
implbase5.hxx:89 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper5' class, as it is followed by a subsequent cast to 'dbaui::SbaTableQueryBrowser' type (see also dsbrowserdnd.cxx, line 195). |
General Analysis |
implbase7.hxx:91 |
Medium |
V725 |
A dangerous cast of 'this' to 'void*' type in the 'cppu::ImplHelper7' class, as it is followed by a subsequent cast to 'frm::ODatabaseForm' type (see also databaseform.cxx, line 2597). |
General Analysis |
typeprovider.hxx:168 |
Medium |
V690 |
The 'OImplementationId' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
numitem.hxx:316 |
Medium |
V690 |
The 'SvxNodeNum' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
unotext.hxx:240 |
Medium |
V690 |
The 'SvxUnoTextRangeBase' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
svdfppt.hxx:885 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: mpArry. |
General Analysis |
libreofficekitinit.h:156 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'sNewPath'. Check lines: 156, 155. |
General Analysis |
main.h:89 |
Medium |
V677 |
Custom declaration of a standard 'HINSTANCE' type. The system header file should be used: #include <WinDef.h>. |
General Analysis |
main.h:86 |
Medium |
V677 |
Custom declaration of a standard 'HANDLE' type. The system header file should be used: #include <WinNT.h>. |
General Analysis |
main.h:85 |
Medium |
V677 |
Custom declaration of a standard 'PVOID' type. The system header file should be used: #include <WinNT.h>. |
General Analysis |
recentdocsview.hxx:89 |
Medium |
V703 |
It is odd that the 'mnItemPadding' field in derived class 'RecentDocsView' overwrites field in base class 'ThumbnailView'. Check lines: recentdocsview.hxx:89, thumbnailview.hxx:297. |
General Analysis |
templatelocalview.hxx:181 |
Medium |
V703 |
It is odd that the 'mnThumbnailHeight' field in derived class 'TemplateLocalView' overwrites field in base class 'ThumbnailView'. Check lines: templatelocalview.hxx:181, thumbnailview.hxx:298. |
General Analysis |
style.hxx:113 |
Medium |
V690 |
The 'SfxStyleSheetBase' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
svdde.hxx:204 |
Medium |
V690 |
The 'DdeItem' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
zformat.hxx:144 |
Medium |
V690 |
The 'SvNumberformat' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
checklbx.hxx:70 |
Medium |
V762 |
It is possible a virtual function was overridden incorrectly. See first argument of function 'GetText' in derived class 'SvxCheckListBox' and base class 'Window'. |
General Analysis |
svdhlpln.hxx:73 |
Medium |
V1023 |
A pointer without owner is added to the 'aList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdhlpln.hxx:77 |
Medium |
V1023 |
A pointer without owner is added to the 'aList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdmrkv.hxx:429 |
Medium |
V524 |
It is odd that the body of 'GetRef2' function is fully equivalent to the body of 'GetRef1' function. |
General Analysis |
svdoashp.hxx:75 |
Medium |
V690 |
The 'SdrObjCustomShape' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
svdograf.hxx:77 |
Medium |
V690 |
The 'SdrGrafObj' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
svdotext.hxx:135 |
Medium |
V690 |
The 'SdrTextObj' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
xexch.hxx:36 |
Medium |
V690 |
The 'XFillExchangeData' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
bigint.hxx:65 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: nNum. |
General Analysis |
bigint.hxx:56 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: nNum. |
General Analysis |
bigint.hxx:75 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: nNum. |
General Analysis |
event.hxx:160 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: Buttons, X, Y, ClickCount, PopupTrigger. |
General Analysis |
event.hxx:167 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: Buttons, X, Y, ClickCount, PopupTrigger. |
General Analysis |
event.hxx:67 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: KeyCode, KeyChar, KeyFunc. |
General Analysis |
event.hxx:73 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: KeyCode, KeyChar, KeyFunc. |
General Analysis |
streamhelper.cxx:78 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'm_p' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
bootstrap.cxx:57 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'ustr'. Check lines: 57, 56. |
General Analysis |
sunjavaplugin.cxx:493 |
Medium |
V530 |
The return value of function 'LoadLibraryW' is required to be utilized. |
General Analysis |
sunjavaplugin.cxx:532 |
Medium |
V575 |
The potential null pointer is passed into 'fread' function. Inspect the first argument. Check lines: 532, 530. |
General Analysis |
sunversion.cxx:82 |
Medium |
V547 |
Expression 'pCur < pEnd' is always true. |
General Analysis |
util.cxx:238 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_aBuffer. |
General Analysis |
util.cxx:601 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'szTmpPath'. Check lines: 601, 597. |
General Analysis |
framework.cxx:253 |
Medium |
V547 |
Expression '!arOpt' is always false. |
General Analysis |
fwkbase.cxx:369 |
Medium |
V560 |
A part of conditional expression is always true: !bEnvJRE. |
General Analysis |
helpex.cxx:89 |
Medium |
V1024 |
The 'aInput' stream is checked for EOF before reading from it, but is not checked after reading. Use of invalid data may occur. |
General Analysis |
helpmerge.cxx:244 |
Medium |
V547 |
Expression 'pXMLElement != nullptr' is always true. |
General Analysis |
lngmerge.cxx:60 |
Medium |
V1024 |
The 'aStream' stream is checked for EOF before reading from it, but is not checked after reading. Use of invalid data may occur. |
General Analysis |
merge.cxx:197 |
Medium |
V1024 |
The 'aInputStream' stream is checked for EOF before reading from it, but is not checked after reading. Use of invalid data may occur. |
General Analysis |
propmerge.cxx:101 |
Medium |
V1024 |
The 'aIfstream' stream is checked for EOF before reading from it, but is not checked after reading. Use of invalid data may occur. |
General Analysis |
treex.cxx:34 |
Medium |
V756 |
The 'nIndex2' counter is not used inside a nested loop. Consider inspecting usage of 'nIndex' counter. |
General Analysis |
hyphenimp.cxx:384 |
Medium |
V560 |
A part of conditional expression is always false: (i >= n). |
General Analysis |
hyphenimp.cxx:410 |
Medium |
V560 |
A part of conditional expression is always true: (i < n). |
General Analysis |
simpleguesser.hxx:32 |
Medium |
V690 |
The 'SimpleGuesser' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
gciterator.cxx:207 |
Medium |
V560 |
A part of conditional expression is always true: nStartPos < nLen. |
General Analysis |
gciterator.cxx:170 |
Medium |
V560 |
A part of conditional expression is always true: nStartPos < nLen. |
General Analysis |
gciterator.cxx:690 |
Medium |
V547 |
Expression 'm_bEnd' is always false. |
General Analysis |
gciterator.cxx:207 |
Medium |
V560 |
A part of conditional expression is always true: 0 <= nStartPos. |
General Analysis |
lngopt.cxx:433 |
Medium |
V1001 |
The 'any' variable is assigned but is not used by the end of the function. |
General Analysis |
lngopt.cxx:449 |
Medium |
V1001 |
The 'any' variable is assigned but is not used by the end of the function. |
General Analysis |
lngopt.cxx:441 |
Medium |
V1001 |
The 'any' variable is assigned but is not used by the end of the function. |
General Analysis |
lngprophelp.cxx:604 |
Medium |
V547 |
Expression 'nLngSvcFlags' is always true. |
General Analysis |
lngsvcmgr.cxx:1605 |
Medium |
V560 |
A part of conditional expression is always true: bChanged. |
General Analysis |
lngsvcmgr.cxx:1621 |
Medium |
V560 |
A part of conditional expression is always true: bChanged. |
General Analysis |
lngsvcmgr.cxx:1588 |
Medium |
V560 |
A part of conditional expression is always true: bChanged. |
General Analysis |
xfindex.hxx:216 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
lwpcelllayout.cxx:351 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pPreStory'. |
General Analysis |
lwpdocdata.cxx:64 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_DocOptions, m_DocInfo, m_DocControl. |
General Analysis |
lwpfnlayout.cxx:267 |
Medium |
V560 |
A part of conditional expression is always true: pLayout. |
General Analysis |
lwpfnlayout.cxx:324 |
Medium |
V560 |
A part of conditional expression is always true: pLayout. |
General Analysis |
lwpfribsection.cxx:136 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'GetSection()'. |
General Analysis |
lwppara.cxx:549 |
Medium |
V560 |
A part of conditional expression is always true: pNumbering. |
General Analysis |
lwppara.cxx:549 |
Medium |
V560 |
A part of conditional expression is always true: pParaSilverBullet. |
General Analysis |
lwppara1.cxx:472 |
Medium |
V547 |
Expression 'pBullet' is always true. |
General Analysis |
lwppara1.cxx:495 |
Medium |
V547 |
Expression 'pBullOver' is always true. |
General Analysis |
lwprowlayout.cxx:194 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableLayout'. |
General Analysis |
lwpsilverbullet.cxx:72 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_pResetPositionFlags, m_pHideLevels. |
General Analysis |
lwptablelayout.cxx:1207 |
Medium |
V547 |
Expression 'pXFPara' is always true. |
General Analysis |
lwptablelayout.cxx:761 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'GetTable()'. |
General Analysis |
lwptablelayout.cxx:891 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'GetTable()'. |
General Analysis |
lwptablelayout.cxx:1366 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'GetTable()'. |
General Analysis |
lwptablelayout.cxx:850 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'GetTable()'. |
General Analysis |
lwptoc.cxx:78 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_nFlags. |
General Analysis |
tocread.cxx:108 |
Medium |
V512 |
A call of the 'memcmp' function will lead to underflow of the buffer 'Label'. |
General Analysis |
xfborders.cxx:84 |
Medium |
V560 |
A part of conditional expression is always true: m_bDouble. |
General Analysis |
unoapploader.c:315 |
Medium |
V575 |
The potential null pointer is passed into 'wcscpy' function. Inspect the first argument. Check lines: 315, 313. |
General Analysis |
unoapploader.c:211 |
Medium |
V575 |
The potential null pointer is passed into 'wcscpy' function. Inspect the first argument. Check lines: 211, 210. |
General Analysis |
axisconverter.cxx:264 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
axisconverter.cxx:399 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
chartspaceconverter.cxx:196 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
chartspaceconverter.cxx:197 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
objectformatter.cxx:1044 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
objectformatter.cxx:1072 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
plotareaconverter.cxx:257 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
plotareaconverter.cxx:248 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
plotareaconverter.cxx:258 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
seriesconverter.cxx:401 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
seriesconverter.cxx:570 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
seriesconverter.cxx:750 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
seriesconverter.cxx:400 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
titleconverter.cxx:197 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
typegroupconverter.cxx:331 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
typegroupconverter.cxx:394 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
typegroupconverter.cxx:404 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
typegroupconverter.cxx:405 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
typegroupconverter.cxx:443 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
typegroupconverter.cxx:260 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
presetgeometrynames.cxx:85 |
Medium |
V547 |
Expression '!pHashMap' is always true. |
General Analysis |
shape.cxx:875 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMagic'. |
General Analysis |
shape.cxx:1130 |
Medium |
V1007 |
The value from the potentially uninitialized optional 'oShadowDistance' is used. Probably it is a mistake. |
General Analysis |
chartexport.cxx:2609 |
Medium |
V560 |
A part of conditional expression is always true: !bAutoMax. |
General Analysis |
chartexport.cxx:2509 |
Medium |
V547 |
Expression 'bHasZAxisMajorGrid' is always false. |
General Analysis |
chartexport.cxx:2529 |
Medium |
V547 |
Expression 'bHasSecondaryXAxisTitle' is always false. |
General Analysis |
chartexport.cxx:2546 |
Medium |
V547 |
Expression 'bHasSecondaryYAxisTitle' is always false. |
General Analysis |
chartexport.cxx:2586 |
Medium |
V547 |
Expression 'bLogarithmic' is always false. |
General Analysis |
chartexport.cxx:2600 |
Medium |
V547 |
Expression 'bReverseDirection' is always false. |
General Analysis |
chartexport.cxx:2622 |
Medium |
V560 |
A part of conditional expression is always true: !bAutoMin. |
General Analysis |
chartexport.cxx:3139 |
Medium |
V547 |
Expression 'bLinkedNumFmt' is always true. |
General Analysis |
chartexport.cxx:2855 |
Medium |
V560 |
A part of conditional expression is always true: !bAutoStepMain. |
General Analysis |
chartexport.cxx:2868 |
Medium |
V560 |
A part of conditional expression is always true: !bAutoStepHelp. |
General Analysis |
chartexport.cxx:2892 |
Medium |
V547 |
Expression 'bDisplayUnits' is always false. |
General Analysis |
chartexport.cxx:3304 |
Medium |
V547 |
Expression '!bVaryColorsByPoint' is always true. |
General Analysis |
chartexport.cxx:3531 |
Medium |
V547 |
Expression 'bForceIntercept' is always false. |
General Analysis |
chartexport.cxx:2690 |
Medium |
V547 |
Expression 'bLinkedNumFmt' is always true. |
General Analysis |
chartexport.cxx:2507 |
Medium |
V547 |
Expression 'bHasZAxisTitle' is always false. |
General Analysis |
chartexport.cxx:2476 |
Medium |
V547 |
Expression 'bHasXAxisMinorGrid' is always false. |
General Analysis |
chartexport.cxx:2492 |
Medium |
V547 |
Expression 'bHasYAxisMajorGrid' is always false. |
General Analysis |
chartexport.cxx:2490 |
Medium |
V547 |
Expression 'bHasYAxisTitle' is always false. |
General Analysis |
chartexport.cxx:3553 |
Medium |
V547 |
Expression 'bShowCorrelationCoefficient' is always false. |
General Analysis |
chartexport.cxx:2474 |
Medium |
V547 |
Expression 'bHasXAxisMajorGrid' is always false. |
General Analysis |
chartexport.cxx:2472 |
Medium |
V547 |
Expression 'bHasXAxisTitle' is always false. |
General Analysis |
chartexport.cxx:2354 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= fTextRotation' is used inside condition. |
General Analysis |
chartexport.cxx:2056 |
Medium |
V560 |
A part of conditional expression is always true: eChartType != chart::TYPEID_HORBAR. |
General Analysis |
chartexport.cxx:1905 |
Medium |
V547 |
Expression 'bVaryColors' is always false. |
General Analysis |
chartexport.cxx:1438 |
Medium |
V547 |
Expression 'bVertical' is always false. |
General Analysis |
chartexport.cxx:952 |
Medium |
V547 |
Expression 'bVertical' is always false. |
General Analysis |
chartexport.cxx:791 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
chartexport.cxx:772 |
Medium |
V547 |
Expression '!bIncludeHiddenCells' is always true. |
General Analysis |
chartexport.cxx:764 |
Medium |
V547 |
Expression 'bHasLegend' is always false. |
General Analysis |
chartexport.cxx:716 |
Medium |
V547 |
Expression 'bHasMainTitle' is always false. |
General Analysis |
chartexport.cxx:2494 |
Medium |
V547 |
Expression 'bHasYAxisMinorGrid' is always false. |
General Analysis |
chartexport.cxx:3557 |
Medium |
V547 |
Expression 'bShowEquation' is always false. |
General Analysis |
chartexport.cxx:2511 |
Medium |
V547 |
Expression 'bHasZAxisMinorGrid' is always false. |
General Analysis |
chartexport.cxx:3770 |
Medium |
V547 |
Expression 'bNegative' is always false. |
General Analysis |
chartexport.cxx:3768 |
Medium |
V547 |
Expression 'bPositive' is always false. |
General Analysis |
chartexport.cxx:3793 |
Medium |
V547 |
Expression 'bPositive' is always false. |
General Analysis |
chartexport.cxx:3798 |
Medium |
V547 |
Expression 'bNegative' is always false. |
General Analysis |
chartexport.cxx:3812 |
Medium |
V547 |
Expression 'bPositive' is always false. |
General Analysis |
chartexport.cxx:3890 |
Medium |
V547 |
Expression 'bRightAngled' is always false. |
General Analysis |
chartexport.cxx:3623 |
Medium |
V547 |
Expression 'pSymbolType' is always true. |
General Analysis |
drawingml.cxx:1256 |
Medium |
V547 |
Expression 'isBackgroundFilled' is always false. |
General Analysis |
drawingml.cxx:1837 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
drawingml.cxx:2237 |
Medium |
V547 |
Expression 'nParaLeftMargin' is always false. |
General Analysis |
drawingml.cxx:1577 |
Medium |
V560 |
A part of conditional expression is always false: nCharEscapement. |
General Analysis |
drawingml.cxx:2476 |
Medium |
V547 |
Expression 'bTextAutoGrowHeight' is always false. |
General Analysis |
drawingml.cxx:2446 |
Medium |
V547 |
Expression 'bTextAutoGrowHeight' is always false. |
General Analysis |
drawingml.cxx:671 |
Medium |
V560 |
A part of conditional expression is always false: nStyleLineWidth != nLineWidth. |
General Analysis |
drawingml.cxx:3351 |
Medium |
V547 |
Expression 'bHasShadow' is always false. |
General Analysis |
drawingml.cxx:1748 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
drawingml.cxx:1825 |
Medium |
V560 |
A part of conditional expression is always false: nLevel != - 1. |
General Analysis |
drawingml.cxx:2416 |
Medium |
V560 |
A part of conditional expression is always true: !bWrap. |
General Analysis |
drawingml.cxx:671 |
Medium |
V560 |
A part of conditional expression is always false: nLineWidth > 1. |
General Analysis |
drawingml.cxx:1765 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
drawingml.cxx:1787 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
shapes.cxx:1408 |
Medium |
V547 |
Expression 'nRadius' is always false. |
General Analysis |
shapes.cxx:1550 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
shapes.cxx:1122 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
shapes.cxx:800 |
Medium |
V547 |
Expression 'isVisible' is always true. |
General Analysis |
graphichelper.cxx:349 |
Medium |
V506 |
Pointer to local variable 'aHeader' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
vbacontrol.cxx:448 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMultiPage'. |
General Analysis |
vbaexport.cxx:133 |
Medium |
V507 |
Pointer to local array 'pCompressedChunkStream' is stored outside the scope of this array. Such a pointer will become invalid. |
General Analysis |
conditioncontext.cxx:132 |
Medium |
V614 |
Potentially uninitialized variable 'nEnum' used. |
General Analysis |
pptshapegroupcontext.cxx:112 |
Medium |
V668 |
There is no sense in testing the 'pBackgroundPropertiesPtr' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
presentationfragmenthandler.cxx:415 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'comment_handler'. |
General Analysis |
timenodelistcontext.cxx:82 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
shapecontexthandler.cxx:207 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
shapecontexthandler.cxx:219 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
vmlshape.cxx:896 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
vmlshape.cxx:812 |
Medium |
V547 |
Expression 'oRotation' is always false. |
General Analysis |
vmlshape.cxx:538 |
Medium |
V547 |
Expression 'oLineWidth' is always false. |
General Analysis |
oseekinstream.cxx:62 |
Medium |
V547 |
Expression 'pTypeCollection == nullptr' is always true. |
General Analysis |
owriteablestream.cxx:809 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xfactory.cxx:96 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xfactory.cxx:264 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xfactory.cxx:284 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xfactory.cxx:166 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= xInputStream' is used inside condition. |
General Analysis |
xstorage.cxx:1709 |
Medium |
V560 |
A part of conditional expression is always true: m_nRelInfoStatus == 4. |
General Analysis |
xstorage.hxx:102 |
Medium |
V690 |
The 'StorageHolder_Impl' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
bytegrabber.cxx:74 |
Medium |
V547 |
Expression 'location > nLen' is always false. |
General Analysis |
zipfile.cxx:885 |
Medium |
V560 |
A part of conditional expression is always false: nCenLen < 0. |
General Analysis |
zippackage.cxx:1785 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= aAlgorithms' is used inside condition. |
General Analysis |
zippackagestream.cxx:298 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
pyuno.cxx:353 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
pyuno.cxx:1011 |
Medium |
V547 |
Expression is always false. |
General Analysis |
pyuno.cxx:352 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
pyuno.cxx:350 |
Medium |
V560 |
A part of conditional expression is always false: nStart_ssize > ((sal_Int32) 0x7FFFFFFF). |
General Analysis |
pyuno.cxx:351 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
pyuno.cxx:351 |
Medium |
V560 |
A part of conditional expression is always false: nStop_ssize > ((sal_Int32) 0x7FFFFFFF). |
General Analysis |
pyuno.cxx:324 |
Medium |
V560 |
A part of conditional expression is always false: nResult > ((sal_Int32) 0x7FFFFFFF). |
General Analysis |
pyuno.cxx:324 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
pyuno.cxx:352 |
Medium |
V560 |
A part of conditional expression is always false: nStep_ssize > ((sal_Int32) 0x7FFFFFFF). |
General Analysis |
pyuno.cxx:350 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
pyuno_module.cxx:209 |
Medium |
V547 |
Expression '!pLibDir' is always true. |
General Analysis |
pyuno_module.cxx:830 |
Medium |
V1019 |
Compound assignment expression 'a >>= context' is used inside condition. |
General Analysis |
pyuno_runtime.cxx:693 |
Medium |
V560 |
A part of conditional expression is always true: l <= 0x7fffffffi64. |
General Analysis |
pyuno_runtime.cxx:694 |
Medium |
V560 |
A part of conditional expression is always true: l >= - 0x80000000i64. |
General Analysis |
keyimpl.cxx:165 |
Medium |
V519 |
The 'pSubKeys' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 164, 165. |
General Analysis |
reflcnst.hxx:212 |
Medium |
V522 |
Dereferencing of the null pointer 'v' might take place. The potential null pointer is passed into 'readUtf8' function. Inspect the second argument. Check lines: 'reflcnst.hxx:212', 'keyimpl.cxx:814', 'keyimpl.cxx:813'. |
General Analysis |
reflcnst.hxx:212 |
Medium |
V522 |
Dereferencing of the null pointer 'v' might take place. The potential null pointer is passed into 'readUtf8' function. Inspect the second argument. Check lines: 'reflcnst.hxx:212', 'regimpl.cxx:1374', 'regimpl.cxx:1373'. |
General Analysis |
reflcnst.hxx:212 |
Medium |
V522 |
Dereferencing of the null pointer 'v' might take place. The potential null pointer is passed into 'readUtf8' function. Inspect the second argument. Check lines: 'reflcnst.hxx:212', 'regimpl.cxx:1467', 'regimpl.cxx:1466'. |
General Analysis |
reflread.cxx:1161 |
Medium |
V560 |
A part of conditional expression is always false: length > ((sal_uInt32) 0xFFFFFFFF). |
General Analysis |
reflread.cxx:1179 |
Medium |
V1016 |
Expression 'version < TYPEREG_VERSION_0' is always false. |
General Analysis |
reportdefinition.cxx:1360 |
Medium |
V547 |
Expression '!bErr' is always true. |
General Analysis |
reportdefinition.cxx:1351 |
Medium |
V547 |
Expression '!bErr' is always true. |
General Analysis |
reportdefinition.cxx:1369 |
Medium |
V547 |
Expression '!bErr' is always true. |
General Analysis |
reportdefinition.cxx:1378 |
Medium |
V547 |
Expression '!bErr' is always true. |
General Analysis |
rptobject.cxx:216 |
Medium |
V614 |
Potentially uninitialized variable 'eAdjust' used. |
General Analysis |
rptobject.cxx:161 |
Medium |
V547 |
Expression 'bOpaque' is always false. |
General Analysis |
xmlexport.cxx:143 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlexport.cxx:108 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlexport.cxx:91 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlexport.cxx:126 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlexport.cxx:75 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlfilter.cxx:298 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlfilter.cxx:317 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlfilter.cxx:280 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlfilter.cxx:264 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
groupssorting.cxx:1106 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
groupssorting.cxx:899 |
Medium |
V560 |
A part of conditional expression is always true: nGroupPos != - 1. |
General Analysis |
navigator.cxx:668 |
Medium |
V547 |
Expression 'bEnabled' is always false. |
General Analysis |
defaultinspection.cxx:173 |
Medium |
V1019 |
Compound assignment expression '_arguments[1] >>= nMaxHelpTextLines' is used inside condition. |
General Analysis |
uitools.cxx:986 |
Medium |
V560 |
A part of conditional expression is always true: !bOverlapping. |
General Analysis |
designview.cxx:343 |
Medium |
V547 |
Expression 'm_pCurrentView' is always true. |
General Analysis |
formattedfieldbeautifier.cxx:105 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 79, 105. |
General Analysis |
propbrw.cxx:387 |
Medium |
V547 |
Expression 'pResId' is always true. |
General Analysis |
reportcontroller.cxx:3982 |
Medium |
V1019 |
Compound assignment expression 'pKeyModifier->Value >>= nKeyModifier' is used inside condition. |
General Analysis |
reportcontroller.cxx:3486 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObjs[i]'. |
General Analysis |
reportcontroller.cxx:3557 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObj'. |
General Analysis |
reportsection.cxx:159 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 149, 159. |
General Analysis |
viewswindow.cxx:882 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
viewswindow.cxx:1591 |
Medium |
V560 |
A part of conditional expression is always true: pHdl. |
General Analysis |
backtrace.cxx:102 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSymbol'. Check lines: 102, 101. |
General Analysis |
backtrace.cxx:58 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSymbol'. Check lines: 58, 57. |
General Analysis |
file.cxx:477 |
Medium |
V555 |
The expression '(curpos - bufpos) > 0' will work as 'curpos != bufpos'. |
General Analysis |
file_dirvol.cxx:349 |
Medium |
V575 |
The potential null pointer is passed into 'wcscpy' function. Inspect the first argument. Check lines: 349, 347. |
General Analysis |
file_dirvol.cxx:1040 |
Medium |
V575 |
The potential null pointer is passed into 'memset' function. Inspect the first argument. Check lines: 1040, 1033. |
General Analysis |
file_dirvol.cxx:1009 |
Medium |
V575 |
The potential null pointer is passed into 'memset' function. Inspect the first argument. Check lines: 1009, 1002. |
General Analysis |
file_dirvol.cxx:1072 |
Medium |
V575 |
The potential null pointer is passed into 'memset' function. Inspect the first argument. Check lines: 1072, 1070. |
General Analysis |
file_dirvol.cxx:569 |
Medium |
V575 |
The potential null pointer is passed into 'memset' function. Inspect the first argument. Check lines: 569, 568. |
General Analysis |
file_dirvol.cxx:504 |
Medium |
V575 |
The potential null pointer is passed into 'memset' function. Inspect the first argument. Check lines: 504, 503. |
General Analysis |
file_dirvol.cxx:440 |
Medium |
V575 |
The potential null pointer is passed into 'memset' function. Inspect the first argument. Check lines: 440, 439. |
General Analysis |
file_url.cxx:524 |
Medium |
V769 |
The 'pDest' pointer in the 'pDest ++' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 524, 496. |
General Analysis |
file_url.cxx:169 |
Medium |
V547 |
Expression '!lpszPath' is always false. |
General Analysis |
file_url.cxx:579 |
Medium |
V575 |
The potential null pointer is passed into 'sprintf' function. Inspect the first argument. Check lines: 579, 564. |
General Analysis |
pipe.cxx:141 |
Medium |
V575 |
The potential null pointer is passed into 'InitializeSecurityDescriptor' function. Inspect the first argument. Check lines: 141, 138. |
General Analysis |
pipe.cxx:145 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSecAttr'. Check lines: 145, 144. |
General Analysis |
process.cxx:151 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pProcImpl'. Check lines: 151, 150. |
General Analysis |
profile.cxx:1081 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFile'. Check lines: 1081, 1068. |
General Analysis |
profile.cxx:1365 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pProfile->m_Lines'. Check lines: 1365, 1362. |
General Analysis |
profile.cxx:1362 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pProfile->m_Lines' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
profile.cxx:1324 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pProfile->m_Lines' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
profile.cxx:1477 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pSection->m_Entries' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
profile.cxx:1536 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pProfile->m_Sections' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
profile.cxx:1540 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pProfile->m_Sections'. Check lines: 1540, 1536. |
General Analysis |
profile.cxx:215 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pProfile'. Check lines: 215, 213. |
General Analysis |
profile.cxx:1328 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pProfile->m_Lines'. Check lines: 1328, 1324. |
General Analysis |
security.cxx:751 |
Medium |
V614 |
Potentially uninitialized buffer 'Name' used. Consider checking the second actual argument of the 'rtl_uString_newFromStr' function. |
General Analysis |
security.cxx:81 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSecImpl'. Check lines: 81, 79. |
General Analysis |
security.cxx:116 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSecImpl'. Check lines: 116, 114. |
General Analysis |
security.cxx:713 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pInfoBuffer' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
security.cxx:345 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'Ident'. Check lines: 345, 340. |
General Analysis |
security.cxx:294 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pInfoBuffer' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
security.cxx:176 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSecImpl->m_pNetResource'. Check lines: 176, 175. |
General Analysis |
security.cxx:175 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSecImpl'. Check lines: 175, 173. |
General Analysis |
socket.cxx:472 |
Medium |
V547 |
Expression '!pSocketAddr' is always false. |
General Analysis |
thread.cxx:174 |
Medium |
V720 |
It is advised to utilize the 'SuspendThread' function only when developing a debugger (see documentation for details). |
General Analysis |
time.cxx:71 |
Medium |
V1032 |
The pointer '& OffTime' is cast to a more strictly aligned pointer type. |
General Analysis |
time.cxx:71 |
Medium |
V1032 |
The pointer '& CurTime' is cast to a more strictly aligned pointer type. |
General Analysis |
osl_pipe.cxx:794 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: buf. |
General Analysis |
test_ostring.cxx:101 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'compareTo' function. |
General Analysis |
test_ostring.cxx:100 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'compareTo' function. |
General Analysis |
test_oustring_compare.cxx:88 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'compareTo' function. |
General Analysis |
test_oustring_compare.cxx:87 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'compareTo' function. |
General Analysis |
rtl_textcvt.cxx:232 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 192, 232. |
General Analysis |
cipher.cxx:811 |
Medium |
V1001 |
The 'DL' variable is assigned but is not used by the end of the function. |
General Analysis |
cipher.cxx:860 |
Medium |
V1001 |
The 'DL' variable is assigned but is not used by the end of the function. |
General Analysis |
digest.cxx:1682 |
Medium |
V519 |
The 'pImpl' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1681, 1682. |
General Analysis |
digest.cxx:1486 |
Medium |
V519 |
The 'pImpl' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1485, 1486. |
General Analysis |
digest.cxx:1271 |
Medium |
V519 |
The 'pImpl' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1270, 1271. |
General Analysis |
digest.cxx:1111 |
Medium |
V519 |
The 'pImpl' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1110, 1111. |
General Analysis |
digest.cxx:668 |
Medium |
V519 |
The 'pImpl' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 667, 668. |
General Analysis |
digest.cxx:330 |
Medium |
V519 |
The 'pImpl' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 329, 330. |
General Analysis |
hash.cxx:82 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pHash'. Check lines: 82, 80. |
General Analysis |
hash.cxx:107 |
Medium |
V522 |
Dereferencing of the null pointer 'pHash' might take place. The potential null pointer is passed into 'rtl_str_hash_insert_nonequal' function. Inspect the first argument. Check lines: 107, 130. |
General Analysis |
locale.cxx:252 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'newLocale'. Check lines: 252, 250. |
General Analysis |
locale.cxx:134 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'newEntry'. Check lines: 134, 133. |
General Analysis |
math.cxx:265 |
Medium |
V506 |
Pointer to local variable 'nCapacity' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
math.cxx:247 |
Medium |
V506 |
Pointer to local variable 'nCapacity' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
math.cxx:62 |
Medium |
V560 |
A part of conditional expression is always true: - nExp > 0. |
General Analysis |
strimp.cxx:52 |
Medium |
V560 |
A part of conditional expression is always true: (c >= 0x2000). |
General Analysis |
strtmpl.cxx:1635 |
Medium |
V547 |
Expression 'pNewCharStr' is always true. |
General Analysis |
strtmpl.cxx:1325 |
Medium |
V1004 |
The 'pCharStr' pointer was used unsafely after it was verified against nullptr. Check lines: 1309, 1325. |
General Analysis |
strtmpl.cxx:1696 |
Medium |
V547 |
Expression 'pNewCharStr' is always true. |
General Analysis |
strtmpl.cxx:1754 |
Medium |
V547 |
Expression 'pNewCharStr' is always true. |
General Analysis |
uri.cxx:839 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
parser.cxx:85 |
Medium |
V735 |
Possibly an incorrect HTML. The "</a" closing tag was encountered, while the "</b" tag was expected. |
General Analysis |
xml2utf.cxx:57 |
Medium |
V793 |
It is odd that the result of the 'nRead + seqStart.getLength()' statement is a part of the condition. Perhaps, this statement should have been compared with something else. |
General Analysis |
converter.cxx:1681 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1676, 1681. |
General Analysis |
converter.cxx:1666 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1661, 1666. |
General Analysis |
converter.cxx:1588 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1583, 1588. |
General Analysis |
converter.cxx:1569 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1564, 1569. |
General Analysis |
converter.cxx:621 |
Medium |
V764 |
Possible incorrect order of arguments passed to 'GetConversionFactor' function: 'nTargetUnit' and 'nSourceUnit'. |
General Analysis |
converter.cxx:1761 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1757, 1761. |
General Analysis |
fastattribs.cxx:90 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'mpChunk' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
address.hxx:244 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: nRow, nCol, nTab. |
General Analysis |
callform.hxx:53 |
Medium |
V690 |
The 'LegacyFuncData' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
chartpos.hxx:103 |
Medium |
V690 |
The 'ScChartPositioner' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
colorscale.hxx:42 |
Medium |
V690 |
The 'ScColorScaleEntry' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
compiler.hxx:140 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: eOp, eType. |
General Analysis |
conditio.hxx:299 |
Medium |
V690 |
The 'ScConditionEntry' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
dbdata.hxx:227 |
Medium |
V690 |
The 'ScDBCollection' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
dpobject.hxx:262 |
Medium |
V690 |
The 'ScDPCollection' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
editutil.hxx:105 |
Medium |
V690 |
The 'ScEnginePoolHelper' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
olinetab.hxx:88 |
Medium |
V690 |
The 'ScOutlineArray' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
rangenam.hxx:46 |
Medium |
V690 |
The 'ScRangeData' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
qahelper.cxx:783 |
Medium |
V1004 |
The 'pCode' pointer was used unsafely after it was verified against nullptr. Check lines: 778, 783. |
General Analysis |
qahelper.cxx:179 |
Medium |
V519 |
The 'pPattern' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 178, 179. |
General Analysis |
rangelst_test.cxx:164 |
Medium |
V560 |
A part of conditional expression is always true: 1 <= nCol. |
General Analysis |
rangelst_test.cxx:299 |
Medium |
V560 |
A part of conditional expression is always true: 3 <= nRow. |
General Analysis |
rangelst_test.cxx:280 |
Medium |
V560 |
A part of conditional expression is always true: 5 <= nRow. |
General Analysis |
rangelst_test.cxx:184 |
Medium |
V560 |
A part of conditional expression is always true: 5 <= nRow. |
General Analysis |
subsequent_export-test.cxx:3304 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObject'. |
General Analysis |
subsequent_filters-test.cxx:3273 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pImageObj'. |
General Analysis |
subsequent_filters-test.cxx:2432 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pColorScale'. |
General Analysis |
ucalc.cxx:4726 |
Medium |
V560 |
A part of conditional expression is always true: j == 2. |
General Analysis |
attarray.cxx:521 |
Medium |
V560 |
A part of conditional expression is always true: ni > 0. |
General Analysis |
bcaslot.cxx:426 |
Medium |
V768 |
The expression is of enum type. It is odd that it is used as an expression of a Boolean-type. |
General Analysis |
bcaslot.cxx:1027 |
Medium |
V768 |
The expression is of enum type. It is odd that it is used as an expression of a Boolean-type. |
General Analysis |
dociter.cxx:1744 |
Medium |
V547 |
Expression 'nMid > 0' is always true. |
General Analysis |
documen2.cxx:697 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen2.cxx:512 |
Medium |
V1023 |
A pointer without owner is added to the 'maTabs' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
documen2.cxx:792 |
Medium |
V1023 |
A pointer without owner is added to the 'maTabs' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
documen2.cxx:791 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen2.cxx:767 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen3.cxx:1175 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen3.cxx:722 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen3.cxx:795 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen3.cxx:1300 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen3.cxx:699 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen3.cxx:690 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen3.cxx:552 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen3.cxx:1086 |
Medium |
V768 |
The expression is of enum type. It is odd that it is used as an expression of a Boolean-type. |
General Analysis |
documen3.cxx:1152 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen4.cxx:245 |
Medium |
V519 |
The '* pVCell' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 234, 245. |
General Analysis |
documen4.cxx:368 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen4.cxx:291 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen4.cxx:614 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen5.cxx:151 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen8.cxx:1117 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen8.cxx:738 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen8.cxx:822 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen8.cxx:1167 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen8.cxx:1065 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documen9.cxx:290 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5849 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:4781 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:4799 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:4840 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:4867 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:4881 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5040 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5050 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5124 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5335 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5375 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5506 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5717 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:4906 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:4079 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:603 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:3247 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:132 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:186 |
Medium |
V1023 |
A pointer without owner is added to the 'maTabs' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
document.cxx:478 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:485 |
Medium |
V1023 |
A pointer without owner is added to the 'maTabs' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
document.cxx:511 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:519 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:520 |
Medium |
V1023 |
A pointer without owner is added to the 'maTabs' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
document.cxx:5860 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:604 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:613 |
Medium |
V1023 |
A pointer without owner is added to the 'maTabs' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
document.cxx:688 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:780 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:2212 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:2584 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:2598 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:3310 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5869 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5107 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:6278 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document.cxx:5898 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
document10.cxx:66 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
documentimport.cxx:89 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
dpobject.cxx:350 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &r'. |
General Analysis |
dptabres.cxx:101 |
Medium |
V519 |
The 'rIndex' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 81, 101. |
General Analysis |
dptabsrc.cxx:2625 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
dptabsrc.cxx:2625 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
dptabsrc.cxx:1630 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
dptabsrc.cxx:2193 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
dptabsrc.cxx:1630 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
dptabsrc.cxx:1181 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
dptabsrc.cxx:1181 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
dptabsrc.cxx:2193 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
fillinfo.cxx:590 |
Medium |
V560 |
A part of conditional expression is always true: bRowHidden. |
General Analysis |
formulacell.cxx:3342 |
Medium |
V560 |
A part of conditional expression is always false: bHasRefs. |
General Analysis |
formulacell.cxx:3214 |
Medium |
V560 |
A part of conditional expression is always false: bHasRefs. |
General Analysis |
global.cxx:516 |
Medium |
V547 |
Expression '!pPattern' is always false. |
General Analysis |
global2.cxx:236 |
Medium |
V560 |
A part of conditional expression is always true: pStrTargetVal. |
General Analysis |
global2.cxx:236 |
Medium |
V560 |
A part of conditional expression is always true: r.pStrTargetVal. |
General Analysis |
global2.cxx:141 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &r'. |
General Analysis |
markdata.cxx:503 |
Medium |
V1001 |
The 'itPos' variable is assigned but is not used by the end of the function. |
General Analysis |
patattr.cxx:1316 |
Medium |
V560 |
A part of conditional expression is always true: eRotMode == SVX_ROTATE_MODE_BOTTOM. |
General Analysis |
sheetevents.cxx:85 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rOther'. |
General Analysis |
table1.cxx:1689 |
Medium |
V768 |
The expression is of enum type. It is odd that it is used as an expression of a Boolean-type. |
General Analysis |
table1.cxx:1707 |
Medium |
V768 |
The expression is of enum type. It is odd that it is used as an expression of a Boolean-type. |
General Analysis |
table1.cxx:1727 |
Medium |
V768 |
The expression is of enum type. It is odd that it is used as an expression of a Boolean-type. |
General Analysis |
table2.cxx:2963 |
Medium |
V547 |
Expression '!bChanged' is always true. |
General Analysis |
table2.cxx:2947 |
Medium |
V547 |
Expression '!bChanged' is always true. |
General Analysis |
table3.cxx:2105 |
Medium |
V778 |
Two similar code fragments were found. Perhaps, this is a typo and 'nFuncStart' variable should be used instead of 'nDestRow'. |
General Analysis |
table3.cxx:3329 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 3305, 3329. |
General Analysis |
table3.cxx:2107 |
Medium |
V778 |
Two similar code fragments were found. Perhaps, this is a typo and 'nFuncEnd' variable should be used instead of 'nDestRow'. |
General Analysis |
validat.cxx:246 |
Medium |
V560 |
A part of conditional expression is always true: !bTmp. |
General Analysis |
validat.cxx:245 |
Medium |
V1019 |
Compound assignment expression 'aRet >>= bTmp' is used inside condition. |
General Analysis |
formulagroupcl.cxx:2184 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
formulagroupcl.cxx:1445 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
address.cxx:871 |
Medium |
V560 |
A part of conditional expression is always true: p. |
General Analysis |
address.cxx:843 |
Medium |
V560 |
A part of conditional expression is always true: p. |
General Analysis |
address.cxx:830 |
Medium |
V560 |
A part of conditional expression is always true: p. |
General Analysis |
address.cxx:964 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
address.cxx:801 |
Medium |
V560 |
A part of conditional expression is always true: p. |
General Analysis |
charthelper.cxx:302 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
charthelper.cxx:417 |
Medium |
V560 |
A part of conditional expression is always true: pModelObj. |
General Analysis |
chgtrack.cxx:4513 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMove'. |
General Analysis |
dbdata.cxx:160 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rData'. |
General Analysis |
dbdata.cxx:606 |
Medium |
V768 |
The expression is of enum type. It is odd that it is used as an expression of a Boolean-type. |
General Analysis |
doubleref.cxx:134 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 107, 134. |
General Analysis |
editutil.cxx:482 |
Medium |
V773 |
The 'pDefaults' pointer was not released in destructor. A memory leak is possible. |
General Analysis |
interpr2.cxx:3069 |
Medium |
V557 |
Array overrun is possible. The value of 'nIndex2' index could reach 65535. |
General Analysis |
interpr2.cxx:3064 |
Medium |
V658 |
A value is being subtracted from the unsigned variable. This can result in an overflow. In such a case, the '<=' comparison operation can potentially behave unexpectedly. |
General Analysis |
interpr2.cxx:3064 |
Medium |
V605 |
Consider verifying the expression. An unsigned value is compared to the number belonging to the range [-499..999]. |
General Analysis |
interpr2.cxx:629 |
Medium |
V560 |
A part of conditional expression is always false: nRef < 0. |
General Analysis |
interpr2.cxx:3071 |
Medium |
V557 |
Array overrun is possible. The value of 'nIndex2' index could reach 65535. |
General Analysis |
interpr2.cxx:3079 |
Medium |
V557 |
Array underrun is possible. The value of 'nIndex - 1' index could reach -1. |
General Analysis |
interpr2.cxx:3064 |
Medium |
V557 |
Array overrun is possible. The value of 'nIndex2' index could reach 65535. |
General Analysis |
interpr3.cxx:2747 |
Medium |
V1023 |
A pointer without owner is added to the 'aOp' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
interpr3.cxx:218 |
Medium |
V560 |
A part of conditional expression is always true: (xShort >= 1). |
General Analysis |
interpr3.cxx:2746 |
Medium |
V1023 |
A pointer without owner is added to the 'aOp' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
interpr3.cxx:4030 |
Medium |
V560 |
A part of conditional expression is always true: nGlobalError == FormulaError::NONE. |
General Analysis |
interpr3.cxx:231 |
Medium |
V560 |
A part of conditional expression is always true: (xShort >= 3). |
General Analysis |
interpr4.cxx:2633 |
Medium |
V506 |
Pointer to local variable 'nErg' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
interpr4.cxx:3423 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pDimArray'. |
General Analysis |
interpr4.cxx:2657 |
Medium |
V506 |
Pointer to local variable 'nErg' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
interpr5.cxx:1738 |
Medium |
V519 |
The 'pMat2' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1737, 1738. |
General Analysis |
interpr5.cxx:2519 |
Medium |
V560 |
A part of conditional expression is always false: bIsSingular. |
General Analysis |
interpr5.cxx:2676 |
Medium |
V560 |
A part of conditional expression is always false: bIsSingular. |
General Analysis |
interpr5.cxx:743 |
Medium |
V560 |
A part of conditional expression is always false: bSingular. |
General Analysis |
interpr5.cxx:3076 |
Medium |
V560 |
A part of conditional expression is always false: bIsSingular. |
General Analysis |
interpr5.cxx:3017 |
Medium |
V560 |
A part of conditional expression is always false: bIsSingular. |
General Analysis |
queryparam.cxx:91 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &r'. |
General Analysis |
scmatrix.cxx:3512 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:3500 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:3489 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:3204 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:3196 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:2898 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
scmatrix.cxx:2497 |
Medium |
V1001 |
The 'aFunc' variable is assigned but is not used by the end of the function. |
General Analysis |
scmatrix.cxx:3468 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:3521 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:3480 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:2644 |
Medium |
V1001 |
The 'aFunc' variable is assigned but is not used by the end of the function. |
General Analysis |
scmatrix.cxx:3458 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:3543 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:3448 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
scmatrix.cxx:3534 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMatrix'. |
General Analysis |
token.cxx:1198 |
Medium |
V1019 |
Compound assignment expression 'rToken.Data >>= aApiExtRef' is used inside condition. |
General Analysis |
excel.cxx:219 |
Medium |
V560 |
A part of conditional expression is always true: eFormat == ExpBiff8. |
General Analysis |
excel.cxx:59 |
Medium |
V560 |
A part of conditional expression is always false: (eFormat != EIF_BIFF8). |
General Analysis |
excform.cxx:1619 |
Medium |
V547 |
Expression 'nLauf != - 1' is always true. |
General Analysis |
excform8.cxx:1330 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
exctools.cxx:260 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
exctools.cxx:122 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 8-bit variable. |
General Analysis |
read.cxx:1046 |
Medium |
V560 |
A part of conditional expression is always true: (nRecId == EXC_ID_EXTSST). |
General Analysis |
read.cxx:1006 |
Medium |
V560 |
A part of conditional expression is always true: (nRecId == EXC_ID_EXTSST). |
General Analysis |
xepivot.cxx:1372 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xepivot.cxx:1370 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xepivot.cxx:1371 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xepivot.cxx:1369 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xepivotxml.cxx:365 |
Medium |
V547 |
Expression 'bListItems' is always true. |
General Analysis |
xepivotxml.cxx:357 |
Medium |
V547 |
Expression 'bListItems' is always true. |
General Analysis |
xestream.cxx:589 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xestream.cxx:891 |
Medium |
V547 |
Expression 'rFontData.mnWeight > 400' is always true. |
General Analysis |
xestyle.cxx:1104 |
Medium |
V547 |
Expression 'pVal' is always true. |
General Analysis |
xetable.cxx:2591 |
Medium |
V668 |
There is no sense in testing the 'xCell' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
xetable.cxx:2609 |
Medium |
V668 |
There is no sense in testing the 'xCell' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
xeview.cxx:223 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xichart.cxx:4045 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xiescher.cxx:461 |
Medium |
V560 |
A part of conditional expression is always true: mnObjType < 25. |
General Analysis |
xiname.cxx:178 |
Medium |
V560 |
A part of conditional expression is always true: bBuiltIn. |
General Analysis |
xipivot.cxx:419 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xipivot.cxx:742 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xistyle.cxx:117 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xlchart.cxx:696 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
xlformula.cxx:55 |
Medium |
V707 |
Giving short names to global variables is considered to be bad practice. It is suggested to rename 'A' variable. |
General Analysis |
xlformula.cxx:657 |
Medium |
V1016 |
Expression 'eBiff >= EXC_BIFF2' is always true. |
General Analysis |
xlformula.cxx:72 |
Medium |
V707 |
Giving short names to global variables is considered to be bad practice. It is suggested to rename 'MX' variable. |
General Analysis |
xlformula.cxx:54 |
Medium |
V707 |
Giving short names to global variables is considered to be bad practice. It is suggested to rename 'V' variable. |
General Analysis |
xlformula.cxx:53 |
Medium |
V707 |
Giving short names to global variables is considered to be bad practice. It is suggested to rename 'R' variable. |
General Analysis |
htmlpars.cxx:342 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
htmlpars.cxx:577 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
htmlpars.cxx:788 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
htmlpars.cxx:3021 |
Medium |
V690 |
The 'MemStr' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
htmlpars.cxx:272 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
root.hxx:75 |
Medium |
V690 |
The 'ExcRoot' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
xclexpchangetrack.hxx:291 |
Medium |
V690 |
The 'XclExpChTrTabIdBuffer' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
xclexpchangetrack.hxx:222 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aGUID. |
General Analysis |
xistream.hxx:121 |
Medium |
V690 |
The 'XclImpBiff8Decrypter' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
xladdress.hxx:35 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: mnCol, mnRow. |
General Analysis |
lotform.cxx:222 |
Medium |
V547 |
Expression 'nLauf != - 1' is always true. |
General Analysis |
lotform.cxx:435 |
Medium |
V768 |
The variable 'eType' is of enum type. It is odd that it is used as a variable of a Boolean-type. |
General Analysis |
lotimpop.cxx:374 |
Medium |
V711 |
It is dangerous to create a local variable within a loop with a same name as a variable controlling this loop. |
General Analysis |
tool.cxx:153 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: bValid. |
General Analysis |
autofilterbuffer.cxx:685 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:565 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:564 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:679 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:677 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:675 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:635 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:674 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:716 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:697 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:688 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:567 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
autofilterbuffer.cxx:568 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
commentsbuffer.cxx:152 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
commentsbuffer.cxx:151 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
drawingfragment.cxx:651 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
formulabase.cxx:1446 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
formulabase.cxx:1552 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1549, 1552. |
General Analysis |
formulabase.cxx:1444 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
pagesettings.cxx:592 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
pagesettings.cxx:584 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
pivottablebuffer.cxx:702 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
pivottablebuffer.cxx:1226 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
pivottablebuffer.cxx:1227 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
pivottablebuffer.cxx:1225 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
pivottablebuffer.cxx:1228 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
scenariobuffer.cxx:143 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
scenariobuffer.cxx:144 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
scenariobuffer.cxx:145 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
scenariobuffer.cxx:146 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
scenariobuffer.cxx:147 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
scenariobuffer.cxx:149 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
scenariobuffer.cxx:150 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
tablebuffer.cxx:109 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
tablebuffer.cxx:116 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
viewsettings.cxx:354 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
workbookfragment.cxx:340 |
Medium |
V776 |
Potentially infinite loop. The variable in the loop exit condition 'nSheetsLeft > 0' does not change its value between iterations. |
General Analysis |
workbooksettings.cxx:191 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
workbooksettings.cxx:192 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the second argument. |
General Analysis |
workbooksettings.cxx:212 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
workbooksettings.cxx:236 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
workbooksettings.cxx:235 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
workbooksettings.cxx:232 |
Medium |
V601 |
The bool type is implicitly cast to the class type. Inspect the second argument. |
General Analysis |
workbooksettings.cxx:193 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
worksheethelper.cxx:676 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the second argument. |
General Analysis |
qproform.cxx:161 |
Medium |
V547 |
Expression 'nCount != - 1' is always true. |
General Analysis |
rtfparse.cxx:111 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xcl97rec.cxx:1429 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xmlcelli.cxx:1339 |
Medium |
V560 |
A part of conditional expression is always true: !pOUText. |
General Analysis |
xmlchangetrackingexporthelper.cxx:525 |
Medium |
V560 |
A part of conditional expression is always false: !p. |
General Analysis |
xmlchangetrackingimporthelper.cxx:533 |
Medium |
V560 |
A part of conditional expression is always true: pInsAction. |
General Analysis |
xmlchangetrackingimporthelper.cxx:595 |
Medium |
V560 |
A part of conditional expression is always false: !pPrevActContent. |
General Analysis |
xmlchangetrackingimporthelper.cxx:629 |
Medium |
V560 |
A part of conditional expression is always true: rDeleted.pCellInfo. |
General Analysis |
xmlchangetrackingimporthelper.cxx:663 |
Medium |
V547 |
Expression 'pChangeActionContent' is always true. |
General Analysis |
xmlchangetrackingimporthelper.cxx:552 |
Medium |
V560 |
A part of conditional expression is always true: pMoveAction. |
General Analysis |
xmlcondformat.hxx:31 |
Medium |
V730 |
Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: mbSingleRelativeReference. |
General Analysis |
xmlexprt.cxx:4581 |
Medium |
V571 |
Recurring check. The 'pCondFormatList' condition was already verified in line 4579. |
General Analysis |
xmlexprt.cxx:5142 |
Medium |
V547 |
Expression 'pChangeProps' is always true. |
General Analysis |
xmlexprt.cxx:5184 |
Medium |
V547 |
Expression 'pProps' is always true. |
General Analysis |
xmlexprt.cxx:1481 |
Medium |
V547 |
Expression 'nRow < nEndRow' is always true. |
General Analysis |
xmlexprt.cxx:878 |
Medium |
V1020 |
The function exited without calling the 'CloseHeaderColumn' function. Check lines: 878, 865. |
General Analysis |
xmlexprt.cxx:878 |
Medium |
V1020 |
The function exited without calling the 'CloseHeaderColumn' function. Check lines: 878, 857. |
General Analysis |
xmlexprt.cxx:878 |
Medium |
V1020 |
The function exited without calling the 'CloseHeaderColumn' function. Check lines: 878, 818. |
General Analysis |
xmlexprt.cxx:877 |
Medium |
V1020 |
The function exited without calling the 'CloseHeaderColumn' function. Check lines: 877, 865. |
General Analysis |
xmlexprt.cxx:877 |
Medium |
V1020 |
The function exited without calling the 'CloseHeaderColumn' function. Check lines: 877, 857. |
General Analysis |
xmlexprt.cxx:877 |
Medium |
V1020 |
The function exited without calling the 'CloseHeaderColumn' function. Check lines: 877, 818. |
General Analysis |
xmlexprt.cxx:5138 |
Medium |
V547 |
Expression 'pProps' is always true. |
General Analysis |
xmlexprt.cxx:4581 |
Medium |
V560 |
A part of conditional expression is always true: pCondFormatList. |
General Analysis |
xmlexprt.cxx:4586 |
Medium |
V547 |
Expression 'pCondFormatList' is always true. |
General Analysis |
xmlfonte.cxx:52 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
xmlimprt.cxx:1170 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
xmlimprt.cxx:1289 |
Medium |
V560 |
A part of conditional expression is always true: (nCellType != util::NumberFormat::TEXT). |
General Analysis |
xmlimprt.cxx:1598 |
Medium |
V1019 |
Compound assignment expression 'aRowAny >>= xRowRanges' is used inside condition. |
General Analysis |
xmlstyle.cxx:1061 |
Medium |
V560 |
A part of conditional expression is always false: aCellProtection.IsHidden. |
General Analysis |
xmlstyle.cxx:294 |
Medium |
V1019 |
Compound assignment expression 'pPadding_Left->maValue >>= nLeft' is used inside condition. |
General Analysis |
xmlstyle.cxx:295 |
Medium |
V1019 |
Compound assignment expression 'pPadding_Right->maValue >>= nRight' is used inside condition. |
General Analysis |
xmlstyle.cxx:296 |
Medium |
V1019 |
Compound assignment expression 'pPadding_Top->maValue >>= nTop' is used inside condition. |
General Analysis |
xmlstyle.cxx:536 |
Medium |
V1019 |
Compound assignment expression 'rProperty.maValue >>= sURL' is used inside condition. |
General Analysis |
xmlstyle.cxx:1056 |
Medium |
V560 |
A part of conditional expression is always false: aCellProtection.IsHidden. |
General Analysis |
xmlstyle.cxx:1521 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aAngle2' is used inside condition. |
General Analysis |
xmlstyle.cxx:1667 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aReference2' is used inside condition. |
General Analysis |
xmlstyle.cxx:1570 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aReference2' is used inside condition. |
General Analysis |
xmlstyle.cxx:952 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aCellProtection2' is used inside condition. |
General Analysis |
xmlstyle.cxx:1452 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aOrientation2' is used inside condition. |
General Analysis |
xmlstyle.cxx:1392 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aHoriJustify2' is used inside condition. |
General Analysis |
xmlstyle.cxx:1332 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aHoriJustify2' is used inside condition. |
General Analysis |
xmlstyle.cxx:1228 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aHoriJustify2' is used inside condition. |
General Analysis |
xmlstyle.cxx:1154 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= nVal2' is used inside condition. |
General Analysis |
xmlstyle.cxx:1088 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aCellProtection2' is used inside condition. |
General Analysis |
xmlstyle.cxx:1776 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aBreak2' is used inside condition. |
General Analysis |
xmlstylesexporthelper.cxx:554 |
Medium |
V547 |
Expression 'pRange' is always true. |
General Analysis |
xmltabi.cxx:348 |
Medium |
V668 |
There is no sense in testing the 'pContext' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
xmlwrap.cxx:881 |
Medium |
V547 |
Expression 'pObjSh' is always true. |
General Analysis |
accessiblecell.cxx:452 |
Medium |
V547 |
Expression 'pTargetSet' is always true. |
General Analysis |
accessiblecell.cxx:587 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
accessibledocument.cxx:2000 |
Medium |
V547 |
Expression 'mpChildrenShapes' is always true. |
General Analysis |
accessibledocument.cxx:169 |
Medium |
V1019 |
Compound assignment expression 'aPropAny2 >>= nLayerID2' is used inside condition. |
General Analysis |
accessibledocument.cxx:177 |
Medium |
V1019 |
Compound assignment expression 'aAny2 >>= nZOrder2' is used inside condition. |
General Analysis |
accessibledocument.cxx:1863 |
Medium |
V547 |
Expression 'mpChildrenShapes' is always true. |
General Analysis |
accessibledocument.cxx:1871 |
Medium |
V547 |
Expression 'mpViewShell' is always true. |
General Analysis |
accessiblespreadsheet.cxx:446 |
Medium |
V547 |
Expression 'nX < 0' is always false. |
General Analysis |
accessiblespreadsheet.cxx:1323 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'GetWindowExtentsRelative' function. |
General Analysis |
accessibletext.cxx:340 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'GetWindowExtentsRelative' function. |
General Analysis |
client.cxx:177 |
Medium |
V547 |
Expression 'pViewSh' is always true. |
General Analysis |
client.cxx:181 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 153, 181. |
General Analysis |
inputhdl.cxx:3635 |
Medium |
V547 |
Expression 'pState' is always true. |
General Analysis |
inputhdl.cxx:4069 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &r'. |
General Analysis |
inputhdl.cxx:2927 |
Medium |
V506 |
Pointer to local variable 'aItem' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
scmod.cxx:1047 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pDocSh'. |
General Analysis |
checklistmenu.cxx:1609 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: mpTabStops. |
General Analysis |
condformatdlgentry.cxx:1039 |
Medium |
V778 |
Two similar code fragments were found. Perhaps, this is a typo and 'Show' variable should be used instead of 'Hide'. |
General Analysis |
asciiopt.cxx:48 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
csvgrid.cxx:641 |
Medium |
V764 |
Possible incorrect order of arguments passed to 'SelectRange' function: 'nColIndex2' and 'nColIndex1'. |
General Analysis |
csvruler.cxx:91 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: mnPosMTStart, mnPosMTCurr, mbPosMTMoved. |
General Analysis |
pvfundlg.cxx:62 |
Medium |
V547 |
Expression 'pStr' is always true. |
General Analysis |
tpsubt.cxx:155 |
Medium |
V560 |
A part of conditional expression is always true: i > 0. |
General Analysis |
searchresults.cxx:96 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
dbdocfun.cxx:1244 |
Medium |
V547 |
Expression 'pOldObj' is always true. |
General Analysis |
dbdocimp.cxx:583 |
Medium |
V547 |
Expression 'pDBData' is always true. |
General Analysis |
docfunc.cxx:5406 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
docfunc.cxx:1868 |
Medium |
V560 |
A part of conditional expression is always true: pMergeFlag. |
General Analysis |
docfunc.cxx:2344 |
Medium |
V560 |
A part of conditional expression is always true: pMergeFlag. |
General Analysis |
docfunc.cxx:5378 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
docsh.cxx:779 |
Medium |
V547 |
Expression '!bChecked' is always false. |
General Analysis |
docsh.cxx:1776 |
Medium |
V547 |
Expression 'pWindow' is always true. |
General Analysis |
docsh4.cxx:371 |
Medium |
V764 |
Possible incorrect order of arguments passed to 'CreateScColRowLabelDlg' function: 'bRowHeaders' and 'bColHeaders'. |
General Analysis |
docsh4.cxx:779 |
Medium |
V668 |
There is no sense in testing the 'pMed' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
docsh8.cxx:232 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
impex.cxx:505 |
Medium |
V776 |
Potentially infinite loop. The variable in the loop exit condition 'p < pStop' does not change its value between iterations. |
General Analysis |
drtxtob.cxx:268 |
Medium |
V560 |
A part of conditional expression is always true: pOutView. |
General Analysis |
drtxtob.cxx:317 |
Medium |
V547 |
Expression 'pOutView' is always true. |
General Analysis |
fudraw.cxx:490 |
Medium |
V560 |
A part of conditional expression is always true: pHdl. |
General Analysis |
fupoor.cxx:135 |
Medium |
V524 |
It is odd that the body of 'MouseButtonDown' function is fully equivalent to the body of 'MouseButtonUp' function. |
General Analysis |
olinewin.hxx:201 |
Medium |
V762 |
It is possible a virtual function was overridden incorrectly. See first argument of function 'ShowFocus' in derived class 'ScOutlineWindow' and base class 'Window'. |
General Analysis |
conflictsdlg.cxx:222 |
Medium |
V560 |
A part of conditional expression is always true: pEntry. |
General Analysis |
conflictsdlg.cxx:634 |
Medium |
V560 |
A part of conditional expression is always true: pConflictEntry. |
General Analysis |
content.cxx:1046 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
content.cxx:1067 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
areasdlg.cxx:132 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pScDocSh'. |
General Analysis |
areasave.cxx:157 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
areasave.cxx:112 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
areasave.cxx:91 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
undoblk3.cxx:1471 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
undostyl.cxx:48 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rOther'. |
General Analysis |
addruno.cxx:278 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
addruno.cxx:278 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
afmtuno.cxx:535 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= bBool' is used inside condition. |
General Analysis |
afmtuno.cxx:539 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= bBool' is used inside condition. |
General Analysis |
afmtuno.cxx:772 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
afmtuno.cxx:772 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
afmtuno.cxx:589 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
afmtuno.cxx:589 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
afmtuno.cxx:543 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= bBool' is used inside condition. |
General Analysis |
afmtuno.cxx:541 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= bBool' is used inside condition. |
General Analysis |
afmtuno.cxx:537 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= bBool' is used inside condition. |
General Analysis |
afmtuno.cxx:533 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= bBool' is used inside condition. |
General Analysis |
appluno.cxx:449 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
appluno.cxx:348 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= aSeq' is used inside condition. |
General Analysis |
appluno.cxx:449 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
appluno.cxx:216 |
Medium |
V1001 |
The 'any' variable is assigned but is not used by the end of the function. |
General Analysis |
appluno.cxx:208 |
Medium |
V1001 |
The 'any' variable is assigned but is not used by the end of the function. |
General Analysis |
cellsuno.cxx:2350 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= aBorder2' is used inside condition. |
General Analysis |
cellsuno.cxx:3385 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
cellsuno.cxx:4047 |
Medium |
V614 |
Potentially null smart pointer 'pUndoDoc' used. |
General Analysis |
cellsuno.cxx:2337 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= aBorder' is used inside condition. |
General Analysis |
cellsuno.cxx:4050 |
Medium |
V614 |
Potentially null smart pointer 'pUndoMark' used. |
General Analysis |
cellsuno.cxx:8272 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= aCodeName' is used inside condition. |
General Analysis |
cellsuno.cxx:8272 |
Medium |
V560 |
A part of conditional expression is always true: pDocSh. |
General Analysis |
cellsuno.cxx:7540 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
cellsuno.cxx:4571 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
cellsuno.cxx:4342 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
cellsuno.cxx:4252 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
cellsuno.cxx:8421 |
Medium |
V547 |
Expression 'pDocSh' is always true. |
General Analysis |
chart2uno.cxx:1909 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1902, 1909. |
General Analysis |
chart2uno.cxx:1916 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1909, 1916. |
General Analysis |
chart2uno.cxx:3255 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
confuno.cxx:623 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
confuno.cxx:623 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
dapiuno.cxx:2028 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
dapiuno.cxx:2028 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
dapiuno.cxx:1290 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
datauno.cxx:2102 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
datauno.cxx:1876 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
datauno.cxx:737 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
datauno.cxx:737 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
datauno.cxx:2102 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
datauno.cxx:1473 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
datauno.cxx:1473 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
defltuno.cxx:245 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
defltuno.cxx:245 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
dispuno.cxx:302 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
docuno.cxx:4310 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
docuno.cxx:4287 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
docuno.cxx:4287 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
docuno.cxx:4310 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
docuno.cxx:4015 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
docuno.cxx:2748 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
docuno.cxx:2748 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
docuno.cxx:4149 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= nNewHeight' is used inside condition. |
General Analysis |
docuno.cxx:4015 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
fielduno.cxx:1303 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
fielduno.cxx:1303 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
fielduno.cxx:1050 |
Medium |
V547 |
Expression '!pData' is always false. |
General Analysis |
fielduno.cxx:676 |
Medium |
V547 |
Expression '!pData' is always false. |
General Analysis |
fielduno.cxx:444 |
Medium |
V547 |
Expression 'mpRefreshListeners' is always true. |
General Analysis |
fielduno.cxx:735 |
Medium |
V547 |
Expression '!pField' is always false. |
General Analysis |
fmtuno.cxx:949 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
fmtuno.cxx:949 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
funcuno.cxx:268 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
funcuno.cxx:268 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
linkuno.cxx:776 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
linkuno.cxx:776 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
linkuno.cxx:258 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
linkuno.cxx:258 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
nameuno.cxx:647 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
nameuno.cxx:647 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
nameuno.cxx:404 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
nameuno.cxx:404 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
pivottabledataprovider.cxx:475 |
Medium |
V614 |
Potentially null smart pointer 'pItem' used. |
General Analysis |
pivottabledataprovider.cxx:844 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
pivottabledatasequence.cxx:191 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
servuno.cxx:561 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:569 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:575 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:439 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:421 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:424 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:427 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:430 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:442 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:445 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:449 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:492 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:417 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
servuno.cxx:553 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
srchuno.cxx:179 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
srchuno.cxx:179 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
styleuno.cxx:1935 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
styleuno.cxx:1908 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
styleuno.cxx:1533 |
Medium |
V547 |
Expression 'pEntry' is always true. |
General Analysis |
styleuno.cxx:1315 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
styleuno.cxx:1935 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
targuno.cxx:249 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
targuno.cxx:249 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
tokenuno.cxx:268 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
tokenuno.cxx:268 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
viewuno.cxx:1388 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
viewuno.cxx:1361 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
vbaapplication.cxx:375 |
Medium |
V560 |
A part of conditional expression is always false: nType != m_nDialogType. |
General Analysis |
vbaaxes.cxx:180 |
Medium |
V1019 |
Compound assignment expression '_nType >>= nType' is used inside condition. |
General Analysis |
vbafont.cxx:242 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
vbaformat.cxx:415 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
vbaformat.cxx:732 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
vbaformatconditions.cxx:264 |
Medium |
V1004 |
The 'pStyles' pointer was used unsafely after it was verified against nullptr. Check lines: 262, 264. |
General Analysis |
vbaformatconditions.cxx:243 |
Medium |
V1004 |
The 'pStyles' pointer was used unsafely after it was verified against nullptr. Check lines: 241, 243. |
General Analysis |
vbapagesetup.cxx:150 |
Medium |
V1019 |
Compound assignment expression 'fitToPagesTall >>= aValue' is used inside condition. |
General Analysis |
vbapagesetup.cxx:173 |
Medium |
V1019 |
Compound assignment expression 'fitToPagesWide >>= aValue' is used inside condition. |
General Analysis |
vbarange.cxx:5442 |
Medium |
V1004 |
The 'pRangeToUse' pointer was used unsafely after it was verified against nullptr. Check lines: 5440, 5442. |
General Analysis |
vbarange.cxx:2170 |
Medium |
V1019 |
Compound assignment expression 'nRowIndex >>= nRow' is used inside condition. |
General Analysis |
vbarange.cxx:2030 |
Medium |
V1019 |
Compound assignment expression 'Length >>= nCount' is used inside condition. |
General Analysis |
vbarange.cxx:1783 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFormulaRanges'. |
General Analysis |
vbarange.cxx:552 |
Medium |
V1001 |
The 'aString' variable is assigned but is not used by the end of the function. |
General Analysis |
vbarange.cxx:4538 |
Medium |
V1019 |
Compound assignment expression 'Operator >>= nOperator' is used inside condition. |
General Analysis |
vbarange.cxx:2928 |
Medium |
V1019 |
Compound assignment expression 'Text >>= aNoteText' is used inside condition. |
General Analysis |
vbavalidation.cxx:225 |
Medium |
V1019 |
Compound assignment expression 'Type >>= nType' is used inside condition. |
General Analysis |
vbavalidation.cxx:257 |
Medium |
V1019 |
Compound assignment expression 'AlertStyle >>= nVbaAlertStyle' is used inside condition. |
General Analysis |
vbaworksheet.cxx:538 |
Medium |
V1019 |
Compound assignment expression 'After >>= xSheet' is used inside condition. |
General Analysis |
vbaworksheet.cxx:573 |
Medium |
V1019 |
Compound assignment expression 'After >>= xSheet' is used inside condition. |
General Analysis |
vbaworksheets.cxx:408 |
Medium |
V1019 |
Compound assignment expression 'After >>= xSheet' is used inside condition. |
General Analysis |
cellsh1.cxx:1370 |
Medium |
V560 |
A part of conditional expression is always true: pOwnClip. |
General Analysis |
cellsh1.cxx:1523 |
Medium |
V547 |
Expression 'bRet' is always true. |
General Analysis |
cellsh1.cxx:2454 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
cellsh2.cxx:719 |
Medium |
V547 |
Expression 'pItem' is always true. |
General Analysis |
dbfunc3.cxx:1700 |
Medium |
V547 |
Expression 'pUserListId' is always true. |
General Analysis |
formatsh.cxx:396 |
Medium |
V560 |
A part of conditional expression is always true: pStyleSheet. |
General Analysis |
formatsh.cxx:2198 |
Medium |
V560 |
A part of conditional expression is always true: !bColDisable. |
General Analysis |
gridwin.cxx:5674 |
Medium |
V656 |
Variables 'defaultZoomX', 'defaultZoomY' are initialized through the call to the same function. It's probably an error or un-optimized code. Consider inspecting the 'pViewData->GetZoomX()' expression. Check lines: 5673, 5674. |
General Analysis |
gridwin.cxx:5560 |
Medium |
V547 |
Expression 'aStatus.mbModified' is always false. |
General Analysis |
gridwin.cxx:3703 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 3700, 3703. |
General Analysis |
output.cxx:798 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
output.cxx:789 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
output.cxx:695 |
Medium |
V560 |
A part of conditional expression is always true: eRotMode == SVX_ROTATE_MODE_BOTTOM. |
General Analysis |
output.cxx:418 |
Medium |
V560 |
A part of conditional expression is always true: !bSingle. |
General Analysis |
output2.cxx:4620 |
Medium |
V1004 |
The 'pPattern' pointer was used unsafely after it was verified against nullptr. Check lines: 4577, 4620. |
General Analysis |
prevloc.cxx:145 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aDrawRangeId. |
General Analysis |
prevwsh.cxx:911 |
Medium |
V547 |
Expression 'pSeq' is always true. |
General Analysis |
prevwsh.cxx:933 |
Medium |
V547 |
Expression 'pSeq' is always true. |
General Analysis |
printfun.cxx:672 |
Medium |
V547 |
Expression 'rParam.pBorder' is always true. |
General Analysis |
printfun.cxx:2777 |
Medium |
V560 |
A part of conditional expression is always false: nRangeNo < nRCount. The value range of unsigned short type: [0, 65535]. |
General Analysis |
spelleng.cxx:208 |
Medium |
V560 |
A part of conditional expression is always true: bLoop. |
General Analysis |
tabview.cxx:1370 |
Medium |
V560 |
A part of conditional expression is always false: MAXROW < 10000. |
General Analysis |
tabvwsh2.cxx:187 |
Medium |
V547 |
Expression 'nNewId != ((26000) + 71)' is always true. |
General Analysis |
tabvwsh3.cxx:871 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tabvwsh4.cxx:1724 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTabViewShell'. |
General Analysis |
viewdata.cxx:3212 |
Medium |
V547 |
Expression 'pSettings' is always true. |
General Analysis |
viewdata.cxx:768 |
Medium |
V1023 |
A pointer without owner is added to the 'maTabData' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
viewdata.cxx:503 |
Medium |
V547 |
Expression 'pSettings' is always true. |
General Analysis |
viewfun2.cxx:2825 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
viewfun3.cxx:248 |
Medium |
V560 |
A part of conditional expression is always true: pDoc. |
General Analysis |
viewfun3.cxx:248 |
Medium |
V668 |
There is no sense in testing the 'pClipDoc' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
viewfun3.cxx:1224 |
Medium |
V560 |
A part of conditional expression is always true: pMergeFlag. |
General Analysis |
viewfun3.cxx:1224 |
Medium |
V560 |
A part of conditional expression is always true: pMergeFlagAttr. |
General Analysis |
viewfun4.cxx:534 |
Medium |
V614 |
Potentially null smart pointer 'pEngine' used. |
General Analysis |
viewfunc.cxx:1574 |
Medium |
V560 |
A part of conditional expression is always false: nY == nStartRow. |
General Analysis |
analysishelper.cxx:821 |
Medium |
V768 |
The variable 'eS' is of enum type. It is odd that it is used as a variable of a Boolean-type. |
General Analysis |
financial.cxx:129 |
Medium |
V560 |
A part of conditional expression is always false: nNumPeriods <= 0. |
General Analysis |
financial.cxx:167 |
Medium |
V560 |
A part of conditional expression is always false: nNumPeriods <= 0. |
General Analysis |
datefunc.cxx:633 |
Medium |
V764 |
Possible incorrect order of arguments passed to 'getDiffMonths' function: 'nStartDate' and 'nEndDate'. |
General Analysis |
baslibnode.cxx:99 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
basmodnode.cxx:100 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
basprov.cxx:433 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
basprov.cxx:442 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
basprov.cxx:83 |
Medium |
V547 |
Expression '!pNames' is always true. |
General Analysis |
dlgprov.cxx:184 |
Medium |
V547 |
Expression '!s_pMutex' is always true. |
General Analysis |
scripthandler.cxx:79 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= m_xFrame' is used inside condition. |
General Analysis |
masterscriptprovider.cxx:629 |
Medium |
V547 |
Expression '!providerCache()' is always false. |
General Analysis |
masterscriptprovider.cxx:547 |
Medium |
V547 |
Expression '!providerCache()' is always false. |
General Analysis |
masterscriptprovider.cxx:484 |
Medium |
V547 |
Expression '!providerCache()' is always false. |
General Analysis |
masterscriptprovider.cxx:400 |
Medium |
V547 |
Expression '!providerCache()' is always false. |
General Analysis |
masterscriptprovider.cxx:349 |
Medium |
V547 |
Expression '!m_pPCache' is always true. |
General Analysis |
urihelper.cxx:86 |
Medium |
V1019 |
Compound assignment expression 'args[1] >>= m_sLocation' is used inside condition. |
General Analysis |
stringresource.cxx:2103 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
stringresource.cxx:2390 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
stringresource.cxx:96 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
stringresource.cxx:68 |
Medium |
V547 |
Expression '!s_pMutex' is always true. |
General Analysis |
export-tests.cxx:684 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObject'. |
General Analysis |
export-tests.cxx:913 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
export-tests.cxx:217 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 216, 217. |
General Analysis |
export-tests.cxx:239 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 238, 239. |
General Analysis |
export-tests.cxx:261 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 260, 261. |
General Analysis |
export-tests.cxx:322 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMediaObj'. |
General Analysis |
export-tests.cxx:949 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 947, 949. |
General Analysis |
export-tests.cxx:553 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
export-tests.cxx:659 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObject'. |
General Analysis |
export-tests-ooxml1.cxx:449 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
export-tests-ooxml1.cxx:226 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObjGroup'. |
General Analysis |
export-tests-ooxml1.cxx:234 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObjGroup'. |
General Analysis |
export-tests-ooxml1.cxx:242 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObjGroup'. |
General Analysis |
export-tests-ooxml1.cxx:754 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
export-tests-ooxml1.cxx:734 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
export-tests-ooxml1.cxx:705 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
export-tests-ooxml1.cxx:399 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObjGroup'. |
General Analysis |
export-tests-ooxml1.cxx:296 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
export-tests-ooxml1.cxx:262 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
export-tests-ooxml1.cxx:346 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
export-tests-ooxml1.cxx:377 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObjGroup'. |
General Analysis |
export-tests-ooxml1.cxx:662 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
export-tests-ooxml1.cxx:616 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
export-tests-ooxml1.cxx:538 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
export-tests-ooxml1.cxx:507 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
export-tests-ooxml1.cxx:316 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
export-tests-ooxml1.cxx:424 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextObject'. |
General Analysis |
export-tests-ooxml2.cxx:1026 |
Medium |
V557 |
Array overrun is possible. The value of 'nDataIndex ++' index could reach 30. |
General Analysis |
export-tests-ooxml2.cxx:1025 |
Medium |
V557 |
Array overrun is possible. The value of 'nDataIndex ++' index could reach 29. |
General Analysis |
export-tests-ooxml2.cxx:951 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 949, 951. |
General Analysis |
export-tests-ooxml2.cxx:665 |
Medium |
V557 |
Array overrun is possible. The value of 'i ++' index could reach 87. |
General Analysis |
export-tests-ooxml2.cxx:1158 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMediaObj'. |
General Analysis |
import-tests.cxx:420 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:440 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pGrpObj'. |
General Analysis |
import-tests.cxx:2520 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:666 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObj'. |
General Analysis |
import-tests.cxx:632 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:2548 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
import-tests.cxx:618 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:494 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:828 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObj'. |
General Analysis |
import-tests.cxx:859 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
import-tests.cxx:904 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:1126 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
import-tests.cxx:1222 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:1237 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
import-tests.cxx:1258 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
import-tests.cxx:689 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObj'. |
General Analysis |
import-tests.cxx:1306 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
import-tests.cxx:458 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:1536 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObj'. |
General Analysis |
import-tests.cxx:1643 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:442 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pObj'. |
General Analysis |
import-tests.cxx:1747 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:2172 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObj'. |
General Analysis |
import-tests.cxx:2208 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:2285 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:2315 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:478 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
import-tests.cxx:389 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTxtObj'. |
General Analysis |
misc-tests.cxx:256 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableObject'. |
General Analysis |
misc-tests.cxx:250 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableController'. |
General Analysis |
misc-tests.cxx:212 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableController'. |
General Analysis |
customanimationeffect.cxx:3159 |
Medium |
V614 |
The 'pEffect' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. |
General Analysis |
customanimationeffect.cxx:2693 |
Medium |
V1001 |
The 'aTarget' variable is assigned but is not used by the end of the function. |
General Analysis |
customanimationpreset.cxx:541 |
Medium |
V547 |
Expression '!mpCustomAnimationPresets' is always true. |
General Analysis |
drawdoc3.cxx:752 |
Medium |
V774 |
The 'pStandardPage' pointer was used after the memory was released. |
General Analysis |
drawdoc3.cxx:1807 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1796, 1807. |
General Analysis |
sdpage.cxx:575 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 570, 575. |
General Analysis |
sdpage.cxx:730 |
Medium |
V547 |
Expression 'pObj' is always true. |
General Analysis |
sdpage.cxx:1269 |
Medium |
V1016 |
Expression 'eLayout < AUTOLAYOUT_START' is always false. |
General Analysis |
sdpage.cxx:2915 |
Medium |
V560 |
A part of conditional expression is always true: pTextObj. |
General Analysis |
sdpage2.cxx:485 |
Medium |
V560 |
A part of conditional expression is always true: pShape. |
General Analysis |
stlfamily.cxx:151 |
Medium |
V560 |
A part of conditional expression is always true: pSdStyle. |
General Analysis |
stlfamily.cxx:252 |
Medium |
V547 |
Expression 'pSdStyle' is always true. |
General Analysis |
stlfamily.cxx:282 |
Medium |
V547 |
Expression 'pSdStyle' is always true. |
General Analysis |
stlpool.cxx:900 |
Medium |
V547 |
Expression 'pSheet' is always true. |
General Analysis |
eppt.cxx:272 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= nTST' is used inside condition. |
General Analysis |
eppt.cxx:268 |
Medium |
V1019 |
Compound assignment expression 'aAny >>= nTT' is used inside condition. |
General Analysis |
epptso.cxx:2704 |
Medium |
V547 |
Expression '!pTmp' is always true. |
General Analysis |
epptso.cxx:1728 |
Medium |
V547 |
Expression '!pTmp' is always true. |
General Analysis |
pptexanimations.cxx:1983 |
Medium |
V1019 |
Compound assignment expression 'aPair.Second >>= fY' is used inside condition. |
General Analysis |
pptexanimations.cxx:1992 |
Medium |
V1019 |
Compound assignment expression 'aPair.Second >>= fY' is used inside condition. |
General Analysis |
pptexanimations.cxx:1974 |
Medium |
V1019 |
Compound assignment expression 'aPair.Second >>= fY' is used inside condition. |
General Analysis |
pptx-animations.cxx:94 |
Medium |
V1019 |
Compound assignment expression 'aPair.Second >>= y' is used inside condition. |
General Analysis |
pptx-epptbase.cxx:526 |
Medium |
V1023 |
A pointer without owner is added to the 'maStyleSheetList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
pptx-epptooxml.cxx:540 |
Medium |
V1019 |
Compound assignment expression 'mAny >>= nTransitionType' is used inside condition. |
General Analysis |
pptx-epptooxml.cxx:541 |
Medium |
V1019 |
Compound assignment expression 'mAny >>= nTransitionSubtype' is used inside condition. |
General Analysis |
pptx-epptooxml.cxx:1900 |
Medium |
V1019 |
Compound assignment expression 'mAny >>= aXBackgroundPropSet' is used inside condition. |
General Analysis |
pptx-text.cxx:588 |
Medium |
V547 |
Expression '!bBool' is always true. |
General Analysis |
pptx-text.cxx:564 |
Medium |
V547 |
Expression '!bBool' is always true. |
General Analysis |
pptx-text.cxx:385 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
pptx-text.cxx:400 |
Medium |
V547 |
Expression 'bBool' is always false. |
General Analysis |
pptx-text.cxx:522 |
Medium |
V547 |
Expression '!bBool' is always true. |
General Analysis |
htmlex.cxx:628 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
pubdlg.cxx:1572 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ppt97animations.cxx:584 |
Medium |
V668 |
There is no sense in testing the 'pEffect' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
pptin.cxx:561 |
Medium |
V1004 |
The 'pDocShell' pointer was used unsafely after it was verified against nullptr. Check lines: 258, 561. |
General Analysis |
pptin.cxx:1234 |
Medium |
V668 |
There is no sense in testing the 'pFrameView' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
propread.hxx:134 |
Medium |
V690 |
The 'PropRead' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
customanimationdialog.cxx:2176 |
Medium |
V547 |
Expression 'bHasText' is always false. |
General Analysis |
customanimationpane.cxx:1845 |
Medium |
V614 |
Potentially null smart pointer 'pDescriptor' used. |
General Analysis |
customanimationpane.cxx:2268 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
motionpathtag.cxx:954 |
Medium |
V560 |
A part of conditional expression is always true: !bWdt0. |
General Analysis |
motionpathtag.cxx:955 |
Medium |
V547 |
Expression '!bHgt0' is always true. |
General Analysis |
motionpathtag.cxx:956 |
Medium |
V560 |
A part of conditional expression is always true: !bWdt0. |
General Analysis |
motionpathtag.cxx:956 |
Medium |
V560 |
A part of conditional expression is always true: !bHgt0. |
General Analysis |
motionpathtag.cxx:957 |
Medium |
V547 |
Expression '!bWdt0' is always true. |
General Analysis |
motionpathtag.cxx:958 |
Medium |
V547 |
Expression '!bWdt0' is always true. |
General Analysis |
motionpathtag.cxx:959 |
Medium |
V560 |
A part of conditional expression is always true: !bWdt0. |
General Analysis |
motionpathtag.cxx:954 |
Medium |
V560 |
A part of conditional expression is always true: !bHgt0. |
General Analysis |
motionpathtag.cxx:959 |
Medium |
V560 |
A part of conditional expression is always true: !bHgt0. |
General Analysis |
motionpathtag.cxx:960 |
Medium |
V547 |
Expression '!bHgt0' is always true. |
General Analysis |
motionpathtag.cxx:961 |
Medium |
V560 |
A part of conditional expression is always true: !bHgt0. |
General Analysis |
motionpathtag.cxx:961 |
Medium |
V560 |
A part of conditional expression is always true: !bWdt0. |
General Analysis |
optsitem.cxx:91 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rSource'. |
General Analysis |
sdmod.cxx:158 |
Medium |
V560 |
A part of conditional expression is always true: nMetric != 0xffff. |
General Analysis |
sdmod2.cxx:138 |
Medium |
V560 |
A part of conditional expression is always true: pPage. |
General Analysis |
sdmod2.cxx:481 |
Medium |
V1016 |
The value '0xffff' is out of range of enum values. This causes unspecified or undefined behavior. |
General Analysis |
sdmod2.cxx:487 |
Medium |
V1016 |
The value '0xffff' is out of range of enum values. This causes unspecified or undefined behavior. |
General Analysis |
sdmod2.cxx:487 |
Medium |
V547 |
Expression 'nMetric == FieldUnit(0xffff)' is always false. |
General Analysis |
sdxfer.cxx:180 |
Medium |
V560 |
A part of conditional expression is always true: pUnoCtrl. |
General Analysis |
sdxfer.cxx:644 |
Medium |
V519 |
The 'bRet' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 629, 644. |
General Analysis |
headerfooterdlg.cxx:639 |
Medium |
V560 |
A part of conditional expression is always true: !bHasDateFieldItem. |
General Analysis |
docshel4.cxx:575 |
Medium |
V547 |
Expression 'pWindow' is always true. |
General Analysis |
fuconbez.cxx:193 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pPathObj'. |
General Analysis |
fuinsfil.cxx:662 |
Medium |
V668 |
There is no sense in testing the 'pProgress' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
fuinsfil.cxx:629 |
Medium |
V668 |
There is no sense in testing the 'pProgress' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
fupoor.cxx:737 |
Medium |
V560 |
A part of conditional expression is always true: pHdl. |
General Analysis |
fusel.cxx:1417 |
Medium |
V1019 |
Compound assignment expression 'aRet >>= bTmp' is used inside condition. |
General Analysis |
bluetoothserver.cxx:1382 |
Medium |
V641 |
The size of the '& aRemoteAddr' buffer is not a multiple of the element size of the type 'sockaddr'. |
General Analysis |
bluetoothserver.cxx:1338 |
Medium |
V641 |
The size of the '& aName' buffer is not a multiple of the element size of the type 'SOCKADDR'. |
General Analysis |
bluetoothserver.cxx:1334 |
Medium |
V641 |
The size of the '& aName' buffer is not a multiple of the element size of the type 'SOCKADDR'. |
General Analysis |
bluetoothserver.cxx:1325 |
Medium |
V641 |
The size of the '& aAddr' buffer is not a multiple of the element size of the type 'SOCKADDR'. |
General Analysis |
discoveryservice.cxx:98 |
Medium |
V668 |
There is no sense in testing the 'zService' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
receiver.cxx:152 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 137, 152. |
General Analysis |
currentmasterpagesselector.cxx:186 |
Medium |
V547 |
Expression 'pMasterPage != nullptr' is always true. |
General Analysis |
documenthelper.cxx:98 |
Medium |
V560 |
A part of conditional expression is always true: pMasterPage != nullptr. |
General Analysis |
layoutmenu.cxx:668 |
Medium |
V1016 |
Expression 'aLayout > AUTOLAYOUT_END' is always false. |
General Analysis |
layoutmenu.cxx:668 |
Medium |
V1016 |
Expression 'aLayout < AUTOLAYOUT_START' is always false. |
General Analysis |
layoutmenu.cxx:384 |
Medium |
V547 |
Expression 'pDrawViewShell != nullptr' is always true. |
General Analysis |
masterpageobserver.cxx:103 |
Medium |
V547 |
Expression 'Implementation::mpInstance == nullptr' is always true. |
General Analysis |
slideshow.cxx:768 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 720, 768. |
General Analysis |
slspagecachemanager.cxx:218 |
Medium |
V668 |
There is no sense in testing the 'pResult' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
slidesortercontroller.cxx:371 |
Medium |
V547 |
Expression 'pViewShell != nullptr' is always true. |
General Analysis |
slsdraganddropcontext.cxx:126 |
Medium |
V547 |
Expression 'mpTargetSlideSorter != nullptr' is always false. |
General Analysis |
slsselectionfunction.cxx:1164 |
Medium |
V547 |
Expression 'maButtonDownLocation' is always true. |
General Analysis |
slsslotmanager.cxx:671 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 664, 671. |
General Analysis |
uiobject.cxx:52 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'getViewShell(xWindow)'. |
General Analysis |
uiobject.cxx:148 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'getViewShell(mxWindow)'. |
General Analysis |
uiobject.cxx:92 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'getViewShell(mxWindow)'. |
General Analysis |
uiobject.cxx:109 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'getViewShell(mxWindow)'. |
General Analysis |
drawcontroller.cxx:63 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: mpCurrentLayer. |
General Analysis |
drawcontroller.cxx:133 |
Medium |
V547 |
Expression '!mbDisposing' is always true. |
General Analysis |
unolayer.cxx:541 |
Medium |
V560 |
A part of conditional expression is always true: pSdrLayer. |
General Analysis |
unomodel.cxx:613 |
Medium |
V560 |
A part of conditional expression is always true: mpDoc. |
General Analysis |
unomodel.cxx:721 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unomodel.cxx:959 |
Medium |
V547 |
Expression 'mpDoc' is always true. |
General Analysis |
unomodel.cxx:968 |
Medium |
V547 |
Expression 'mpDoc' is always true. |
General Analysis |
unomodel.cxx:1106 |
Medium |
V1019 |
Compound assignment expression 'Arguments[0] >>= arg' is used inside condition. |
General Analysis |
unomodel.cxx:1472 |
Medium |
V560 |
A part of conditional expression is always true: mpDoc. |
General Analysis |
unomodel.cxx:1508 |
Medium |
V560 |
A part of conditional expression is always true: mpDoc. |
General Analysis |
unomodel.cxx:1886 |
Medium |
V560 |
A part of conditional expression is always true: mpDoc. |
General Analysis |
unomodel.cxx:2351 |
Medium |
V1004 |
The 'pViewShell' pointer was used unsafely after it was verified against nullptr. Check lines: 2348, 2351. |
General Analysis |
unomodel.cxx:800 |
Medium |
V547 |
Expression 'mpDoc' is always true. |
General Analysis |
unoobj.cxx:1158 |
Medium |
V1019 |
Compound assignment expression 'aElement >>= aProperties' is used inside condition. |
General Analysis |
unoobj.cxx:501 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pGroup'. |
General Analysis |
unopback.cxx:250 |
Medium |
V560 |
A part of conditional expression is always true: pEntry. |
General Analysis |
unopback.cxx:299 |
Medium |
V560 |
A part of conditional expression is always true: pEntry. |
General Analysis |
unopback.cxx:405 |
Medium |
V547 |
Expression 'mpSet' is always true. |
General Analysis |
unosrch.cxx:798 |
Medium |
V547 |
Expression 'pRefs' is always true. |
General Analysis |
documentrenderer.cxx:1283 |
Medium |
V547 |
Expression 'pViewShell' is always true. |
General Analysis |
drtxtob.cxx:311 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions 'nDepth > 0' and 'nDepth <= 0'. |
General Analysis |
drviews1.cxx:640 |
Medium |
V560 |
A part of conditional expression is always false: (nPageCount < 0). |
General Analysis |
drviews1.cxx:564 |
Medium |
V547 |
Expression 'nMetric == 0xffff' is always false. |
General Analysis |
drviews1.cxx:533 |
Medium |
V547 |
Expression 'nMetric == 0xffff' is always false. |
General Analysis |
drviews7.cxx:256 |
Medium |
V1004 |
The 'pOLV' pointer was used unsafely after it was verified against nullptr. Check lines: 253, 256. |
General Analysis |
drviews7.cxx:1845 |
Medium |
V560 |
A part of conditional expression is always true: nUpper == - 1. |
General Analysis |
drviews7.cxx:1860 |
Medium |
V560 |
A part of conditional expression is always true: nLeft == - 1. |
General Analysis |
drviewse.cxx:274 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFormView'. |
General Analysis |
drviewsf.cxx:136 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
outliner.cxx:315 |
Medium |
V614 |
Potentially null smart pointer 'pViewShell' used. |
General Analysis |
outlview.cxx:1475 |
Medium |
V547 |
Expression 'pPara' is always true. |
General Analysis |
outlview.cxx:855 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
presvish.cxx:131 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 116, 131. |
General Analysis |
sdview.cxx:1283 |
Medium |
V560 |
A part of conditional expression is always false: bToggleOn. |
General Analysis |
sdview.cxx:1271 |
Medium |
V560 |
A part of conditional expression is always false: bToggleOn. |
General Analysis |
sdview2.cxx:308 |
Medium |
V560 |
A part of conditional expression is always true: pOutliner. |
General Analysis |
sdview2.cxx:285 |
Medium |
V560 |
A part of conditional expression is always true: pOutliner. |
General Analysis |
sdview2.cxx:505 |
Medium |
V560 |
A part of conditional expression is always true: !nRet. |
General Analysis |
sdview2.cxx:657 |
Medium |
V560 |
A part of conditional expression is always true: !nRet. |
General Analysis |
sdview3.cxx:1031 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
sdview3.cxx:364 |
Medium |
V560 |
A part of conditional expression is always true: !bReturn. |
General Analysis |
sdwindow.cxx:889 |
Medium |
V547 |
Expression 'mpViewShell' is always true. |
General Analysis |
sdwindow.cxx:889 |
Medium |
V571 |
Recurring check. The 'mpViewShell' condition was already verified in line 887. |
General Analysis |
viewclipboard.cxx:200 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
viewshel.cxx:407 |
Medium |
V547 |
Expression '!bReturn' is always true. |
General Analysis |
viewshellimplementation.cxx:131 |
Medium |
V1016 |
Expression 'aLayout >= AUTOLAYOUT_START' is always true. |
General Analysis |
viewshellimplementation.cxx:213 |
Medium |
V560 |
A part of conditional expression is always true: pArgs. |
General Analysis |
graphiccollector.cxx:153 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
graphiccollector.cxx:152 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
impoptimizer.cxx:272 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
impoptimizer.cxx:273 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
impoptimizer.cxx:274 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
impoptimizer.cxx:309 |
Medium |
V560 |
A part of conditional expression is always true: !bAnimated. |
General Analysis |
optimizerdialog.cxx:302 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
pppoptimizertoken.cxx:165 |
Medium |
V547 |
Expression '!pHashMap' is always true. |
General Analysis |
pdfentries.cxx:1198 |
Medium |
V512 |
A call of the 'memcmp' function will lead to underflow of the buffer 'pData->m_aUEntry'. |
General Analysis |
pdfentries.cxx:849 |
Medium |
V586 |
The 'delete' operator is called twice for deallocation of the same memory space. |
General Analysis |
pdfentries.cxx:745 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer '* pOutBuf' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
pdfentries.cxx:733 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer '* pOutBuf' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
pdfentries.cxx:869 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 867, 869. |
General Analysis |
pdfentries.cxx:632 |
Medium |
V560 |
A part of conditional expression is always true: !pNum. |
General Analysis |
pdfentries.cxx:535 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aSubElements' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
pdfparse.cxx:323 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pContainer'. |
General Analysis |
pdfunzip.cxx:402 |
Medium |
V560 |
A part of conditional expression is always true: nRet == 0. |
General Analysis |
pdfunzip.cxx:316 |
Medium |
V560 |
A part of conditional expression is always true: nRet == 0. |
General Analysis |
writertreevisiting.cxx:133 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pPage'. |
General Analysis |
wrapper.cxx:367 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
presentercontroller.cxx:1133 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
presenternotesview.cxx:411 |
Medium |
V519 |
The 'aNewTextBoundingBox.Y2' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 409, 411. |
General Analysis |
presenterpanebase.cxx:192 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
presenterpaneborderpainter.cxx:881 |
Medium |
V1004 |
The 'mpFont' pointer was used unsafely after it was verified against nullptr. Check lines: 879, 881. |
General Analysis |
presenterpaneborderpainter.cxx:308 |
Medium |
V668 |
There is no sense in testing the 'mpTheme' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
presenterslidesorter.cxx:807 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
presentertheme.cxx:1094 |
Medium |
V1019 |
Compound assignment expression 'rValues[1] >>= sStyleName' is used inside condition. |
General Analysis |
presenteruipainter.cxx:230 |
Medium |
V636 |
The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
presenteruipainter.cxx:207 |
Medium |
V636 |
The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
presenteruipainter.cxx:87 |
Medium |
V636 |
The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
presenteruipainter.cxx:106 |
Medium |
V636 |
The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
presenteruipainter.cxx:127 |
Medium |
V636 |
The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
presenteruipainter.cxx:188 |
Medium |
V636 |
The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
presenterwindowmanager.cxx:611 |
Medium |
V636 |
The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
regactivex.cxx:69 |
Medium |
V575 |
The potential null pointer is passed into 'wcsncpy' function. Inspect the first argument. Check lines: 69, 68. |
General Analysis |
regactivex.cxx:105 |
Medium |
V575 |
The potential null pointer is passed into 'memset' function. Inspect the first argument. Check lines: 105, 104. |
General Analysis |
sellang.cxx:47 |
Medium |
V575 |
The potential null pointer is passed into 'memset' function. Inspect the first argument. Check lines: 47, 46. |
General Analysis |
checkversion.cxx:40 |
Medium |
V575 |
The potential null pointer is passed into 'memset' function. Inspect the first argument. Check lines: 40, 39. |
General Analysis |
test_metadatable.cxx:155 |
Medium |
V519 |
The 'm2.m_bInUndo' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 150, 155. |
General Analysis |
app.cxx:349 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
appdde.cxx:522 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= aSeq' is used inside condition. |
General Analysis |
appdispatchprovider.cxx:95 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= f' is used inside condition. |
General Analysis |
appserv.cxx:1189 |
Medium |
V519 |
The 'bState' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1188, 1189. |
General Analysis |
helpinterceptor.cxx:76 |
Medium |
V1023 |
A pointer without owner is added to the 'm_pHistory' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
impldde.cxx:324 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!pLink' and 'pLink'. |
General Analysis |
linkmgr2.cxx:478 |
Medium |
V560 |
A part of conditional expression is always true: nullptr != (pLnk = & (* rLnks[-- n])). |
General Analysis |
newhelp.cxx:612 |
Medium |
V1019 |
Compound assignment expression 'aAnySeq[2] >>= aAnchorRefList' is used inside condition. |
General Analysis |
newhelp.cxx:612 |
Medium |
V1019 |
Compound assignment expression 'aAnySeq[3] >>= aTitleRefList' is used inside condition. |
General Analysis |
newhelp.cxx:1404 |
Medium |
V1020 |
The function exited without calling the 'LeaveWait' function. Check lines: 1404, 1382. |
General Analysis |
newhelp.cxx:611 |
Medium |
V1019 |
Compound assignment expression 'aAnySeq[1] >>= aKeywordRefList' is used inside condition. |
General Analysis |
shutdowniconw32.cxx:628 |
Medium |
V530 |
The return value of function 'LoadLibraryW' is required to be utilized. |
General Analysis |
workwin.cxx:2029 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:2523 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:2144 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:2017 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:1982 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:1947 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:2057 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:1903 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:934 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:995 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:1935 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:1757 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:1300 |
Medium |
V560 |
A part of conditional expression is always true: bAllChildrenVisible. |
General Analysis |
workwin.cxx:1803 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
workwin.cxx:1769 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
progress.cxx:262 |
Medium |
V1019 |
Compound assignment expression 'pIndicatorItem->GetValue() >>= xInd' is used inside condition. |
General Analysis |
dispatch.cxx:406 |
Medium |
V519 |
The 'xImp->pParent' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 397, 406. |
General Analysis |
dispatch.cxx:150 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'HandleMenuDeActivateEvent' function. |
General Analysis |
dispatch.cxx:149 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'HandleMenuActivateEvent' function. |
General Analysis |
msgpool.cxx:194 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
shell.cxx:582 |
Medium |
V547 |
Expression 'pViewSh' is always true. |
General Analysis |
thumbnailview.cxx:52 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: mnThumbnailHeight, mnDisplayHeight. |
General Analysis |
unoctitm.cxx:1133 |
Medium |
V1019 |
Compound assignment expression 'aEvent.State >>= aBool' is used inside condition. |
General Analysis |
unoctitm.cxx:1142 |
Medium |
V1019 |
Compound assignment expression 'aEvent.State >>= aBool' is used inside condition. |
General Analysis |
unoctitm.cxx:1155 |
Medium |
V1019 |
Compound assignment expression 'aEvent.State >>= aPoint' is used inside condition. |
General Analysis |
unoctitm.cxx:1164 |
Medium |
V1019 |
Compound assignment expression 'aEvent.State >>= aSize' is used inside condition. |
General Analysis |
unoctitm.cxx:1120 |
Medium |
V1019 |
Compound assignment expression 'aEvent.State >>= aString' is used inside condition. |
General Analysis |
unoctitm.cxx:1102 |
Medium |
V1019 |
Compound assignment expression 'aEvent.State >>= aInt32' is used inside condition. |
General Analysis |
backingcomp.cxx:675 |
Medium |
V1019 |
Compound assignment expression 'lArgs[0] >>= xParentWindow' is used inside condition. |
General Analysis |
backingcomp.cxx:244 |
Medium |
V547 |
Expression '!pTypeCollection' is always true. |
General Analysis |
dinfdlg.cxx:2190 |
Medium |
V547 |
Expression 'bModified' is always true. |
General Analysis |
filedlghelper.cxx:1253 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
mailmodel.cxx:540 |
Medium |
V571 |
Recurring check. The 'xPrepareDispatch.is()' condition was already verified in line 538. |
General Analysis |
splitwin.cxx:522 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
splitwin.cxx:794 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
splitwin.cxx:386 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
splitwin.cxx:442 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
splitwin.cxx:738 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
splitwin.cxx:587 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tabdlg.cxx:131 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tabdlg.cxx:149 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
templdlg.cxx:1048 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
templdlg.cxx:1441 |
Medium |
V560 |
A part of conditional expression is always true: pStyleSheetPool. |
General Analysis |
templdlg.cxx:1571 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFilterItem'. |
General Analysis |
docfile.cxx:1463 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
docfile.cxx:1546 |
Medium |
V547 |
Expression 'pVersion' is always true. |
General Analysis |
docfile.cxx:2020 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
docfile.cxx:2150 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2149, 2150. |
General Analysis |
docfile.cxx:2712 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
docfile.cxx:2772 |
Medium |
V1019 |
Compound assignment expression 'pHandler->GetValue() >>= xHandler' is used inside condition. |
General Analysis |
doctemplates.cxx:478 |
Medium |
V547 |
Expression '!mbLocaleSet' is always true. |
General Analysis |
doctemplates.cxx:410 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= aPropValue' is used inside condition. |
General Analysis |
doctemplates.cxx:1972 |
Medium |
V1019 |
Compound assignment expression 'aProperty >>= bReadOnly' is used inside condition. |
General Analysis |
guisaveas.cxx:553 |
Medium |
V560 |
A part of conditional expression is always true: (nStoreMode != - 1). |
General Analysis |
guisaveas.cxx:1353 |
Medium |
V547 |
Expression 'bWideExport' is always false. |
General Analysis |
guisaveas.cxx:1341 |
Medium |
V547 |
Expression 'bSaveACopy' is always false. |
General Analysis |
guisaveas.cxx:542 |
Medium |
V560 |
A part of conditional expression is always true: (nStoreMode != - 1). |
General Analysis |
guisaveas.cxx:1497 |
Medium |
V547 |
Expression 'bUseSystemDialog' is always true. |
General Analysis |
metadatable.cxx:1388 |
Medium |
V560 |
A part of conditional expression is always true: pLink. |
General Analysis |
metadatable.cxx:1428 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pRegDoc'. |
General Analysis |
objmisc.cxx:763 |
Medium |
V560 |
A part of conditional expression is always false: !pMed. |
General Analysis |
objmisc.cxx:869 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
objserv.cxx:504 |
Medium |
V1019 |
Compound assignment expression 'pUnoAny->GetValue() >>= xInterface' is used inside condition. |
General Analysis |
objstor.cxx:852 |
Medium |
V560 |
A part of conditional expression is always true: bOk. |
General Analysis |
objstor.cxx:1560 |
Medium |
V560 |
A part of conditional expression is always true: bOk. |
General Analysis |
objstor.cxx:1556 |
Medium |
V571 |
Recurring check. The 'bOk' condition was already verified in line 1553. |
General Analysis |
objstor.cxx:1556 |
Medium |
V560 |
A part of conditional expression is always true: bOk. |
General Analysis |
objstor.cxx:1514 |
Medium |
V547 |
Expression 'bOk' is always true. |
General Analysis |
objstor.cxx:1174 |
Medium |
V547 |
Expression 'bTryToPreserveScriptSignature' is always true. |
General Analysis |
objstor.cxx:2551 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
objxtor.cxx:846 |
Medium |
V547 |
Expression '!pEventNameContainer' is always true. |
General Analysis |
objxtor.cxx:346 |
Medium |
V560 |
A part of conditional expression is always true: pMedium. |
General Analysis |
templatedlg.cxx:991 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
inettbc.cxx:230 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pURL'. |
General Analysis |
globalevents.cxx:323 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
controllerfactory.cxx:72 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
sidebarcontroller.cxx:314 |
Medium |
V547 |
Expression '!mbIsDocumentReadOnly' is always true. |
General Analysis |
sidebarcontroller.cxx:309 |
Medium |
V547 |
Expression '!bIsReadWrite' is always false. |
General Analysis |
tbxitem.cxx:305 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tbxitem.cxx:279 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
classificationhelper.cxx:500 |
Medium |
V560 |
A part of conditional expression is always true: bSourceClassified. |
General Analysis |
sfxbasecontroller.cxx:1113 |
Medium |
V547 |
Expression 'pPool' is always true. |
General Analysis |
sfxbasecontroller.cxx:1148 |
Medium |
V547 |
Expression 'pPool' is always true. |
General Analysis |
viewfrm.cxx:985 |
Medium |
V560 |
A part of conditional expression is always true: pShUndoMgr. |
General Analysis |
viewfrm.cxx:969 |
Medium |
V560 |
A part of conditional expression is always true: pShUndoMgr. |
General Analysis |
viewfrm.cxx:1728 |
Medium |
V547 |
Expression 'GetViewShell()' is always true. |
General Analysis |
viewfrm.cxx:2187 |
Medium |
V560 |
A part of conditional expression is always true: pViewShell. |
General Analysis |
viewfrm.cxx:2431 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 2417, 2431. |
General Analysis |
viewfrm.cxx:1002 |
Medium |
V560 |
A part of conditional expression is always true: pShUndoMgr. |
General Analysis |
viewfrm2.cxx:171 |
Medium |
V547 |
Expression '!bShow' is always false. |
General Analysis |
viewfrm2.cxx:175 |
Medium |
V547 |
Expression '!bShow' is always true. |
General Analysis |
infotips.cxx:311 |
Medium |
V1001 |
The 'pClassID' variable is assigned but is not used by the end of the function. |
General Analysis |
propspec.cxx:113 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &Property'. |
General Analysis |
propsheets.cxx:48 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_szFileName. |
General Analysis |
thumbviewer.cxx:473 |
Medium |
V1001 |
The 'pClassID' variable is assigned but is not used by the end of the function. |
General Analysis |
smplmailentry.cxx:40 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
sysshentry.cxx:39 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
sysshexec.cxx:335 |
Medium |
V547 |
Expression 'procHandle != nullptr' is always false. |
General Analysis |
zipfile.cxx:408 |
Medium |
V668 |
There is no sense in testing the 'm_pStream' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
animatedsprite.cxx:139 |
Medium |
V560 |
A part of conditional expression is always true: mpSprite. |
General Analysis |
generateevent.cxx:72 |
Medium |
V1019 |
Compound assignment expression 'aEvent.Offset >>= nDelay2' is used inside condition. |
General Analysis |
viewshape.cxx:668 |
Medium |
V547 |
Expression '!aClip' is always true. |
General Analysis |
viewshape.cxx:712 |
Medium |
V547 |
Expression '!aClip' is always true. |
General Analysis |
slideshowimpl.cxx:1769 |
Medium |
V1019 |
Compound assignment expression 'aValues[1] >>= bValue' is used inside condition. |
General Analysis |
slideshowimpl.cxx:1768 |
Medium |
V1019 |
Compound assignment expression 'aValues[0] >>= xView' is used inside condition. |
General Analysis |
slidetransitionfactory.cxx:168 |
Medium |
V1023 |
A pointer without owner is added to the 'maTransitions' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
libtest.cxx:77 |
Medium |
V560 |
A part of conditional expression is always true: argc > 1. |
General Analysis |
smoketest.cxx:88 |
Medium |
V1019 |
Compound assignment expression 'Result.Result >>= result_->result' is used inside condition. |
General Analysis |
concat-deps.c:1153 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 1153, 1152. |
General Analysis |
_eval.c:244 |
Medium |
V707 |
Giving short names to global variables is considered to be bad practice. It is suggested to rename 'op' variable. |
General Analysis |
_eval.c:243 |
Medium |
V707 |
Giving short names to global variables is considered to be bad practice. It is suggested to rename 'vp' variable. |
General Analysis |
_tokens.c:220 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'trp->bp'. Check lines: 220, 219. |
General Analysis |
_tokens.c:219 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'trp->bp' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
include.c:324 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'ip->i_list' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
include.c:327 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'ip->i_list'. |
General Analysis |
main.c:487 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'content'. Check lines: 487, 484. |
General Analysis |
main.c:488 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'content->f_p'. Check lines: 488, 487. |
General Analysis |
main.c:516 |
Medium |
V769 |
The 'content->f_base' pointer in the 'content->f_base + bytes_read' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 516, 507. |
General Analysis |
main.c:532 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 532, 530. |
General Analysis |
main.c:227 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'nargv'. Check lines: 227, 226. |
General Analysis |
main.c:727 |
Medium |
V575 |
The potential null pointer is passed into 'strcpy' function. Inspect the first argument. Check lines: 727, 726. |
General Analysis |
main.c:203 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'p'. Check lines: 203, 198. |
General Analysis |
main.c:201 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'args'. Check lines: 201, 198. |
General Analysis |
main.c:627 |
Medium |
V575 |
The potential null pointer is passed into 'strlen' function. Inspect the first argument. |
General Analysis |
parse.c:431 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'nw'. Check lines: 431, 430. |
General Analysis |
parse.c:498 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'it'. Check lines: 498, 497. |
General Analysis |
parse.c:517 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'it->p_next'. Check lines: 517, 516. |
General Analysis |
parse.c:426 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'newsym'. Check lines: 426, 421. |
General Analysis |
pr.c:63 |
Medium |
V560 |
A part of conditional expression is always true: newfile. |
General Analysis |
exchange.cxx:323 |
Medium |
V1023 |
A pointer without owner is added to the 'rL' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
xolesimplestorage.cxx:59 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= xInputStream' is used inside condition. |
General Analysis |
xolesimplestorage.cxx:291 |
Medium |
V1019 |
Compound assignment expression 'aElement >>= xNameAccess' is used inside condition. |
General Analysis |
cfgitem.cxx:906 |
Medium |
V1019 |
Compound assignment expression '* pVal >>= nTmp16' is used inside condition. |
General Analysis |
cfgitem.cxx:409 |
Medium |
V1019 |
Compound assignment expression '* pValue >>= bTmp' is used inside condition. |
General Analysis |
cfgitem.cxx:404 |
Medium |
V1019 |
Compound assignment expression '* pValue >>= aTmpStr' is used inside condition. |
General Analysis |
cfgitem.cxx:399 |
Medium |
V1019 |
Compound assignment expression '* pValue >>= nTmp32' is used inside condition. |
General Analysis |
cfgitem.cxx:621 |
Medium |
V1019 |
Compound assignment expression '* pValue >>= nTmp16' is used inside condition. |
General Analysis |
cfgitem.cxx:902 |
Medium |
V1019 |
Compound assignment expression '* pVal >>= nTmp16' is used inside condition. |
General Analysis |
cfgitem.cxx:626 |
Medium |
V1019 |
Compound assignment expression '* pValue >>= nTmp16' is used inside condition. |
General Analysis |
cfgitem.cxx:631 |
Medium |
V1019 |
Compound assignment expression '* pValue >>= nTmp16' is used inside condition. |
General Analysis |
cfgitem.cxx:636 |
Medium |
V1019 |
Compound assignment expression '* pValue >>= nTmp16' is used inside condition. |
General Analysis |
cfgitem.cxx:641 |
Medium |
V1019 |
Compound assignment expression '* pValue >>= nTmp16' is used inside condition. |
General Analysis |
cfgitem.cxx:414 |
Medium |
V1019 |
Compound assignment expression '* pValue >>= aTmpStr' is used inside condition. |
General Analysis |
cfgitem.cxx:616 |
Medium |
V1019 |
Compound assignment expression '* pValue >>= aTmpStr' is used inside condition. |
General Analysis |
cfgitem.cxx:894 |
Medium |
V1019 |
Compound assignment expression '* pVal >>= nTmp16' is used inside condition. |
General Analysis |
cfgitem.cxx:898 |
Medium |
V1019 |
Compound assignment expression '* pVal >>= bTmp' is used inside condition. |
General Analysis |
cfgitem.cxx:890 |
Medium |
V1019 |
Compound assignment expression '* pVal >>= bTmp' is used inside condition. |
General Analysis |
cursor.cxx:1528 |
Medium |
V560 |
A part of conditional expression is always true: Terminal(). |
General Analysis |
elementsdockingwindow.cxx:507 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
mathmlexport.cxx:989 |
Medium |
V799 |
The 'pThing2' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
mathmlexport.cxx:972 |
Medium |
V799 |
The 'pThing' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
mathmlexport.cxx:764 |
Medium |
V799 |
The 'pCell' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
mathmlexport.cxx:737 |
Medium |
V799 |
The 'pRow' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
mathmlexport.cxx:552 |
Medium |
V547 |
Expression 'pProps' is always true. |
General Analysis |
mathmlimport.cxx:1163 |
Medium |
V519 |
The 'aToken.aText' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1147, 1163. |
General Analysis |
mathtype.cxx:1291 |
Medium |
V547 |
Expression 'nVariation == 2' is always false. |
General Analysis |
mathtype.cxx:3189 |
Medium |
V1004 |
The 'pTemp' pointer was used unsafely after it was verified against nullptr. Check lines: 3150, 3189. |
General Analysis |
mathtype.cxx:3079 |
Medium |
V560 |
A part of conditional expression is always false: (nArse == 0x2225). |
General Analysis |
mathtype.cxx:750 |
Medium |
V547 |
Expression 'nVariation == 1' is always false. |
General Analysis |
parse.cxx:1737 |
Medium |
V519 |
The 'aNodeToken.cMathChar' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1734, 1737. |
General Analysis |
symbol.cxx:152 |
Medium |
V560 |
A part of conditional expression is always true: pFound. |
General Analysis |
symbol.cxx:152 |
Medium |
V560 |
A part of conditional expression is always true: !bForceChange. |
General Analysis |
symbol.cxx:72 |
Medium |
V547 |
Expression 'pSymSetManager' is always true. |
General Analysis |
view.cxx:790 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'GetView()'. |
General Analysis |
visitors.cxx:997 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 985, 997. |
General Analysis |
visitors.cxx:1009 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 997, 1009. |
General Analysis |
visitors.cxx:1021 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1009, 1021. |
General Analysis |
visitors.cxx:1033 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1021, 1033. |
General Analysis |
visitors.cxx:1045 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1033, 1045. |
General Analysis |
criface.cxx:592 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
criface.cxx:628 |
Medium |
V505 |
The 'alloca' function is used inside the loop. This can quickly overflow stack. |
General Analysis |
defaultregistry.cxx:814 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
defaultregistry.cxx:1239 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
defaultregistry.cxx:790 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
defaultregistry.cxx:701 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
defaultregistry.cxx:681 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
defaultregistry.cxx:644 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
invocation.cxx:1036 |
Medium |
V547 |
Expression '!s_pTypes' is always true. |
General Analysis |
javavm.cxx:1091 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
javavm.cxx:623 |
Medium |
V1019 |
Compound assignment expression 'rArguments[0] >>= val' is used inside condition. |
General Analysis |
proxyfac.cxx:100 |
Medium |
V547 |
Expression 's_pQITD == nullptr' is always true. |
General Analysis |
permissions.cxx:295 |
Medium |
V547 |
Expression '!s_workingDir' is always true. |
General Analysis |
servicemanager.cxx:745 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
servicemanager.cxx:759 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
svggradientnode.cxx:508 |
Medium |
V519 |
The 'mbResolvingLink' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 506, 508. |
General Analysis |
svggradientnode.cxx:488 |
Medium |
V519 |
The 'mbResolvingLink' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 486, 488. |
General Analysis |
svggradientnode.cxx:321 |
Medium |
V519 |
The 'mbResolvingLink' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 319, 321. |
General Analysis |
svggradientnode.cxx:342 |
Medium |
V519 |
The 'mbResolvingLink' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 340, 342. |
General Analysis |
svggradientnode.cxx:363 |
Medium |
V519 |
The 'mbResolvingLink' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 361, 363. |
General Analysis |
svggradientnode.cxx:384 |
Medium |
V519 |
The 'mbResolvingLink' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 382, 384. |
General Analysis |
svggradientnode.cxx:405 |
Medium |
V519 |
The 'mbResolvingLink' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 403, 405. |
General Analysis |
svggradientnode.cxx:426 |
Medium |
V519 |
The 'mbResolvingLink' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 424, 426. |
General Analysis |
svggradientnode.cxx:447 |
Medium |
V519 |
The 'mbResolvingLink' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 445, 447. |
General Analysis |
svggradientnode.cxx:468 |
Medium |
V519 |
The 'mbResolvingLink' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 466, 468. |
General Analysis |
svgsvgnode.cxx:552 |
Medium |
V547 |
Expression 'getViewBox()' is always true. |
General Analysis |
svgsvgnode.cxx:549 |
Medium |
V547 |
Expression 'getViewBox()' is always true. |
General Analysis |
svgsvgnode.cxx:550 |
Medium |
V547 |
Expression 'getViewBox()' is always true. |
General Analysis |
svgsvgnode.cxx:551 |
Medium |
V547 |
Expression 'getViewBox()' is always true. |
General Analysis |
cryptosign.cxx:1624 |
Medium |
V506 |
Pointer to local variable 'aTimestampAttribute' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
fsfactory.cxx:73 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
fsfactory.cxx:152 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
fsstorage.cxx:448 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:341 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:1147 |
Medium |
V524 |
It is odd that the body of 'removeVetoableChangeListener' function is fully equivalent to the body of 'addVetoableChangeListener' function. |
General Analysis |
fsstorage.cxx:1121 |
Medium |
V524 |
It is odd that the body of 'removePropertyChangeListener' function is fully equivalent to the body of 'addPropertyChangeListener' function. |
General Analysis |
fsstorage.cxx:1286 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:491 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
fsstorage.cxx:1236 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
fsstorage.cxx:1001 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:956 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:901 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:848 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:679 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:659 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:643 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:627 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:534 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:396 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
fsstorage.cxx:1170 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:297 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
fsstorage.cxx:755 |
Medium |
V547 |
Expression '!GetContent()' is always false. |
General Analysis |
oinputstreamcontainer.cxx:48 |
Medium |
V547 |
Expression 'pTypeCollection == nullptr' is always true. |
General Analysis |
ostreamcontainer.cxx:144 |
Medium |
V547 |
Expression 'm_pTypeCollection == nullptr' is always true. |
General Analysis |
ostreamcontainer.cxx:58 |
Medium |
V773 |
The 'm_pTypeCollection' pointer was not released in destructor. A memory leak is possible. |
General Analysis |
macitem.cxx:70 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rTbl'. |
General Analysis |
stylepool.cxx:311 |
Medium |
V614 |
The 'pReturn' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. |
General Analysis |
stylepool.cxx:258 |
Medium |
V614 |
The 'pReturn' smart pointer is utilized immediately after being declared or reset. It is suspicious that no value was assigned to it. |
General Analysis |
strmadpt.cxx:528 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'm_pFirstPage'. Check lines: 528, 525. |
General Analysis |
strmadpt.cxx:598 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pNew'. Check lines: 598, 595. |
General Analysis |
zforfind.cxx:1756 |
Medium |
V560 |
A part of conditional expression is always false: nDay > 32. |
General Analysis |
zforlist.cxx:3365 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
zforlist.cxx:3416 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
zforlist.cxx:3384 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
zforlist.cxx:3349 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
zforlist.cxx:3915 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
zforlist.cxx:3674 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
zformat.cxx:4790 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
zforscan.cxx:1039 |
Medium |
V560 |
A part of conditional expression is always true: eState != SsStop. |
General Analysis |
passwordcontainer.hxx:98 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &aRecord'. |
General Analysis |
ddesvr.cxx:595 |
Medium |
V668 |
There is no sense in testing the 's' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
ddesvr.cxx:788 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
brwbox1.cxx:263 |
Medium |
V1023 |
A pointer without owner is added to the 'mvCols' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
brwbox2.cxx:456 |
Medium |
V560 |
A part of conditional expression is always true: !bMultiSelection. |
General Analysis |
extcolorcfg.cxx:493 |
Medium |
V560 |
A part of conditional expression is always true: ExtendedColorConfig::m_pImpl. |
General Analysis |
imivctl1.cxx:811 |
Medium |
V560 |
A part of conditional expression is always true: pEntry. |
General Analysis |
imivctl1.cxx:2523 |
Medium |
V560 |
A part of conditional expression is always true: bAdd. |
General Analysis |
imivctl1.cxx:2612 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
imivctl1.cxx:2640 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
imivctl1.cxx:3174 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 3162, 3174. |
General Analysis |
imivctl2.cxx:40 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
imivctl2.cxx:122 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
imivctl2.cxx:198 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
svimpbox.cxx:2193 |
Medium |
V560 |
A part of conditional expression is always true: pCursor. |
General Analysis |
svimpbox.cxx:2224 |
Medium |
V560 |
A part of conditional expression is always true: pCursor. |
General Analysis |
svimpbox.cxx:2399 |
Medium |
V547 |
Expression 'pCursor' is always true. |
General Analysis |
svimpbox.cxx:2427 |
Medium |
V547 |
Expression 'pCursor' is always true. |
General Analysis |
treelistbox.cxx:3243 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
treelistbox.cxx:3351 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
treelistbox.cxx:3335 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
treelistbox.cxx:1199 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!g_pDDTarget' and 'g_pDDTarget'. |
General Analysis |
treelistbox.cxx:2681 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
treelistbox.cxx:2691 |
Medium |
V547 |
Expression 'nCurItem < nItemCount' is always true. |
General Analysis |
treelistbox.cxx:3046 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
treelistbox.cxx:3215 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
treelistentry.cxx:100 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'Clone' function. |
General Analysis |
ctrlbox.cxx:1759 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ctrlbox.cxx:1732 |
Medium |
V1023 |
A pointer without owner is added to the 'm_vLineList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
ctrlbox.cxx:574 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ctrlbox.cxx:535 |
Medium |
V1023 |
A pointer without owner is added to the 'm_vLineList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
ctrlbox.cxx:164 |
Medium |
V560 |
A part of conditional expression is always true: !bLine2Change. |
General Analysis |
ctrlbox.cxx:157 |
Medium |
V560 |
A part of conditional expression is always true: !bLine1Change. |
General Analysis |
ctrlbox.cxx:1225 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: nRelMin, nRelMax, nRelStep, nPtRelMin, nPtRelMax, nPtRelStep. |
General Analysis |
ctrltool.cxx:321 |
Medium |
V774 |
The 'pNewInfo' pointer was used after the memory was released. |
General Analysis |
headbar.cxx:910 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
inettbc.cxx:2040 |
Medium |
V779 |
Unreachable code detected. It is possible that an error is present. |
General Analysis |
inettbc.cxx:1454 |
Medium |
V779 |
Unreachable code detected. It is possible that an error is present. |
General Analysis |
inettbc.cxx:1378 |
Medium |
V779 |
Unreachable code detected. It is possible that an error is present. |
General Analysis |
inettbc.cxx:1276 |
Medium |
V560 |
A part of conditional expression is always false: eSmartProt != INetProtocol::NotValid. |
General Analysis |
inettbc.cxx:1466 |
Medium |
V779 |
Unreachable code detected. It is possible that an error is present. |
General Analysis |
inettbc.cxx:1155 |
Medium |
V560 |
A part of conditional expression is always true: eSmartProt == INetProtocol::NotValid. |
General Analysis |
inettbc.cxx:2118 |
Medium |
V779 |
Unreachable code detected. It is possible that an error is present. |
General Analysis |
inettbc.cxx:2002 |
Medium |
V779 |
Unreachable code detected. It is possible that an error is present. |
General Analysis |
inettbc.cxx:1555 |
Medium |
V779 |
Unreachable code detected. It is possible that an error is present. |
General Analysis |
ruler.cxx:248 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: mnStartDragPos. |
General Analysis |
ruler.cxx:425 |
Medium |
V636 |
The '(nBottom - nTop) / 2' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
toolbarmenu.cxx:384 |
Medium |
V1001 |
The 'aNew' variable is assigned but is not used by the end of the function. |
General Analysis |
valueset.cxx:2907 |
Medium |
V547 |
Expression 'nOldItem' is always true. |
General Analysis |
valueset.cxx:1817 |
Medium |
V547 |
Expression 'nOldItem' is always true. |
General Analysis |
hatchwindow.cxx:148 |
Medium |
V547 |
Expression 'pTypeCollection == nullptr' is always true. |
General Analysis |
embedhlp.cxx:219 |
Medium |
V690 |
The 'EmbeddedObjectRef_Impl' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
imagemgr.cxx:305 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
imagemgr.cxx:306 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
imagemgr.cxx:308 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
imagemgr.cxx:307 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
imap.cxx:626 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rImageMap'. |
General Analysis |
imap.cxx:932 |
Medium |
V799 |
The 'pCompat' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
imap.cxx:749 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap.cxx:646 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap.cxx:974 |
Medium |
V799 |
The 'pCompat' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
imap.cxx:745 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap.cxx:642 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap.cxx:753 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap.cxx:582 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap.cxx:578 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap.cxx:574 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap.cxx:638 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap2.cxx:257 |
Medium |
V560 |
A part of conditional expression is always true: ((cChar) != '\0'). |
General Analysis |
imap2.cxx:274 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap2.cxx:282 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap2.cxx:294 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap2.cxx:392 |
Medium |
V560 |
A part of conditional expression is always true: ((cChar) != '\0'). |
General Analysis |
imap2.cxx:409 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap2.cxx:430 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
imap2.cxx:419 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
langtab.cxx:190 |
Medium |
V1016 |
The value 'nType' is out of range of enum values. This causes unspecified or undefined behavior. |
General Analysis |
svparser.cxx:270 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 262, 270. |
General Analysis |
uiobject.cxx:200 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableContainer'. |
General Analysis |
addrtempuno.cxx:148 |
Medium |
V1019 |
Compound assignment expression 'rArguments[2] >>= sDataSourceName' is used inside condition. |
General Analysis |
addrtempuno.cxx:149 |
Medium |
V1019 |
Compound assignment expression 'rArguments[3] >>= sCommand' is used inside condition. |
General Analysis |
addrtempuno.cxx:150 |
Medium |
V1019 |
Compound assignment expression 'rArguments[4] >>= sTitle' is used inside condition. |
General Analysis |
addrtempuno.cxx:147 |
Medium |
V1019 |
Compound assignment expression 'rArguments[1] >>= xDataSource' is used inside condition. |
General Analysis |
svtxgridcontrol.cxx:314 |
Medium |
V547 |
Expression 'bVScroll' is always true. |
General Analysis |
svtxgridcontrol.cxx:305 |
Medium |
V547 |
Expression 'bHScroll' is always true. |
General Analysis |
treecontrolpeer.cxx:530 |
Medium |
V524 |
It is odd that the body of 'removeSelectionChangeListener' function is fully equivalent to the body of 'addSelectionChangeListener' function. |
General Analysis |
unoiface.cxx:581 |
Medium |
V547 |
Expression '!bValue' is always true. |
General Analysis |
unoiface.cxx:844 |
Medium |
V547 |
Expression '!bEnable' is always false. |
General Analysis |
unoiface.cxx:582 |
Medium |
V547 |
Expression '!bValue' is always true. |
General Analysis |
xpolyimp.hxx:29 |
Medium |
V690 |
The 'ImpXPolygon' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
accessibleframeselector.cxx:291 |
Medium |
V799 |
The 'pHelper' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
accessibleshape.cxx:695 |
Medium |
V519 |
The 'aColor' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 694, 695. |
General Analysis |
accessibleshape.cxx:167 |
Medium |
V560 |
A part of conditional expression is always true: pSdrObject. |
General Analysis |
childrenmanagerimpl.cxx:788 |
Medium |
V560 |
A part of conditional expression is always true: pCtlAccShape. |
General Analysis |
shapetypehandler.cxx:284 |
Medium |
V547 |
Expression 'pCustomShape' is always true. |
General Analysis |
shapetypehandler.cxx:61 |
Medium |
V547 |
Expression 'instance == nullptr' is always true. |
General Analysis |
graphichelper.cxx:317 |
Medium |
V560 |
A part of conditional expression is always false: nHeight. |
General Analysis |
graphichelper.cxx:317 |
Medium |
V560 |
A part of conditional expression is always false: nWidth. |
General Analysis |
enhancedcustomshape2d.cxx:1223 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
enhancedcustomshape2d.cxx:551 |
Medium |
V1019 |
Compound assignment expression '* pViewBox >>= aViewBox' is used inside condition. |
General Analysis |
enhancedcustomshape2d.cxx:1178 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
enhancedcustomshape2d.cxx:1632 |
Medium |
V636 |
The 'nCoordWidth / 2' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
enhancedcustomshape2d.cxx:1633 |
Medium |
V636 |
The 'nCoordHeight / 2' expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
enhancedcustomshape2d.cxx:2043 |
Medium |
V668 |
There is no sense in testing the 'pObj' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
enhancedcustomshape3d.cxx:106 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
enhancedcustomshape3d.cxx:106 |
Medium |
V1019 |
Compound assignment expression 'aDepthParaPair.First.Value >>= fDepth' is used inside condition. |
General Analysis |
enhancedcustomshape3d.cxx:106 |
Medium |
V1019 |
Compound assignment expression '* pAny >>= aDepthParaPair' is used inside condition. |
General Analysis |
enhancedcustomshape3d.cxx:93 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
enhancedcustomshape3d.cxx:93 |
Medium |
V1019 |
Compound assignment expression '* pAny >>= aSkewParaPair' is used inside condition. |
General Analysis |
enhancedcustomshape3d.cxx:80 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
enhancedcustomshape3d.cxx:69 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
enhancedcustomshape3d.cxx:69 |
Medium |
V1019 |
Compound assignment expression 'aOriginParaPair.First.Value >>= rOriginX' is used inside condition. |
General Analysis |
enhancedcustomshape3d.cxx:69 |
Medium |
V1019 |
Compound assignment expression '* pAny >>= aOriginParaPair' is used inside condition. |
General Analysis |
enhancedcustomshape3d.cxx:80 |
Medium |
V1019 |
Compound assignment expression '* pAny >>= aRotateAngleParaPair' is used inside condition. |
General Analysis |
enhancedcustomshapeengine.cxx:432 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
enhancedcustomshapeengine.cxx:331 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
enhancedcustomshapefunctionparser.cxx:201 |
Medium |
V519 |
The 'mbGettingValueGuard' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 199, 201. |
General Analysis |
enhancedcustomshapetypenames.cxx:535 |
Medium |
V547 |
Expression '!pACCHashMap' is always true. |
General Analysis |
enhancedcustomshapetypenames.cxx:280 |
Medium |
V547 |
Expression '!pHashMap' is always true. |
General Analysis |
frmsel.cxx:404 |
Medium |
V778 |
Two similar code fragments were found. Perhaps, this is a typo and 'mnLine2' variable should be used instead of 'mnLine1'. |
General Analysis |
frmsel.cxx:401 |
Medium |
V778 |
Two similar code fragments were found. Perhaps, this is a typo and 'mnLine2' variable should be used instead of 'mnLine1'. |
General Analysis |
graphctl.cxx:466 |
Medium |
V560 |
A part of conditional expression is always true: pHdl. |
General Analysis |
svxbmpnumvalueset.cxx:637 |
Medium |
V560 |
A part of conditional expression is always true: i < 5. |
General Analysis |
svxbmpnumvalueset.cxx:262 |
Medium |
V560 |
A part of conditional expression is always true: i < 5. |
General Analysis |
float3d.cxx:1007 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
float3d.cxx:958 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
float3d.cxx:1154 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
float3d.cxx:1056 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
float3d.cxx:1105 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
float3d.cxx:1203 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
float3d.cxx:1252 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
float3d.cxx:1301 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
view3d.cxx:767 |
Medium |
V668 |
There is no sense in testing the 'p3DObj' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
view3d.cxx:835 |
Medium |
V560 |
A part of conditional expression is always true: pNewObj2. |
General Analysis |
view3d.cxx:840 |
Medium |
V560 |
A part of conditional expression is always true: pNewObj1. |
General Analysis |
fmgridcl.cxx:610 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
fmgridif.cxx:737 |
Medium |
V519 |
The 'mbDesignMode' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 731, 737. |
General Analysis |
gridcell.cxx:1565 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= sText' is used inside condition. |
General Analysis |
gridctrl.cxx:852 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aVariants' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
gridctrl.cxx:2353 |
Medium |
V560 |
A part of conditional expression is always false: bAbsolute. |
General Analysis |
gridctrl.cxx:3370 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
dataaccessdescriptor.cxx:275 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &_rSource'. |
General Analysis |
filtnav.cxx:309 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFormItem'. |
General Analysis |
filtnav.cxx:815 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFormItem'. |
General Analysis |
fmcontrollayout.cxx:179 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 170, 179. |
General Analysis |
fmdmod.cxx:44 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
fmdpage.cxx:89 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
fmobj.cxx:112 |
Medium |
V547 |
Expression 'pFormModel' is always true. |
General Analysis |
fmobj.cxx:316 |
Medium |
V547 |
Expression 'pNewFormPage' is always true. |
General Analysis |
fmpgeimp.cxx:212 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pOwnObj'. |
General Analysis |
fmscriptingenv.cxx:1048 |
Medium |
V668 |
There is no sense in testing the 'pScript' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
fmscriptingenv.cxx:966 |
Medium |
V1019 |
Compound assignment expression '_rArguments[0] >>= aEvent' is used inside condition. |
General Analysis |
fmshell.cxx:763 |
Medium |
V1004 |
The 'GetViewShell()' pointer was used unsafely after it was verified against nullptr. Check lines: 754, 763. |
General Analysis |
fmshimp.cxx:935 |
Medium |
V519 |
The 'm_xLastGridFound' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 930, 935. |
General Analysis |
fmshimp.cxx:1617 |
Medium |
V1001 |
The 'aVal' variable is assigned but is not used by the end of the function. |
General Analysis |
fmshimp.cxx:3048 |
Medium |
V547 |
Expression 'bSave' is always true. |
General Analysis |
fmshimp.cxx:3608 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 3586, 3608. |
General Analysis |
fmsrcimp.cxx:630 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aControlTexts' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fmsrcimp.cxx:623 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aControlTexts' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fmsrcimp.cxx:637 |
Medium |
V1023 |
A pointer without owner is added to the 'm_aControlTexts' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fmvwimp.cxx:1403 |
Medium |
V560 |
A part of conditional expression is always true: !pOutDev. |
General Analysis |
fmvwimp.cxx:1252 |
Medium |
V560 |
A part of conditional expression is always true: !pOutDev. |
General Analysis |
formcontrolfactory.cxx:538 |
Medium |
V547 |
Expression 'bDosLineEnds' is always false. |
General Analysis |
formcontroller.cxx:2162 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!bLocked' and 'bLocked'. |
General Analysis |
formcontrolling.cxx:83 |
Medium |
V547 |
Expression 's_aFeatureDescriptions.empty()' is always true. |
General Analysis |
formcontrolling.cxx:493 |
Medium |
V560 |
A part of conditional expression is always true: !bInsertOnlyForm. |
General Analysis |
navigatortree.cxx:402 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
navigatortree.cxx:664 |
Medium |
V547 |
Expression 'pEntry' is always true. |
General Analysis |
navigatortree.cxx:723 |
Medium |
V560 |
A part of conditional expression is always false: !_pTargetEntry. |
General Analysis |
galexpl.cxx:216 |
Medium |
V560 |
A part of conditional expression is always false: bRet. |
General Analysis |
gallery1.cxx:659 |
Medium |
V656 |
Variables 'aSdvURL', 'aStrURL' are initialized through the call to the same function. It's probably an error or un-optimized code. Consider inspecting the 'pThm->GetSdvURL()' expression. Check lines: 658, 659. |
General Analysis |
gallery1.cxx:445 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 417, 445. |
General Analysis |
fmexpl.hxx:136 |
Medium |
V690 |
The 'FmEntryData' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
customshapeitem.cxx:183 |
Medium |
V547 |
Expression 'pSeqAny' is always true. |
General Analysis |
customshapeitem.cxx:213 |
Medium |
V547 |
Expression 'pSeqAny' is always true. |
General Analysis |
numfmtsh.cxx:1059 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
numfmtsh.cxx:955 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
numfmtsh.cxx:822 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
numfmtsh.cxx:1352 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
numfmtsh.cxx:1384 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
numfmtsh.cxx:1422 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
numfmtsh.cxx:1448 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
numfmtsh.cxx:1541 |
Medium |
V547 |
Expression 'pTmpCurrencyEntry != nullptr' is always true. |
General Analysis |
numfmtsh.cxx:1533 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
numfmtsh.cxx:1501 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
smarttagmenu.cxx:66 |
Medium |
V1019 |
Compound assignment expression 'rEvent.State >>= aProperties' is used inside condition. |
General Analysis |
viewcontactofe3dscene.cxx:122 |
Medium |
V560 |
A part of conditional expression is always true: o_pVisibleTarget. |
General Analysis |
viewobjectcontactofsdrole2obj.cxx:59 |
Medium |
V560 |
A part of conditional expression is always true: !bDone. |
General Analysis |
viewobjectcontactofunocontrol.cxx:1554 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1551, 1554. |
General Analysis |
sdrattributecreator.cxx:655 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 645, 655. |
General Analysis |
sdrmeasureprimitive2d.cxx:356 |
Medium |
V636 |
The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
sdrmeasureprimitive2d.cxx:390 |
Medium |
V636 |
The expression was implicitly cast from 'int' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
linepropertypanelbase.cxx:807 |
Medium |
V560 |
A part of conditional expression is always true: mpDashItem. |
General Analysis |
linepropertypanelbase.cxx:720 |
Medium |
V560 |
A part of conditional expression is always true: nVal > 19. |
General Analysis |
linepropertypanelbase.cxx:722 |
Medium |
V560 |
A part of conditional expression is always true: nVal > 26. |
General Analysis |
linepropertypanelbase.cxx:724 |
Medium |
V560 |
A part of conditional expression is always true: nVal > 37. |
General Analysis |
linepropertypanelbase.cxx:795 |
Medium |
V547 |
Expression 'mpStyleItem' is always true. |
General Analysis |
linepropertypanelbase.cxx:718 |
Medium |
V560 |
A part of conditional expression is always true: nVal > 12. |
General Analysis |
linepropertypanelbase.cxx:843 |
Medium |
V560 |
A part of conditional expression is always true: mpStartItem. |
General Analysis |
linepropertypanelbase.cxx:872 |
Medium |
V560 |
A part of conditional expression is always true: mpEndItem. |
General Analysis |
linepropertypanelbase.cxx:714 |
Medium |
V560 |
A part of conditional expression is always true: nVal > 6. |
General Analysis |
linepropertypanelbase.cxx:716 |
Medium |
V560 |
A part of conditional expression is always true: nVal > 9. |
General Analysis |
nbdtmg.cxx:713 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
nbdtmg.cxx:639 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
nbdtmg.cxx:556 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
nbdtmg.cxx:457 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
nbdtmg.cxx:486 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
nbdtmg.cxx:541 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
parapropertypanel.cxx:149 |
Medium |
V519 |
The 'm_eLRSpaceUnit' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 148, 149. |
General Analysis |
pszctrl.cxx:358 |
Medium |
V547 |
Expression 'nSelect' is always true. |
General Analysis |
charthelper.cxx:133 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 129, 133. |
General Analysis |
svddrgmt.cxx:171 |
Medium |
V547 |
Expression '!mpClone' is always true. |
General Analysis |
svddrgv.cxx:215 |
Medium |
V519 |
The 'mbDragLimit' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 210, 215. |
General Analysis |
svdedtv.cxx:462 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 459, 462. |
General Analysis |
svdedtv.cxx:387 |
Medium |
V560 |
A part of conditional expression is always true: !bMoveProtect. |
General Analysis |
svdedtv2.cxx:1988 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1987, 1988. |
General Analysis |
svdedtv2.cxx:2081 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pOle2'. |
General Analysis |
svdedxv.cxx:1696 |
Medium |
V560 |
A part of conditional expression is always true: pOLV != nullptr. |
General Analysis |
svdedxv.cxx:1482 |
Medium |
V560 |
A part of conditional expression is always true: pTEObj != nullptr. |
General Analysis |
svdedxv.cxx:1465 |
Medium |
V560 |
A part of conditional expression is always true: pTEObj. |
General Analysis |
svdhdl.cxx:2097 |
Medium |
V547 |
Expression 'pNew' is always true. |
General Analysis |
svdhdl.cxx:2403 |
Medium |
V668 |
There is no sense in testing the 'pOverlayObject' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
svdibrow.cxx:209 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: nCurrentPaintRow. |
General Analysis |
svdibrow.cxx:536 |
Medium |
V1023 |
A pointer without owner is added to the 'aList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdlayer.cxx:143 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rSrcLayerAdmin'. |
General Analysis |
svdmark.cxx:297 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdmark.cxx:277 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdmark.cxx:219 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rLst'. |
General Analysis |
svdmark.cxx:225 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdmark.cxx:414 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
svdmodel.cxx:1303 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
svdmodel.cxx:1293 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
svdmrkv.cxx:1383 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1382, 1383. |
General Analysis |
svdmrkv.cxx:652 |
Medium |
V560 |
A part of conditional expression is always true: mpMarkedObj. |
General Analysis |
svdmrkv.cxx:858 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 853, 858. |
General Analysis |
svdoashp.cxx:1730 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
svdoashp.cxx:181 |
Medium |
V1019 |
Compound assignment expression '* pAny >>= sShapeType' is used inside condition. |
General Analysis |
svdoashp.cxx:903 |
Medium |
V1019 |
Compound assignment expression '* pViewBox >>= aViewBox' is used inside condition. |
General Analysis |
svdoashp.cxx:3115 |
Medium |
V1019 |
Compound assignment expression '* pAny >>= sShapeType' is used inside condition. |
General Analysis |
svdoashp.cxx:1094 |
Medium |
V1019 |
Compound assignment expression '* pViewBox >>= aViewBox' is used inside condition. |
General Analysis |
svdoedge.cxx:220 |
Medium |
V560 |
A part of conditional expression is always true: n < 3. |
General Analysis |
svdoedge.cxx:214 |
Medium |
V560 |
A part of conditional expression is always true: n < 3. |
General Analysis |
svdoedge.cxx:208 |
Medium |
V560 |
A part of conditional expression is always true: n < 3. |
General Analysis |
svdoedge.cxx:278 |
Medium |
V560 |
A part of conditional expression is always true: n < 3. |
General Analysis |
svdoedge.cxx:284 |
Medium |
V560 |
A part of conditional expression is always true: n < 3. |
General Analysis |
svdoedge.cxx:290 |
Medium |
V560 |
A part of conditional expression is always true: n < 3. |
General Analysis |
svdograf.cxx:370 |
Medium |
V560 |
A part of conditional expression is always true: (GraphicType::NONE != eType). |
General Analysis |
svdomeas.cxx:246 |
Medium |
V560 |
A part of conditional expression is always true: rInfo.bCanConvToPoly. |
General Analysis |
svdpagv.cxx:876 |
Medium |
V547 |
Expression 'pLastGroup' is always true. |
General Analysis |
svdpagv.cxx:845 |
Medium |
V547 |
Expression 'pLastGroup' is always true. |
General Analysis |
svdview.cxx:404 |
Medium |
V519 |
The 'pObjTmp' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 403, 404. |
General Analysis |
svdview.cxx:662 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions 'bAlt' and '!bAlt'. |
General Analysis |
cell.cxx:793 |
Medium |
V547 |
Expression 'pTextObject == nullptr' is always true. |
General Analysis |
svdotable.cxx:188 |
Medium |
V690 |
The 'SdrTableObjImpl' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
svdotable.cxx:587 |
Medium |
V560 |
A part of conditional expression is always true: (nEdge >= 0). |
General Analysis |
svdotable.cxx:609 |
Medium |
V560 |
A part of conditional expression is always true: (nEdge >= 0). |
General Analysis |
svdotable.cxx:640 |
Medium |
V560 |
A part of conditional expression is always true: (nEdge >= 0). |
General Analysis |
svdotable.cxx:1175 |
Medium |
V547 |
Expression 'nX >= 0' is always true. |
General Analysis |
svdotable.cxx:1222 |
Medium |
V547 |
Expression 'nY >= 0' is always true. |
General Analysis |
svdotable.cxx:2024 |
Medium |
V560 |
A part of conditional expression is always true: pModeItem. |
General Analysis |
tablecontroller.cxx:310 |
Medium |
V560 |
A part of conditional expression is always false: !pWindow. |
General Analysis |
tablecontroller.cxx:1600 |
Medium |
V560 |
A part of conditional expression is always true: pOLV. |
General Analysis |
tablecontroller.cxx:2897 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
tabledesign.cxx:647 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
tablelayouter.cxx:703 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
tablemodel.cxx:981 |
Medium |
V547 |
Expression 'nCol > 0' is always true. |
General Analysis |
tablemodel.cxx:1018 |
Medium |
V547 |
Expression 'nRow > 0' is always true. |
General Analysis |
tableundo.cxx:414 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: maRedoData. |
General Analysis |
palettemanager.cxx:59 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tbcontrl.cxx:2303 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tbcontrl.cxx:3474 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tbcontrl.cxx:1952 |
Medium |
V1019 |
Compound assignment expression 'rEvent.State >>= aTable' is used inside condition. |
General Analysis |
tbunosearchcontrollers.cxx:123 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 121, 123. |
General Analysis |
extrusionbar.cxx:418 |
Medium |
V614 |
Potentially uninitialized variable 'fLevel2' used. |
General Analysis |
extrusionbar.cxx:158 |
Medium |
V1019 |
Compound assignment expression '* pAny >>= aRotateAnglePropPair' is used inside condition. |
General Analysis |
extrusionbar.cxx:398 |
Medium |
V614 |
Potentially uninitialized variable 'fBrightness' used. |
General Analysis |
extrusionbar.cxx:414 |
Medium |
V614 |
Potentially uninitialized variable 'fLevel1' used. |
General Analysis |
extrusionbar.cxx:463 |
Medium |
V547 |
Expression '!pStrResId' is always true. |
General Analysis |
fontworkbar.cxx:508 |
Medium |
V547 |
Expression '!pStrResId' is always true. |
General Analysis |
uiobject.cxx:61 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pCharSetWin'. |
General Analysis |
gluepts.cxx:264 |
Medium |
V1019 |
Compound assignment expression 'aElement >>= aGluePoint' is used inside condition. |
General Analysis |
unomod.cxx:358 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unomod.cxx:618 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unomod.cxx:620 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unomod.cxx:213 |
Medium |
V1019 |
Compound assignment expression 'Arguments[0] >>= arg' is used inside condition. |
General Analysis |
unopool.cxx:105 |
Medium |
V560 |
A part of conditional expression is always true: pStretchItem. |
General Analysis |
unopool.cxx:101 |
Medium |
V560 |
A part of conditional expression is always true: pTileItem. |
General Analysis |
unoshap3.cxx:130 |
Medium |
V547 |
Expression 'pShape' is always true. |
General Analysis |
unoshape.cxx:1993 |
Medium |
V614 |
Potentially uninitialized variable 'eKind' used. |
General Analysis |
unoshape.cxx:2317 |
Medium |
V1019 |
Compound assignment expression 'rValue >>= aUnoPoint' is used inside condition. |
General Analysis |
unoshape.cxx:2789 |
Medium |
V560 |
A part of conditional expression is always true: pTileItem. |
General Analysis |
unoshape.cxx:2793 |
Medium |
V560 |
A part of conditional expression is always true: pStretchItem. |
General Analysis |
unoshtxt.cxx:420 |
Medium |
V571 |
Recurring check. The 'mpView' condition was already verified in line 417. |
General Analysis |
unoshtxt.cxx:420 |
Medium |
V560 |
A part of conditional expression is always true: mpView. |
General Analysis |
unoshtxt.cxx:210 |
Medium |
V547 |
Expression 'mpModel' is always true. |
General Analysis |
unoshtxt.cxx:767 |
Medium |
V560 |
A part of conditional expression is always true: pTextObj. |
General Analysis |
unoshtxt.cxx:556 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextObj'. |
General Analysis |
xmlgrhlp.cxx:336 |
Medium |
V668 |
There is no sense in testing the 'pDest' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
_xoutbmp.cxx:333 |
Medium |
V560 |
A part of conditional expression is always true: ((sal_uInt16(0xFFFF)) != nFilter). |
General Analysis |
xattr.cxx:1457 |
Medium |
V547 |
Expression 'pPool1' is always true. |
General Analysis |
xattr.cxx:1357 |
Medium |
V560 |
A part of conditional expression is always true: pPool1. |
General Analysis |
xattr.cxx:1203 |
Medium |
V547 |
Expression 'pPool1' is always true. |
General Analysis |
xattr.cxx:1103 |
Medium |
V560 |
A part of conditional expression is always true: pPool1. |
General Analysis |
xattr2.cxx:274 |
Medium |
V547 |
Expression 'pId' is always true. |
General Analysis |
xexch.cxx:122 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rData'. |
General Analysis |
authfld.hxx:30 |
Medium |
V690 |
The 'SwAuthEntry' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
docstyle.hxx:45 |
Medium |
V690 |
The 'SwDocStyleSheet' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
fldbas.hxx:393 |
Medium |
V690 |
The 'SwValueFieldType' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
hints.hxx:197 |
Medium |
V690 |
The 'SwAttrSetChg' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
redline.hxx:106 |
Medium |
V690 |
The 'SwRedlineData' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
redline.hxx:171 |
Medium |
V690 |
The 'SwRangeRedline' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
shellres.hxx:93 |
Medium |
V1004 |
The 'pAutoFormatNameLst' pointer was used unsafely after it was verified against nullptr. Check lines: 91, 93. |
General Analysis |
viscrs.hxx:113 |
Medium |
V690 |
The 'SwShellCursor' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
macros-test.cxx:528 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
globalfilter.cxx:847 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
globalfilter.cxx:290 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
globalfilter.cxx:170 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
htmlimport.cxx:114 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
htmlimport.cxx:58 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
htmlimport.cxx:199 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
htmlimport.cxx:75 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
htmlimport.cxx:219 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
htmlimport.cxx:239 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
swmodeltestbase.hxx:386 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
swmodeltestbase.hxx:363 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
layout.cxx:69 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:495 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:362 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:509 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:544 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:564 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pMMTextDoc'. |
General Analysis |
mailmerge.cxx:594 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:614 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:622 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDocMM'. |
General Analysis |
mailmerge.cxx:58 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:695 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:792 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:820 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:844 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:871 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:768 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
mailmerge.cxx:329 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
odfimport.cxx:641 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
odfimport.cxx:622 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
odfimport.cxx:547 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
odfimport.cxx:659 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ooxmlexport10.cxx:1113 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ooxmlexport11.cxx:570 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ooxmlexport7.cxx:1013 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ooxmlexport9.cxx:104 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ooxmlexport9.cxx:703 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
txtexport.cxx:113 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
uiwriter.cxx:4746 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXTextDocument'. |
General Analysis |
uiwriter.cxx:6115 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pField'. |
General Analysis |
uiwriter.cxx:6105 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
uiwriter.cxx:4795 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXTextDocument'. |
General Analysis |
uiwriter.cxx:4771 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXTextDocument'. |
General Analysis |
uiwriter.cxx:4587 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
uiwriter.cxx:4125 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXTextDocument'. |
General Analysis |
uiwriter.cxx:2248 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
uiwriter.cxx:2187 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
uiwriter.cxx:566 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
uiwriter.cxx:6233 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
uiwriter2.cxx:150 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
uiwriter2.cxx:111 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
uiwriter2.cxx:78 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
uiwriter2.cxx:44 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ww8export.cxx:1173 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ww8export.cxx:104 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ww8export.cxx:1197 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ww8export2.cxx:115 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ww8export2.cxx:357 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ww8export2.cxx:367 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
ww8import.cxx:95 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextDoc'. |
General Analysis |
accframebase.cxx:78 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 74, 78. |
General Analysis |
accfrmobj.cxx:253 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pContact'. |
General Analysis |
accmap.cxx:3147 |
Medium |
V560 |
A part of conditional expression is always true: pCtlAccShape. |
General Analysis |
accpara.cxx:3274 |
Medium |
V774 |
The 'pCursor' pointer was used after the memory was released. |
General Analysis |
accpara.cxx:1512 |
Medium |
V560 |
A part of conditional expression is always true: subType == 0. |
General Analysis |
accpara.cxx:364 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 360, 364. |
General Analysis |
calbck.cxx:86 |
Medium |
V560 |
A part of conditional expression is always false: !pDead. |
General Analysis |
swatrset.cxx:380 |
Medium |
V547 |
Expression '!tmpSet' is always true. |
General Analysis |
swatrset.cxx:331 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
swatrset.cxx:307 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFormat'. |
General Analysis |
calc.cxx:995 |
Medium |
V1016 |
Expression 'eSbxOper <= SbxGE' is always true. |
General Analysis |
calc.cxx:862 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
swrect.cxx:194 |
Medium |
V524 |
It is odd that the body of 'OverStepRight' function is fully equivalent to the body of 'OverStepLeft' function. |
General Analysis |
swregion.cxx:62 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
annotationmark.cxx:64 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pPostItField'. |
General Analysis |
crsrsh.cxx:172 |
Medium |
V773 |
The return value of function 'CreateCursor' is required to be utilized. A memory leak is possible. |
General Analysis |
crsrsh.cxx:1628 |
Medium |
V560 |
A part of conditional expression is always true: pTableFrame. |
General Analysis |
crsrsh.cxx:1896 |
Medium |
V560 |
A part of conditional expression is always true: pFrame. |
General Analysis |
crstrvl.cxx:1362 |
Medium |
V560 |
A part of conditional expression is always true: pTextNd. |
General Analysis |
crstrvl.cxx:953 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextInputField'. |
General Analysis |
crstrvl.cxx:961 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextInputField'. |
General Analysis |
crstrvl.cxx:1251 |
Medium |
V560 |
A part of conditional expression is always true: !bRet. |
General Analysis |
swcrsr.cxx:2244 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'Create' function. |
General Analysis |
swcrsr.cxx:1834 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableCursor'. |
General Analysis |
trvltbl.cxx:819 |
Medium |
V560 |
A part of conditional expression is always true: m_pBoxPtr. |
General Analysis |
trvltbl.cxx:819 |
Medium |
V560 |
A part of conditional expression is always true: m_pBoxIdx. |
General Analysis |
docbm.cxx:884 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFieldMark'. |
General Analysis |
docfly.cxx:1060 |
Medium |
V560 |
A part of conditional expression is always true: !pSttNd. |
General Analysis |
docfmt.cxx:361 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'FormatToTextAttr' function. |
General Analysis |
docfmt.cxx:365 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'FormatToTextAttr' function. |
General Analysis |
docfmt.cxx:389 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'FormatToTextAttr' function. |
General Analysis |
docfmt.cxx:385 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'FormatToTextAttr' function. |
General Analysis |
docnum.cxx:2105 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
docnum.cxx:2175 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
docnum.cxx:2266 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
docnum.cxx:1107 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
docredln.cxx:243 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableRowRedline'. |
General Analysis |
docredln.cxx:290 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableCellRedline'. |
General Analysis |
docredln.cxx:1430 |
Medium |
V560 |
A part of conditional expression is always true: pCSttNd. |
General Analysis |
docsort.cxx:461 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 450, 461. |
General Analysis |
doctxm.cxx:1549 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
doctxm.cxx:971 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
documentcontentoperationsmanager.cxx:1173 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1144, 1173. |
General Analysis |
documentcontentoperationsmanager.cxx:451 |
Medium |
V560 |
A part of conditional expression is always true: pTextNd. |
General Analysis |
documentfieldsmanager.cxx:1354 |
Medium |
V560 |
A part of conditional expression is always true: pFormatField. |
General Analysis |
documentlinksadministrationmanager.cxx:71 |
Medium |
V560 |
A part of conditional expression is always true: pLnk. |
General Analysis |
documentredlinemanager.cxx:654 |
Medium |
V547 |
Expression 'pFnc' is always true. |
General Analysis |
htmltbl.cxx:1035 |
Medium |
V571 |
Recurring check. The 'pColumn->GetWidthOption()' condition was already verified in line 1033. |
General Analysis |
swserv.cxx:246 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'IsRecursion' function. |
General Analysis |
swserv.cxx:235 |
Medium |
V560 |
A part of conditional expression is always true: pLnk. |
General Analysis |
tblcpy.cxx:367 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblcpy.cxx:317 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblcpy.cxx:370 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:1310 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:1322 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:1379 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:96 |
Medium |
V690 |
The 'CR_SetBoxWidth' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
tblrwcl.cxx:1396 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:1427 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:1467 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:1528 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:1440 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:3577 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:190 |
Medium |
V690 |
The 'CR_SetLineHeight' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
tblrwcl.cxx:3712 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
tblrwcl.cxx:3701 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
textboxhelper.cxx:69 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextFrame'. |
General Analysis |
ndcopy.cxx:176 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ndtbl.cxx:3121 |
Medium |
V506 |
Pointer to local variable 'sNewTableNm' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
ndtbl.cxx:305 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
node.cxx:1811 |
Medium |
V560 |
A part of conditional expression is always true: pBox. |
General Analysis |
node.cxx:1764 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
section.cxx:1392 |
Medium |
V1019 |
Compound assignment expression 'rValue >>= aSeq' is used inside condition. |
General Analysis |
section.cxx:1138 |
Medium |
V560 |
A part of conditional expression is always true: pLnk. |
General Analysis |
section.cxx:1109 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSectLnk->GetSectNode()'. |
General Analysis |
section.cxx:600 |
Medium |
V560 |
A part of conditional expression is always true: pBLnk. |
General Analysis |
swbaslnk.cxx:176 |
Medium |
V560 |
A part of conditional expression is always true: bUpdate. |
General Analysis |
swbaslnk.cxx:106 |
Medium |
V1019 |
Compound assignment expression 'rValue >>= sState' is used inside condition. |
General Analysis |
swbaslnk.cxx:288 |
Medium |
V560 |
A part of conditional expression is always false: !GetObj(). |
General Analysis |
swbaslnk.cxx:242 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
dview.cxx:636 |
Medium |
V560 |
A part of conditional expression is always true: !bMovedForward. |
General Analysis |
dview.cxx:961 |
Medium |
V547 |
Expression 'pMarkView' is always true. |
General Analysis |
acorrect.cxx:489 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'FormatToTextAttr' function. |
General Analysis |
autofmt.cxx:2088 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
autofmt.cxx:2420 |
Medium |
V560 |
A part of conditional expression is always true: !m_bEnd. |
General Analysis |
autofmt.cxx:2446 |
Medium |
V560 |
A part of conditional expression is always true: !m_bEnd. |
General Analysis |
edfcol.cxx:2230 |
Medium |
V560 |
A part of conditional expression is always true: pRule. |
General Analysis |
edfcol.cxx:2220 |
Medium |
V560 |
A part of conditional expression is always true: pRule. |
General Analysis |
edtox.cxx:162 |
Medium |
V560 |
A part of conditional expression is always true: pTOX. |
General Analysis |
fldbas.cxx:172 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
fldbas.cxx:276 |
Medium |
V524 |
It is odd that the body of 'GetPar2' function is fully equivalent to the body of 'GetPar1' function. |
General Analysis |
fefly1.cxx:588 |
Medium |
V799 |
The 'pHandleAnchorNodeChg' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
fefly1.cxx:987 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
feshview.cxx:558 |
Medium |
V799 |
The 'pHandleAnchorNodeChg' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
feshview.cxx:1544 |
Medium |
V560 |
A part of conditional expression is always true: pFilter. |
General Analysis |
feshview.cxx:345 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
feshview.cxx:1396 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
tblsel.cxx:301 |
Medium |
V560 |
A part of conditional expression is always true: bTableIsValid. |
General Analysis |
tblsel.cxx:509 |
Medium |
V560 |
A part of conditional expression is always true: bValidChartSel. |
General Analysis |
tblsel.cxx:509 |
Medium |
V560 |
A part of conditional expression is always true: bTableIsValid. |
General Analysis |
mvsave.hxx:145 |
Medium |
V690 |
The 'ZSortFly' class implements the '=' operator, but lacks a copy constructor. It is dangerous to use such a class. |
General Analysis |
tabfrm.hxx:30 |
Medium |
V690 |
The 'SwTabFrame' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
textapi.hxx:34 |
Medium |
V690 |
Copy constructor is declared as private in the 'SwTextAPIEditSource' class, but the default '=' operator will still be generated by compiler. It is dangerous to use such a class. |
General Analysis |
txtfly.hxx:121 |
Medium |
V690 |
The 'SwTextFly' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
anchoreddrawobject.cxx:192 |
Medium |
V774 |
The 'pNewObjPos' pointer was used after the memory was released. |
General Analysis |
atrfrm.cxx:1540 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rAnchor'. |
General Analysis |
atrfrm.cxx:828 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rCpy'. |
General Analysis |
calcmove.cxx:1728 |
Medium |
V560 |
A part of conditional expression is always true: bMoveable. |
General Analysis |
findfrm.cxx:387 |
Medium |
V560 |
A part of conditional expression is always true: p. |
General Analysis |
flowfrm.cxx:2337 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
flycnt.cxx:305 |
Medium |
V774 |
The 'pNewObjPos' pointer was used after the memory was released. |
General Analysis |
flylay.cxx:126 |
Medium |
V560 |
A part of conditional expression is always true: GetAnchorFrame(). |
General Analysis |
frmtool.cxx:2592 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'InvalidatePage' function. |
General Analysis |
ftnfrm.cxx:2219 |
Medium |
V1004 |
The 'pFootnoteFrame' pointer was used unsafely after it was verified against nullptr. Check lines: 2183, 2219. |
General Analysis |
ftnfrm.cxx:1349 |
Medium |
V560 |
A part of conditional expression is always true: pLastSib. |
General Analysis |
hffrm.cxx:718 |
Medium |
V560 |
A part of conditional expression is always true: pLay. |
General Analysis |
newfrm.cxx:517 |
Medium |
V1004 |
The 'pPg' pointer was used unsafely after it was verified against nullptr. Check lines: 515, 517. |
General Analysis |
paintfrm.cxx:2282 |
Medium |
V560 |
A part of conditional expression is always true: mnEndPos >= rNew.mnEndPos. |
General Analysis |
paintfrm.cxx:6494 |
Medium |
V1004 |
The 'pObj' pointer was used unsafely after it was verified against nullptr. Check lines: 6471, 6494. |
General Analysis |
sectfrm.cxx:2168 |
Medium |
V560 |
A part of conditional expression is always true: nDist. |
General Analysis |
sectfrm.cxx:598 |
Medium |
V560 |
A part of conditional expression is always true: p. |
General Analysis |
tabfrm.cxx:5212 |
Medium |
V560 |
A part of conditional expression is always true: pNew. |
General Analysis |
tabfrm.cxx:2327 |
Medium |
V560 |
A part of conditional expression is always true: !bDontSplit. |
General Analysis |
tabfrm.cxx:5203 |
Medium |
V560 |
A part of conditional expression is always true: pNew. |
General Analysis |
tabfrm.cxx:5141 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
tabfrm.cxx:2437 |
Medium |
V560 |
A part of conditional expression is always true: nUnSplitted > 0. |
General Analysis |
tabfrm.cxx:5220 |
Medium |
V560 |
A part of conditional expression is always true: pNew. |
General Analysis |
trvlfrm.cxx:70 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
trvlfrm.cxx:856 |
Medium |
V560 |
A part of conditional expression is always true: pCnt. |
General Analysis |
trvlfrm.cxx:362 |
Medium |
V547 |
Expression 'bRet' is always true. |
General Analysis |
trvlfrm.cxx:266 |
Medium |
V560 |
A part of conditional expression is always false: !bTextRet. |
General Analysis |
trvlfrm.cxx:219 |
Medium |
V649 |
There are two 'if' statements with identical conditional expressions. The first 'if' statement contains function return. This means that the second 'if' statement is senseless. Check lines: 213, 219. |
General Analysis |
wsfrm.cxx:4089 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'InvalidatePage' function. |
General Analysis |
wsfrm.cxx:838 |
Medium |
V592 |
The expression was enclosed by parentheses twice: ((expression)). One pair of parentheses is unnecessary or misprint is present. |
General Analysis |
wsfrm.cxx:803 |
Medium |
V592 |
The expression was enclosed by parentheses twice: ((expression)). One pair of parentheses is unnecessary or misprint is present. |
General Analysis |
swxmltextblocks.cxx:248 |
Medium |
V1020 |
The function exited without calling the 'CloseFile' function. Check lines: 248, 237. |
General Analysis |
swnumbertree.cxx:773 |
Medium |
V560 |
A part of conditional expression is always true: pNode->GetParent(). |
General Analysis |
swnewtable.cxx:2015 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
swnewtable.cxx:1092 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
atrstck.cxx:267 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_pInitialArray. |
General Analysis |
frmcrsr.cxx:1637 |
Medium |
V547 |
Expression 'bFill' is always true. |
General Analysis |
frmcrsr.cxx:338 |
Medium |
V547 |
Expression 'bRet' is always true. |
General Analysis |
inftxt.cxx:1619 |
Medium |
V547 |
Expression 'cPos' is always true. |
General Analysis |
inftxt.hxx:140 |
Medium |
V690 |
The 'SwTextSizeInfo' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
inftxt.hxx:118 |
Medium |
V690 |
The 'SwTextInfo' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
itrform2.cxx:1390 |
Medium |
V668 |
There is no sense in testing the 'pPor' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
porfld.cxx:1063 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aPos. |
General Analysis |
porlay.cxx:1513 |
Medium |
V560 |
A part of conditional expression is always true: nHiddenStart < nEnd. |
General Analysis |
porlay.cxx:1608 |
Medium |
V560 |
A part of conditional expression is always true: nHiddenStart <= nPos. |
General Analysis |
porlay.cxx:1647 |
Medium |
V560 |
A part of conditional expression is always true: nHiddenStart <= nPos. |
General Analysis |
pormulti.cxx:891 |
Medium |
V612 |
An unconditional 'return' within a loop. |
General Analysis |
portxt.cxx:758 |
Medium |
V799 |
The 'pFontSave' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
portxt.cxx:473 |
Medium |
V560 |
A part of conditional expression is always false: !GetPortion()->GetPortion(). |
General Analysis |
txtdrop.cxx:714 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aFactor, aDescent. |
General Analysis |
txtfrm.cxx:144 |
Medium |
V612 |
An unconditional 'return' within a loop. |
General Analysis |
txtfrm.cxx:202 |
Medium |
V612 |
An unconditional 'return' within a loop. |
General Analysis |
txtfrm.cxx:279 |
Medium |
V612 |
An unconditional 'return' within a loop. |
General Analysis |
txtfrm.cxx:509 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
wrong.cxx:501 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 497, 501. |
General Analysis |
txmsrt.cxx:246 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
txmsrt.cxx:209 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
atrfld.cxx:629 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pPostItField'. |
General Analysis |
atrfld.cxx:587 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
fntcache.cxx:2556 |
Medium |
V560 |
A part of conditional expression is always true: GetShell(). |
General Analysis |
ndtxt.cxx:2374 |
Medium |
V560 |
A part of conditional expression is always true: (nHintStart >= nStartIdx). |
General Analysis |
ndtxt.cxx:4990 |
Medium |
V560 |
A part of conditional expression is always true: pHint. |
General Analysis |
ndtxt.cxx:4752 |
Medium |
V509 |
The 'dynamic_cast<T&>' operator should be located inside the try..catch block, as it could potentially generate an exception. Raising exception inside the destructor is illegal. |
General Analysis |
ndtxt.cxx:4344 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pNumRuleItem'. |
General Analysis |
swfont.cxx:891 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rFont'. |
General Analysis |
txtedt.cxx:1313 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1307, 1313. |
General Analysis |
txtedt.cxx:154 |
Medium |
V560 |
A part of conditional expression is always true: nRedlineStart < nEnd. |
General Analysis |
docundo.cxx:136 |
Medium |
V560 |
A part of conditional expression is always true: m_pView. |
General Analysis |
docundo.cxx:684 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pListAction'. |
General Analysis |
docundo.cxx:331 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pListAction'. |
General Analysis |
rolbck.cxx:639 |
Medium |
V614 |
Potentially null smart pointer 'pPam' used. |
General Analysis |
swundofmt.cxx:49 |
Medium |
V571 |
Recurring check. The 'pNew' condition was already verified in line 47. |
General Analysis |
swundofmt.cxx:49 |
Medium |
V560 |
A part of conditional expression is always true: pNew. |
General Analysis |
undel.cxx:1006 |
Medium |
V1004 |
The 'pHistory' pointer was used unsafely after it was verified against nullptr. Check lines: 1004, 1006. |
General Analysis |
undobj.cxx:229 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pContext'. |
General Analysis |
undobj.cxx:238 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pContext'. |
General Analysis |
undobj.cxx:251 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pRepeatContext'. |
General Analysis |
unins.cxx:847 |
Medium |
V547 |
Expression 'maFltr' is always true. |
General Analysis |
untbl.cxx:870 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
unobkm.cxx:693 |
Medium |
V1019 |
Compound assignment expression 'rValue >>= bChecked' is used inside condition. |
General Analysis |
unochart.cxx:654 |
Medium |
V547 |
Expression 'pTableFormat' is always true. |
General Analysis |
unochart.cxx:852 |
Medium |
V547 |
Expression 'aDataStartIdx[oi] != - 1' is always true. |
General Analysis |
unocrsrhelper.cxx:984 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 982, 984. |
General Analysis |
unodraw.cxx:775 |
Medium |
V547 |
Expression '!bFlyInCnt' is always true. |
General Analysis |
unodraw.cxx:2052 |
Medium |
V560 |
A part of conditional expression is always true: !pDoc. |
General Analysis |
unodraw.cxx:2054 |
Medium |
V560 |
A part of conditional expression is always true: !pDoc. |
General Analysis |
unodraw.cxx:2056 |
Medium |
V560 |
A part of conditional expression is always true: !pDoc. |
General Analysis |
unodraw.cxx:2060 |
Medium |
V560 |
A part of conditional expression is always true: !pDoc. |
General Analysis |
unofield.cxx:1904 |
Medium |
V668 |
There is no sense in testing the 'xField' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
unoflatpara.cxx:501 |
Medium |
V524 |
It is odd that the body of 'getLastPara' function is fully equivalent to the body of 'getFirstPara' function. |
General Analysis |
unoframe.cxx:2248 |
Medium |
V560 |
A part of conditional expression is always true: pEntry. |
General Analysis |
unoframe.cxx:2915 |
Medium |
V519 |
The 'pFrameFormat' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2914, 2915. |
General Analysis |
unoframe.cxx:2962 |
Medium |
V519 |
The 'pFrameFormat' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2961, 2962. |
General Analysis |
unoframe.cxx:3213 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unoframe.cxx:2214 |
Medium |
V560 |
A part of conditional expression is always true: pStretchItem. |
General Analysis |
unoframe.cxx:2210 |
Medium |
V560 |
A part of conditional expression is always true: pTileItem. |
General Analysis |
unoftn.cxx:457 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unoobj.cxx:1893 |
Medium |
V560 |
A part of conditional expression is always false: pEntry->nWID > ((20000 + 2400) + 199). |
General Analysis |
unoobj2.cxx:1623 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
unoobj2.cxx:591 |
Medium |
V560 |
A part of conditional expression is always true: (CursorType::TableText != m_eCursorType). |
General Analysis |
unoobj2.cxx:582 |
Medium |
V560 |
A part of conditional expression is always true: (CursorType::TableText != m_eCursorType). |
General Analysis |
unoparagraph.cxx:467 |
Medium |
V560 |
A part of conditional expression is always true: pTileItem. |
General Analysis |
unoparagraph.cxx:471 |
Medium |
V560 |
A part of conditional expression is always true: pStretchItem. |
General Analysis |
unoport.cxx:225 |
Medium |
V547 |
Expression 'pUnoCursor' is always true. |
General Analysis |
unorefmk.cxx:556 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unorefmk.cxx:579 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unosett.cxx:2094 |
Medium |
V560 |
A part of conditional expression is always true: !pNumRule. |
General Analysis |
unosett.cxx:2094 |
Medium |
V571 |
Recurring check. The '!pNumRule' condition was already verified in line 2092. |
General Analysis |
unosett.cxx:1619 |
Medium |
V560 |
A part of conditional expression is always true: !bExcept. |
General Analysis |
unosett.cxx:2036 |
Medium |
V560 |
A part of conditional expression is always true: !bExcept. |
General Analysis |
unosett.cxx:1184 |
Medium |
V560 |
A part of conditional expression is always true: !pNumRule. |
General Analysis |
unosett.cxx:1633 |
Medium |
V560 |
A part of conditional expression is always true: 0xffff != aUnoToSvxAdjust[nValue]. |
General Analysis |
unostyle.cxx:3988 |
Medium |
V560 |
A part of conditional expression is always true: pTileItem. |
General Analysis |
unostyle.cxx:2292 |
Medium |
V560 |
A part of conditional expression is always true: pStretchItem. |
General Analysis |
unostyle.cxx:2289 |
Medium |
V560 |
A part of conditional expression is always true: pTileItem. |
General Analysis |
unostyle.cxx:727 |
Medium |
V547 |
Expression 'pTableFormat' is always true. |
General Analysis |
unostyle.cxx:3992 |
Medium |
V560 |
A part of conditional expression is always true: pStretchItem. |
General Analysis |
unotbl.cxx:3565 |
Medium |
V547 |
Expression 'pFormat' is always true. |
General Analysis |
unotbl.cxx:1000 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unotbl.cxx:3106 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
unotbl.cxx:3123 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
unotext.cxx:2385 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unotext.cxx:2449 |
Medium |
V547 |
Expression 'm_pHeadFootFormat' is always true. |
General Analysis |
unotext.cxx:184 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unotext.cxx:2622 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
viewsh.cxx:400 |
Medium |
V560 |
A part of conditional expression is always true: GetWin(). |
General Analysis |
viewsh.cxx:427 |
Medium |
V586 |
The 'delete' operator is called twice for deallocation of the same memory space. |
General Analysis |
viewsh.cxx:692 |
Medium |
V547 |
Expression '!rSh.GetWin()' is always false. |
General Analysis |
fltshell.cxx:134 |
Medium |
V688 |
The 'bIsParaEnd' function argument possesses the same name as one of the class members, which can result in a confusion. |
General Analysis |
htmlatr.cxx:920 |
Medium |
V560 |
A part of conditional expression is always true: !bNoStyle. |
General Analysis |
htmlatr.cxx:692 |
Medium |
V557 |
Array overrun is possible. The value of 'nBulletGrfLvl' index could reach 255. |
General Analysis |
htmlatr.cxx:2368 |
Medium |
V560 |
A part of conditional expression is always true: nStrPos != nEnd. |
General Analysis |
htmlcss1.cxx:764 |
Medium |
V560 |
A part of conditional expression is always true: pNext. |
General Analysis |
htmlcss1.cxx:1530 |
Medium |
V547 |
Expression 'nLines > 1' is always true. |
General Analysis |
htmlform.cxx:513 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
htmlform.cxx:2454 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
htmlnumreader.cxx:518 |
Medium |
V547 |
Expression 'nLevel < MAXLEVEL' is always true. |
General Analysis |
htmlnumwriter.cxx:300 |
Medium |
V735 |
Possibly an incorrect HTML. The "</ol" closing tag was encountered, while the "</pre" tag was expected. |
General Analysis |
htmltab.cxx:856 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aFrameFormats. |
General Analysis |
htmltab.cxx:5291 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
htmltab.cxx:2776 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
htmltab.cxx:2772 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
htmltab.cxx:2446 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
htmltab.cxx:805 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
htmltabw.cxx:698 |
Medium |
V560 |
A part of conditional expression is always true: pFrameFormat. |
General Analysis |
swhtml.cxx:4924 |
Medium |
V560 |
A part of conditional expression is always true: nSize. |
General Analysis |
swhtml.cxx:4089 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
swhtml.cxx:2897 |
Medium |
V560 |
A part of conditional expression is always true: pCNd. |
General Analysis |
swhtml.cxx:4972 |
Medium |
V560 |
A part of conditional expression is always true: nSize. |
General Analysis |
swhtml.cxx:3756 |
Medium |
V560 |
A part of conditional expression is always true: nSize >= 1. |
General Analysis |
swhtml.cxx:2476 |
Medium |
V560 |
A part of conditional expression is always true: pTextNode. |
General Analysis |
wrthtml.cxx:92 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_aFontHeights. |
General Analysis |
wrthtml.cxx:230 |
Medium |
V560 |
A part of conditional expression is always true: pPasteEnv. |
General Analysis |
docxattributeoutput.cxx:3913 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableRowRedline'. |
General Analysis |
docxattributeoutput.cxx:446 |
Medium |
V1001 |
The 'aFrameProperties' variable is assigned but is not used by the end of the function. |
General Analysis |
docxattributeoutput.cxx:3124 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
docxattributeoutput.cxx:6343 |
Medium |
V547 |
Expression 'pPitch' is always true. |
General Analysis |
docxattributeoutput.cxx:6327 |
Medium |
V547 |
Expression 'pFamily' is always true. |
General Analysis |
docxattributeoutput.cxx:6250 |
Medium |
V547 |
Expression 'pType' is always true. |
General Analysis |
docxattributeoutput.cxx:5654 |
Medium |
V560 |
A part of conditional expression is always true: nWwId >= ww::stiLev1. |
General Analysis |
docxattributeoutput.cxx:3125 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
docxattributeoutput.cxx:3959 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTableCellRedline'. |
General Analysis |
docxattributeoutput.hxx:1016 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_bTableCellOpen, m_bStartedParaSdt, m_nTableDepth. |
General Analysis |
fields.cxx:133 |
Medium |
V547 |
Expression is always false. |
General Analysis |
rtfattributeoutput.cxx:1053 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
rtfexport.cxx:1143 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
rtfexport.cxx:1327 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
writerhelper.cxx:841 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
writerhelper.cxx:685 |
Medium |
V1023 |
A pointer without owner is added to the 'maStack' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
writerwordglue.cxx:436 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
writerwordglue.cxx:445 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
writerwordglue.cxx:402 |
Medium |
V519 |
The 'dyaHdrBottom' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 401, 402. |
General Analysis |
wrtw8esh.cxx:1289 |
Medium |
V560 |
A part of conditional expression is always true: nWhich >= 1. |
General Analysis |
wrtw8esh.cxx:2438 |
Medium |
V560 |
A part of conditional expression is always true: pBreak. |
General Analysis |
wrtw8esh.cxx:1248 |
Medium |
V560 |
A part of conditional expression is always true: nSwWhich >= 1. |
General Analysis |
wrtw8nds.cxx:1684 |
Medium |
V560 |
A part of conditional expression is always true: pRet. |
General Analysis |
wrtw8nds.cxx:1499 |
Medium |
V547 |
Expression '!pCurRedline' is always true. |
General Analysis |
wrtw8nds.cxx:1216 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8nds.cxx:476 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pNewCharFmtGrabBag'. |
General Analysis |
wrtw8nds.cxx:3151 |
Medium |
V506 |
Pointer to local variable 'aOffset' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
wrtw8nds.cxx:2853 |
Medium |
V560 |
A part of conditional expression is always true: pBreakAtParaStyle. |
General Analysis |
wrtw8num.cxx:82 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8num.cxx:177 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8num.cxx:349 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8num.cxx:551 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8num.cxx:575 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8sty.cxx:1690 |
Medium |
V519 |
The 'm_pISet' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1662, 1690. |
General Analysis |
wrtw8sty.cxx:2009 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8sty.cxx:2156 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8sty.cxx:342 |
Medium |
V560 |
A part of conditional expression is always true: nChar <= 'z'. |
General Analysis |
wrtw8sty.cxx:430 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8sty.cxx:513 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8sty.cxx:1446 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8sty.cxx:507 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8sty.cxx:836 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtw8sty.cxx:1056 |
Medium |
V547 |
Expression '!pPd' is always false. |
General Analysis |
wrtww8.cxx:3672 |
Medium |
V773 |
The 'pO' pointer was not released in destructor. A memory leak is possible. |
General Analysis |
wrtww8.cxx:3234 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
wrtww8.cxx:2620 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 8-bit variable. |
General Analysis |
wrtww8.cxx:2590 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 8-bit variable. |
General Analysis |
wrtww8.cxx:2404 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtww8.cxx:2432 |
Medium |
V560 |
A part of conditional expression is always true: nWidthPercent <= 600. |
General Analysis |
wrtww8.cxx:1694 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
wrtww8.cxx:2130 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 8-bit variable. |
General Analysis |
wrtww8gr.cxx:396 |
Medium |
V547 |
Expression 'pGrfNd' is always true. |
General Analysis |
wrtww8gr.cxx:609 |
Medium |
V793 |
It is odd that the result of the 'aGrTwipSz.Width() + nXSizeAdd' statement is a part of the condition. Perhaps, this statement should have been compared with something else. |
General Analysis |
wrtww8gr.cxx:742 |
Medium |
V793 |
It is odd that the result of the 'aGrTwipSz.Width() + nXSizeAdd' statement is a part of the condition. Perhaps, this statement should have been compared with something else. |
General Analysis |
wrtww8gr.cxx:750 |
Medium |
V793 |
It is odd that the result of the 'aGrTwipSz.Height() + nYSizeAdd' statement is a part of the condition. Perhaps, this statement should have been compared with something else. |
General Analysis |
wrtww8gr.cxx:626 |
Medium |
V793 |
It is odd that the result of the 'aGrTwipSz.Height() + nYSizeAdd' statement is a part of the condition. Perhaps, this statement should have been compared with something else. |
General Analysis |
ww8atr.cxx:2314 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8atr.cxx:2350 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8atr.cxx:4533 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8atr.cxx:4705 |
Medium |
V547 |
Expression '255 != nAdj' is always true. |
General Analysis |
ww8glsy.cxx:62 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8glsy.cxx:207 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8graf.cxx:643 |
Medium |
V560 |
A part of conditional expression is always true: aRes.nSprmId. |
General Analysis |
ww8graf.cxx:2239 |
Medium |
V1007 |
The value from the potentially uninitialized optional 'pRecord->nXRelTo' is used. Probably it is a mistake. |
General Analysis |
ww8graf.cxx:2239 |
Medium |
V1007 |
The value from the potentially uninitialized optional 'pRecord->nYRelTo' is used. Probably it is a mistake. |
General Analysis |
ww8par.cxx:775 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 761, 775. |
General Analysis |
ww8par.cxx:5832 |
Medium |
V506 |
Pointer to local variable 'aDecryptMain' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
ww8par.cxx:6427 |
Medium |
V560 |
A part of conditional expression is always true: 0 < nLen. |
General Analysis |
ww8par.cxx:5594 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
ww8par.cxx:5759 |
Medium |
V506 |
Pointer to local variable 'aDecryptMain' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
ww8par.cxx:5208 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8par.cxx:5764 |
Medium |
V506 |
Pointer to local variable 'aDecryptTable' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
ww8par.cxx:5768 |
Medium |
V506 |
Pointer to local variable 'aDecryptMain' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
ww8par.cxx:5773 |
Medium |
V506 |
Pointer to local variable 'aDecryptData' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
ww8par.cxx:5829 |
Medium |
V506 |
Pointer to local variable 'aDecryptTable' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
ww8par.cxx:4165 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: m_nFieldTagAlways, m_nFieldTagBad. |
General Analysis |
ww8par.cxx:5202 |
Medium |
V560 |
A part of conditional expression is always true: m_xMSDffManager->GetShapeOrders(). |
General Analysis |
ww8par.cxx:5837 |
Medium |
V506 |
Pointer to local variable 'aDecryptData' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
ww8par.cxx:2328 |
Medium |
V560 |
A part of conditional expression is always true: !bOk. |
General Analysis |
ww8par.cxx:5145 |
Medium |
V560 |
A part of conditional expression is always true: !pGloss. |
General Analysis |
ww8par.cxx:5850 |
Medium |
V506 |
Pointer to local variable 'aDecryptMain' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
ww8par.cxx:1361 |
Medium |
V519 |
The 'pNum' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1360, 1361. |
General Analysis |
ww8par.cxx:5540 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
ww8par2.cxx:1473 |
Medium |
V1004 |
The 'pParams' pointer was used unsafely after it was verified against nullptr. Check lines: 1469, 1473. |
General Analysis |
ww8par2.cxx:3177 |
Medium |
V547 |
Expression '!bSetCantSplit' is always false. |
General Analysis |
ww8par2.cxx:3361 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8par3.cxx:1740 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
ww8par3.cxx:1941 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
ww8par3.cxx:2034 |
Medium |
V547 |
Expression '0xffff > m_nLFOPosition' is always true. |
General Analysis |
ww8par3.cxx:1226 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8par3.cxx:873 |
Medium |
V547 |
Expression 'nUpperLevel' is always true. |
General Analysis |
ww8par3.cxx:1869 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8par3.cxx:1739 |
Medium |
V560 |
A part of conditional expression is always true: (0xffff > nCurrentLFO). |
General Analysis |
ww8par4.cxx:468 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8par5.cxx:481 |
Medium |
V1001 |
The 'sParams' variable is assigned but is not used by the end of the function. |
General Analysis |
ww8par5.cxx:3632 |
Medium |
V653 |
A suspicious string consisting of two parts is used for initialization. It is possible that a comma is missing. Consider inspecting this literal: "\x06""INHALT". |
General Analysis |
ww8par5.cxx:3632 |
Medium |
V653 |
A suspicious string consisting of two parts is used for initialization. It is possible that a comma is missing. Consider inspecting this literal: "\x02""XE". |
General Analysis |
ww8par5.cxx:3633 |
Medium |
V653 |
A suspicious string consisting of two parts is used for initialization. It is possible that a comma is missing. Consider inspecting this literal: "\x02""TC". |
General Analysis |
ww8par6.cxx:736 |
Medium |
V560 |
A part of conditional expression is always true: !m_bNoLnNumYet. |
General Analysis |
ww8par6.cxx:392 |
Medium |
V557 |
Array overrun is possible. The value of 'nIdx + 1' index could reach 89. |
General Analysis |
ww8par6.cxx:4270 |
Medium |
V547 |
Expression 'n > ((sal_uInt16) 0xFFFF)' is always false. |
General Analysis |
ww8par6.cxx:678 |
Medium |
V547 |
Expression '!pPage' is always false. |
General Analysis |
ww8scan.cxx:2453 |
Medium |
V547 |
Expression 'nIdx' is always true. |
General Analysis |
ww8scan.cxx:2548 |
Medium |
V547 |
Expression 'nIdx' is always true. |
General Analysis |
ww8scan.cxx:781 |
Medium |
V1016 |
Expression 'meVersion >= ww::eWW1' is always true. |
General Analysis |
ww8scan.cxx:2659 |
Medium |
V547 |
Expression 'nOfs >= 511' is always false. |
General Analysis |
ww8scan.cxx:2684 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
ww8scan.cxx:781 |
Medium |
V1016 |
Expression 'meVersion <= ww::eWW8' is always true. |
General Analysis |
ww8scan.cxx:2900 |
Medium |
V547 |
Expression 'mnIdx' is always true. |
General Analysis |
ww8scan.cxx:8331 |
Medium |
V547 |
Expression '0x0100 < nId' is always false. |
General Analysis |
ww8scan.cxx:946 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: aShortSprm. |
General Analysis |
ww8scan.cxx:2180 |
Medium |
V547 |
Expression 'nIdx' is always true. |
General Analysis |
ww8tableinfo.cxx:145 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 8-bit variable. |
General Analysis |
ww8tableinfo.hxx:115 |
Medium |
V690 |
The 'CellInfo' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
swxml.cxx:886 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 881, 886. |
General Analysis |
xmlexpit.cxx:1038 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pVertOrient'. |
General Analysis |
xmlexpit.cxx:160 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pUnknown'. |
General Analysis |
xmlimp.cxx:1068 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
xmlimp.cxx:1117 |
Medium |
V560 |
A part of conditional expression is always true: node1. |
General Analysis |
xmlimp.cxx:1069 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
uiregionsw.cxx:464 |
Medium |
V763 |
Parameter 'pEntry' is always rewritten in function body before being used. |
General Analysis |
fldvar.cxx:655 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
fldvar.cxx:238 |
Medium |
V519 |
The 'bInit' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 227, 238. |
General Analysis |
frmpage.cxx:1754 |
Medium |
V547 |
Expression 'm_bFormat' is always false. |
General Analysis |
wrap.cxx:459 |
Medium |
V519 |
The 'nBottom' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 448, 459. |
General Analysis |
bookmark.cxx:382 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBookmark'. |
General Analysis |
outline.cxx:95 |
Medium |
V560 |
A part of conditional expression is always true: nSelect < SwChapterNumRules::nMaxRules. |
General Analysis |
srtdlg.cxx:91 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
srtdlg.cxx:95 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
instable.cxx:138 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 8-bit variable. |
General Analysis |
tabledlg.cxx:1125 |
Medium |
V560 |
A part of conditional expression is always true: nPos. |
General Analysis |
tabledlg.cxx:1142 |
Medium |
V560 |
A part of conditional expression is always true: nPos. |
General Analysis |
tautofmt.cxx:133 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 8-bit variable. |
General Analysis |
vbadocuments.cxx:100 |
Medium |
V1019 |
Compound assignment expression 'Template >>= sFileName' is used inside condition. |
General Analysis |
vbafind.cxx:199 |
Medium |
V547 |
Expression '!bBackward' is always true. |
General Analysis |
vbafind.cxx:283 |
Medium |
V547 |
Expression 'value' is always false. |
General Analysis |
vbafont.cxx:189 |
Medium |
V547 |
Expression 'bRes' is always false. |
General Analysis |
vbafont.cxx:199 |
Medium |
V547 |
Expression 'bRes' is always false. |
General Analysis |
vbafont.cxx:219 |
Medium |
V547 |
Expression 'bRes' is always false. |
General Analysis |
vbafont.cxx:169 |
Medium |
V547 |
Expression 'bRes' is always false. |
General Analysis |
vbafont.cxx:179 |
Medium |
V547 |
Expression 'bRes' is always false. |
General Analysis |
vbafont.cxx:209 |
Medium |
V547 |
Expression 'bRes' is always false. |
General Analysis |
vbalistlevel.cxx:161 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
vbalistlevel.cxx:43 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
vbapagesetup.cxx:87 |
Medium |
V547 |
Expression '!isHeaderOn' is always true. |
General Analysis |
vbapagesetup.cxx:107 |
Medium |
V547 |
Expression '!isFooterOn' is always true. |
General Analysis |
vbapagesetup.cxx:64 |
Medium |
V547 |
Expression '!isHeaderOn' is always true. |
General Analysis |
vbapagesetup.cxx:121 |
Medium |
V547 |
Expression '!isFooterOn' is always true. |
General Analysis |
vbatables.cxx:168 |
Medium |
V1019 |
Compound assignment expression 'NumRows >>= nRows' is used inside condition. |
General Analysis |
vbatables.cxx:168 |
Medium |
V1019 |
Compound assignment expression 'NumColumns >>= nCols' is used inside condition. |
General Analysis |
vbatables.cxx:170 |
Medium |
V560 |
A part of conditional expression is always true: nCols <= 0. |
General Analysis |
vbatables.cxx:170 |
Medium |
V560 |
A part of conditional expression is always true: nRows <= 0. |
General Analysis |
vbatabstops.cxx:210 |
Medium |
V560 |
A part of conditional expression is always true: !bOverWriter. |
General Analysis |
appenv.cxx:401 |
Medium |
V1016 |
Expression 'rItem.m_eAlign <= ENV_VER_RGHT' is always true. |
General Analysis |
apphdl.cxx:303 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pNewView'. |
General Analysis |
appopt.cxx:91 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
appopt.cxx:236 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 231, 236. |
General Analysis |
docsh.cxx:1418 |
Medium |
V560 |
A part of conditional expression is always true: pArgs. |
General Analysis |
docsh.cxx:244 |
Medium |
V547 |
Expression 'pWindow' is always true. |
General Analysis |
docsh.cxx:223 |
Medium |
V547 |
Expression 'pRead' is always true. |
General Analysis |
docsh2.cxx:748 |
Medium |
V547 |
Expression 'nSlot == (5000 + 632)' is always false. |
General Analysis |
docsh2.cxx:428 |
Medium |
V506 |
Pointer to local variable 'aTmpLst' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
docsh2.cxx:462 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
docsh2.cxx:1041 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
docsh2.cxx:455 |
Medium |
V547 |
Expression 'pAFlags->m_pAutoCompleteList' is always true. |
General Analysis |
swmodul1.cxx:614 |
Medium |
V1004 |
The 'm_pUsrPref' pointer was used unsafely after it was verified against nullptr. Check lines: 612, 614. |
General Analysis |
swmodul1.cxx:621 |
Medium |
V1004 |
The 'm_pUsrPref' pointer was used unsafely after it was verified against nullptr. Check lines: 619, 621. |
General Analysis |
swmodul1.cxx:628 |
Medium |
V1004 |
The 'm_pUsrPref' pointer was used unsafely after it was verified against nullptr. Check lines: 626, 628. |
General Analysis |
swmodul1.cxx:635 |
Medium |
V1004 |
The 'm_pUsrPref' pointer was used unsafely after it was verified against nullptr. Check lines: 633, 635. |
General Analysis |
swmodul1.cxx:665 |
Medium |
V1004 |
The 'm_pUsrPref' pointer was used unsafely after it was verified against nullptr. Check lines: 663, 665. |
General Analysis |
dbmgr.cxx:2360 |
Medium |
V547 |
Expression 'nAbsPos >= 0' is always true. |
General Analysis |
mailmergehelper.cxx:328 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
swdtflvr.cxx:3366 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
swdtflvr.cxx:3326 |
Medium |
V560 |
A part of conditional expression is always true: bSmart. |
General Analysis |
annotationwin2.cxx:777 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTextAnnotationField'. |
General Analysis |
edtwin.cxx:1725 |
Medium |
V560 |
A part of conditional expression is always true: SwKeyState::KeyToView != eFlyState. |
General Analysis |
edtwin.cxx:1725 |
Medium |
V571 |
Recurring check. The 'SwKeyState::KeyToView != eFlyState' condition was already verified in line 1723. |
General Analysis |
edtwin.cxx:4220 |
Medium |
V1020 |
The function exited without calling the 'LeaveArea' function. Check lines: 4220, 3766. |
General Analysis |
edtwin.cxx:1289 |
Medium |
V560 |
A part of conditional expression is always true: pHdl. |
General Analysis |
edtwin.cxx:4072 |
Medium |
V1020 |
The function exited without calling the 'LeaveArea' function. Check lines: 4072, 3766. |
General Analysis |
edtwin.cxx:4017 |
Medium |
V1020 |
The function exited without calling the 'LeaveArea' function. Check lines: 4017, 3766. |
General Analysis |
edtwin.cxx:3939 |
Medium |
V1020 |
The function exited without calling the 'LeaveArea' function. Check lines: 3939, 3766. |
General Analysis |
edtwin.cxx:3881 |
Medium |
V1020 |
The function exited without calling the 'LeaveArea' function. Check lines: 3881, 3766. |
General Analysis |
edtwin.cxx:3869 |
Medium |
V1020 |
The function exited without calling the 'LeaveArea' function. Check lines: 3869, 3766. |
General Analysis |
edtwin.cxx:3769 |
Medium |
V1020 |
The function exited without calling the 'LeaveArea' function. Check lines: 3769, 3766. |
General Analysis |
edtwin.cxx:3123 |
Medium |
V560 |
A part of conditional expression is always true: !bExecDrawTextLink. |
General Analysis |
edtwin.cxx:3796 |
Medium |
V1020 |
The function exited without calling the 'LeaveArea' function. Check lines: 3796, 3766. |
General Analysis |
postitmgr.cxx:603 |
Medium |
V1023 |
A pointer without owner is added to the 'mPages' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
postitmgr.cxx:654 |
Medium |
V1023 |
A pointer without owner is added to the 'mPages' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
fldmgr.cxx:596 |
Medium |
V557 |
Array overrun is possible. The value of 'nPos' index could reach 65535. |
General Analysis |
fldmgr.cxx:789 |
Medium |
V557 |
Array overrun is possible. The value of 'GetPos(nTypeId)' index could reach 65535. |
General Analysis |
fldmgr.cxx:886 |
Medium |
V560 |
A part of conditional expression is always true: pSh. |
General Analysis |
fldmgr.cxx:809 |
Medium |
V557 |
Array overrun is possible. The value of 'nPos' index could reach 65535. |
General Analysis |
fldmgr.cxx:853 |
Medium |
V557 |
Array overrun is possible. The value of 'GetPos(nTypeId)' index could reach 65535. |
General Analysis |
fldmgr.cxx:833 |
Medium |
V557 |
Array overrun is possible. The value of 'nPos' index could reach 65535. |
General Analysis |
fldmgr.cxx:807 |
Medium |
V557 |
Array overrun is possible. The value of 'nPos' index could reach 65535. |
General Analysis |
colex.cxx:406 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
colex.cxx:59 |
Medium |
V547 |
Expression 'pPage' is always true. |
General Analysis |
colex.cxx:442 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
olmenu.cxx:687 |
Medium |
V560 |
A part of conditional expression is always true: nId <= (700 + 99). |
General Analysis |
olmenu.cxx:640 |
Medium |
V560 |
A part of conditional expression is always true: 500 <= nId. |
General Analysis |
olmenu.cxx:643 |
Medium |
V560 |
A part of conditional expression is always true: 0 <= nAltIdx. |
General Analysis |
drwbassh.cxx:422 |
Medium |
V560 |
A part of conditional expression is always true: bAlignPossible. |
General Analysis |
drwtxtsh.cxx:730 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 711, 730. |
General Analysis |
textsh.cxx:280 |
Medium |
V547 |
Expression 'pURLItem' is always true. |
General Analysis |
themepanel.cxx:227 |
Medium |
V547 |
Expression 'bChanged' is always true. |
General Analysis |
pview.cxx:880 |
Medium |
V547 |
Expression 'bRetVal' is always true. |
General Analysis |
srcview.cxx:666 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'GetDocShell()'. |
General Analysis |
srcview.cxx:648 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pDocSh'. |
General Analysis |
srcview.cxx:433 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pDocShell'. |
General Analysis |
srcview.cxx:366 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'GetDocShell()'. |
General Analysis |
srcview.cxx:758 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pDocSh'. |
General Analysis |
srcview.cxx:455 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'GetDocShell()'. |
General Analysis |
srcview.cxx:752 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'GetDocShell()'. |
General Analysis |
srcview.cxx:333 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pDocShell'. |
General Analysis |
view.cxx:1499 |
Medium |
V560 |
A part of conditional expression is always true: bGotVisibleBottom. |
General Analysis |
view1.cxx:196 |
Medium |
V560 |
A part of conditional expression is always true: m_pFormatClipboard. |
General Analysis |
viewcoll.cxx:49 |
Medium |
V571 |
Recurring check. The 'pArgs' condition was already verified in line 47. |
General Analysis |
viewcoll.cxx:49 |
Medium |
V560 |
A part of conditional expression is always true: pArgs. |
General Analysis |
viewdraw.cxx:191 |
Medium |
V547 |
Expression 'pWin' is always true. |
General Analysis |
viewdraw.cxx:149 |
Medium |
V547 |
Expression 'pWin' is always true. |
General Analysis |
viewdraw.cxx:178 |
Medium |
V547 |
Expression 'pWin' is always true. |
General Analysis |
dlelstnr.cxx:108 |
Medium |
V778 |
Two similar code fragments were found. Perhaps, this is a typo and 'xGCIterator' variable should be used instead of 'xLngSvcMgr'. |
General Analysis |
swxdocumentsettings.cxx:959 |
Medium |
V524 |
It is odd that the body of '_preGetValues' function is fully equivalent to the body of '_preSetValues' function. |
General Analysis |
unoatxt.cxx:285 |
Medium |
V560 |
A part of conditional expression is always true: nIdx != 0xffff. |
General Analysis |
unodispatch.cxx:258 |
Medium |
V519 |
The 'aEvent.IsEnabled' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 248, 258. |
General Analysis |
unomod.cxx:498 |
Medium |
V524 |
It is odd that the body of '_postGetValues' function is fully equivalent to the body of '_postSetValues' function. |
General Analysis |
unomod.cxx:408 |
Medium |
V524 |
It is odd that the body of '_preGetValues' function is fully equivalent to the body of '_preSetValues' function. |
General Analysis |
unomodule.cxx:50 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unotxdoc.cxx:3016 |
Medium |
V547 |
Expression 'pView' is always true. |
General Analysis |
unotxdoc.cxx:3830 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSet'. |
General Analysis |
unotxdoc.cxx:3900 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
unotxdoc.cxx:322 |
Medium |
V1001 |
The 'aNumTunnel' variable is assigned but is not used by the end of the function. |
General Analysis |
unotxvw.cxx:227 |
Medium |
V1019 |
Compound assignment expression 'aInterface >>= xInterface' is used inside condition. |
General Analysis |
unotxvw.cxx:727 |
Medium |
V1019 |
Compound assignment expression 'rValue >>= bVal' is used inside condition. |
General Analysis |
content.cxx:749 |
Medium |
V668 |
There is no sense in testing the 'pMember' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
content.cxx:2877 |
Medium |
V519 |
The 'pObject' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2876, 2877. |
General Analysis |
content.cxx:781 |
Medium |
V668 |
There is no sense in testing the 'pMember' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
glbltree.cxx:1089 |
Medium |
V547 |
Expression '0 != nSource' is always true. |
General Analysis |
gloslst.cxx:329 |
Medium |
V586 |
The 'delete' operator is called twice for deallocation of the same memory space. |
General Analysis |
unotools.cxx:342 |
Medium |
V1019 |
Compound assignment expression 'aPFamily >>= xPFamily' is used inside condition. |
General Analysis |
select.cxx:883 |
Medium |
V560 |
A part of conditional expression is always true: !cWord. |
General Analysis |
wrtsh1.cxx:533 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
wrtsh2.cxx:474 |
Medium |
V547 |
Expression 'pMac' is always true. |
General Analysis |
diff.cxx:32 |
Medium |
V690 |
The 'tolerance' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
databaseimportdescriptor.cxx:50 |
Medium |
V519 |
The 'aOldValue' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 42, 50. |
General Analysis |
databaseimportdescriptor.cxx:68 |
Medium |
V519 |
The 'aOldValue' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 60, 68. |
General Analysis |
databaseimportdescriptor.cxx:86 |
Medium |
V519 |
The 'aOldValue' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 78, 86. |
General Analysis |
datapilotfield.cxx:178 |
Medium |
V547 |
Expression 'bIsGroupField' is always false. |
General Analysis |
bridgetest.cxx:1148 |
Medium |
V776 |
Potentially infinite loop. The variable in the loop exit condition '!stress' does not change its value between iterations. |
General Analysis |
constructors.cxx:123 |
Medium |
V1019 |
Compound assignment expression 'arguments[8] >>= arg8' is used inside condition. |
General Analysis |
constructors.cxx:125 |
Medium |
V1019 |
Compound assignment expression 'arguments[10] >>= arg10' is used inside condition. |
General Analysis |
constructors.cxx:126 |
Medium |
V1019 |
Compound assignment expression 'arguments[11] >>= arg11' is used inside condition. |
General Analysis |
constructors.cxx:128 |
Medium |
V1019 |
Compound assignment expression 'arguments[12] >>= arg12' is used inside condition. |
General Analysis |
constructors.cxx:130 |
Medium |
V1019 |
Compound assignment expression 'arguments[13] >>= arg13' is used inside condition. |
General Analysis |
constructors.cxx:131 |
Medium |
V1019 |
Compound assignment expression 'arguments[14] >>= arg14' is used inside condition. |
General Analysis |
constructors.cxx:309 |
Medium |
V1019 |
Compound assignment expression 'arguments[25] >>= arg25' is used inside condition. |
General Analysis |
constructors.cxx:307 |
Medium |
V1019 |
Compound assignment expression 'arguments[24] >>= arg24' is used inside condition. |
General Analysis |
constructors.cxx:311 |
Medium |
V1019 |
Compound assignment expression 'arguments[26] >>= arg26' is used inside condition. |
General Analysis |
constructors.cxx:124 |
Medium |
V1019 |
Compound assignment expression 'arguments[9] >>= arg9' is used inside condition. |
General Analysis |
constructors.cxx:303 |
Medium |
V1019 |
Compound assignment expression 'arguments[22] >>= arg22' is used inside condition. |
General Analysis |
constructors.cxx:301 |
Medium |
V1019 |
Compound assignment expression 'arguments[21] >>= arg21' is used inside condition. |
General Analysis |
constructors.cxx:299 |
Medium |
V1019 |
Compound assignment expression 'arguments[20] >>= arg20' is used inside condition. |
General Analysis |
constructors.cxx:297 |
Medium |
V1019 |
Compound assignment expression 'arguments[19] >>= arg19' is used inside condition. |
General Analysis |
constructors.cxx:132 |
Medium |
V1019 |
Compound assignment expression 'arguments[15] >>= arg15' is used inside condition. |
General Analysis |
constructors.cxx:134 |
Medium |
V1019 |
Compound assignment expression 'arguments[16] >>= arg16' is used inside condition. |
General Analysis |
constructors.cxx:295 |
Medium |
V1019 |
Compound assignment expression 'arguments[18] >>= arg18' is used inside condition. |
General Analysis |
constructors.cxx:292 |
Medium |
V1019 |
Compound assignment expression 'arguments[17] >>= arg17' is used inside condition. |
General Analysis |
constructors.cxx:289 |
Medium |
V1019 |
Compound assignment expression 'arguments[16] >>= arg16' is used inside condition. |
General Analysis |
constructors.cxx:136 |
Medium |
V1019 |
Compound assignment expression 'arguments[17] >>= arg17' is used inside condition. |
General Analysis |
constructors.cxx:138 |
Medium |
V1019 |
Compound assignment expression 'arguments[18] >>= arg18' is used inside condition. |
General Analysis |
constructors.cxx:286 |
Medium |
V1019 |
Compound assignment expression 'arguments[15] >>= arg15' is used inside condition. |
General Analysis |
constructors.cxx:285 |
Medium |
V1019 |
Compound assignment expression 'arguments[14] >>= arg14' is used inside condition. |
General Analysis |
constructors.cxx:284 |
Medium |
V1019 |
Compound assignment expression 'arguments[13] >>= arg13' is used inside condition. |
General Analysis |
constructors.cxx:305 |
Medium |
V1019 |
Compound assignment expression 'arguments[23] >>= arg23' is used inside condition. |
General Analysis |
constructors.cxx:122 |
Medium |
V1019 |
Compound assignment expression 'arguments[7] >>= arg7' is used inside condition. |
General Analysis |
constructors.cxx:162 |
Medium |
V1019 |
Compound assignment expression 'arguments[30] >>= arg30' is used inside condition. |
General Analysis |
constructors.cxx:282 |
Medium |
V1019 |
Compound assignment expression 'arguments[11] >>= arg11' is used inside condition. |
General Analysis |
constructors.cxx:367 |
Medium |
V1019 |
Compound assignment expression 'arguments[44] >>= arg44' is used inside condition. |
General Analysis |
constructors.cxx:362 |
Medium |
V1019 |
Compound assignment expression 'arguments[43] >>= arg43' is used inside condition. |
General Analysis |
constructors.cxx:357 |
Medium |
V1019 |
Compound assignment expression 'arguments[42] >>= arg42' is used inside condition. |
General Analysis |
constructors.cxx:353 |
Medium |
V1019 |
Compound assignment expression 'arguments[41] >>= arg41' is used inside condition. |
General Analysis |
constructors.cxx:350 |
Medium |
V1019 |
Compound assignment expression 'arguments[40] >>= arg40' is used inside condition. |
General Analysis |
constructors.cxx:346 |
Medium |
V1019 |
Compound assignment expression 'arguments[39] >>= arg39' is used inside condition. |
General Analysis |
constructors.cxx:342 |
Medium |
V1019 |
Compound assignment expression 'arguments[38] >>= arg38' is used inside condition. |
General Analysis |
constructors.cxx:338 |
Medium |
V1019 |
Compound assignment expression 'arguments[37] >>= arg37' is used inside condition. |
General Analysis |
constructors.cxx:335 |
Medium |
V1019 |
Compound assignment expression 'arguments[36] >>= arg36' is used inside condition. |
General Analysis |
constructors.cxx:333 |
Medium |
V1019 |
Compound assignment expression 'arguments[35] >>= arg35' is used inside condition. |
General Analysis |
constructors.cxx:331 |
Medium |
V1019 |
Compound assignment expression 'arguments[34] >>= arg34' is used inside condition. |
General Analysis |
constructors.cxx:115 |
Medium |
V1019 |
Compound assignment expression 'arguments[0] >>= arg0' is used inside condition. |
General Analysis |
constructors.cxx:116 |
Medium |
V1019 |
Compound assignment expression 'arguments[1] >>= arg1' is used inside condition. |
General Analysis |
constructors.cxx:327 |
Medium |
V1019 |
Compound assignment expression 'arguments[33] >>= arg33' is used inside condition. |
General Analysis |
constructors.cxx:326 |
Medium |
V1019 |
Compound assignment expression 'arg32.member[0].member2[0] >>= arg32a' is used inside condition. |
General Analysis |
constructors.cxx:117 |
Medium |
V1019 |
Compound assignment expression 'arguments[2] >>= arg2' is used inside condition. |
General Analysis |
constructors.cxx:118 |
Medium |
V1019 |
Compound assignment expression 'arguments[3] >>= arg3' is used inside condition. |
General Analysis |
constructors.cxx:119 |
Medium |
V1019 |
Compound assignment expression 'arguments[4] >>= arg4' is used inside condition. |
General Analysis |
constructors.cxx:120 |
Medium |
V1019 |
Compound assignment expression 'arguments[5] >>= arg5' is used inside condition. |
General Analysis |
constructors.cxx:121 |
Medium |
V1019 |
Compound assignment expression 'arguments[6] >>= arg6' is used inside condition. |
General Analysis |
constructors.cxx:323 |
Medium |
V1019 |
Compound assignment expression 'arguments[32] >>= arg32' is used inside condition. |
General Analysis |
constructors.cxx:321 |
Medium |
V1019 |
Compound assignment expression 'arguments[31] >>= arg31' is used inside condition. |
General Analysis |
constructors.cxx:319 |
Medium |
V1019 |
Compound assignment expression 'arguments[30] >>= arg30' is used inside condition. |
General Analysis |
constructors.cxx:317 |
Medium |
V1019 |
Compound assignment expression 'arguments[29] >>= arg29' is used inside condition. |
General Analysis |
constructors.cxx:315 |
Medium |
V1019 |
Compound assignment expression 'arguments[28] >>= arg28' is used inside condition. |
General Analysis |
constructors.cxx:313 |
Medium |
V1019 |
Compound assignment expression 'arguments[27] >>= arg27' is used inside condition. |
General Analysis |
constructors.cxx:281 |
Medium |
V1019 |
Compound assignment expression 'arguments[10] >>= arg10' is used inside condition. |
General Analysis |
constructors.cxx:280 |
Medium |
V1019 |
Compound assignment expression 'arguments[9] >>= arg9' is used inside condition. |
General Analysis |
constructors.cxx:279 |
Medium |
V1019 |
Compound assignment expression 'arguments[8] >>= arg8' is used inside condition. |
General Analysis |
constructors.cxx:164 |
Medium |
V1019 |
Compound assignment expression 'arguments[31] >>= arg31' is used inside condition. |
General Analysis |
constructors.cxx:276 |
Medium |
V1019 |
Compound assignment expression 'arguments[5] >>= arg5' is used inside condition. |
General Analysis |
constructors.cxx:275 |
Medium |
V1019 |
Compound assignment expression 'arguments[4] >>= arg4' is used inside condition. |
General Analysis |
constructors.cxx:274 |
Medium |
V1019 |
Compound assignment expression 'arguments[3] >>= arg3' is used inside condition. |
General Analysis |
constructors.cxx:273 |
Medium |
V1019 |
Compound assignment expression 'arguments[2] >>= arg2' is used inside condition. |
General Analysis |
constructors.cxx:272 |
Medium |
V1019 |
Compound assignment expression 'arguments[1] >>= arg1' is used inside condition. |
General Analysis |
constructors.cxx:271 |
Medium |
V1019 |
Compound assignment expression 'arguments[0] >>= arg0' is used inside condition. |
General Analysis |
constructors.cxx:177 |
Medium |
V1019 |
Compound assignment expression 'arguments[39] >>= arg39' is used inside condition. |
General Analysis |
constructors.cxx:176 |
Medium |
V1019 |
Compound assignment expression 'arg38.member >>= arg38b' is used inside condition. |
General Analysis |
constructors.cxx:176 |
Medium |
V1019 |
Compound assignment expression 'arguments[38] >>= arg38' is used inside condition. |
General Analysis |
constructors.cxx:175 |
Medium |
V1019 |
Compound assignment expression 'arguments[37] >>= arg37' is used inside condition. |
General Analysis |
constructors.cxx:150 |
Medium |
V1019 |
Compound assignment expression 'arguments[24] >>= arg24' is used inside condition. |
General Analysis |
constructors.cxx:174 |
Medium |
V1019 |
Compound assignment expression 'arguments[36] >>= arg36' is used inside condition. |
General Analysis |
constructors.cxx:154 |
Medium |
V1019 |
Compound assignment expression 'arguments[26] >>= arg26' is used inside condition. |
General Analysis |
constructors.cxx:172 |
Medium |
V1019 |
Compound assignment expression 'arguments[35] >>= arg35' is used inside condition. |
General Analysis |
constructors.cxx:156 |
Medium |
V1019 |
Compound assignment expression 'arguments[27] >>= arg27' is used inside condition. |
General Analysis |
constructors.cxx:170 |
Medium |
V1019 |
Compound assignment expression 'arguments[34] >>= arg34' is used inside condition. |
General Analysis |
constructors.cxx:169 |
Medium |
V1019 |
Compound assignment expression 'arg33[0].member >>= arg33b' is used inside condition. |
General Analysis |
constructors.cxx:168 |
Medium |
V1019 |
Compound assignment expression 'arguments[33] >>= arg33' is used inside condition. |
General Analysis |
constructors.cxx:166 |
Medium |
V1019 |
Compound assignment expression 'arguments[32] >>= arg32' is used inside condition. |
General Analysis |
constructors.cxx:157 |
Medium |
V1019 |
Compound assignment expression 'arg27[0] >>= arg27b' is used inside condition. |
General Analysis |
constructors.cxx:158 |
Medium |
V1019 |
Compound assignment expression 'arguments[28] >>= arg28' is used inside condition. |
General Analysis |
constructors.cxx:160 |
Medium |
V1019 |
Compound assignment expression 'arguments[29] >>= arg29' is used inside condition. |
General Analysis |
constructors.cxx:161 |
Medium |
V1019 |
Compound assignment expression 'arg29[0][0] >>= arg29b' is used inside condition. |
General Analysis |
constructors.cxx:152 |
Medium |
V1019 |
Compound assignment expression 'arguments[25] >>= arg25' is used inside condition. |
General Analysis |
constructors.cxx:148 |
Medium |
V1019 |
Compound assignment expression 'arguments[23] >>= arg23' is used inside condition. |
General Analysis |
constructors.cxx:283 |
Medium |
V1019 |
Compound assignment expression 'arguments[12] >>= arg12' is used inside condition. |
General Analysis |
constructors.cxx:144 |
Medium |
V1019 |
Compound assignment expression 'arguments[21] >>= arg21' is used inside condition. |
General Analysis |
constructors.cxx:142 |
Medium |
V1019 |
Compound assignment expression 'arguments[20] >>= arg20' is used inside condition. |
General Analysis |
constructors.cxx:278 |
Medium |
V1019 |
Compound assignment expression 'arguments[7] >>= arg7' is used inside condition. |
General Analysis |
constructors.cxx:140 |
Medium |
V1019 |
Compound assignment expression 'arguments[19] >>= arg19' is used inside condition. |
General Analysis |
constructors.cxx:277 |
Medium |
V1019 |
Compound assignment expression 'arguments[6] >>= arg6' is used inside condition. |
General Analysis |
constructors.cxx:146 |
Medium |
V1019 |
Compound assignment expression 'arguments[22] >>= arg22' is used inside condition. |
General Analysis |
cppobj.cxx:1121 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
animatedimagespeer.cxx:365 |
Medium |
V1019 |
Compound assignment expression 'i_value >>= nScaleMode' is used inside condition. |
General Analysis |
vclxcontainer.cxx:154 |
Medium |
V547 |
Expression 'bTab' is always false. |
General Analysis |
vclxmenu.cxx:326 |
Medium |
V560 |
A part of conditional expression is always true: (nItemCount > 0). |
General Analysis |
vclxmenu.cxx:248 |
Medium |
V547 |
Expression '!pCollectionPopupMenu' is always true. |
General Analysis |
vclxmenu.cxx:266 |
Medium |
V547 |
Expression '!pCollectionMenuBar' is always true. |
General Analysis |
vclxtoolkit.cxx:849 |
Medium |
V547 |
Expression '!pM' is always true. |
General Analysis |
vclxtoolkit.cxx:864 |
Medium |
V547 |
Expression '!pC' is always true. |
General Analysis |
vclxwindows.cxx:703 |
Medium |
V1019 |
Compound assignment expression 'Value >>= nScaleMode' is used inside condition. |
General Analysis |
vclxwindows.cxx:714 |
Medium |
V1019 |
Compound assignment expression 'Value >>= bScaleImage' is used inside condition. |
General Analysis |
vclxwindows.cxx:2627 |
Medium |
V524 |
It is odd that the body of 'removeTabListener' function is fully equivalent to the body of 'addTabListener' function. |
General Analysis |
controlmodelcontainerbase.cxx:1825 |
Medium |
V1016 |
Expression 'Operation < Insert' is always false. |
General Analysis |
controlmodelcontainerbase.cxx:1825 |
Medium |
V1016 |
Expression 'Operation > Remove' is always false. |
General Analysis |
dialogcontrol.cxx:319 |
Medium |
V547 |
Expression 'bDecoration' is always true. |
General Analysis |
dialogcontrol.cxx:762 |
Medium |
V547 |
Expression 'bDecoration' is always true. |
General Analysis |
dialogcontrol.cxx:401 |
Medium |
V547 |
Expression '!bDecoration' is always false. |
General Analysis |
geometrycontrolmodel.cxx:422 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
roadmapcontrol.cxx:267 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
unocontrol.cxx:415 |
Medium |
V547 |
Expression 'pEvents != pEventsEnd' is always true. |
General Analysis |
unocontrolcontainer.cxx:764 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
unocontrols.cxx:3658 |
Medium |
V547 |
Expression '!bEnforceFormat' is always false. |
General Analysis |
unocontrols.cxx:3398 |
Medium |
V1001 |
The 'aVal' variable is assigned but is not used by the end of the function. |
General Analysis |
unocontrols.cxx:2789 |
Medium |
V1001 |
The 'aVal' variable is assigned but is not used by the end of the function. |
General Analysis |
unocontrols.cxx:1509 |
Medium |
V1001 |
The 'aVal' variable is assigned but is not used by the end of the function. |
General Analysis |
unocontrols.cxx:1272 |
Medium |
V1001 |
The 'aVal' variable is assigned but is not used by the end of the function. |
General Analysis |
unocontrols.cxx:1007 |
Medium |
V547 |
Expression 'bScale' is always true. |
General Analysis |
formpdfexport.cxx:359 |
Medium |
V547 |
Expression 'bMultiLine' is always false. |
General Analysis |
formpdfexport.cxx:388 |
Medium |
V785 |
Constant expression in switch statement. |
General Analysis |
property.cxx:98 |
Medium |
V547 |
Expression '!pPropertyInfos' is always true. |
General Analysis |
config.cxx:431 |
Medium |
V557 |
Array overrun is possible. The '1' index is pointing beyond array bound. |
General Analysis |
config.cxx:440 |
Medium |
V668 |
There is no sense in testing the 'pWriteBuf' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
config.cxx:427 |
Medium |
V668 |
There is no sense in testing the 'pWriteBuf' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
inetmime.cxx:1170 |
Medium |
V560 |
A part of conditional expression is always true: p != pEnd. |
General Analysis |
stream.cxx:1889 |
Medium |
V560 |
A part of conditional expression is always false: nResize < 16. |
General Analysis |
stream.cxx:1889 |
Medium |
V560 |
A part of conditional expression is always true: nResize != 0. |
General Analysis |
stream.cxx:1812 |
Medium |
V668 |
There is no sense in testing the 'pBuf' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |
General Analysis |
cachedcontentresultset.cxx:1530 |
Medium |
V560 |
A part of conditional expression is always true: nNewRow > 0. |
General Analysis |
cachedcontentresultset.cxx:1687 |
Medium |
V547 |
Expression '!m_nRow' is always true. |
General Analysis |
cachedcontentresultset.cxx:493 |
Medium |
V519 |
The 'm_nFetchDirectionPropertyHandle' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 489, 493. |
General Analysis |
cachedcontentresultsetstub.cxx:372 |
Medium |
V547 |
Expression 'bNeedAction' is always true. |
General Analysis |
cmdenv.cxx:59 |
Medium |
V1019 |
Compound assignment expression 'aArguments[1] >>= m_xPH' is used inside condition. |
General Analysis |
cmdenv.cxx:132 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
cmdenv.cxx:58 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= m_xIH' is used inside condition. |
General Analysis |
fileaccess.cxx:539 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
fileaccess.cxx:716 |
Medium |
V1001 |
The 'aRetAny' variable is assigned but is not used by the end of the function. |
General Analysis |
fileaccess.cxx:322 |
Medium |
V1001 |
The 'aRetAny' variable is assigned but is not used by the end of the function. |
General Analysis |
fileaccess.cxx:512 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
provprox.cxx:58 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
ucb.cxx:794 |
Medium |
V1019 |
Compound assignment expression 'm_aArguments[1] >>= aKey2' is used inside condition. |
General Analysis |
ucb.cxx:794 |
Medium |
V1019 |
Compound assignment expression 'm_aArguments[0] >>= aKey1' is used inside condition. |
General Analysis |
ucbcmds.cxx:535 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= aTypesInfo' is used inside condition. |
General Analysis |
ucbprops.cxx:204 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
ucbstore.cxx:166 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
sortdynres.cxx:446 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
cmis_content.cxx:1085 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pPwc'. |
General Analysis |
cmis_repo_content.cxx:207 |
Medium |
V1004 |
The 'session' pointer was used unsafely after it was verified against nullptr. Check lines: 202, 207. |
General Analysis |
prov.cxx:114 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= config' is used inside condition. |
General Analysis |
prov.cxx:155 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
ftpcontent.cxx:472 |
Medium |
V547 |
Expression 'n' is always false. |
General Analysis |
ftpurl.cxx:91 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'm_pBuffer' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
ftpurl.hxx:78 |
Medium |
V690 |
The 'FTPURL' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
hierarchycontent.cxx:676 |
Medium |
V547 |
Expression '!m_bCheckedReadOnly' is always true. |
General Analysis |
tdoc_documentcontentfactory.cxx:129 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
tdoc_storage.cxx:271 |
Medium |
V764 |
Possible incorrect order of arguments passed to 'queryStream' function: 'rUri' and 'rPassword'. |
General Analysis |
tdoc_storage.cxx:310 |
Medium |
V764 |
Possible incorrect order of arguments passed to 'queryStream' function: 'rUri' and 'rPassword'. |
General Analysis |
tdoc_storage.cxx:91 |
Medium |
V560 |
A part of conditional expression is always false: (eMode != READ_WRITE_CREATE). |
General Analysis |
webdavcontentcaps.cxx:71 |
Medium |
V547 |
Expression '!m_pProps' is always true. |
General Analysis |
content.cxx:499 |
Medium |
V1001 |
The 'aResult' variable is assigned but is not used by the end of the function. |
General Analysis |
content.cxx:545 |
Medium |
V1001 |
The 'aResult' variable is assigned but is not used by the end of the function. |
General Analysis |
content.cxx:410 |
Medium |
V1001 |
The 'aResult' variable is assigned but is not used by the end of the function. |
General Analysis |
content.cxx:425 |
Medium |
V1001 |
The 'aResult' variable is assigned but is not used by the end of the function. |
General Analysis |
proxydecider.cxx:265 |
Medium |
V1019 |
Compound assignment expression 'aValue >>= value' is used inside condition. |
General Analysis |
contentinfo.cxx:270 |
Medium |
V547 |
Expression '!m_pCommands' is always true. |
General Analysis |
contentinfo.cxx:98 |
Medium |
V547 |
Expression '!m_pProps' is always true. |
General Analysis |
registercontrols.cxx:39 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
registercontrols.cxx:49 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
registercontrols.cxx:60 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
registercontrols.cxx:71 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
cpptypemaker.cxx:962 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
cpptypemaker.cxx:66 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
javatypemaker.cxx:854 |
Medium |
V522 |
There might be dereferencing of a potential null pointer. |
General Analysis |
legacyprovider.cxx:575 |
Medium |
V1016 |
The value 'attrs' is out of range of enum values. This causes unspecified or undefined behavior. |
General Analysis |
unoidlprovider.cxx:1290 |
Medium |
V1016 |
The value 'attrs' is out of range of enum values. This causes unspecified or undefined behavior. |
General Analysis |
bootstrap.cxx:341 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
lingucfg.cxx:963 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
lingucfg.cxx:962 |
Medium |
V1019 |
Compound assignment expression 'xNA->getByName("Format") >>= aFormatName' is used inside condition. |
General Analysis |
viewoptions.cxx:498 |
Medium |
V547 |
Expression 'bVisible' is always false. |
General Analysis |
localedatawrapper.cxx:1580 |
Medium |
V560 |
A part of conditional expression is always false: (cZeroChar != '0'). |
General Analysis |
mediadescriptor.cxx:718 |
Medium |
V560 |
A part of conditional expression is always true: !bRequestReadOnly. |
General Analysis |
mediadescriptor.cxx:662 |
Medium |
V560 |
A part of conditional expression is always true: !bReadOnly. |
General Analysis |
ucblockbytes.cxx:1330 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
ucblockbytes.cxx:1328 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
ucbstreamhelper.cxx:160 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
ucbstreamhelper.cxx:147 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
attr.cxx:158 |
Medium |
V547 |
Expression 'm_aAttrPtr->children' is always true. |
General Analysis |
document.cxx:191 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:196 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:201 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:206 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:211 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:249 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:216 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:221 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:228 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:234 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:239 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
document.cxx:244 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
documentbuilder.cxx:101 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
saxbuilder.cxx:38 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
eventdispatcher.cxx:245 |
Medium |
V547 |
Expression 'pEvent->m_canceled' is always false. |
General Analysis |
librdf_repository.cxx:2117 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pLiteral'. |
General Analysis |
librdf_repository.cxx:2060 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pURI'. |
General Analysis |
xpathapi.cxx:52 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
iahndl-authentication.cxx:661 |
Medium |
V560 |
A part of conditional expression is always true: !bDoHandleRequest. |
General Analysis |
iahndl-authentication.cxx:661 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
iahndl-authentication.cxx:683 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
iahndl-authentication.cxx:694 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
iahndl-authentication.cxx:672 |
Medium |
V1019 |
Compound assignment expression 'aAnyRequest >>= aDocumentPasswordRequest' is used inside condition. |
General Analysis |
passwordcontainer.cxx:409 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
vbacontrol.cxx:180 |
Medium |
V1001 |
The 'aValue' variable is assigned but is not used by the end of the function. |
General Analysis |
vbacontrols.cxx:438 |
Medium |
V1019 |
Compound assignment expression 'StringKeyOrIndex >>= nIndex' is used inside condition. |
General Analysis |
vbalistbox.cxx:123 |
Medium |
V547 |
Expression 'bMultiSelect' is always false. |
General Analysis |
vbaradiobutton.cxx:81 |
Medium |
V547 |
Expression 'nValue != 0' is always true. |
General Analysis |
vbatextbox.cxx:98 |
Medium |
V1001 |
The 'aValue' variable is assigned but is not used by the end of the function. |
General Analysis |
vbatextbox.cxx:80 |
Medium |
V1001 |
The 'aValue' variable is assigned but is not used by the end of the function. |
General Analysis |
vbatextbox.cxx:55 |
Medium |
V1001 |
The 'aValue' variable is assigned but is not used by the end of the function. |
General Analysis |
vbatogglebutton.cxx:58 |
Medium |
V547 |
Expression 'nState' is always false. |
General Analysis |
vbaapplicationbase.cxx:387 |
Medium |
V1019 |
Compound assignment expression 'aLatestTime >>= nLatestTime' is used inside condition. |
General Analysis |
vbacommandbar.cxx:166 |
Medium |
V519 |
The 'nType' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 165, 166. |
General Analysis |
vbahelper.cxx:200 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'p'. |
General Analysis |
vbashape.cxx:342 |
Medium |
V1001 |
The 'aZOrderPosition' variable is assigned but is not used by the end of the function. |
General Analysis |
vbatextframe.cxx:66 |
Medium |
V1001 |
The 'aTextAutoGrowHeight' variable is assigned but is not used by the end of the function. |
General Analysis |
vbatextframe.cxx:47 |
Medium |
V1001 |
The 'aMargin' variable is assigned but is not used by the end of the function. |
General Analysis |
jobset.h:32 |
Medium |
V690 |
The 'ImplJobSetup' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
regband.hxx:57 |
Medium |
V690 |
The 'ImplRegionBand' class implements a copy constructor, but lacks the '=' operator. It is dangerous to use such a class. |
General Analysis |
svdata.hxx:124 |
Medium |
V730 |
Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: mpAccelMgr. |
General Analysis |
svdata.hxx:340 |
Medium |
V730 |
Not all members of a class are initialized inside the compiler generated constructor. Consider inspecting: maAppData. |
General Analysis |
pdfexport.cxx:602 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXObjects'. |
General Analysis |
pdfexport.cxx:650 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXObjects'. |
General Analysis |
pdfexport.cxx:635 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pName'. |
General Analysis |
pdfexport.cxx:229 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXObjects'. |
General Analysis |
pdfexport.cxx:251 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXObjects'. |
General Analysis |
pdfexport.cxx:257 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSubtype'. |
General Analysis |
pdfexport.cxx:265 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pInnerResources'. |
General Analysis |
pdfexport.cxx:627 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFontFoo'. |
General Analysis |
pdfexport.cxx:609 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXObjectResources'. |
General Analysis |
pdfexport.cxx:273 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pInnerSubtype'. |
General Analysis |
pdfexport.cxx:397 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pAction'. |
General Analysis |
pdfexport.cxx:483 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXObjects'. |
General Analysis |
pdfexport.cxx:617 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFormResources'. |
General Analysis |
pdfexport.cxx:519 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXObjects'. |
General Analysis |
pdfexport.cxx:526 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pFormResources'. |
General Analysis |
pdfexport.cxx:536 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pImageResources'. |
General Analysis |
pdfexport.cxx:563 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXObjects'. |
General Analysis |
pdfexport.cxx:584 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXObjects'. |
General Analysis |
pdfexport.cxx:387 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pAnnots'. |
General Analysis |
pdfexport.cxx:489 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pLength'. |
General Analysis |
pdfexport.cxx:657 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pXObjectResources'. |
General Analysis |
timer.cxx:384 |
Medium |
V776 |
Potentially infinite loop. The variable in the loop exit condition '!bBeenSlow' does not change its value between iterations. |
General Analysis |
timer.cxx:326 |
Medium |
V776 |
Potentially infinite loop. The variable in the loop exit condition 'nMaxCount != nTimerCount' does not change its value between iterations. |
General Analysis |
salvtables.cxx:2327 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'm_pEntry'. |
General Analysis |
salvtables.cxx:474 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pVclWidget'. |
General Analysis |
salvtables.cxx:509 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pVclWidget'. |
General Analysis |
salvtables.cxx:533 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pVclWidget'. |
General Analysis |
salvtables.cxx:710 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the third argument. |
General Analysis |
settings.cxx:2492 |
Medium |
V1032 |
The pointer 'Data' is cast to a more strictly aligned pointer type. |
General Analysis |
settings.cxx:2417 |
Medium |
V1032 |
The pointer 'Data' is cast to a more strictly aligned pointer type. |
General Analysis |
svdata.cxx:316 |
Medium |
V547 |
Expression 'pUnits' is always true. |
General Analysis |
bitmap.cxx:859 |
Medium |
V547 |
Expression 'pSalBitmap' is always true. |
General Analysis |
bitmap.cxx:462 |
Medium |
V560 |
A part of conditional expression is always true: (nDstBitCount < 24). |
General Analysis |
bitmapscalesuperfilter.cxx:1069 |
Medium |
V547 |
Expression 'bRet' is always true. |
General Analysis |
bitmaptools.cxx:469 |
Medium |
V547 |
Expression 'bCopyBack' is always true. |
General Analysis |
bitmaptools.cxx:990 |
Medium |
V569 |
Transformation of constant value 255. The value range of signed char type: [-128, 127]. |
General Analysis |
button.cxx:3498 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
button.cxx:3819 |
Medium |
V519 |
The 'pImg' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3818, 3819. |
General Analysis |
button.cxx:3822 |
Medium |
V547 |
Expression '!pImg' is always false. |
General Analysis |
button.cxx:2599 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
edit.cxx:741 |
Medium |
V656 |
Variables 'maSelection.Min()', 'maSelection.Max()' are initialized through the call to the same function. It's probably an error or un-optimized code. Consider inspecting the 'aSelection.Min()' expression. Check lines: 740, 741. |
General Analysis |
field.cxx:1209 |
Medium |
V636 |
The '- nDiv / 2' expression was implicitly cast from '__int64' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
field.cxx:154 |
Medium |
V560 |
A part of conditional expression is always true: bCurrency. |
General Analysis |
field.cxx:1261 |
Medium |
V636 |
The '- nDiv / 2' expression was implicitly cast from '__int64' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
field.cxx:1311 |
Medium |
V636 |
The '- nDiv / 2' expression was implicitly cast from '__int64' type to 'double' type. Consider utilizing an explicit type cast to avoid the loss of a fractional part. An example: double A = (double)(X) / Y;. |
General Analysis |
field2.cxx:375 |
Medium |
V560 |
A part of conditional expression is always true: !(nFormatFlags & (sal_uInt16(0x0001))). |
General Analysis |
field2.cxx:1764 |
Medium |
V560 |
A part of conditional expression is always true: !bTextLen. |
General Analysis |
field2.cxx:1867 |
Medium |
V560 |
A part of conditional expression is always true: !bTextLen. |
General Analysis |
imp_listbox.cxx:1063 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!mbSimpleMode' and 'mbSimpleMode'. |
General Analysis |
imp_listbox.cxx:869 |
Medium |
V547 |
Expression 'mnCurrentPos != nSelect' is always false. |
General Analysis |
imp_listbox.cxx:1154 |
Medium |
V547 |
Expression 'bShift' is always false. |
General Analysis |
imp_listbox.cxx:1573 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!mbSimpleMode' and 'mbSimpleMode'. |
General Analysis |
imp_listbox.cxx:132 |
Medium |
V560 |
A part of conditional expression is always true: 0 <= nPos. |
General Analysis |
prgsbar.cxx:53 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: mnPrgsWidth, mnPrgsHeight, mnPercentCount. |
General Analysis |
scrbar.cxx:106 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: mnStartPos, mnMouseOff. |
General Analysis |
slider.cxx:70 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: mnStartPos, mnMouseOff. |
General Analysis |
texteng.cxx:950 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
texteng.cxx:968 |
Medium |
V728 |
An excessive check can be simplified. The '(A && B) || (!A && !B)' expression is equivalent to the 'bool(A) == bool(B)' expression. |
General Analysis |
texteng.cxx:982 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
texteng.cxx:1254 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
texteng.cxx:1584 |
Medium |
V519 |
The 'mbFormatted' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1578, 1584. |
General Analysis |
texteng.cxx:2016 |
Medium |
V547 |
Expression 'pSelStart' is always true. |
General Analysis |
textview.cxx:411 |
Medium |
V524 |
It is odd that the body of 'HideSelection' function is fully equivalent to the body of 'ShowSelection' function. |
General Analysis |
graphicfilter.cxx:1721 |
Medium |
V547 |
Expression 'bAllowPartialStreamRead' is always false. |
General Analysis |
graphicfilter.cxx:1792 |
Medium |
V547 |
Expression '!bAllowPartialStreamRead' is always true. |
General Analysis |
graphicfilter.cxx:2041 |
Medium |
V560 |
A part of conditional expression is always true: (!pFilterConfigItem). |
General Analysis |
graphicfilter2.cxx:456 |
Medium |
V547 |
Expression 'bExtendedInfo' is always true. |
General Analysis |
decode.cxx:81 |
Medium |
V769 |
The 'pTmpTarget' pointer in the 'pTmpTarget - pTarget' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 81, 67. |
General Analysis |
decode.cxx:85 |
Medium |
V769 |
The 'pTarget' pointer in the 'pTarget + nOffset' expression could be nullptr. In such case, resulting value will be senseless and it should not be used. Check lines: 85, 82. |
General Analysis |
decode.cxx:82 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'pTarget' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
fontcharmap.cxx:312 |
Medium |
V557 |
Array overrun is possible. The value of 'j ++' index could reach 64. |
General Analysis |
cff.cxx:871 |
Medium |
V560 |
A part of conditional expression is always true: (nType2Op <= 255). |
General Analysis |
cff.cxx:1092 |
Medium |
V507 |
Pointer to local array 'aType1Ops' is stored outside the scope of this array. Such a pointer will become invalid. |
General Analysis |
cff.cxx:1644 |
Medium |
V547 |
Expression 'nCurrPos >= 0' is always true. |
General Analysis |
sft.cxx:1656 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 't->goffsets'. Check lines: 1656, 1652. |
General Analysis |
sft.cxx:1955 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'gID'. |
General Analysis |
sft.cxx:2046 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'res'. |
General Analysis |
sft.cxx:2479 |
Medium |
V575 |
The potential null pointer is passed into 'memcpy' function. Inspect the first argument. Check lines: 2479, 2478. |
General Analysis |
sft.cxx:2585 |
Medium |
V575 |
The potential null pointer is passed into 'memcpy' function. Inspect the first argument. Check lines: 2585, 2584. |
General Analysis |
sft.cxx:299 |
Medium |
V522 |
Dereferencing of the null pointer '_this' might take place. The potential null pointer is passed into 'HexFmtOpenString' function. Inspect the first argument. Check lines: 299, 2098. |
General Analysis |
sft.cxx:2138 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'go'. |
General Analysis |
sft.cxx:2052 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'res->offs'. |
General Analysis |
sft.cxx:2565 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'rec'. Check lines: 2565, 2552. |
General Analysis |
sft.cxx:644 |
Medium |
V575 |
The potential null pointer is passed into 'memcpy' function. Inspect the first argument. Check lines: 644, 640. |
General Analysis |
sft.cxx:1558 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 't->tables'. Check lines: 1558, 1520. |
General Analysis |
sft.cxx:1074 |
Medium |
V560 |
A part of conditional expression is always true: (k >= 0). |
General Analysis |
sft.cxx:957 |
Medium |
V575 |
The potential null pointer is passed into 'strlen' function. Inspect the first argument. Check lines: 957, 955. |
General Analysis |
sft.cxx:846 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'res'. Check lines: 846, 843. |
General Analysis |
sft.cxx:2348 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'res'. Check lines: 2348, 2328. |
General Analysis |
sft.cxx:281 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'res'. |
General Analysis |
sft.cxx:2454 |
Medium |
V1001 |
The 'table' variable is assigned but is not used by the end of the function. |
General Analysis |
sft.cxx:2478 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'd'. Check lines: 2478, 2473. |
General Analysis |
sft.cxx:1559 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 't->tlens'. Check lines: 1559, 1522. |
General Analysis |
sft.cxx:2217 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'gID'. |
General Analysis |
sft.cxx:430 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pa'. Check lines: 430, 426. |
General Analysis |
animate.cxx:85 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
animate.cxx:102 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
animate.cxx:98 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rAnimation'. |
General Analysis |
animate.cxx:255 |
Medium |
V1023 |
A pointer without owner is added to the 'maViewList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
animate.cxx:448 |
Medium |
V1023 |
A pointer without owner is added to the 'maList' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
dibtools.cxx:923 |
Medium |
V547 |
Expression 'aHeader.nHeight != 0' is always true. |
General Analysis |
dibtools.cxx:935 |
Medium |
V547 |
Expression 'aHeader.nHeight != 0' is always true. |
General Analysis |
dibtools.cxx:948 |
Medium |
V547 |
Expression 'aHeader.nHeight != 0' is always true. |
General Analysis |
gdimtf.cxx:2738 |
Medium |
V799 |
The 'pCompat' variable is not used after memory has been allocated for it. Consider checking the use of this variable. |
General Analysis |
impanmvw.cxx:29 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: mnActPos. |
General Analysis |
impgraph.cxx:558 |
Medium |
V519 |
The 'maSwapInfo.mbIsAnimated' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 554, 558. |
General Analysis |
impvect.cxx:217 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'mpScan'. Check lines: 217, 209. |
General Analysis |
pdfwriter_impl.cxx:6604 |
Medium |
V547 |
Expression '!bPop' is always true. |
General Analysis |
pdfwriter_impl.cxx:7488 |
Medium |
V760 |
Two identical blocks of text were found. The second block begins from line 7492. |
General Analysis |
pdfwriter_impl2.cxx:1279 |
Medium |
V519 |
The 'o_rKeyLength' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1276, 1279. |
General Analysis |
pdfwriter_impl2.cxx:1280 |
Medium |
V519 |
The 'o_rRC4KeyLength' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1277, 1280. |
General Analysis |
pdfwriter_impl2.cxx:1158 |
Medium |
V701 |
realloc() possible leak: when realloc() fails in allocating memory, original pointer 'm_pEncryptionBuffer' is lost. Consider assigning realloc() to a temporary pointer. |
General Analysis |
print.cxx:416 |
Medium |
V1004 |
The 'pSVData->maGDIData.mpPrinterQueueList' pointer was used unsafely after it was verified against nullptr. Check lines: 414, 416. |
General Analysis |
print.cxx:426 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 423, 426. |
General Analysis |
print2.cxx:747 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pThis'. |
General Analysis |
print2.cxx:1110 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pThis'. |
General Analysis |
print3.cxx:648 |
Medium |
V547 |
Expression 'bSinglePrintJobs' is always false. |
General Analysis |
print3.cxx:891 |
Medium |
V560 |
A part of conditional expression is always false: nBin >= 0. |
General Analysis |
print3.cxx:685 |
Medium |
V560 |
A part of conditional expression is always true: nJobIteration == nJobs - 1. |
General Analysis |
print3.cxx:292 |
Medium |
V547 |
Expression 'bSynchronous' is always false. |
General Analysis |
print3.cxx:891 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
print3.cxx:445 |
Medium |
V1019 |
Compound assignment expression 'pPgSizeVal->Value >>= aSizeVal' is used inside condition. |
General Analysis |
region.cxx:166 |
Medium |
V560 |
A part of conditional expression is always true: pBand->mnYTop < pBand->mnYBottom. |
General Analysis |
region.cxx:149 |
Medium |
V560 |
A part of conditional expression is always true: pBand->mnYTop < pBand->mnYBottom. |
General Analysis |
regionband.cxx:40 |
Medium |
V794 |
The assignment operator should be protected from the case of 'this == &rRef'. |
General Analysis |
sallayout.cxx:1278 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
sallayout.cxx:1331 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
sallayout.cxx:1348 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
sallayout.cxx:1222 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
sallayout.cxx:1217 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
sallayout.cxx:1276 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
sallayout.cxx:1189 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
sallayout.cxx:1216 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
sallayout.cxx:1182 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
sallayout.cxx:1187 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
sallayout.cxx:1224 |
Medium |
V557 |
Array underrun is possible. The value of 'nFirstValid' index could reach -1. |
General Analysis |
unographicprovider.cxx:672 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pScaleAction'. |
General Analysis |
unographicprovider.cxx:665 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pScaleAction'. |
General Analysis |
unographicprovider.cxx:310 |
Medium |
V560 |
A part of conditional expression is always true: !pIStm. |
General Analysis |
openglhelper.cxx:816 |
Medium |
V547 |
Expression 'nLastEnters == OpenGLZone::gnEnterCount' is always true. |
General Analysis |
font.cxx:1168 |
Medium |
V519 |
The 'mbMap' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1165, 1168. |
General Analysis |
font.cxx:247 |
Medium |
V1001 |
The 'xFontMetric' variable is assigned but is not used by the end of the function. |
General Analysis |
line.cxx:300 |
Medium |
V678 |
An object is used as an argument to its own method. Consider checking the first actual argument of the 'AdaptiveSubdivide' function. |
General Analysis |
nativecontrols.cxx:167 |
Medium |
V1004 |
The 'mpGraphics' pointer was used unsafely after it was verified against nullptr. Check lines: 163, 167. |
General Analysis |
nativecontrols.cxx:187 |
Medium |
V1004 |
The 'mpGraphics' pointer was used unsafely after it was verified against nullptr. Check lines: 179, 187. |
General Analysis |
outdev.cxx:650 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
outdev.cxx:242 |
Medium |
V1004 |
The 'mpGraphics' pointer was used unsafely after it was verified against nullptr. Check lines: 236, 242. |
General Analysis |
outdev.cxx:377 |
Medium |
V1004 |
The 'mpGraphics' pointer was used unsafely after it was verified against nullptr. Check lines: 374, 377. |
General Analysis |
outdev.cxx:345 |
Medium |
V1004 |
The 'mpGraphics' pointer was used unsafely after it was verified against nullptr. Check lines: 339, 345. |
General Analysis |
text.cxx:2241 |
Medium |
V560 |
A part of conditional expression is always true: (nMnemonicPos >= nIndex). |
General Analysis |
text.cxx:2205 |
Medium |
V560 |
A part of conditional expression is always true: !pVector. |
General Analysis |
text.cxx:461 |
Medium |
V560 |
A part of conditional expression is always true: (nWidth > 0). |
General Analysis |
textline.cxx:635 |
Medium |
V519 |
The 'mnTextLayoutMode' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 633, 635. |
General Analysis |
logger.cxx:75 |
Medium |
V547 |
Expression 'bValue' is always false. |
General Analysis |
accmgr.cxx:215 |
Medium |
V506 |
Pointer to local variable 'bDel' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
accmgr.cxx:147 |
Medium |
V506 |
Pointer to local variable 'bDel' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
brdwin.cxx:824 |
Medium |
V547 |
Expression 'bTracking' is always true. |
General Analysis |
builder.cxx:3815 |
Medium |
V601 |
The 'false' value becomes a class object. Inspect the third argument. |
General Analysis |
builder.cxx:1995 |
Medium |
V547 |
Expression '!pFunction' is always true. |
General Analysis |
dialog.cxx:177 |
Medium |
V560 |
A part of conditional expression is always true: pChild. |
General Analysis |
dialog.cxx:151 |
Medium |
V560 |
A part of conditional expression is always true: pChild. |
General Analysis |
dialog.cxx:962 |
Medium |
V776 |
Potentially infinite loop. The variable in the loop exit condition '!mbPaintComplete' does not change its value between iterations. |
General Analysis |
dockmgr.cxx:373 |
Medium |
V1023 |
A pointer without owner is added to the 'mvDockingWindows' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
errinf.cxx:50 |
Medium |
V730 |
Not all members of a class are initialized inside the constructor. Consider inspecting: ppDynErrInfo. |
General Analysis |
layout.cxx:2275 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the third argument. |
General Analysis |
layout.cxx:2287 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the third argument. |
General Analysis |
layout.cxx:2261 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the third argument. |
General Analysis |
layout.cxx:2282 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the third argument. |
General Analysis |
layout.cxx:2269 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the third argument. |
General Analysis |
layout.cxx:2245 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the third argument. |
General Analysis |
layout.cxx:2253 |
Medium |
V601 |
The 'true' value becomes a class object. Inspect the third argument. |
General Analysis |
menu.cxx:635 |
Medium |
V560 |
A part of conditional expression is always true: n. |
General Analysis |
menu.cxx:361 |
Medium |
V571 |
Recurring check. The '!aDelData.isDeleted()' condition was already verified in line 359. |
General Analysis |
menu.cxx:327 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 311, 327. |
General Analysis |
mouse.cxx:716 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
splitwin.cxx:1872 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
splitwin.cxx:2298 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
status.cxx:722 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
status.cxx:140 |
Medium |
V730 |
It is possible that not all members of a class are initialized inside the constructor. Consider inspecting: mnPrgsSize, mnPercent, mnPercentCount. |
General Analysis |
toolbox.cxx:4975 |
Medium |
V547 |
Expression 'pToolItem' is always true. |
General Analysis |
toolbox.cxx:799 |
Medium |
V560 |
A part of conditional expression is always true: (nTempLines != 1). |
General Analysis |
toolbox.cxx:5099 |
Medium |
V1032 |
The pointer 'Data' is cast to a more strictly aligned pointer type. |
General Analysis |
toolbox2.cxx:1042 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
window.cxx:2625 |
Medium |
V547 |
Expression 'bAlways' is always true. |
General Analysis |
window.cxx:2654 |
Medium |
V547 |
Expression 'bAlways' is always true. |
General Analysis |
window.cxx:879 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 869, 879. |
General Analysis |
window.cxx:1526 |
Medium |
V560 |
A part of conditional expression is always true: !pOverlapRegion. |
General Analysis |
winproc.cxx:1770 |
Medium |
V547 |
Expression 'pOldFocusWindow' is always true. |
General Analysis |
saltimer.cxx:69 |
Medium |
V547 |
Expression 'nMS > ((sal_uInt32) 0xFFFFFFFF)' is always false. |
General Analysis |
salfont.cxx:836 |
Medium |
V547 |
Expression 'nNameLen < 32' is always true. |
General Analysis |
salfont.cxx:1674 |
Medium |
V519 |
The 'xFontCharMap' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1673, 1674. |
General Analysis |
salnativewidgets-luna.cxx:896 |
Medium |
V560 |
A part of conditional expression is always true: pValue. |
General Analysis |
salnativewidgets-luna.cxx:1511 |
Medium |
V560 |
A part of conditional expression is always true: pValue. |
General Analysis |
salprn.cxx:167 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pWinInfo4'. Check lines: 167, 161. |
General Analysis |
salprn.cxx:1324 |
Medium |
V575 |
The potential null pointer is passed into 'memcpy' function. Inspect the first argument. Check lines: 1324, 1323. |
General Analysis |
salprn.cxx:190 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pWinInfo2'. Check lines: 190, 187. |
General Analysis |
winlayout.cxx:133 |
Medium |
V547 |
Expression 'aElement.mbVertical' is always false. |
General Analysis |
salframe.cxx:5363 |
Medium |
V547 |
Expression '!aEvt.mbValid' is always true. |
General Analysis |
salframe.cxx:4962 |
Medium |
V547 |
Expression 'nTextLen >= 0' is always true. |
General Analysis |
salframe.cxx:4836 |
Medium |
V560 |
A part of conditional expression is always true: (cKeyCode >= 48). |
General Analysis |
salframe.cxx:4086 |
Medium |
V560 |
A part of conditional expression is always true: pGraphics. |
General Analysis |
salframe.cxx:3606 |
Medium |
V560 |
A part of conditional expression is always false: (nMsg == 0x0105). |
General Analysis |
salframe.cxx:3486 |
Medium |
V519 |
The 'aKeyEvt.mnCode' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3484, 3486. |
General Analysis |
salframe.cxx:3425 |
Medium |
V519 |
The 'nLastVKChar' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3416, 3425. |
General Analysis |
salframe.cxx:3424 |
Medium |
V519 |
The 'nLastChar' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3415, 3424. |
General Analysis |
salframe.cxx:2844 |
Medium |
V560 |
A part of conditional expression is always true: nVKey < 255. |
General Analysis |
salframe.cxx:2348 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
salframe.cxx:2343 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
salframe.cxx:1882 |
Medium |
V519 |
The 'mbInShow' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1880, 1882. |
General Analysis |
salframe.cxx:4498 |
Medium |
V519 |
The 'clrPrevBkgnd' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 4490, 4498. |
General Analysis |
salframe.cxx:3559 |
Medium |
V519 |
The 'bIgnoreCharMsg' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3552, 3559. |
General Analysis |
vcldemo.cxx:2071 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'getImpl(xVDev)'. |
General Analysis |
vcldemo.cxx:1117 |
Medium |
V560 |
A part of conditional expression is always true: eType == RENDER_AS_ALPHA_OUTDEV. |
General Analysis |
vcldemo.cxx:2035 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pImplA'. |
General Analysis |
vcldemo.cxx:2036 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pImplB'. |
General Analysis |
accframeeventlistener.cxx:91 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pvclwindow'. |
General Analysis |
accobjectwinmanager.cxx:116 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pTemp'. |
General Analysis |
accobjectwinmanager.cxx:185 |
Medium |
V547 |
Expression 'selfAccObj' is always true. |
General Analysis |
acctable.cxx:137 |
Medium |
V547 |
Expression 'description == nullptr' is always false. |
General Analysis |
acctable.cxx:137 |
Medium |
V649 |
There are two 'if' statements with identical conditional expressions. The first 'if' statement contains function return. This means that the second 'if' statement is senseless. Check lines: 125, 137. |
General Analysis |
acctable.cxx:356 |
Medium |
V649 |
There are two 'if' statements with identical conditional expressions. The first 'if' statement contains function return. This means that the second 'if' statement is senseless. Check lines: 344, 356. |
General Analysis |
acctable.cxx:356 |
Medium |
V547 |
Expression 'description == nullptr' is always false. |
General Analysis |
maccessible.cxx:254 |
Medium |
V560 |
A part of conditional expression is always false: !ppdispParent. |
General Analysis |
maccessible.cxx:1457 |
Medium |
V512 |
A call of the 'GetUNOInterface' function will lead to overflow of the buffer '& pChildXAcc'. |
General Analysis |
maccessible.cxx:1910 |
Medium |
V547 |
Expression 'pSeq' is always true. |
General Analysis |
maccessible.cxx:2095 |
Medium |
V547 |
Expression 'pChild' is always true. |
General Analysis |
maccessible.cxx:2317 |
Medium |
V1032 |
The pointer '& pTempUNO' is cast to a more strictly aligned pointer type. |
General Analysis |
maccessible.cxx:2317 |
Medium |
V512 |
A call of the 'GetUNOInterface' function will lead to overflow of the buffer '& pTempUNO'. |
General Analysis |
maccessible.cxx:1457 |
Medium |
V1032 |
The pointer '& pChildXAcc' is cast to a more strictly aligned pointer type. |
General Analysis |
cellcolorhandler.cxx:283 |
Medium |
V560 |
A part of conditional expression is always true: m_bAutoFillColor. |
General Analysis |
domainmapper.cxx:1463 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
domainmapper.cxx:1310 |
Medium |
V1016 |
The value '0' is out of range of enum values. This causes unspecified or undefined behavior. |
General Analysis |
domainmapper.cxx:1334 |
Medium |
V768 |
The variable 'eBorderId' is of enum type. It is odd that it is used as a variable of a Boolean-type. |
General Analysis |
domainmapper.cxx:1336 |
Medium |
V768 |
The variable 'eBorderDistId' is of enum type. It is odd that it is used as a variable of a Boolean-type. |
General Analysis |
domainmapper.cxx:1452 |
Medium |
V560 |
A part of conditional expression is always true: nParentBidi != nWritingMode. |
General Analysis |
domainmapper.cxx:2149 |
Medium |
V547 |
Expression 'rtl' is always false. |
General Analysis |
domainmapper.cxx:1571 |
Medium |
V547 |
Expression '0x83a == nSprmId' is always false. |
General Analysis |
domainmapper.cxx:1811 |
Medium |
V560 |
A part of conditional expression is always true. |
General Analysis |
domainmapper.cxx:2140 |
Medium |
V547 |
Expression 'rtl' is always false. |
General Analysis |
domainmapper.cxx:1309 |
Medium |
V1016 |
The value '0' is out of range of enum values. This causes unspecified or undefined behavior. |
General Analysis |
domainmapper.cxx:1558 |
Medium |
V547 |
Expression '0x83a == nSprmId' is always false. |
General Analysis |
domainmapper_impl.cxx:5366 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
domainmapper_impl.cxx:1496 |
Medium |
V560 |
A part of conditional expression is always true: pParaContext. |
General Analysis |
domainmapper_impl.cxx:1042 |
Medium |
V699 |
Consider inspecting the 'foo = bar = baz ? .... : ....' expression. It is possible that 'foo = bar == baz ? .... : ....' should be used here instead. |
General Analysis |
domainmapper_impl.cxx:1033 |
Medium |
V699 |
Consider inspecting the 'foo = bar = baz ? .... : ....' expression. It is possible that 'foo = bar == baz ? .... : ....' should be used here instead. |
General Analysis |
domainmapper_impl.cxx:1526 |
Medium |
V560 |
A part of conditional expression is always true: pParaContext. |
General Analysis |
domainmappertablehandler.cxx:1099 |
Medium |
V547 |
Expression '!bIsRelative' is always true. |
General Analysis |
domainmappertablehandler.cxx:569 |
Medium |
V547 |
Expression '!bRowCanSplit' is always false. |
General Analysis |
domainmappertablemanager.cxx:478 |
Medium |
V560 |
A part of conditional expression is always false: oCurrentWidth. |
General Analysis |
domainmappertablemanager.cxx:457 |
Medium |
V547 |
Expression 'oCurrentWidth' is always false. |
General Analysis |
graphicimport.cxx:807 |
Medium |
V547 |
Expression 'nRotation' is always false. |
General Analysis |
graphicimport.cxx:1329 |
Medium |
V547 |
Expression 'bMirrored' is always false. |
General Analysis |
graphicimport.cxx:672 |
Medium |
V560 |
A part of conditional expression is always true: nRotation == 0. |
General Analysis |
graphicimport.cxx:800 |
Medium |
V547 |
Expression 'nRotation' is always false. |
General Analysis |
modeleventlistener.cxx:75 |
Medium |
V560 |
A part of conditional expression is always true: nPart == text::ReferenceFieldPart::PAGE. |
General Analysis |
modeleventlistener.cxx:75 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
propertymap.cxx:1477 |
Medium |
V547 |
Expression '!bSquaredPageMode' is always true. |
General Analysis |
propertymap.cxx:1565 |
Medium |
V547 |
Expression 'm_nPageNumber >= 0' is always true. |
General Analysis |
tablepositionhandler.cxx:146 |
Medium |
V614 |
Potentially uninitialized variable 'nVertOrientRelation' used. |
General Analysis |
tablepositionhandler.cxx:123 |
Medium |
V614 |
Potentially uninitialized variable 'nHoriOrientRelation' used. |
General Analysis |
rtfdispatchflag.cxx:742 |
Medium |
V547 |
Expression '!nParam' is always false. |
General Analysis |
rtfsdrimport.cxx:999 |
Medium |
V560 |
A part of conditional expression is always false: oRelLeft. |
General Analysis |
rtfsdrimport.cxx:999 |
Medium |
V560 |
A part of conditional expression is always false: oGroupBottom. |
General Analysis |
rtfsdrimport.cxx:999 |
Medium |
V560 |
A part of conditional expression is always false: oGroupRight. |
General Analysis |
rtfsdrimport.cxx:999 |
Medium |
V560 |
A part of conditional expression is always false: oGroupTop. |
General Analysis |
rtfsdrimport.cxx:999 |
Medium |
V560 |
A part of conditional expression is always false: oGroupLeft. |
General Analysis |
rtfsdrimport.cxx:837 |
Medium |
V547 |
Expression '!oX' is always true. |
General Analysis |
rtfsdrimport.cxx:484 |
Medium |
V547 |
Expression '!oX' is always true. |
General Analysis |
rtfsdrimport.cxx:1000 |
Medium |
V560 |
A part of conditional expression is always false: oRelRight. |
General Analysis |
rtfsdrimport.cxx:1000 |
Medium |
V560 |
A part of conditional expression is always false: oRelBottom. |
General Analysis |
rtfsdrimport.cxx:1002 |
Medium |
V547 |
Expression 'bInShapeGroup' is always false. |
General Analysis |
rtfsdrimport.cxx:1027 |
Medium |
V547 |
Expression 'bInShapeGroup' is always false. |
General Analysis |
rtfsdrimport.cxx:1000 |
Medium |
V560 |
A part of conditional expression is always false: oRelTop. |
General Analysis |
importfilter.hxx:160 |
Medium |
V1019 |
Compound assignment expression 'aArguments[0] >>= aAnySeq' is used inside condition. |
General Analysis |
epubexportdialog.cxx:143 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 140, 143. |
General Analysis |
epubexportdialog.cxx:146 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 143, 146. |
General Analysis |
epubexportdialog.cxx:152 |
Medium |
V581 |
The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 146, 152. |
General Analysis |
urlparameter.cxx:576 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
tvfactory.cxx:110 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
tvfactory.cxx:156 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
tvread.cxx:61 |
Medium |
V1023 |
A pointer without owner is added to the 'children' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
schxmlaxiscontext.cxx:537 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
schxmlaxiscontext.cxx:522 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
schxmlexport.cxx:2633 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 2631, 2633. |
General Analysis |
schxmlexport.cxx:3611 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3607, 3611. |
General Analysis |
schxmlplotareacontext.cxx:327 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
schxmlseries2context.cxx:120 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
schxmlseries2context.cxx:152 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
schxmltools.cxx:663 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
settingsexporthelper.cxx:359 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!bNameAccess' and 'bNameAccess'. |
General Analysis |
xmlimp.cxx:1635 |
Medium |
V547 |
Expression 'pNames' is always true. |
General Analysis |
xmluconv.cxx:746 |
Medium |
V560 |
A part of conditional expression is always true: c <= 0x00ff. |
General Analysis |
enhancedcustomshapetoken.cxx:176 |
Medium |
V547 |
Expression '!pHashMap' is always true. |
General Analysis |
propimp0.cxx:255 |
Medium |
V1019 |
Compound assignment expression 'rValue >>= nNumberFormat' is used inside condition. |
General Analysis |
sdxmlexp.cxx:1959 |
Medium |
V519 |
The 'bHasAttr' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 1953, 1959. |
General Analysis |
sdxmlexp.cxx:2440 |
Medium |
V547 |
Expression '!pProps' is always false. |
General Analysis |
sdxmlexp.cxx:158 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 156, 158. |
General Analysis |
sdxmlimp.cxx:667 |
Medium |
V519 |
The 'pContext' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 666, 667. |
General Analysis |
shapeexport.cxx:2078 |
Medium |
V547 |
Expression 'pArray' is always true. |
General Analysis |
shapeexport.cxx:1618 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
shapeexport.cxx:3482 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3478, 3482. |
General Analysis |
shapeexport.cxx:3442 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 3438, 3442. |
General Analysis |
shapeexport.cxx:3403 |
Medium |
V506 |
Pointer to local variable 'aUpperLeft' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
shapeexport.cxx:2072 |
Medium |
V547 |
Expression 'pOuterSequence' is always true. |
General Analysis |
shapeexport.cxx:2075 |
Medium |
V547 |
Expression 'pInnerSequence' is always true. |
General Analysis |
shapeexport.cxx:1895 |
Medium |
V506 |
Pointer to local variable 'aUpperLeft' is stored outside the scope of this variable. Such a pointer will become invalid. |
General Analysis |
ximpshap.cxx:627 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pDocStyle'. |
General Analysis |
xmlimagemapexport.cxx:301 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 289, 301. |
General Analysis |
xmlnumberstyles.cxx:408 |
Medium |
V560 |
A part of conditional expression is always true: (nDateStyle >= 0). |
General Analysis |
xmlnumberstyles.cxx:408 |
Medium |
V560 |
A part of conditional expression is always true: (nTimeStyle >= 0). |
General Analysis |
elementexport.cxx:430 |
Medium |
V547 |
Expression 'bActingAsRichText' is always false. |
General Analysis |
elementexport.cxx:1135 |
Medium |
V547 |
Expression 'nValue' is always false. |
General Analysis |
elementexport.cxx:1488 |
Medium |
V547 |
Expression 'nEchoChar' is always false. |
General Analysis |
elementexport.cxx:1856 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
layerexport.cxx:104 |
Medium |
V773 |
The 'm_pControlNumberStyles' pointer was not released in destructor. A memory leak is possible. |
General Analysis |
propertyexport.cxx:314 |
Medium |
V560 |
A part of conditional expression is always false: _nDefault != nCurrentValue. |
General Analysis |
propertyexport.cxx:334 |
Medium |
V547 |
Expression '_nDefault != nCurrentValue' is always false. |
General Analysis |
chrlohdl.cxx:258 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aLocale2' is used inside condition. |
General Analysis |
chrlohdl.cxx:54 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aLocale2' is used inside condition. |
General Analysis |
chrlohdl.cxx:144 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aLocale2' is used inside condition. |
General Analysis |
chrlohdl.cxx:150 |
Medium |
V728 |
An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. |
General Analysis |
chrlohdl.cxx:329 |
Medium |
V1019 |
Compound assignment expression 'r2 >>= aLocale2' is used inside condition. |
General Analysis |
numehelp.cxx:108 |
Medium |
V547 |
Expression '!bWasSetTypeAttribute' is always true. |
General Analysis |
numehelp.cxx:377 |
Medium |
V547 |
Expression '!bWasSetTypeAttribute' is always true. |
General Analysis |
xmlexppr.cxx:591 |
Medium |
V560 |
A part of conditional expression is always false. |
General Analysis |
xmlexppr.cxx:1002 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xmlimppr.cxx:588 |
Medium |
V728 |
An excessive check can be simplified. The '||' operator is surrounded by opposite expressions '!rPropSetInfo.is()' and 'rPropSetInfo.is()'. |
General Analysis |
xmlnumfe.cxx:606 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xmlnumfe.cxx:191 |
Medium |
V547 |
Expression 'pWasUsed' is always true. |
General Analysis |
xmlnumfe.cxx:958 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xmlnumfi.cxx:359 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xmlnumfi.cxx:376 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xmlnumfi.cxx:398 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xmlnumfi.cxx:422 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
xmlnumi.cxx:1066 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
txtexppr.cxx:227 |
Medium |
V1019 |
Compound assignment expression 'pFontCharsetState->maValue >>= nTmp' is used inside condition. |
General Analysis |
txtexppr.cxx:934 |
Medium |
V1019 |
Compound assignment expression 'pHeightMinRelState->maValue >>= nRel' is used inside condition. |
General Analysis |
txtexppr.cxx:963 |
Medium |
V1019 |
Compound assignment expression 'pWidthMinRelState->maValue >>= nRel' is used inside condition. |
General Analysis |
txtexppr.cxx:225 |
Medium |
V1019 |
Compound assignment expression 'pFontPitchState->maValue >>= nTmp' is used inside condition. |
General Analysis |
txtexppr.cxx:223 |
Medium |
V1019 |
Compound assignment expression 'pFontFamilyState->maValue >>= nTmp' is used inside condition. |
General Analysis |
txtexppr.cxx:217 |
Medium |
V1019 |
Compound assignment expression 'pFontFamilyNameState->maValue >>= sTmp' is used inside condition. |
General Analysis |
txtexppr.cxx:219 |
Medium |
V1019 |
Compound assignment expression 'pFontStyleNameState->maValue >>= sTmp' is used inside condition. |
General Analysis |
txtflde.cxx:3571 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
txtflde.cxx:3561 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
txtflde.cxx:3551 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
txtflde.cxx:3541 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
txtflde.cxx:2814 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
txtflde.cxx:3511 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
txtflde.cxx:3521 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
txtflde.cxx:3531 |
Medium |
V1001 |
The 'aAny' variable is assigned but is not used by the end of the function. |
General Analysis |
txtftne.cxx:368 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 357, 368. |
General Analysis |
txtlists.cxx:426 |
Medium |
V519 |
The 'any' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 422, 426. |
General Analysis |
txtparae.cxx:657 |
Medium |
V555 |
The expression '(aPropStates.size() - nIgnoreProps) > 0' will work as 'aPropStates.size() != nIgnoreProps'. |
General Analysis |
txtparae.cxx:851 |
Medium |
V555 |
The expression '(aPropStates.size() - nIgnoreProps) > 0' will work as 'aPropStates.size() != nIgnoreProps'. |
General Analysis |
txtparae.cxx:3875 |
Medium |
V1023 |
A pointer without owner is added to the 'maTextListsHelperStack' container by the 'emplace_back' method. A memory leak will occur in case of an exception. |
General Analysis |
txtparai.cxx:1102 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
txtparai.cxx:277 |
Medium |
V1029 |
Numeric Truncation Error. Result of the 'size' function is written to the 16-bit variable. |
General Analysis |
txtvfldi.cxx:208 |
Medium |
V560 |
A part of conditional expression is always true: bDisplayOK. |
General Analysis |
txtvfldi.cxx:850 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 848, 850. |
General Analysis |
xmllinenumberingexport.cxx:81 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 73, 81. |
General Analysis |
xmlredlineexport.cxx:359 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 352, 359. |
General Analysis |
xmlsectionexport.cxx:801 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 789, 801. |
General Analysis |
xmlsectionexport.cxx:984 |
Medium |
V1016 |
Expression 'eType >= TEXT_SECTION_TYPE_TOC' is always true. |
General Analysis |
xmlsectionexport.cxx:165 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 154, 165. |
General Analysis |
xmlsectionexport.cxx:980 |
Medium |
V1016 |
Expression 'eType >= TEXT_SECTION_TYPE_TOC' is always true. |
General Analysis |
xmlsectionexport.cxx:424 |
Medium |
V519 |
The 'aAny' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 422, 424. |
General Analysis |
xmlsectionexport.cxx:847 |
Medium |
V1016 |
Expression 'eType >= TEXT_SECTION_TYPE_TOC' is always true. |
General Analysis |
xmlsectionexport.cxx:750 |
Medium |
V1016 |
Expression 'eType >= TEXT_SECTION_TYPE_TOC' is always true. |
General Analysis |
transformerbase.cxx:1000 |
Medium |
V560 |
A part of conditional expression is always true: c <= 0x00ff. |
General Analysis |
xml_impctx.cxx:511 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xml_impctx.cxx:378 |
Medium |
V1019 |
Compound assignment expression 'arguments[0] >>= xRoot' is used inside condition. |
General Analysis |
xml_impctx.cxx:709 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmldlg_import.cxx:1769 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmllib_import.cxx:243 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmllib_import.cxx:236 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
xmlmod_import.cxx:149 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
pdfsigning.cxx:158 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pSubFilter'. |
General Analysis |
signing.cxx:692 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
signing.cxx:789 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
signing.cxx:645 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
signing.cxx:554 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
signing.cxx:622 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
signing.cxx:605 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
signing.cxx:592 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
signing.cxx:574 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
signing.cxx:564 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
signing.cxx:537 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
signing.cxx:632 |
Medium |
V522 |
There might be dereferencing of a potential null pointer 'pBaseModel'. |
General Analysis |
documentdigitalsignatures.cxx:192 |
Medium |
V1019 |
Compound assignment expression is used inside condition. |
General Analysis |
certificateviewer.cxx:229 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
certificateviewer.cxx:500 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
digitalsignaturesdialog.cxx:504 |
Medium |
V547 |
Expression 'cPath' is always true. |
General Analysis |
digitalsignaturesdialog.cxx:639 |
Medium |
V560 |
A part of conditional expression is always true: bSigValid. |
General Analysis |
digitalsignaturesdialog.cxx:648 |
Medium |
V560 |
A part of conditional expression is always true: bSigValid. |
General Analysis |
digitalsignaturesdialog.cxx:648 |
Medium |
V560 |
A part of conditional expression is always true: bCertValid. |
General Analysis |
digitalsignaturesdialog.cxx:655 |
Medium |
V560 |
A part of conditional expression is always true: bSigValid. |
General Analysis |
digitalsignaturesdialog.cxx:661 |
Medium |
V560 |
A part of conditional expression is always true: bCertValid. |
General Analysis |
digitalsignaturesdialog.cxx:661 |
Medium |
V560 |
A part of conditional expression is always true: bSigValid. |
General Analysis |
digitalsignaturesdialog.cxx:655 |
Medium |
V560 |
A part of conditional expression is always true: bCertValid. |
General Analysis |
akmngr.cxx:61 |
Medium |
V547 |
Expression 'keyStore != nullptr' is always true. |
General Analysis |
securityenvironment_mscryptimpl.cxx:585 |
Medium |
V547 |
Expression 'certInfo.Issuer.pbData' is always true. |
General Analysis |
securityenvironment_mscryptimpl.cxx:589 |
Medium |
V547 |
Expression 'pCertContext' is always true. |
General Analysis |
securityenvironment_mscryptimpl.cxx:757 |
Medium |
V519 |
The 'store' variable is assigned values twice successively. Perhaps this is a mistake. Check lines: 756, 757. |
General Analysis |
securityenvironment_mscryptimpl.cxx:584 |
Medium |
V547 |
Expression 'cryptSerialNumber.pbData' is always true. |
General Analysis |
x509certificate_mscryptimpl.cxx:369 |
Medium |
V572 |
It is odd that the object which was created using 'new' operator is immediately cast to another type. |
General Analysis |
x509certificate_mscryptimpl.cxx:372 |
Medium |
V668 |
There is no sense in testing the 'xExtn' pointer against null, as the memory was allocated using the 'new' operator. The exception will be generated in the case of memory allocation error. |