Alexander Wilms
6a38eace8c
Remove visual noise from basic
...
Change-Id: I10865b94f67de39e9dbcbe71ede42aa94d81db61
Reviewed-on: https://gerrit.libreoffice.org/8234
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-25 21:09:17 +00:00
Tobias Lippert
a18a1a4545
Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
...
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.
Conflicts:
sc/source/ui/dbgui/pvlaydlg.cxx
Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-20 16:22:17 +00:00
Thomas Arnhold
326bec33e0
some more continuous corrections
2014-02-03 14:01:40 +01:00
Caolán McNamara
3848819cac
coverity#707652 Uninitialized scalar field
...
Change-Id: I6d561955454b0619255296704812b41a10ffe962
2014-01-27 14:38:38 +00:00
Stephan Bergmann
0d29aab156
bool improvements
...
Change-Id: Ic9ea40c430e0b0ab0d46bac3ba150ddac96c6acc
2014-01-14 18:11:10 +01:00
Norbert Thiebaud
8b308d510e
basic: include <> for external includes
...
Change-Id: I4715bbe853d60ef15f20a4d2441c688003ca568e
2013-11-11 22:37:24 -06:00
Noel Grandin
e9c4ee996d
remove unnecessary use of OUString constructor in BASIC module
...
Change-Id: Iee86ce9200285647d5031cb2f89266a52704dd44
2013-11-11 11:21:25 +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
Stephan Bergmann
458c5a0f47
Defer OUString -> OString conversion
...
...to avoid converting back OString -> OUString in SbiIoSystem::WriteCon.
Change-Id: I17024891d0babaa589f2c65f1123f1905c4338bb
2013-10-15 10:33:26 +02:00
Caolán McNamara
57482ed493
CID#707499 check for 0 nDims
...
Change-Id: I828339695db1b1880d7e884f8bf26911d04b8508
2013-09-12 13:09:04 +01:00
Noel Power
e70a436fe3
fix runtime error when using extended types
...
note: using VBA objects with the code completion is not possible at
the moment. Unfortunately there is some hard coded hacks for flattening
the namespace used by checkUnoObject.
Change-Id: Ic3a3149f41a6959943e71fa7ac22ff4dab7f30a1
2013-09-02 18:16:48 +02:00
Norbert Thiebaud
6a08067902
OUString convertion for unotools
...
Change-Id: Ifae7f344e3827875e32afa3cda23c771f5735707
Reviewed-on: https://gerrit.libreoffice.org/4659
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-07-02 07:31:30 +00:00
Tor Lillqvist
d12a3e8b76
Combine fairly pointlessly split source code for SbiRuntime into one file
...
Insert basic/source/runtime/step[012].cxx into
basic/source/runtime/runtime.cxx.
Follow-up to https://gerrit.libreoffice.org/#/c/3373/ .
In many cases the sources for some class have been split up into several
source files, typically suffixed with a number 0, 1, 2 etc. Presumably this
has been done because some compiler years ago was not capable of compiling all
the source for that class at one time, or some other no longer relevant
reason.
It would be nice to get rid of this convention, so that clever compilers have
a better chance of noticing unused private fields in a class, for
instance. Just combining the source files in question into one source file and
removing the old source files from git leads to a discontinuity in version
control history. But the consensus seems to be that this is not such a big
deal.
I picked these sources just because they happened to be the first ones I came
across when looking for files called *0.cxx.
Change-Id: Ia7e8ece9a4374721bbcce6b0e2aba5721436faae
2013-04-24 11:07:15 +03:00
Eike Rathke
29bfb507b3
get rid of some Germanism (and some Windowsism)
...
Change-Id: I2ca1b34ff688a7d4fcf6c84c02035eda3ab0dee8
2013-04-18 23:43:18 +02:00
Eike Rathke
1ef2cce787
Revert "svformatter already accept OUString input", fdo#63306
...
This reverts commit c5e5699c80
.
And adapts to OUString.
Conflicts:
basic/source/runtime/runtime.cxx
Change-Id: Icd7c1e1e57162eefb1f3631aa5509fd3a09c9b08
2013-04-18 22:57:47 +02:00
Krisztian Pinter
cd49ebe1aa
fdo#39445 writing out tools/fsys.hxx (basic)
...
removed unused include from runtime.cxx and step0.cxx
changed DirEntry::GetAccessDelimiter() to SAL_PATHDELIMITER in methods1.cxx
removed unused DirEntry declaration from methods1.cxx
Change-Id: I0d8c64b6498cf5b16757edaf13e1108f279934dd
Reviewed-on: https://gerrit.libreoffice.org/2848
Reviewed-by: Andras Timar <atimar@suse.com >
Tested-by: Andras Timar <atimar@suse.com >
2013-03-19 17:23:43 +00:00
Thomas Arnhold
59b5ff7574
basic: translation of all debug messages
...
runtime.cxx: Added some output instead of nothing.
Change-Id: Ia25ae4b5fe8661a8a3ac317bc0562e1339640cd8
2013-03-11 21:36:43 +01:00
Noel Grandin
f95a7c2c6d
fdo#46808, Convert SvNumberFormatter to use XComponentContext
...
Change-Id: If4e8312dae6bc5eb8bb7655cf250f06ab37b7e5c
2013-01-28 08:25:24 +02:00
Radu Ioan
d4bca924dd
fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
...
- Clean up OSL_
- Clean up DBG_
- Clean up OUString
Change-Id: I002d17ffbbd8371b0518ede34931b2eea30865a3
Reviewed-on: https://gerrit.libreoffice.org/1602
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2013-01-14 08:47:52 +00:00
Tor Lillqvist
6943c7b11c
Sigh, my git grep regexps missed some cases
...
Change-Id: I085f14f40fb83cba171b35b14cf7c0d99091fc00
2012-12-27 14:03:18 +02:00
Eike Rathke
9955dbebbd
AllSettings with LanguageTag
...
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22 12:34:59 +01:00
Norbert Thiebaud
cc63555fd0
PutEntry familly of functions use consistent pairing OUString/sal_Int32
...
Change-Id: I23ae9d3e8bf71ef9ece75ea013d18c36ab2e69d4
2012-11-18 19:57:23 -06:00
Norbert Thiebaud
27239ad230
basic: String -> OUString
...
Change-Id: I42479b4bade5111e38d69f04c889c166f340d5ba
2012-11-07 02:14:53 -06:00
Norbert Thiebaud
c5e5699c80
svformatter already accept OUString input
...
Change-Id: Icca8c40db4a4449876e115a0746319f3f893e846
2012-11-03 20:24:26 -05:00
Norbert Thiebaud
6f978fa977
basic: use OUString internaly for error messages
...
Change-Id: I9ea243f93b7477814037deca2f332c3359ce527d
2012-11-03 20:24:25 -05:00
Norbert Thiebaud
363d2c6f8b
use OUString for intermediary result in PrepareNumberFormatter
...
Change-Id: I9435d926beb2fd7ebe350f61634673eed7228fbe
2012-11-03 20:24:25 -05:00
Norbert Thiebaud
de8d81b157
cosmetic clean-up
...
Change-Id: Ie9569fba8b03656b9a50e9add06c8e13d0026624
2012-11-03 20:24:25 -05:00
Noel Power
986a0f4eab
fdo#54718 fix opcode detection in basic resulting in failed/unregcognized code
...
fix is followup to bf5b493104
which didn't adjust the runtime to
cater for the new enum layout
Change-Id: I6613fb8aacd8a70947c4fff556fb3e2d33c1113e
2012-09-10 11:15:22 +01:00
Takeshi Abe
969e6870e8
sal_Bool to bool
...
Change-Id: I86e5b49ccc9737517ecde17dbdaba44eeaee2371
2012-09-08 23:05:11 +09:00
Takeshi Abe
2efc59c9b6
sal_Bool to bool
...
Change-Id: I38141187c4f0809343a93c5765c0773d2321968a
2012-08-21 22:59:16 +09:00
Takeshi Abe
1817cf60d1
sal_Bool to bool
...
Change-Id: I61a6675df622232923a827fc20bf121dd03cd7da
2012-08-12 09:16:58 +09:00
Michael Stahl
6a94d7b5c9
basic, cui, extensions, filter, vcl: fix some warnings
2012-07-27 17:50:22 +02:00
Michael Meeks
63c508e3e8
re-base on ALv2 code. Includes:
...
118568: switch to using ucpp
Patch contributed by Juergen Schmidt
http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
Petr Vorel
aafcf8c84c
Remove unused code
2012-02-20 11:49:35 +00:00
August Sodora
cd10d4e8a6
Remove SbErrorStack[Entry]
2012-01-16 20:47:40 -05:00
David Tardon
d54349233f
remove useless misleading macros
2012-01-15 20:27:18 +01:00
Noel Grandin
583582c5bf
German translations
...
By Mike Whiteley/Noel Grandin, some smaller changes by myself; changes to binfilter removed from patch
2011-12-12 22:35:05 +01:00
Norbert Thiebaud
2ca38d3c7c
rmove include of pch header in basic
2011-11-27 12:55:59 -06:00
Caolán McNamara
ebbfc7ea4a
callcatcher: newly unused methods
2011-09-30 12:39:35 +01:00
Caolán McNamara
acc5c0734c
callcatcher: remove newly unused code
2011-09-30 09:09:27 +01:00
Allmann-Rahn
8b11173f34
Translated German comments, removed redundant ones till cairo (incl.)
2011-08-31 16:29:43 +03:00
Takeshi Abe
e1a1091d0a
catch ignored exceptions by const reference
2011-08-24 11:30:17 +09:00
Thomas Arnhold
6a7ba51092
callcatcher: remove unused StarBASIC::StaticEnableReschedule
2011-07-12 17:01:18 +02:00
Michael Meeks
ee6c4017da
cleanup loop iteration to be simpler
2011-05-31 14:17:43 +01:00
David Tardon
1bf36db7af
make the loop finite .-)
2011-05-31 11:55:58 +02:00
Michael Meeks
aedc5eb4af
fix snafu identified by Julien Nabet
2011-05-31 10:27:44 +01:00
Thorsten Behrens
f51c3f66b1
Merge commit 'ooo/DEV300_m106' into integration/dev300_m106
...
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-28 00:12:58 +02:00
Francisco Saito
e60d365c86
drop bogus executable flag from [ch]xx/bas/asm files
2011-03-29 21:40:28 +01:00
Daniel Rentz [dr]
b46dab973c
calcvba: #164410# improve VBA compatibility implementation in various areas: Excel symbols, MSForms symbols, document and forms event handling
2011-03-25 10:40:25 +01:00
Xisco Faulí
f6e0527033
Remove most of dead code inlibs-core (basic)
2011-03-21 12:55:58 +01:00