summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-03-28 17:42:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-03-29 07:53:27 +0200
commitf24756b2d3fe8b8dcb49c9351ca1d40e034b440b (patch)
tree56246177fd181ba38e01ff7affe08be8bdb8be4f /sd/source/ui
parent9ee8b709594d2d106dc6ba7b7cac5a7e4300609c (diff)
-Werror,-Wunused-but-set-variable
...ever since f47a9d9db3d06927380bb79b04bb6d4721a92d2b "initial import" Change-Id: I5ae9d757270c69003899a3eaf825acbfc48ea047 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132239 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/unoidl/unosrch.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sd/source/ui/unoidl/unosrch.cxx b/sd/source/ui/unoidl/unosrch.cxx
index b04bb3da754e..f1005819d1a3 100644
--- a/sd/source/ui/unoidl/unosrch.cxx
+++ b/sd/source/ui/unoidl/unosrch.cxx
@@ -422,8 +422,6 @@ uno::Reference< text::XTextRange > SdUnoSearchReplaceShape::Search( const uno::
std::unique_ptr<sal_Int32[]> pConvertPos( new sal_Int32[nTextLen+2] );
std::unique_ptr<sal_Int32[]> pConvertPara( new sal_Int32[nTextLen+2] );
- const sal_Unicode* pText = aText.getStr();
-
sal_Int32* pPos = pConvertPos.get();
sal_Int32* pPara = pConvertPara.get();
@@ -473,7 +471,6 @@ uno::Reference< text::XTextRange > SdUnoSearchReplaceShape::Search( const uno::
*pPara++ = aStartSel.nStartPara;
ndbg += 1;
- pText++;
}
else
{
@@ -494,7 +491,6 @@ uno::Reference< text::XTextRange > SdUnoSearchReplaceShape::Search( const uno::
*pPara++ = aStartSel.nStartPara;
ndbg += 1;
- pText++;
}
else
{
@@ -515,8 +511,6 @@ uno::Reference< text::XTextRange > SdUnoSearchReplaceShape::Search( const uno::
{
*pPos++ = nLastPos + 1;
*pPara++ = nLastPara;
-
- pText++;
}
else
{