[Libreoffice-commits] core.git: sd/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jun 9 15:42:33 UTC 2021
sd/source/ui/dlg/BulletAndPositionDlg.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 1269ea3586cb902a790f721810fbe93647cfd491
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Jun 8 11:12:00 2021 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Jun 9 17:41:40 2021 +0200
-Werror,-Wunused-but-set-variable (Clang 13 trunk)
...after 096168cacc574a71482520e5c3fbd79f975dc6ad "loplugin:writeonlyvars" had
removed the (only) read of sFirstCharFmt
Change-Id: I8b59f54b2bb8669c66a14df80c4c74fceb56b1c7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116820
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sd/source/ui/dlg/BulletAndPositionDlg.cxx b/sd/source/ui/dlg/BulletAndPositionDlg.cxx
index 6ef27fd7de9a..fc7d4d4dbb39 100644
--- a/sd/source/ui/dlg/BulletAndPositionDlg.cxx
+++ b/sd/source/ui/dlg/BulletAndPositionDlg.cxx
@@ -429,7 +429,6 @@ void SvxBulletAndPositionDlg::InitControls()
bool bSameIndent = !bLabelAlignmentPosAndSpaceModeActive;
const SvxNumberFormat* aNumFmtArr[SVX_MAX_NUM];
- OUString sFirstCharFmt;
SvxAdjust eFirstAdjust = SvxAdjust::Left;
Size aFirstSize(0, 0);
sal_uInt16 nMask = 1;
@@ -449,7 +448,6 @@ void SvxBulletAndPositionDlg::InitControls()
if (SAL_MAX_UINT16 == nLvl)
{
nLvl = i;
- sFirstCharFmt = aNumFmtArr[i]->GetCharFormatName();
if (bShowBitmap)
aFirstSize = aNumFmtArr[i]->GetGraphicSize();
}
More information about the Libreoffice-commits
mailing list