Caolán McNamara
c3c1cf88f2
coverity#705195 Missing break in switch
...
Change-Id: I7374fbcd6b89569530db5053fe2d9ac301ffbb80
2014-05-30 14:19:11 +01:00
Caolán McNamara
813d4d3b8d
coverity#705196 Missing break in switch
...
Change-Id: Ib757a4cf5c6bf6fa59b2eb1a3cb3c9c3c55431bc
2014-05-30 14:19:11 +01:00
Caolán McNamara
cf28ba611b
coverity#705197 Missing break in switch
...
Change-Id: I3a171be59989b53e1a96f0e4c640142bb8e64321
2014-05-30 14:19:11 +01:00
Julien Nabet
839dde414f
cppcheck: consecutive return/break/...
...
Change-Id: I171df68539fc41046b706157c04ab1e8cc1e60ca
2014-05-29 20:46:30 +02:00
Peter Senna Tschudin
3b24dcc8a8
Remove unnecessary semicolons
...
A simplified version of the semantic match that finds this problem is
follows: (http://coccinelle.lip6.fr/ )
// <smpl>
@r1@
statement S;
position p,p1;
@@
S@p1;@p
@script:python r2@
p << r1.p;
p1 << r1.p1;
@@
if p[0].line != p1[0].line_end:
cocci.include_match(False)
@@
position r1.p;
@@
-;@p
// </smpl>
Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e
Reviewed-on: https://gerrit.libreoffice.org/9493
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-27 01:19:00 -05:00
Arnaud Versini
cd11bc699a
C string usage improvment
...
Change-Id: I5c59f0d2d1b911ffa1ee251e0f1355d137616493
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-20 09:47:54 +02:00
Thomas Arnhold
2bd7767d01
Resolves fdo#70681: fixincludeguards.pl: all that's left
...
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-15 12:50:46 +00:00
Caolán McNamara
1c40075cac
coverity#984106 Uninitialized scalar field
...
Change-Id: Idf7c0e9a71b53990155f962628d0f79659f9ffec
2014-05-10 21:13:02 +01:00
Noel Grandin
4f9b21248f
simplify ternary conditions "xxx ? yyy : false"
...
Look for code like:
xxx ? yyy : false;
Which can be simplified to:
xxx && yyy
Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-05-05 12:47:48 +02:00
Pedro Giffuni
820a29950b
Many spelling fixes: directories r* - z*.
...
Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame the international nature of the code but
it is somewhat shameful that this wasn't done before.
(cherry picked from commit 28206a7cb43aff5adb10f8235ad1680c3941ee3e)
Conflicts:
include/osl/file.hxx
include/osl/pipe_decl.hxx
include/osl/socket.h
include/osl/socket_decl.hxx
include/sal/main.h
include/svx/dbaexchange.hxx
include/svx/dlgctrl.hxx
include/svx/msdffdef.hxx
include/svx/sdr/contact/objectcontactofpageview.hxx
include/svx/svdpntv.hxx
include/ucbhelper/content.hxx
include/ucbhelper/interceptedinteraction.hxx
include/ucbhelper/resultsethelper.hxx
include/unotools/sharedunocomponent.hxx
include/unotools/viewoptions.hxx
include/vcl/pdfwriter.hxx
include/xmloff/txtparae.hxx
include/xmloff/uniref.hxx
rhino/rhino1_7R3.patch
rsc/inc/rscrsc.hxx
sal/inc/osl/conditn.h
sal/inc/osl/security.h
sal/inc/osl/semaphor.h
sal/inc/osl/semaphor.hxx
sal/inc/rtl/string.hxx
sal/inc/rtl/tres.h
sal/inc/systools/win32/StrConvert.h
sal/osl/os2/file_path_helper.h
sal/osl/os2/file_path_helper.hxx
sal/osl/os2/file_url.cxx
sal/osl/os2/file_url.h
sal/osl/os2/makefile.mk
sal/osl/os2/pipe.cxx
sal/osl/os2/process.c
sal/osl/os2/profile.c
sal/osl/os2/socket.c
sal/osl/os2/system.h
sal/osl/unx/asm/interlck_sparc.s
sal/osl/unx/file_url.cxx
sal/osl/unx/signal.c
sal/osl/unx/system.h
sal/osl/w32/MAKEFILE.MK
sal/osl/w32/interlck.c
sal/osl/w32/module.cxx
sal/osl/w32/security.c
sal/qa/buildall.pl
sal/qa/osl/file/osl_File.cxx
sal/qa/osl/module/osl_Module_Const.h
sal/qa/osl/mutex/osl_Mutex.cxx
sal/qa/osl/pipe/osl_Pipe.cxx
sal/qa/osl/process/osl_Thread.cxx
sal/qa/osl/socket/osl_StreamSocket.cxx
sal/qa/osl/socket/sockethelper.cxx
sal/qa/rtl_strings/rtl_OUString.cxx
sal/rtl/source/unload.cxx
sal/systools/win32/kill/kill.cxx
sal/systools/win32/uwinapi/MoveFileExA.cpp
sal/test/bootstrap.pl
sal/typesconfig/typesconfig.c
sal/workben/tgetpwnam.cxx
sax/inc/sax/parser/saxparser.hxx
sc/addin/datefunc/dfa.cl
sc/addin/datefunc/dfa.src
sc/addin/rot13/rot13.cl
sc/addin/rot13/rot13.src
sc/inc/attarray.hxx
sc/inc/chgtrack.hxx
sc/inc/column.hxx
sc/inc/compressedarray.hxx
sc/inc/document.hxx
sc/inc/table.hxx
sc/source/core/data/column.cxx
sc/source/core/data/dptablecache.cxx
sc/source/core/data/dptabres.cxx
sc/source/core/data/dptabsrc.cxx
sc/source/core/data/global.cxx
sc/source/core/tool/chgtrack.cxx
sc/source/core/tool/compiler.cxx
sc/source/filter/excel/xestyle.cxx
sc/source/filter/excel/xichart.cxx
sc/source/filter/inc/fapihelper.hxx
sc/source/filter/inc/xistyle.hxx
sc/source/filter/xml/xmlsubti.cxx
sc/source/ui/Accessibility/AccessibleCell.cxx
sc/source/ui/Accessibility/AccessibleContextBase.cxx
sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx
sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
sc/source/ui/Accessibility/AccessibleEditObject.cxx
sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
sc/source/ui/app/inputwin.cxx
sc/source/ui/docshell/docfunc.cxx
sc/source/ui/drawfunc/fupoor.cxx
sc/source/ui/miscdlgs/linkarea.cxx
sc/source/ui/unoobj/chart2uno.cxx
sc/source/ui/unoobj/nameuno.cxx
sc/source/ui/vba/vbacharacters.hxx
sc/source/ui/vba/vbarange.cxx
sc/source/ui/vba/vbawindow.cxx
scaddins/source/analysis/analysishelper.cxx
scaddins/source/analysis/analysishelper.hxx
scaddins/source/datefunc/datefunc.cxx
scripting/examples/python/Capitalise.py
scripting/source/pyprov/officehelper.py
sd/source/filter/eppt/eppt.cxx
sd/source/filter/eppt/epptso.cxx
sd/source/ui/dlg/prltempl.cxx
sd/source/ui/dlg/tpoption.cxx
sd/source/ui/func/fuediglu.cxx
sd/source/ui/func/fupoor.cxx
sd/source/ui/func/fusel.cxx
sd/source/ui/func/smarttag.cxx
sd/source/ui/inc/OutlinerIteratorImpl.hxx
sd/source/ui/inc/SlideViewShell.hxx
sd/source/ui/inc/fuediglu.hxx
sd/source/ui/inc/fusel.hxx
sd/source/ui/slideshow/slideshowimpl.cxx
sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx
sd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx
sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx
sd/source/ui/slidesorter/view/SlsButtonBar.cxx
sd/source/ui/view/Outliner.cxx
sd/source/ui/view/drviewsh.cxx
sd/source/ui/view/frmview.cxx
sdext/source/presenter/PresenterFrameworkObserver.hxx
sdext/source/presenter/PresenterSlideShowView.cxx
setup_native/scripts/deregister_extensions
setup_native/scripts/register_extensions
setup_native/source/opensolaris/bundledextensions/README
setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions
setup_native/source/win32/customactions/patch/swappatchfiles.cxx
setup_native/source/win32/customactions/reg4msdoc/registrar.cxx
setup_native/source/win32/customactions/reg4msdoc/userregistrar.cxx
sfx2/inc/sfx2/sfxbasemodel.hxx
sfx2/qa/complex/sfx2/DocumentProperties.java
sfx2/source/appl/appopen.cxx
sfx2/source/appl/appquit.cxx
sfx2/source/appl/appserv.cxx
sfx2/source/bastyp/sfxhtml.cxx
sfx2/source/dialog/dockwin.cxx
sfx2/source/doc/docfile.cxx
sfx2/source/doc/docvor.cxx
sfx2/source/doc/graphhelp.cxx
sfx2/source/doc/objcont.cxx
sfx2/source/doc/objserv.cxx
sfx2/source/doc/objstor.cxx
sfx2/source/doc/objuno.cxx
sfx2/source/doc/objxtor.cxx
sfx2/source/doc/printhelper.cxx
sfx2/source/doc/sfxbasemodel.cxx
sfx2/source/notify/eventsupplier.cxx
sfx2/source/view/frmload.cxx
sfx2/source/view/sfxbasecontroller.cxx
shell/qa/zip/ziptest.cxx
shell/source/backends/wininetbe/wininetbackend.cxx
shell/source/win32/shlxthandler/util/utilities.cxx
solenv/bin/build.pl
solenv/bin/build_release.pl
solenv/bin/cws.pl
solenv/bin/download_external_dependencies.pl
solenv/bin/make_download.pl
solenv/bin/make_installer.pl
solenv/bin/modules/Cws.pm
solenv/bin/modules/ExtensionsLst.pm
solenv/bin/modules/installer/control.pm
solenv/bin/modules/installer/downloadsigner.pm
solenv/bin/modules/installer/javainstaller.pm
solenv/bin/modules/installer/packagepool.pm
solenv/bin/modules/installer/patch/InstallationSet.pm
solenv/bin/modules/installer/scriptitems.pm
solenv/bin/modules/installer/windows/feature.pm
solenv/bin/modules/installer/windows/msiglobal.pm
solenv/bin/modules/installer/windows/sign.pm
solenv/bin/modules/installer/worker.pm
solenv/bin/modules/installer/xpdinstaller.pm
solenv/bin/modules/osarch.pm
solenv/bin/modules/packager/work.pm
solenv/bin/modules/pre2par/parameter.pm
solenv/bin/patch_tool.pl
solenv/bin/transform_description.pl
solenv/doc/gbuild/doxygen.cfg
solenv/gbuild/LinkTarget.mk
solenv/gbuild/gbuild.mk
solenv/inc/os2gcci.mk
solenv/inc/settings.mk
solenv/inc/startup/Readme
solenv/inc/target.mk
solenv/inc/tg_compv.mk
solenv/inc/tg_javav.mk
solenv/inc/unitools.mk
solenv/inc/unxbsdi.mk
solenv/inc/unxbsdi2.mk
solenv/inc/unxbsds.mk
solenv/inc/unxfbsd.mk
solenv/inc/unxlng.mk
sot/source/sdstor/stg.cxx
sot/source/sdstor/stgelem.cxx
sot/source/sdstor/ucbstorage.cxx
starmath/inc/toolbox.hxx
starmath/source/mathmlexport.cxx
starmath/source/node.cxx
starmath/source/toolbox.cxx
starmath/source/view.cxx
stoc/source/bootstrap/bootstrap.xml
stoc/source/corereflection/criface.cxx
stoc/source/invocation/invocation.cxx
stoc/source/security/access_controller.cxx
stoc/source/servicemanager/servicemanager.cxx
stoc/source/tdmanager/tdmgr.cxx
stoc/test/javavm/testjavavm.cxx
stoc/test/testconv.cxx
stoc/test/testcorefl.cxx
stoc/test/testintrosp.cxx
svl/inc/svl/inettype.hxx
svl/inc/svl/urihelper.hxx
svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx
svl/qa/complex/ConfigItems/helper/HistoryOptTest.hxx
svl/source/config/itemholder2.hxx
svl/source/items/itemset.cxx
svl/source/numbers/zforlist.cxx
svl/source/numbers/zformat.cxx
svl/source/numbers/zforscan.cxx
svtools/bmpmaker/bmp.cxx
svtools/inc/svtools/helpagentwindow.hxx
svtools/inc/svtools/menuoptions.hxx
svtools/inc/svtools/miscopt.hxx
svtools/inc/svtools/optionsdrawinglayer.hxx
svtools/inc/svtools/stringtransfer.hxx
svtools/inc/svtools/svlbitm.hxx
svtools/inc/svtools/svtdata.hxx
svtools/inc/svtools/valueset.hxx
svtools/source/brwbox/editbrowsebox.cxx
svtools/source/config/itemholder2.hxx
svtools/source/contnr/contentenumeration.hxx
svx/inc/svx/fmsrcimp.hxx
svx/inc/svx/svdobj.hxx
svx/inc/svx/xtable.hxx
svx/source/accessibility/DGColorNameLookUp.cxx
svx/source/accessibility/svxrectctaccessiblecontext.cxx
svx/source/dialog/pfiledlg.cxx
svx/source/fmcomp/fmgridcl.cxx
svx/source/fmcomp/fmgridif.cxx
svx/source/fmcomp/gridctrl.cxx
svx/source/form/filtnav.cxx
svx/source/form/fmPropBrw.cxx
svx/source/form/fmshimp.cxx
svx/source/form/fmsrcimp.cxx
svx/source/gallery2/galtheme.cxx
svx/source/inc/docrecovery.hxx
svx/source/sdr/event/eventhandler.cxx
svx/source/svdraw/svdedtv2.cxx
svx/source/svdraw/svdedxv.cxx
svx/source/svdraw/svdhdl.cxx
svx/source/svdraw/svdobj.cxx
svx/source/svdraw/svdograf.cxx
svx/source/svdraw/svdoole2.cxx
svx/source/svdraw/svdotxtr.cxx
svx/source/svdraw/svdundo.cxx
svx/source/svdraw/svdxcgv.cxx
svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
sw/inc/SwNumberTree.hxx
sw/inc/ndnotxt.hxx
sw/source/core/access/acccell.cxx
sw/source/core/access/acccell.hxx
sw/source/core/access/accframebase.cxx
sw/source/core/access/accframebase.hxx
sw/source/core/access/accmap.cxx
sw/source/core/access/accpage.cxx
sw/source/core/access/accpage.hxx
sw/source/core/access/accpara.cxx
sw/source/core/access/accpara.hxx
sw/source/core/bastyp/swrect.cxx
sw/source/core/crsr/findtxt.cxx
sw/source/core/doc/docdde.cxx
sw/source/core/doc/notxtfrm.cxx
sw/source/core/docnode/section.cxx
sw/source/core/draw/dcontact.cxx
sw/source/core/edit/edlingu.cxx
sw/source/core/inc/anchoredobjectposition.hxx
sw/source/core/layout/paintfrm.cxx
sw/source/core/layout/tabfrm.cxx
sw/source/core/layout/trvlfrm.cxx
sw/source/core/ole/ndole.cxx
sw/source/core/text/atrstck.cxx
sw/source/core/text/inftxt.cxx
sw/source/core/text/itratr.cxx
sw/source/core/text/itrform2.cxx
sw/source/core/text/itrform2.hxx
sw/source/core/text/porfld.cxx
sw/source/core/text/txtfly.cxx
sw/source/core/txtnode/thints.cxx
sw/source/core/txtnode/txtedt.cxx
sw/source/core/uibase/dochdl/swdtflvr.cxx
sw/source/core/uibase/docvw/PostItMgr.cxx
sw/source/core/uibase/docvw/SidebarWin.cxx
sw/source/core/uibase/docvw/edtwin.cxx
sw/source/core/uibase/envelp/labimg.cxx
sw/source/core/uibase/uiview/pview.cxx
sw/source/core/uibase/uno/unomailmerge.cxx
sw/source/core/undo/unattr.cxx
sw/source/core/undo/untbl.cxx
sw/source/core/unocore/unochart.cxx
sw/source/core/view/vdraw.cxx
sw/source/core/view/vnew.cxx
sw/source/filter/basflt/fltini.cxx
sw/source/filter/html/wrthtml.cxx
sw/source/filter/inc/wwstyles.hxx
sw/source/filter/rtf/rtffly.cxx
sw/source/filter/rtf/swparrtf.cxx
sw/source/filter/ww8/docxattributeoutput.cxx
sw/source/filter/ww8/dump/msvbasic.cxx
sw/source/filter/ww8/dump/ww8scan.cxx
sw/source/filter/ww8/dump/ww8scan.hxx
sw/source/filter/ww8/dump/ww8struc.hxx
sw/source/filter/ww8/wrtww8.cxx
sw/source/filter/ww8/ww8graf.cxx
sw/source/filter/ww8/ww8par.cxx
sw/source/filter/ww8/ww8par2.cxx
sw/source/filter/ww8/ww8par2.hxx
sw/source/filter/ww8/ww8par3.cxx
sw/source/filter/ww8/ww8par6.cxx
sw/source/filter/ww8/ww8scan.cxx
sw/source/filter/ww8/ww8scan.hxx
sw/source/ui/dbui/dbinsdlg.cxx
sw/source/ui/inc/tablemgr.hxx
sw/source/ui/inc/uitool.hxx
sw/source/ui/lingu/olmenu.cxx
sw/source/ui/uiview/viewport.cxx
sysui/desktop/productversion.mk
sysui/desktop/slackware/makefile.mk
testgraphical/source/CallExternals.pm
testgraphical/source/fill_documents_loop.pl
testgraphical/ui/java/ConvwatchGUIProject/src/IniFile.java
toolkit/doc/layout/notes.txt
toolkit/doc/layout/oldnotes.txt
toolkit/source/awt/vclxtabcontrol.cxx
toolkit/src2xml/source/srcparser.py
toolkit/workben/layout/editor.cxx
tools/inc/tools/simplerm.hxx
tools/inc/tools/solar.h
tools/source/communi/geninfo.cxx
tools/source/fsys/dirent.cxx
tools/source/fsys/filecopy.cxx
tools/source/fsys/os2.cxx
tools/source/inet/inetmime.cxx
tools/source/rc/resmgr.cxx
ucb/source/core/ucbcmds.cxx
ucb/source/ucp/file/filglob.cxx
ucb/source/ucp/odma/odma_content.cxx
ucb/source/ucp/tdoc/ucptdoc.xml
ucb/source/ucp/webdav/makefile.mk
ucbhelper/inc/ucbhelper/simplecertificatevalidationrequest.hxx
ucbhelper/source/client/content.cxx
ucbhelper/source/client/interceptedinteraction.cxx
udkapi/com/sun/star/beans/XPropertiesChangeListener.idl
udkapi/com/sun/star/io/ObjectOutputStream.idl
udkapi/com/sun/star/io/XMarkableStream.idl
udkapi/com/sun/star/io/XTextOutputStream.idl
udkapi/com/sun/star/reflection/CoreReflection.idl
udkapi/com/sun/star/reflection/XTypeDescriptionEnumerationAccess.idl
udkapi/com/sun/star/test/XSimpleTest.idl
unodevtools/source/skeletonmaker/skeletoncommon.cxx
unodevtools/source/skeletonmaker/skeletoncommon.hxx
unotools/inc/unotools/cacheoptions.hxx
unotools/inc/unotools/cmdoptions.hxx
unotools/inc/unotools/dynamicmenuoptions.hxx
unotools/inc/unotools/extendedsecurityoptions.hxx
unotools/inc/unotools/fontoptions.hxx
unotools/inc/unotools/historyoptions.hxx
unotools/inc/unotools/idhelper.hxx
unotools/inc/unotools/internaloptions.hxx
unotools/inc/unotools/localisationoptions.hxx
unotools/inc/unotools/moduleoptions.hxx
unotools/inc/unotools/printwarningoptions.hxx
unotools/inc/unotools/securityoptions.hxx
unotools/inc/unotools/startoptions.hxx
unotools/inc/unotools/workingsetoptions.hxx
unotools/source/config/cmdoptions.cxx
unotools/source/config/compatibility.cxx
unotools/source/config/configitem.cxx
unotools/source/config/configmgr.cxx
unotools/source/config/dynamicmenuoptions.cxx
unotools/source/config/fontcfg.cxx
unotools/source/config/itemholder1.hxx
unotools/source/config/moduleoptions.cxx
unotools/source/config/pathoptions.cxx
unotools/source/config/viewoptions.cxx
unotools/source/misc/sharedunocomponent.cxx
uui/source/fltdlg.cxx
uui/source/iahndl-filter.cxx
vbahelper/inc/vbahelper/collectionbase.hxx
vbahelper/source/msforms/vbacontrol.cxx
vbahelper/source/vbahelper/collectionbase.cxx
vcl/aqua/source/gdi/atsfonts.cxx
vcl/inc/aqua/salmathutils.hxx
vcl/inc/graphite_cache.hxx
vcl/inc/jobset.h
vcl/inc/os2/salgdi.h
vcl/inc/osx/saldata.hxx
vcl/inc/salgdi.hxx
vcl/inc/salwtype.hxx
vcl/inc/unx/wmadaptor.hxx
vcl/inc/vcl/print.hxx
vcl/inc/vcl/strhelper.hxx
vcl/os2/source/app/salinst.cxx
vcl/os2/source/app/saltimer.cxx
vcl/os2/source/gdi/salgdi2.cxx
vcl/osx/salframeview.mm
vcl/osx/salprn.cxx
vcl/qa/cppunit/dndtest.cxx
vcl/source/app/dbggui.cxx
vcl/source/control/ilstbox.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/outdev4.cxx
vcl/source/gdi/outdev6.cxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/pdfwriter_impl2.cxx
vcl/source/gdi/print.cxx
vcl/source/gdi/print2.cxx
vcl/source/glyphs/gcach_layout.cxx
vcl/source/glyphs/glyphcache.cxx
vcl/source/glyphs/graphite_layout.cxx
vcl/source/window/printdlg.cxx
vcl/source/window/tabdlg.cxx
vcl/source/window/window.cxx
vcl/source/window/winproc.cxx
vcl/unx/generic/app/saldisp.cxx
vcl/unx/generic/dtrans/X11_selection.hxx
vcl/unx/gtk/app/gtkdata.cxx
vcl/win/source/gdi/salgdi2.cxx
vcl/win/source/gdi/salgdi3.cxx
vcl/win/source/window/salframe.cxx
vos/inc/vos/pipe.hxx
vos/inc/vos/process.hxx
vos/inc/vos/signal.hxx
vos/inc/vos/socket.hxx
vos/inc/vos/thread.hxx
vos/source/pipe.cxx
vos/source/socket.cxx
wizards/com/sun/star/wizards/agenda/AgendaTemplate.java
wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java
wizards/com/sun/star/wizards/agenda/TopicsControl.java
wizards/com/sun/star/wizards/web/FTPDialog.java
wizards/com/sun/star/wizards/web/ImageListDialog.java
wizards/com/sun/star/wizards/web/Process.java
wizards/com/sun/star/wizards/web/ProcessStatusRenderer.java
wizards/com/sun/star/wizards/web/TOCPreview.java
wizards/com/sun/star/wizards/web/WWD_Startup.java
wizards/com/sun/star/wizards/web/data/TypeDetection.java
wizards/com/sun/star/wizards/web/export/ImpressHTMLExporter.java
writerfilter/inc/doctok/WW8Document.hxx
writerfilter/source/dmapper/DomainMapper.cxx
writerfilter/source/dmapper/NumberingManager.cxx
writerfilter/source/dmapper/PropertyMap.cxx
writerfilter/source/dmapper/StyleSheetTable.cxx
writerfilter/source/doctok/WW8StructBase.hxx
writerfilter/source/doctok/resources.xmi
writerfilter/source/ooxml/README.efforts
xmerge/source/activesync/XMergeFilter.cpp
xmerge/source/minicalc/java/org/openoffice/xmerge/converter/xml/sxc/minicalc/SxcDocumentDeserializerImpl.java
xmerge/source/palmtests/qa/comparator/pdbcomparison.java
xmerge/source/palmtests/qa/test_spec/convertor_test_spec.html
xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/DefinedName.java
xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Workbook.java
xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Worksheet.java
xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/SymbolLookup.java
xmerge/source/pocketword/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/DocumentDescriptor.java
xmerge/workben/jstyle.pl
xmlhelp/source/cxxhelp/provider/databases.hxx
xmlhelp/source/cxxhelp/provider/provider.cxx
xmlhelp/source/treeview/tvread.cxx
xmloff/inc/txtfldi.hxx
xmloff/inc/xmloff/xmlmultiimagehelper.hxx
xmloff/inc/xmloff/xmluconv.hxx
xmloff/source/core/xmlexp.cxx
xmloff/source/draw/shapeexport2.cxx
xmloff/source/draw/shapeexport3.cxx
xmloff/source/meta/xmlversion.cxx
xmloff/source/style/impastp4.cxx
xmloff/source/style/xmlaustp.cxx
xmloff/source/text/XMLSectionExport.cxx
xmloff/source/text/txtflde.cxx
xmloff/source/text/txtimp.cxx
xmloff/source/text/txtparae.cxx
xmloff/source/text/txtparai.cxx
xmloff/source/text/txtvfldi.cxx
xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
Change-Id: Ie072e7c3a60c5dae16a67ac36d1f372c5065c99c
2014-05-01 08:59:14 +01:00
Stephan Bergmann
1c27bb5237
Some trivial -fsanitize=undefined adaptions
...
Change-Id: I60f6e2b5f041919319cb6b72684b8b7b8504560c
2014-04-16 14:13:47 +02:00
Thomas Arnhold
be9e778230
remove outdated RS6000 checks
2014-04-14 12:31:48 +02:00
Stephan Bergmann
b06a6bba31
Clean up function declaration
...
Change-Id: I3c38149f9c99b45170f44f48725087cbe5dba40e
2014-04-08 10:10:43 +02:00
Caolán McNamara
7e629ac799
coverity#707973 Uninitialized scalar field
...
Change-Id: I882bca4d09fe655275543cfeb3add59d4584d14b
2014-04-04 12:14:22 +01:00
Caolán McNamara
baa6b723d1
coverity#707522 Uninitialized scalar variable
...
Change-Id: Ib655e3763c1d8deb1c10a10616390d5fdefe2291
2014-04-01 10:38:26 +01:00
Caolán McNamara
f9903a57dc
callcatcher: update unused code
...
Change-Id: If4615e5bcb012321c554f75cd936dbf9b0dbf8ab
2014-03-14 08:55:34 +00:00
Caolán McNamara
f008fe11b7
coverity#708798 Unused pointer value
...
Change-Id: Ib27f174b37577a8572fb853a7040de51e95d665e
2014-03-13 16:25:11 +00:00
Caolán McNamara
1eeb20f395
CurrencyFields cannot be loaded from .src anymore
...
Change-Id: I3ccdb71e39a13dc8c697d3a52dc693cff10c614d
2014-03-13 11:18:37 +00:00
Caolán McNamara
feff54d8ce
MetricBoxes cannot be loaded from .src anymore
...
Change-Id: Id7b44402975ed75171f4475aa64ebd2a3d6bd687
2014-03-13 11:18:37 +00:00
Caolán McNamara
1de7c36a94
CurrencyBoxes cannot be loaded from .src anymore
...
Change-Id: I662aab01ecf5f78c4406838118ccea3988060521
2014-03-13 11:18:37 +00:00
Caolán McNamara
4737ed363a
DateBoxes cannot be loaded from .src anymore
...
Change-Id: Ic9d3c73cf67e855dc5931e96bc03014998cce9e0
2014-03-13 11:18:37 +00:00
Caolán McNamara
24cfa40779
TimeBoxes cannot be loaded from .src anymore
...
Change-Id: I1fa101656538c40c402fc8608f33961f293bd58d
2014-03-13 11:18:36 +00:00
Caolán McNamara
d40971a478
MoreButtons cannot be loaded from .src anymore
...
Change-Id: Ib831895b33323dd478cc125b3bf93c43826ef59d
2014-03-13 11:18:36 +00:00
Alexandre Vicenzi
e218663251
fdo#63154 Remove unused solar.h
...
Removed from dbaccess. editeng, filter,
framwork, formula, lotuswordpro, reportdesing, rsc,
uui
Conflicts:
framework/source/uielement/menubarwrapper.cxx
reportdesign/inc/RptDef.hxx
uui/source/iahndl.hxx
Change-Id: Ia6f1d8679736c3de99bd8060d8a7f76975268273
Reviewed-on: https://gerrit.libreoffice.org/8118
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-28 15:01:05 -06:00
Norbert Thiebaud
9aee4d1c9e
harmonize Tell() Seek() type.
...
Change-Id: I2e472aa0279d0763762d3c660207cd74da512626
2014-02-24 23:14:45 -06:00
Stephan Bergmann
33740b7d5a
Replace exisiting TriState, AutoState with more generic TriState
...
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24 12:27:32 +01:00
Noel Grandin
d33d1e316c
coverity#708799 unused pointer value
...
Change-Id: I141bb64b5e4e2f8624008f12c9551881e91f4fdb
2014-02-10 11:30:33 +02:00
Stephan Bergmann
b826f09e18
bool improvements
...
Change-Id: Ib1663b761675eebf9399c4d006b2fc59dd72cb47
2014-01-28 20:26:24 +01:00
Norbert Thiebaud
8c06444d0e
coverity#983075 : ressource leak
...
Change-Id: I70c0be6be1e880dacbf56aa6b040d6a514ce0f5c
2014-01-25 21:07:22 -06:00
Stephan Bergmann
b833876805
Use bool
...
Change-Id: Id6c1f1d4e4ee7aa29f16ef6930c1eb3d4a3a411f
2014-01-10 17:11:44 +01:00
Stephan Bergmann
f276c0057c
Be explicit when using bool as integral value
...
Change-Id: I0712b56dbcf8508876ed6eca5e0f02d85b35af67
2014-01-10 17:11:44 +01:00
Andras Timar
b55259eeb5
typo fixes
...
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
Jelle van der Waa
66397a4fd2
fdo#72598 Remove SunStudio cruft from code base
...
Change-Id: I5150eec33228e18e274a8ae4effd3f185851b7f4
Reviewed-on: https://gerrit.libreoffice.org/7103
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-12-16 20:52:39 +00:00
Julien Nabet
b3c2cf2ae1
widht -> width
...
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-23 23:22:25 +01:00
Noel Grandin
73342dbb82
remove unnecessary RTL_CONSTASCII_STRINGPARAM
...
A final pass through the code, converting code to use the new
OUString and OString methods that can detect string literals.
Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-22 08:07:19 +02:00
Noel Grandin
5112f6a6c6
remove RTL_CONSTASCII_STRINGPARAM in OString constructor
...
Convert code like:
OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX"));
to:
OString aKeyName("NDX");
which compiles down to the same code
Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
2013-11-20 13:56:07 +02:00
Noel Grandin
1730df0127
remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::append
...
Convert code like:
aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") );
to:
aOStringBuf.append( " is missing )" );
which compiles down to the same code.
Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71
2013-11-20 10:07:32 +02:00
Noel Grandin
e2451bd729
Convert indexOf->startsWith and lastIndexOf->endsWith
...
This is both an optimisation and a cleanup.
This converts code like
aStr.indexOf("XX") == 0
to
aStr.startsWith("XX")
and converts code like
aStr.lastIndexOf("XXX") == aStr.getLength() - 3
to
aStr.endsWith("XXX")
Note that in general
aStr.lastIndexOf("X") == aStr.getLength() - 1
converts to
aStr.isEmpty() || aStr.endsWith("X")
so I used the surrounding context to determine if aStr could be empty
when modifying the code.
Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-31 08:34:21 +02:00
Tor Lillqvist
a7724966ab
Bin comments that claim to say why some header is included
...
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22 16:56:28 +03:00
Tor Lillqvist
0937d07cd5
Simpligy: Bin odd atexit crack
...
Change-Id: Ib7e491ae66525b8ba2555b50fe7c9e1fed150987
2013-10-12 21:03:36 +03:00
Caolán McNamara
dc76fc4eda
CID#707521 unintialized member
...
Change-Id: Ieb4417ae89718d8c5e9abf77cb3e1830c080ae4e
2013-10-09 16:59:44 +01:00
Caolán McNamara
dd0999570a
CID#707522 uninitialized member
...
Change-Id: Iaadc8ea9f14dc2596f252e2f06a1613e6080f9ff
2013-10-09 16:59:44 +01:00
Caolán McNamara
5a0d01ee83
CID#441298 use after free
...
Change-Id: I4fd16f157244fa3406036d0f506c32bed0cf5b8a
2013-09-12 13:09:03 +01:00
Eike Rathke
e13fd39593
getFallbackStrings() with bIncludeFullBcp47 parameter
...
so the various places that check the full tag first do not have to get
it just to delete it again.
Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
2013-09-05 16:51:28 +02:00
Caolán McNamara
f00cd93a66
callcatcher: update unused code, esp unused Resource based ctor
...
e.g. no ImageRadioButton is now loaded from any res/rsc file, so
that ctor and associated code paths can be stripped out
Change-Id: Ic4cf19d45adb7c734f150e0b89eef193157a74a7
2013-08-27 09:58:35 +01:00
Eike Rathke
087ee66013
encapsulate IsoLangEntry again
...
Change-Id: I66475eb3914b07b4c7a045e295ef77a5de9439d4
2013-08-23 23:09:09 +02:00
Luboš Luňák
64b993e046
finish deprecation of O(U)String::valueOf()
...
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
Caolán McNamara
cc0b40f6a9
add some a11y relations and enable translation of ms
...
Change-Id: Ib509a7ae62aefc919bdaed269c1605ac6bae9564
2013-08-18 13:47:31 +01:00
Caolán McNamara
ce043bb4f9
callcatcher: update unused code list
...
Change-Id: I84f693aa6747f639bd4ae60a02dd4d8c30b7d029
2013-08-16 13:59:30 +01:00
Caolán McNamara
2235f495e3
add a seconds unit
...
Change-Id: I3507caab5cd61c282102ab21bf034ec54e497af3
2013-08-13 14:51:15 +01:00