diff options
-rw-r--r-- | compilerplugins/clang/singlevalfields.results | 72 | ||||
-rw-r--r-- | include/sfx2/charwin.hxx | 1 | ||||
-rw-r--r-- | include/svx/svdograf.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/control/charwin.cxx | 3 | ||||
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 7 |
5 files changed, 34 insertions, 50 deletions
diff --git a/compilerplugins/clang/singlevalfields.results b/compilerplugins/clang/singlevalfields.results index 03a32af65333..74a90ed39e47 100644 --- a/compilerplugins/clang/singlevalfields.results +++ b/compilerplugins/clang/singlevalfields.results @@ -19,31 +19,37 @@ include/filter/msfilter/dffpropset.hxx:35 include/o3tl/vector_pool.hxx:93 o3tl::detail::struct_from_value::type nextFree -1 +include/sfx2/charwin.hxx:105 + SvxCharViewControl maHasInsert + 1 include/svtools/svparser.hxx:74 SvParser::TokenStackType nTokenValue 0 include/svtools/svparser.hxx:75 SvParser::TokenStackType bTokenHasValue 0 -include/vcl/filter/pdfdocument.hxx:173 +include/svx/svdograf.hxx:107 + SdrGrafObj mbIsPreview + 0 +include/vcl/filter/pdfdocument.hxx:174 vcl::filter::PDFNameElement m_nLength 0 -include/vcl/pdfwriter.hxx:549 +include/vcl/pdfwriter.hxx:548 vcl::PDFWriter::PDFSignContext m_pDerEncoded 0 -include/vcl/pdfwriter.hxx:551 +include/vcl/pdfwriter.hxx:550 vcl::PDFWriter::PDFSignContext m_nDerEncoded 0 -include/vcl/pdfwriter.hxx:553 +include/vcl/pdfwriter.hxx:552 vcl::PDFWriter::PDFSignContext m_pByteRange1 0 -include/vcl/pdfwriter.hxx:555 +include/vcl/pdfwriter.hxx:554 vcl::PDFWriter::PDFSignContext m_nByteRange1 0 -include/vcl/pdfwriter.hxx:557 +include/vcl/pdfwriter.hxx:556 vcl::PDFWriter::PDFSignContext m_pByteRange2 0 -include/vcl/pdfwriter.hxx:559 +include/vcl/pdfwriter.hxx:558 vcl::PDFWriter::PDFSignContext m_nByteRange2 0 libreofficekit/source/gtk/lokdocview.cxx:84 @@ -67,22 +73,16 @@ sc/inc/compiler.hxx:108 sc/qa/unit/ucalc.hxx:41 Test::RangeNameDef mnIndex 1 -sc/source/filter/inc/xcl97rec.hxx:272 - ExcBof8_Base nLowestBiffVer - 6 -sc/source/filter/inc/xechart.hxx:859 - XclExpChDropBar mnBarDist - 100 sd/inc/sdpptwrp.hxx:42 SdPPTFilter pBas 0 -sd/source/filter/html/htmlex.hxx:114 +sd/source/filter/html/htmlex.hxx:112 HtmlExport mbAutoSlide 1 -sfx2/source/appl/lnkbase2.cxx:76 +sfx2/source/appl/lnkbase2.cxx:77 sfx2::ImplBaseLinkData::tDDEType pItem 0 -sfx2/source/appl/lnkbase2.cxx:81 +sfx2/source/appl/lnkbase2.cxx:82 sfx2::ImplBaseLinkData::(anonymous) DDEType 0 sfx2/source/doc/doctemplates.cxx:136 @@ -103,7 +103,7 @@ soltools/mkdepend/def.h:132 stoc/source/inspect/introspection.cxx:1530 (anonymous namespace)::Cache::Data hits 1 -sw/inc/hints.hxx:189 +sw/inc/hints.hxx:188 SwAttrSetChg m_bDelSet 0 sw/inc/pagepreviewlayout.hxx:49 @@ -112,9 +112,6 @@ sw/inc/pagepreviewlayout.hxx:49 sw/source/core/inc/frmtool.hxx:260 SwBorderAttrs m_bBorderDist 1 -sw/source/core/inc/UndoNumbering.hxx:33 - SwUndoInsNum nSttSet - 18446744073709551615 sw/source/core/inc/UndoSort.hxx:38 SwSortUndoElement::(anonymous union)::(anonymous) nKenn 4294967295 @@ -127,19 +124,16 @@ sw/source/filter/html/htmlcss1.cxx:78 sw/source/filter/html/htmlcss1.cxx:79 SwCSS1ItemIds nFormatKeep 109 -sw/source/filter/html/svxcss1.hxx:200 +sw/source/filter/html/svxcss1.hxx:201 SvxCSS1Parser nMinFixLineSpace 141 -sw/source/filter/html/svxcss1.hxx:203 - SvxCSS1Parser nScriptFlags - 7 sw/source/filter/inc/rtf.hxx:30 RTFSurround::(anonymous union)::(anonymous) nJunk 0 -sw/source/filter/ww8/ww8par.hxx:651 +sw/source/filter/ww8/ww8par.hxx:655 WW8FormulaControl mfUnknown 0 -sw/source/filter/ww8/ww8par.hxx:660 +sw/source/filter/ww8/ww8par.hxx:664 WW8FormulaControl mhpsCheckBox 20 vcl/inc/salprn.hxx:41 @@ -175,43 +169,43 @@ vcl/source/filter/jpeg/transupp.h:131 vcl/source/font/font.cxx:539 (anonymous namespace)::WeightSearchEntry weight 5 -vcl/source/gdi/dibtools.cxx:49 +vcl/source/gdi/dibtools.cxx:50 (anonymous namespace)::CIEXYZ aXyzX 0 -vcl/source/gdi/dibtools.cxx:50 +vcl/source/gdi/dibtools.cxx:51 (anonymous namespace)::CIEXYZ aXyzY 0 -vcl/source/gdi/dibtools.cxx:51 +vcl/source/gdi/dibtools.cxx:52 (anonymous namespace)::CIEXYZ aXyzZ 0 -vcl/source/gdi/dibtools.cxx:104 +vcl/source/gdi/dibtools.cxx:105 (anonymous namespace)::DIBV5Header nV5RedMask 0 -vcl/source/gdi/dibtools.cxx:105 +vcl/source/gdi/dibtools.cxx:106 (anonymous namespace)::DIBV5Header nV5GreenMask 0 -vcl/source/gdi/dibtools.cxx:106 +vcl/source/gdi/dibtools.cxx:107 (anonymous namespace)::DIBV5Header nV5BlueMask 0 -vcl/source/gdi/dibtools.cxx:107 +vcl/source/gdi/dibtools.cxx:108 (anonymous namespace)::DIBV5Header nV5AlphaMask 0 -vcl/source/gdi/dibtools.cxx:110 +vcl/source/gdi/dibtools.cxx:111 (anonymous namespace)::DIBV5Header nV5GammaRed 0 -vcl/source/gdi/dibtools.cxx:111 +vcl/source/gdi/dibtools.cxx:112 (anonymous namespace)::DIBV5Header nV5GammaGreen 0 -vcl/source/gdi/dibtools.cxx:112 +vcl/source/gdi/dibtools.cxx:113 (anonymous namespace)::DIBV5Header nV5GammaBlue 0 -vcl/source/gdi/dibtools.cxx:114 +vcl/source/gdi/dibtools.cxx:115 (anonymous namespace)::DIBV5Header nV5ProfileData 0 -vcl/source/gdi/dibtools.cxx:115 +vcl/source/gdi/dibtools.cxx:116 (anonymous namespace)::DIBV5Header nV5ProfileSize 0 -vcl/source/gdi/dibtools.cxx:116 +vcl/source/gdi/dibtools.cxx:117 (anonymous namespace)::DIBV5Header nV5Reserved 0 vcl/source/gdi/pdfwriter_impl.hxx:698 diff --git a/include/sfx2/charwin.hxx b/include/sfx2/charwin.hxx index 0db93a2f1302..88335d00a1a8 100644 --- a/include/sfx2/charwin.hxx +++ b/include/sfx2/charwin.hxx @@ -102,7 +102,6 @@ private: long mnY; Point maPosition; vcl::Font maFont; - bool maHasInsert; Link<SvxCharViewControl*, void> maMouseClickHdl; }; diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx index d11a289060f8..f3b0b1946564 100644 --- a/include/svx/svdograf.hxx +++ b/include/svx/svdograf.hxx @@ -104,7 +104,6 @@ private: // #i25616# bool mbInsidePaint:1; - bool mbIsPreview:1; bool mbIsSignatureLine; OUString maSignatureLineId; diff --git a/sfx2/source/control/charwin.cxx b/sfx2/source/control/charwin.cxx index 971397c04322..d2a723938a13 100644 --- a/sfx2/source/control/charwin.cxx +++ b/sfx2/source/control/charwin.cxx @@ -262,7 +262,6 @@ SvxCharViewControl::SvxCharViewControl(vcl::Window* pParent) : Control(pParent, WB_TABSTOP | WB_BORDER) , mnY(0) , maPosition(0,0) - , maHasInsert(true) { } @@ -274,7 +273,7 @@ void SvxCharViewControl::MouseButtonDown( const MouseEvent& rMEvt ) if ( rMEvt.IsLeft() ) { - if ( !(rMEvt.GetClicks() % 2) && maHasInsert ) + if ( !(rMEvt.GetClicks() % 2) ) { InsertCharToDoc(); } diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 930569cc7832..018aef7e018b 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -344,7 +344,6 @@ SdrGrafObj::SdrGrafObj(SdrModel& rSdrModel) // #i25616# mbLineIsOutsideGeometry = true; mbInsidePaint = false; - mbIsPreview = false; // #i25616# mbSupportTextIndentingOnLineWidthChange = false; @@ -372,7 +371,6 @@ SdrGrafObj::SdrGrafObj( // #i25616# mbLineIsOutsideGeometry = true; mbInsidePaint = false; - mbIsPreview = false; // #i25616# mbSupportTextIndentingOnLineWidthChange = false; @@ -399,7 +397,6 @@ SdrGrafObj::SdrGrafObj( // #i25616# mbLineIsOutsideGeometry = true; mbInsidePaint = false; - mbIsPreview = false; // #i25616# mbSupportTextIndentingOnLineWidthChange = false; @@ -415,7 +412,6 @@ void SdrGrafObj::SetGraphicObject(const GraphicObject& rGraphicObject) mpGraphicObject.reset(new GraphicObject(rGraphicObject)); mpReplacementGraphicObject.reset(); mpGraphicObject->SetUserData(); - mbIsPreview = false; SetChanged(); BroadcastObjectChange(); onGraphicChanged(); @@ -454,7 +450,6 @@ void SdrGrafObj::NbcSetGraphic(const Graphic& rGraphic) mpGraphicObject->SetGraphic(rGraphic); mpReplacementGraphicObject.reset(); mpGraphicObject->SetUserData(); - mbIsPreview = false; onGraphicChanged(); } @@ -568,8 +563,6 @@ const Size& SdrGrafObj::GetGrafPrefSize() const void SdrGrafObj::SetGrafStreamURL( const OUString& rGraphicStreamURL ) { - mbIsPreview = false; - if( rGraphicStreamURL.isEmpty() ) { mpGraphicObject->SetUserData(); |