summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configmgr/source/valueparser.cxx1
-rw-r--r--desktop/source/deployment/registry/configuration/dp_configuration.cxx1
-rw-r--r--sc/source/ui/view/tabview.cxx4
-rw-r--r--svtools/source/brwbox/datwin.cxx1
-rw-r--r--svx/source/stbctrls/zoomsliderctrl.cxx1
-rw-r--r--sw/source/core/view/pagepreviewlayout.cxx3
6 files changed, 11 insertions, 0 deletions
diff --git a/configmgr/source/valueparser.cxx b/configmgr/source/valueparser.cxx
index 04d2059c1de9..edf39add25e5 100644
--- a/configmgr/source/valueparser.cxx
+++ b/configmgr/source/valueparser.cxx
@@ -201,6 +201,7 @@ template< typename T > css::uno::Any parseListValue(
}
if (text.length != 0) {
for (xmlreader::Span t(text);;) {
+ // coverity[ tainted_data_return : FALSE ] version 2023.12.2
sal_Int32 i = rtl_str_indexOfStr_WithLength(
t.begin, t.length, sep.begin, sep.length);
T val;
diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
index e3789008306f..67acb9c7cdc7 100644
--- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx
+++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
@@ -581,6 +581,7 @@ OUString replaceOrigin(
size_t write_pos = 0;
while (nBytes > 0)
{
+ // coverity[ tainted_data_return : FALSE ] version 2023.12.2
sal_Int32 index = rtl_str_indexOfChar_WithLength( pBytes, nBytes, '%' );
if (index < 0) {
if (! use_filtered) // opt
diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index 9088af8a6e24..363bd1d54113 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -1773,6 +1773,7 @@ void ScTabView::DoHSplit(tools::Long nSplitPos)
}
else
{
+ // coverity[ tainted_data_return : FALSE ] version 2023.12.2
SCCOL nOldDelta = aViewData.GetPosX( SC_SPLIT_LEFT );
tools::Long nLeftWidth = nSplitPos - pRowBar[SC_SPLIT_BOTTOM]->GetSizePixel().Width();
if ( nLeftWidth < 0 ) nLeftWidth = 0;
@@ -1839,7 +1840,10 @@ void ScTabView::DoVSplit(tools::Long nSplitPos)
else
{
if ( aOldMode == SC_SPLIT_NONE )
+ {
+ // coverity[ tainted_data_return : FALSE ] version 2023.12.2
nOldDelta = aViewData.GetPosY( SC_SPLIT_BOTTOM );
+ }
else
nOldDelta = aViewData.GetPosY( SC_SPLIT_TOP );
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index 01e8c9997f23..a05c3e3f149c 100644
--- a/svtools/source/brwbox/datwin.cxx
+++ b/svtools/source/brwbox/datwin.cxx
@@ -55,6 +55,7 @@ void ButtonFrame::Draw( OutputDevice& rDev )
if ( !aText.isEmpty() )
{
+ // coverity[ tainted_data_return : FALSE ] version 2023.12.2
OUString aVal = rDev.GetEllipsisString(aText,aInnerRect.GetWidth() - 2*MIN_COLUMNWIDTH);
vcl::Font aFont( rDev.GetFont() );
diff --git a/svx/source/stbctrls/zoomsliderctrl.cxx b/svx/source/stbctrls/zoomsliderctrl.cxx
index 0a0346f38129..632f4dc826e5 100644
--- a/svx/source/stbctrls/zoomsliderctrl.cxx
+++ b/svx/source/stbctrls/zoomsliderctrl.cxx
@@ -122,6 +122,7 @@ sal_uInt16 SvxZoomSliderControl::Offset2Zoom( tools::Long nOffset ) const
// returns the offset to the left control border
tools::Long SvxZoomSliderControl::Zoom2Offset( sal_uInt16 nCurrentZoom ) const
{
+ // coverity[ tainted_data_return : FALSE ] version 2023.12.2
const tools::Long nControlWidth = getControlRect().GetWidth();
tools::Long nRet = nSliderXOffset;
diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx
index 35bf15bdc48c..a1627def992b 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -936,7 +936,10 @@ SwTwips SwPagePreviewLayout::GetWinPagesScrollAmount(
nScrollAmount = (mnPreviewLayoutHeight - gnYFree) * _nWinPagesToScroll;
}
else
+ {
+ // coverity[ tainted_data_return : FALSE ] version 2023.12.2
nScrollAmount = _nWinPagesToScroll * maPaintedPreviewDocRect.GetHeight();
+ }
// check, if preview layout size values are valid.
// If not, the checks for an adjustment of the scroll amount aren't useful.