From ff339c89b51ed571d55c762e43aa1a6ee9ada1cb Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 4 Apr 2017 14:13:00 +0200 Subject: loplugin:constantparam part2 Change-Id: I7ec4c946be52a6b56aee908426f95ecacc7b0746 Reviewed-on: https://gerrit.libreoffice.org/36072 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/classes/sbxmod.cxx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'basic/source/classes') diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx index 79f210a7e9d0..c8a3389051fe 100644 --- a/basic/source/classes/sbxmod.cxx +++ b/basic/source/classes/sbxmod.cxx @@ -1777,14 +1777,10 @@ bool SbModule::HasExeCode() } // Store only image, no source -void SbModule::StoreBinaryData( SvStream& rStrm, sal_uInt16 nVer ) +void SbModule::StoreBinaryData( SvStream& rStrm ) { if (!Compile()) return; - bool bFixup = ( !nVer && !pImage->ExceedsLegacyLimits() );// save in old image format, fix up method starts - - if ( bFixup ) // save in old image format, fix up method starts - fixUpMethodStart( true ); if (!SbxObject::StoreData(rStrm)) return; @@ -1794,12 +1790,7 @@ void SbModule::StoreBinaryData( SvStream& rStrm, sal_uInt16 nVer ) pImage->aName = GetName(); rStrm.WriteUChar(1); - if (nVer) - pImage->Save(rStrm); - else - pImage->Save(rStrm, B_LEGACYVERSION); - if (bFixup) - fixUpMethodStart(false); // restore method starts + pImage->Save(rStrm); pImage->aOUSource = aOUSource; } -- cgit o/cib/libreoffice-6-0'>distro/cib/libreoffice-6-0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sdext
AgeCommit message (Expand)Author
2019-02-13Indexing is not needed for single getToken() callMatteo Casalin
2019-02-13OptimizerDialog: simplify string operations when selecting...Matteo Casalin
2019-02-12loplugin:flatten in sdextNoel Grandin
2019-02-11new loplugin writeonlyvarsNoel Grandin
2019-02-09loplugin:indentation in sdNoel Grandin
2019-01-28o3tl::make_unique -> std::make_unique in sax...svtools (except sc)Gabor Kelemen
2019-01-15poppler: upgrade to release 0.73.0Michael Stahl
2019-01-15sdext: fix build with poppler 0.73Michael Stahl
2019-01-11Replace OUStringBuffer::appendCopy with append(std::u16string_view)Stephan Bergmann
2019-01-08Fix build with poppler-0.72Andreas Sturmlechner
2018-12-21use unique_ptr in sdextNoel Grandin
2018-12-11presentation minimizer: warn user about unsaved presentationVasily Melenchuk
2018-12-10Fix build with poppler 0.71Aleksei Nikiforov
2018-12-08Remove misguided FALLTHROUGH commentsStephan Bergmann
2018-12-07HAVE_BROKEN_CONST_ITERATORS is always false nowStephan Bergmann
2018-12-06-Werror,-Wunused-variableStephan Bergmann
2018-12-05loplugin:unnecessaryparen include more assignmentsNoel Grandin
2018-12-03presentation minimizer: suggest filename for a new presentationVasily Melenchuk
2018-12-03Simplify containers iterations in sdextArkadiy Illarionov
2018-12-01tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski
2018-11-29loplugin:stringconstant look for unnecessary OString constructor useNoel Grandin
2018-11-27tdf#42949 Fix IWYU warnings in include/vcl/[f-h]*Gabor Kelemen
2018-11-25tdf#120703 PVS: V560 A part of conditional expression is always true/falseMike Kaganski
2018-11-22remove unused enums DocumentTextDirection and RendererPaneStyle::SideNoel Grandin
2018-11-21loplugin:redundantfcast improvementsNoel Grandin
2018-11-20poppler dropped GBool since 0.71Mike Kaganski
2018-11-16loplugin:staticmethods improvementNoel Grandin
2018-11-08Resolves: rhbz#1647507 try inputted password as both user and owner passwordCaolán McNamara
2018-11-07loplugin:collapseif in sdext..svxNoel Grandin
2018-11-06presentation minimizer: fixed problem with default filenameVasily Melenchuk
2018-11-05presentation minimizer: use standard error reportingVasily Melenchuk
2018-11-01clang-tidy: (WIP) bugprone-too-small-loop-variable findingsTamás Zolnai
2018-10-27tdf#120703 PVS: V519 variable is assigned values twice successivelyMike Kaganski
2018-10-23remove old poppler compat codeNoel Grandin
2018-10-22pvs-studio: V571 Recurring checkCaolán McNamara
2018-10-21tdf#120703 (PVS): redundant nullptr check; unsafe pointer dereferenceMike Kaganski
2018-10-20tdf#120703 (PVS)Mike Kaganski
2018-10-19clang-tidy readability-container-size-emptyNoel Grandin
2018-10-19clang-tidy modernize-redundant-void-argNoel Grandin
2018-10-17clang-tidy readability-redundant-smartptr-getNoel Grandin
2018-10-12drop some unused headersCaolán McNamara
2018-10-09Extend loplugin:redundantinline to catch inline functions w/o external linkageStephan Bergmann
2018-10-09loplugin:constfields in sdextNoel Grandin
2018-09-27loplugin:methodcycles more graph theory for the winNoel Grandin
2018-09-17New loplugin:externalStephan Bergmann
2018-09-13new loplugin simplifyconstructNoel Grandin
2018-09-11loplugin:unusedmethodsNoel Grandin
2018-09-10tdf#42949 Fix IWYU warnings in include/cppuhelper/*Gabor Kelemen