ea8f32b61a
use SimpleReferenceObject in dbaccess module
...
to replace hand-rolled version
Change-Id: Ie7b98c284d157521482b0f98915146133f32748e
2014-07-10 11:04:11 +02:00
70e744b215
fdo#43157 Remove OSL_POSTCOND, prefer SAL_WARN_IF
...
Change-Id: Ia89a2dce799c7ba90bcd19919195bfd2c7a4a180
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >
2014-05-12 11:32:38 +02:00
362d4f0cd4
Explicitly mark overriding destructors as "virtual"
...
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."
Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
ddb07081da
xmloff: sal_Bool->bool
...
Change-Id: I1deb10cb1581137ab92e73367e63339822a9a094
2014-03-31 12:36:54 +02:00
567ef6d578
Second batch of adding SAL_OVERRIDE to overriding function declarations
...
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
5e21a413c7
cppuhelper: retrofit std::exception into overriding exception specs
...
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
d9648d3567
remove unnecessary sal_Unicode casts in DBACCESS module
...
Change-Id: I4c4ab5d672e994b1e8e3beac027d3f4e8f700714
2013-11-14 08:17:30 +02:00
bfbe8c0b5b
fixincludeguards.sh: dbaccess
...
Change-Id: Iadd4326d58a5df5761a0ed5ce7fd5fb01fb87d11
2013-11-05 09:28:52 +01:00
0e6a2601b3
Convert code that calls OUString::getStr()[] to use the [] operator
...
This also means that this code now gets bounds checked in debug builds.
Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-04 08:06:10 +02:00
2ec606730b
fdo#62475 removed pointless comments
...
Conflicts:
dbaccess/source/filter/xml/xmlfilter.cxx
dbaccess/source/ui/dlg/ConnectionPage.cxx
dbaccess/source/ui/dlg/detailpages.cxx
dbaccess/source/ui/dlg/odbcconfig.cxx
dbaccess/source/ui/querydesign/querycontroller.cxx
Change-Id: I3a05649efa3a43dd8d8fb069fc1bce14ca0a6338
Reviewed-on: https://gerrit.libreoffice.org/5484
Reviewed-by: Petr Mladek <pmladek@suse.cz >
Tested-by: Petr Mladek <pmladek@suse.cz >
2013-08-27 16:11:09 +00:00
9a1aca007f
fdo#57950: Remove some chained appends in dbaccess
...
Change-Id: If93b4a11ac15ede2b08ef42bb2fa4670f0d4cd24
Reviewed-on: https://gerrit.libreoffice.org/5481
Reviewed-by: Andrzej J.R. Hunt <andrzej@ahunt.org >
Tested-by: Andrzej J.R. Hunt <andrzej@ahunt.org >
2013-08-19 06:04:40 +00:00
6a043e9c0a
Use the new type-checking Reference constructor to reduce code noise
...
Also create a Clang compiler plugin to detect such cases.
Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752
Reviewed-on: https://gerrit.libreoffice.org/4001
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2013-05-22 10:44:29 +00:00
9a7603187e
dbaccess: remove Package_inc
...
Change-Id: I8e6748eef04f25603851a33d049cb9585fa04cc6
2013-05-07 01:41:23 +02:00
5907bb462d
Fix compilation error when OSL_DEBUG_LEVEL > 0
...
Just use SAL_WARN, building up the message using chained << operators instead
of constructing it into a OStringBuffer (or OUStringBuffer) and then passing
that to OSL_FAIL.
Or should we have a real assert() here?
Change-Id: I2c3f64ff2b29a3d81ba444d98c2a38ef49e6d7af
2013-04-25 13:53:54 +03:00
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
2b7ee1db28
remove boilerplate comments
...
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01 22:45:36 +02:00
a066525b42
fdo#46808, Convert a bunch of comphelper::ComponentContext stuff
...
.. to Reference<XComponentContext>
mostly in the dbaccess module, but it also affected some other
modules.
Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
2013-03-20 07:32:53 +02:00
fbd4588afd
fdo#46808, convert io::TextOutputStream service to new-style
...
Change-Id: I12af47afc21c2b646197893a77698f4e0818f94f
2013-02-11 08:02:15 +02:00
ff85e8319a
fdo#46808, convert io::TextInputStream service to new style
...
Change-Id: Ida4abdd6587399aa8ade88af672bcb23ab7ea0f1
2013-02-11 08:02:15 +02:00
77856e81ce
fdo#46808, Adapt document::*PropertyValues UNO service to new style
...
The services are:
document::NamedPropertyValues
document::IndexedPropertyValues
The services already existed, they just did not have IDL files
Change-Id: Ibafe9b5afb9b30785df4f66aa923f4b96ceabeed
2013-01-28 08:25:24 +02:00
a1808e0d38
Remove more STRINGPARAM macros form dbaccess
...
Change-Id: I283ccd03dc811dda2f10963f400cd517f42ea7b3
Reviewed-on: https://gerrit.libreoffice.org/1878
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br >
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br >
2013-01-27 17:31:43 +00:00
fb741b5e1e
fdo#46808, Adapt xml::sax::XWriter UNO service to new style
...
Create a merged XWriter interface for the service.
The xml.sax.Writer service already existed, it just did not have
an IDL file.
Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-22 17:01:11 +02:00
a20f9a410f
fdo#46808, Adapt xml::sax::XParser UNO service to new style
...
The xml.sax.Parser service already existed, it just did not have
a new-style service to create it.
Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04 16:29:53 +02:00
750fc20611
replace remaining InterlockedCount() with inlined version
...
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-09-25 01:55:38 +00:00
1c7a54e3a1
fdo#46808, Adapt frame::ModuleManager UNO service to new style
...
Create a merged XModuleManager2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Explicitly document the XNameReplace interface in the IDL, which
is already implemented by the service, since there is code currently using it.
Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853
2012-09-05 14:56:19 +02:00
57154616f0
Remove UNO includes comments
...
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
577cf8ff67
re-base on ALv2 code.
2012-06-14 17:41:07 +01:00
a0bbb2a1af
targetted SAL_N_ELEMENTS reversion.
...
Change-Id: I181c5b5dd24836ff0398aa5ed03915c2c7c55183
2012-05-31 13:09:03 +01:00
d6bc02f8c4
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
2012-04-06 20:03:42 +02:00
8a01ee6243
Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
...
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
545921f914
Fix for fdo43460 Part XII getLength() to isEmpty()
...
Part XII
Module
dbaccess
2011-12-21 09:52:48 +01:00
281b13ce89
remove include of pch header in dbaccess
2011-11-27 13:04:48 -06:00
3ca2bef768
#i108468#: clean up xmluconv code duplication, part 1:
...
move convertNumber64 from SvXMLUnitConverter to sax::converter.
remove duplicate methods from SvXMLUnitConverter:
convertBool, convertPercent, convertColor, convertNumber, convertDouble,
indexOfComma, encodeBase64, decodeBase64, decodeBase64SomeChars,
clearUndefinedChars
2011-10-11 17:57:00 +02:00
9a8593e69f
ByteString->rtl::OStringBuffer
2011-10-05 10:41:04 +01:00
d9d7e94474
gbuildize dbaccess
2011-04-19 06:13:10 +02:00
7a7f390db3
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
2011-03-12 14:05:06 +01:00
57e8c3fdd4
move to unordered containers
2011-02-05 18:31:11 +01:00
31cd30a4e5
Remove old RCS lines.
2011-01-21 10:06:44 +01:00
ba7e0d7574
Replace suitable equalsAscii calls with equalsAsciiL.
...
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
2011-01-20 10:27:06 +01:00
fca20a4981
Fix spelling mistake
2010-11-10 14:16:26 +01:00
e9470b0050
add modelines to .hxx files as well
2010-10-27 12:33:13 +01:00
6450d1a7f5
Add vim/emacs modelines to all source files
...
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com )
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de >
2010-10-13 10:57:12 +02:00
d7f4b5a0fc
Use SAL_N_ELEMENTS macro
2010-10-09 22:17:25 -05:00
4752788838
native bool support in SvXMLUnitConverter
2010-10-04 15:36:50 +01:00
ed2d07f023
Automated merge with ssh://hg@hg.services.openoffice.org/cws/autorecovery
2010-02-16 15:54:36 +01:00
c6b2dff376
autorecovery: recover non-document sub compontns hidden, too
2010-02-16 15:43:53 +01:00
155487cc3f
autorecovery: recover query designer settings
...
not yet finished:
- query designer needs to be loaded hidden, and shown when the main window is shown
- recovering table windows is not correct, yet (windows which have been added to the UI,
but do not yet add to the "latest known" statement, are not restored (probably)
- closing the recovered, and modified, query designer somehow does not ask for saving
2010-02-16 15:21:07 +01:00
44ce7ccd50
autorecovery: import query design settings (but do not recover the query designer)
2010-02-16 12:29:05 +01:00
cda5b4e389
autorecovery: remove unused local static method
2010-02-16 12:04:36 +01:00
eb79829c17
autorecovery: outsourced the SubComponentRecovery class into a dedicated file, in preparation of recovering query designs
2010-02-16 09:43:10 +01:00