summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-06 15:43:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-07 06:58:28 +0000
commit01a8b743f69b6718ccf5bbbda23734fa38020e19 (patch)
tree887196cce77fefbed2a23fc0a299ad773abf024b /filter/source
parent0397906df28669e6a9db58b852c357b8caacb182 (diff)
clang-tidy dead-store
Change-Id: I40574713beaf1799cbc177a679e3485b4dc4eb1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148349 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/msfilter/msdffimp.cxx1
-rw-r--r--filter/source/t602/t602filter.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index df90eb859c8f..144d64035b8d 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -6321,7 +6321,6 @@ bool SvxMSDffManager::GetShapeContainerData( SvStream& rSt,
// complex Prop found:
// Length is always 6. The length of the appended extra data
// after the actual prop table is of different size.
- nPropVal = 6;
}
}
break;
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx
index 17acea9d966b..ae1b53f2ad95 100644
--- a/filter/source/t602/t602filter.cxx
+++ b/filter/source/t602/t602filter.cxx
@@ -492,7 +492,7 @@ void T602ImportFilter::inschrdef(unsigned char ch)
void T602ImportFilter::wrtfnt()
{
Reference < XAttributeList > xAttrList ( mpAttrList );
- const char *style = "P1";
+ const char *style;
switch(fst.nowfnt) {
case standard : style = fst.uline ? "T7" : "T1"; break;