summaryrefslogtreecommitdiff
path: root/basic/source/uno
AgeCommit message (Collapse)Author
2012-06-30Some cppcheck cleaningJulien Nabet
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-29Remove UNO includes commentsThomas Arnhold
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-25reduce static_initialization_and_destruction chainCaolán McNamara
Change-Id: I0c1b2f2d908c31d1510662880c13504d81445a6a
2012-06-21reduce scope and replace some String::CreateFromAsciiCaolán McNamara
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update code to use factory method PathSubstitutions::create Change-Id: I3721bd93c36b207d849eea19102f5ac61cadd205 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update calls to factories to use new SimpleFileAccess::create method Change-Id: Ie5b0696fe2228a9033b19969245a53c21a61aa14 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: Ia651a93951da514105183775a5f49d031a192937
2012-05-31targetted misc. minor cppcheck cleanups reversionMichael Meeks
Change-Id: Ic7f91c035d3e7f0e792d2e9ab217e1fc4ebcf697
2012-04-23This incorporates the suggested changes.Abeer Sethi
2012-04-08Replaced a few equal calls with ==Szabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-02reorganize trickier staticsCaolán McNamara
2012-03-28removed duplicate includes in avmedia / basic / canvas / chart2 / comphelperTakeshi Abe
2012-03-22over-engineered thread-safe static OUStringCaolán McNamara
This is a ridiculous over-engineered thread-safe static string for something which is called so few times, and costs 1k of long-term memory as the OUString dtor needs to be put into a callback queue to get called at module unload time. Just return a new string every time, *rolls eyes*
2012-03-08state *what* was not found when throwing exceptionCaolán McNamara
2012-03-08Removed unused macroTakeshi Abe
2012-03-05Remove unused code from basicElton Chung
2012-02-24basic: tolerate empty / missing dialog.xlc and script.xlc filesMichael Meeks
2012-02-24basic: remove un-used return value indicating failureMichael Meeks
2012-02-22OUString ctor for string literals without RTL_CONSTASCII stuffLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-February/025662.html
2012-02-01A few safe replacements of pathes->pathsJesús Corrius
2012-01-21Removed some unused parameters; added SAL_UNUSED_PARAMETER.Stephan Bergmann
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC) is used to annotate legitimately unused parameters, so that static analysis tools can tell legitimately unused parameters from truly unnecessary ones. To that end, some patches for external modules are also added, that are only applied when compiling with GCC and add necessary __attribute__ ((unused)) in headers.
2011-12-13Fix for fdo43460 Part IV getLength to isEmptyOlivier Hallot
Part IV Module basic (small fix per demand from Ivan Timofeev) binaryurp bridges
2011-12-10Fix for fdo43460 Part III getLength to isEmptyOlivier Hallot
Part III Module basic
2011-11-29removed dead codeTakeshi Abe
2011-11-27rmove include of pch header in basicNorbert Thiebaud
2011-11-23Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.Stephan Bergmann
A compile time check ensures the common case of streaming just a plain C-style string literal still produces reasonably compact call-site code. The format-string variants are still available in sal/detail/log.h, but only to be used in obsolete osl/diagnose.h etc., and going to be removed again eventually.
2011-11-23catch by const referenceTakeshi Abe
2011-11-22Remove no longer necessary "(void) x; // avoid warnings".Stephan Bergmann
2011-11-22New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.Stephan Bergmann
* New SAL_INFO..., SAL_WARN... macros. * New SAL_STREAM supersedes OSL_FORMAT. * oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now). * TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site cleanup). * Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet addressed. * Some replacements tools String -> rtl::OUString.
2011-10-27these are files--no trailing /David Tardon
2011-10-08Second attempt at (cross-platform) OSL_FORMAT.Stephan Bergmann
2011-10-08Revert "Introduced OSL_FORMAT, adpated some places to it."Tor Lillqvist
Breaks the MSVC build for me: 'osl_detail_formatString' : C linkage function cannot return C++ class 'rtl::OString'. This reverts commit 6b900b8bede24c8710d62e9e7cbff613a0b12f9f.
2011-10-08Introduced OSL_FORMAT, adpated some places to it.Stephan Bergmann
2011-08-24catch ignored exceptions by const referenceTakeshi Abe
2011-08-22fix leaking 'Pictures' streams from basic dialogs in baseNoel Power
With database document, any contents of the Pictures folder ( afaics only basic dialogs store content here ) is never cleaned up between saves.
2011-08-18Add prefixes for some component_getFactory functionsMatúš Kukan
2011-08-17fdo#40173 write out *newly* empty libraryLionel Elie Mamane
2011-08-17fdo#40079: load Dialog library before trying to get embedded imagesLionel Elie Mamane
2011-08-17Janitorial: deduplicate code; no behaviour changeLionel Elie Mamane
2011-08-14class SfxLibrary: Typo in private member name: maOrig*ni*alStorageURLLionel Elie Mamane
2011-07-30convert basic to gbuildMatúš Kukan
2011-07-26fixed typoTakeshi Abe
2011-07-21Do not use macros from comphelper's componentmodule.hxxMatúš Kukan
2011-05-27Merge remote-tracking branch 'origin/integration/dev300_m106'Jan Holesovsky
Conflicts: basic/source/classes/sbunoobj.cxx basic/source/inc/runtime.hxx basic/source/runtime/step1.cxx desktop/source/deployment/dp_services.cxx drawinglayer/prj/d.lst drawinglayer/source/primitive2d/makefile.mk sfx2/source/appl/appinit.cxx sfx2/source/appl/appquit.cxx sfx2/source/inc/appdata.hxx sfx2/source/view/viewfrm.cxx svx/source/fmcomp/gridctrl.cxx vbahelper/source/vbahelper/vbahelper.cxx
2011-05-17Revert "maybe temporary fix for crash when accessing basic uno services"Noel Power
This reverts commit 1aa0150844d37e28cf0b420cbc60a96ad478edbe.
2011-05-16maybe temporary fix for crash when accessing basic uno servicesNoel Power
OModule implementation ( in comphelper/source/misc/componentmodule.cxx ) has been changed by commit f9496177a4c942f2acc39a978a3cd65689f14d8d, it seems we need to have a registerClient call made on the module in order for it to work. Adding a BasicModuleClient instance seems to do that ( not sure though if this is a correct fix )
2011-04-28Merge commit 'ooo/DEV300_m106' into integration/dev300_m106Thorsten Behrens
Conflicts: avmedia/source/gstreamer/gstframegrabber.cxx avmedia/source/gstreamer/gstplayer.cxx avmedia/source/gstreamer/gstplayer.hxx basic/inc/basic/sbxdef.hxx basic/source/classes/sbxmod.cxx basic/source/comp/makefile.mk basic/source/comp/sbcomp.cxx basic/source/inc/namecont.hxx basic/source/inc/scriptcont.hxx basic/source/runtime/methods.cxx basic/source/runtime/runtime.cxx basic/source/runtime/stdobj.cxx basic/source/runtime/step1.cxx basic/source/uno/namecont.cxx basic/util/makefile.mk connectivity/source/commontools/predicateinput.cxx connectivity/source/drivers/dbase/DNoException.cxx connectivity/source/drivers/dbase/DTable.cxx connectivity/source/drivers/file/fcomp.cxx connectivity/source/drivers/jdbc/JConnection.cxx connectivity/source/drivers/odbcbase/OResultSet.cxx connectivity/source/drivers/odbcbase/OStatement.cxx connectivity/source/parse/sqlnode.cxx desktop/source/app/app.cxx drawinglayer/inc/drawinglayer/primitive2d/drawinglayer_primitivetypes2d.hxx drawinglayer/source/processor2d/vclprocessor2d.cxx formula/inc/formula/token.hxx formula/source/core/api/token.cxx fpicker/source/win32/filepicker/VistaFilePickerImpl.hxx fpicker/source/win32/filepicker/platform_vista.h framework/source/helper/persistentwindowstate.cxx framework/source/uielement/menubarmanager.cxx oovbaapi/ooo/vba/XFoundFiles.idl oovbaapi/ooo/vba/excel/XApplication.idl oovbaapi/ooo/vba/msforms/XCheckBox.idl oovbaapi/ooo/vba/msforms/XComboBox.idl oovbaapi/ooo/vba/msforms/XControl.idl oovbaapi/ooo/vba/msforms/XGroupBox.idl oovbaapi/ooo/vba/msforms/XLabel.idl oovbaapi/ooo/vba/msforms/XListBox.idl oovbaapi/ooo/vba/msforms/XNewFont.idl oovbaapi/ooo/vba/msforms/XRadioButton.idl oovbaapi/ooo/vba/msforms/XTextBox.idl oovbaapi/ooo/vba/msforms/XToggleButton.idl scripting/source/dlgprov/dlgevtatt.cxx sfx2/source/control/unoctitm.cxx sfx2/source/doc/objstor.cxx sfx2/source/doc/objxtor.cxx svx/inc/svx/svdograf.hxx svx/source/form/fmpage.cxx svx/source/form/fmpgeimp.cxx svx/source/svdraw/svdedtv.cxx svx/source/svdraw/svdfmtf.cxx svx/source/svdraw/svdograf.cxx svx/source/svdraw/svdouno.cxx svx/source/xml/xmlgrhlp.cxx uui/source/iahndl-ssl.cxx vbahelper/Library_msforms.mk vbahelper/Library_vbahelper.mk vbahelper/inc/vbahelper/vbahelper.hxx vbahelper/prj/build.lst vbahelper/source/msforms/vbacombobox.cxx vbahelper/source/msforms/vbacontrol.cxx vbahelper/source/msforms/vbacontrols.cxx vbahelper/source/msforms/vbaframe.cxx vbahelper/source/msforms/vbaframe.hxx vbahelper/source/msforms/vbalabel.cxx vbahelper/source/msforms/vbalabel.hxx vbahelper/source/msforms/vbalistbox.cxx vbahelper/source/msforms/vbalistbox.hxx vbahelper/source/msforms/vbamultipage.cxx vbahelper/source/msforms/vbatogglebutton.cxx vbahelper/source/msforms/vbauserform.cxx vbahelper/source/vbahelper/vbacommandbar.cxx vbahelper/source/vbahelper/vbacommandbarcontrol.cxx vbahelper/source/vbahelper/vbacommandbarcontrols.hxx vbahelper/source/vbahelper/vbahelper.cxx vbahelper/source/vbahelper/vbawindowbase.cxx xmloff/source/meta/xmlmetai.cxx xmloff/source/style/PageMasterExportPropMapper.cxx xmloff/source/style/PageMasterStyleMap.cxx xmloff/source/text/txtexppr.cxx xmloff/source/text/txtprmap.cxx
2011-04-22cppcheck inefficient checking for emptinessKayo Hamid
From cppcheck: Using xxxx.empty() instead of xxxx.size() can be faster. xxxx.size() can take linear time but xxxx.empty() is guaranteed to take constant time