summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/recovery
AgeCommit message (Collapse)AuthorFilesLines
2014-09-25dbaccess: std::auto_ptr -> std::unique_ptrStephan Bergmann2-3/+3
Change-Id: I2b27aaf589fcbe4da1680f624a57be7ae62b0dc5
2014-09-08Related #82088: removed last css aliases in hxxStefan Weiberg4-89/+88
* Only unfixed header namespace alias in ConnectionLog.hxx: LogLevel = ::com::sun::star::logging::LogLevel Change-Id: I48c941a4762830f2265c8241f4c1695a43ec891a Reviewed-on: https://gerrit.libreoffice.org/11333 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-07-10use SimpleReferenceObject in dbaccess moduleNoel Grandin2-21/+3
to replace hand-rolled version Change-Id: Ie7b98c284d157521482b0f98915146133f32748e
2014-05-12fdo#43157 Remove OSL_POSTCOND, prefer SAL_WARN_IFMichaël Lefèvre1-1/+1
Change-Id: Ia89a2dce799c7ba90bcd19919195bfd2c7a4a180 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann3-7/+7
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-03-31xmloff: sal_Bool->boolNoel Grandin1-4/+4
Change-Id: I1deb10cb1581137ab92e73367e63339822a9a094
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann4-28/+28
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann3-26/+26
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2013-11-14remove unnecessary sal_Unicode casts in DBACCESS moduleNoel Grandin2-5/+5
Change-Id: I4c4ab5d672e994b1e8e3beac027d3f4e8f700714
2013-11-05fixincludeguards.sh: dbaccessThomas Arnhold7-21/+21
Change-Id: Iadd4326d58a5df5761a0ed5ce7fd5fb01fb87d11
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin1-3/+3
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-08-27fdo#62475 removed pointless commentsJelle van der Waa14-259/+36
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-19fdo#57950: Remove some chained appends in dbaccessJelle van der Waa1-4/+1
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-05-22Use the new type-checking Reference constructor to reduce code noiseNoel Grandin1-2/+2
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-07dbaccess: remove Package_incMichael Stahl3-3/+3
Change-Id: I8e6748eef04f25603851a33d049cb9585fa04cc6
2013-04-25Fix compilation error when OSL_DEBUG_LEVEL > 0Tor Lillqvist1-9/+6
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-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák12-107/+107
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-01remove boilerplate commentsThomas Arnhold7-14/+1
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-03-20fdo#46808, Convert a bunch of comphelper::ComponentContext stuffNoel Grandin9-45/+44
.. to Reference<XComponentContext> mostly in the dbaccess module, but it also affected some other modules. Change-Id: I09b3f6fe7a9b33498b11d98b5521b5aeeb8882be
2013-02-11fdo#46808, convert io::TextOutputStream service to new-styleNoel Grandin1-12/+6
Change-Id: I12af47afc21c2b646197893a77698f4e0818f94f
2013-02-11fdo#46808, convert io::TextInputStream service to new styleNoel Grandin1-8/+8
Change-Id: Ida4abdd6587399aa8ade88af672bcb23ab7ea0f1
2013-01-28fdo#46808, Adapt document::*PropertyValues UNO service to new styleNoel Grandin1-4/+4
The services are: document::NamedPropertyValues document::IndexedPropertyValues The services already existed, they just did not have IDL files Change-Id: Ibafe9b5afb9b30785df4f66aa923f4b96ceabeed
2013-01-27Remove more STRINGPARAM macros form dbaccessMarcos Paulo de Souza5-44/+33
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>
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin1-1/+4
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-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin1-2/+3
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud2-6/+6
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-05fdo#46808, Adapt frame::ModuleManager UNO service to new styleNoel Grandin1-3/+4
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-06-29Remove UNO includes commentsThomas Arnhold14-31/+0
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-14re-base on ALv2 code.Michael Meeks14-336/+238
2012-05-31targetted SAL_N_ELEMENTS reversion.Michael Meeks1-2/+1
Change-Id: I181c5b5dd24836ff0398aa5ed03915c2c7c55183
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2-2/+2
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2-6/+6
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2011-12-21Fix for fdo43460 Part XII getLength() to isEmpty()Olivier Hallot3-5/+5
Part XII Module dbaccess
2011-11-27remove include of pch header in dbaccessNorbert Thiebaud7-7/+0
2011-10-11#i108468#: clean up xmluconv code duplication, part 1:Michael Stahl1-5/+9
move convertNumber64 from SvXMLUnitConverter to sax::converter. remove duplicate methods from SvXMLUnitConverter: convertBool, convertPercent, convertColor, convertNumber, convertDouble, indexOfComma, encodeBase64, decodeBase64, decodeBase64SomeChars, clearUndefinedChars
2011-10-05ByteString->rtl::OStringBufferCaolán McNamara1-1/+1
2011-04-19gbuildize dbaccessDavid Tardon1-54/+0
2011-03-12Move OSL_ENSURE(false,...) to OSL_FAIL(...)Thomas Arnhold3-18/+18
2011-02-05move to unordered containersFridrich Štrba1-2/+2
2011-01-21Remove old RCS lines.Thomas Arnhold1-4/+0
2011-01-20Replace suitable equalsAscii calls with equalsAsciiL.Thomas Arnhold3-10/+10
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
2010-11-10Fix spelling mistakeWol1-1/+1
2010-10-27add modelines to .hxx files as wellCaolán McNamara7-0/+21
2010-10-13Add vim/emacs modelines to all source filesSebastian Spaeth7-0/+21
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-09Use SAL_N_ELEMENTS macroKayo Hamid1-1/+2
2010-10-04native bool support in SvXMLUnitConverterNorbert Thiebaud1-1/+1
2010-02-16Automated merge with ssh://hg@hg.services.openoffice.org/cws/autorecoveryFrank Schoenheit [fs]13-505/+1603
2010-02-16autorecovery: recover non-document sub compontns hidden, tooFrank Schoenheit [fs]3-8/+50
2010-02-16autorecovery: recover query designer settingsFrank Schoenheit [fs]1-3/+33
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-16autorecovery: import query design settings (but do not recover the query ↵Frank Schoenheit [fs]10-8/+774
designer)