summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/calc
AgeCommit message (Collapse)AuthorFilesLines
2015-04-29rhbz#1213173: connectivity: Calc driver: prevent document being disposedMichael Stahl1-2/+8
... by adding a XCloseListener that vetoes any attempt to close it. The Calc document can be opened by the user in the UI and closed again. Change-Id: Ied427b67274d925c911e516c0a50a4c0b2b18db9
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin1-1/+1
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann1-2/+2
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann1-2/+2
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann1-1/+1
Change-Id: Id2361bd7b50f4724211661b024583b8a3445500b
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann1-1/+1
Change-Id: I24dc3a9b16abb1397cdd6a4f6cfafb81cc61d0f9
2015-02-25connectivity: replace magic numbers with constants from CompareBookmarkMichael Stahl1-1/+1
Change-Id: Ifcd5766ce10de44f38d5c383cd7dc35b75152e88
2015-01-28Use vector::dataStephan Bergmann1-2/+1
...in some places where it is obvious that it does not hurt that for an empty vector the obtained pointer is not necessarily a nullptr. Change-Id: Id5d66b1559ca8b8955d379bcdbfae6986ef46a51
2015-01-13simplify Date/Time/DateTime conversion codeNoel Grandin1-2/+1
add constructors to Date/DateTime/Time, that take the css::util counterparts, to simplify code converting between these type Change-Id: I4b03da02c63f65b6ec18cb4d6ecc3859bdef1ff7 Reviewed-on: https://gerrit.libreoffice.org/13855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
2014-12-18connectivity: Use appropriate OUString functions on string constantsStephan Bergmann3-3/+3
Change-Id: I9ca72364cd57fd2da0c6f5f704a3fe494c0a1df5
2014-12-05loplugin:cstylecast, involving pointer to incomplete typeStephan Bergmann1-1/+4
Change-Id: Ib3127eb72ca72f55ce6082ebcb05fceb80608c47
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl1-0/+1
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin1-4/+2
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-03loplugin: cstylecastNoel Grandin3-3/+3
Change-Id: I114924d5e0407883b2e77016da3c2e3e55657b21
2014-10-01fdo#82577: Handle TimeNoel Grandin1-8/+8
Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-26implement --with-system-odbc on windowsNoel Grandin1-4/+4
Change-Id: I1757b9ce74277b1c11533f41caeafaf9b88658ef
2014-09-12Normallya->Normally aCaolán McNamara1-1/+1
Change-Id: I988673d60f237951db36bdbb7064e6872102d96f
2014-07-21coverity#706376 Uncaught exceptionCaolán McNamara2-2/+2
Change-Id: Ic18823fd60826c144058df32c27ab25d58664e30
2014-06-04connectivity: fix includesThomas Arnhold3-4/+4
Change-Id: I5d5dc6871789865189c78fe9135e7f8bff829489
2014-05-22Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19Julien Nabet1-11/+11
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-13fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFONoel Grandin5-45/+0
this is a continuation of the above bug, removing SAL_INFO's that only mark function entry. Change-Id: Idb0f72481415594e3f8b7a11ad6e4b8835f6fca0 Reviewed-on: https://gerrit.libreoffice.org/9343 Tested-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-16connectivity: sal_Bool->boolNoel Grandin5-40/+40
Change-Id: I96371121ce6697f153f4e973e65831ea2265eb56
2014-04-06coverity#706300,306,983619: Uncaught exceptionNorbert Thiebaud1-1/+1
Change-Id: If46a483ba0a5334926ffb5c25db064a5d2b81e46
2014-04-01connectivity: sal_Bool->boolNoel Grandin1-1/+1
Change-Id: Iafa52d3643b9313c20c75cf98f6b1ec231bf9d6d
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann5-32/+32
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-23Remove unneccessary commentsAlexander Wilms11-77/+77
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-13drop unnecessary tools/string.hxx includesCaolán McNamara1-1/+0
Change-Id: I2439ed19b554381f80e882aacbac05167622df92
2013-12-30drop STRING_MAXLEN uses from connectivityCaolán McNamara1-3/+3
Change-Id: I12a999c2c6bdd119c2e3e544bbbdabb0b0ce2ba2
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann1-1/+2
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin1-1/+1
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-11-11remove unnecessary use of OUString constructor in CONNECTIVITY moduleNoel Grandin3-12/+12
Change-Id: Ie32d03920d996db2793ead9940fc90668cde03dd
2013-10-09fdo#54938: Adapt connectivity module to use cppu::supportsServiceMarcos Paulo de Souza1-8/+3
Change-Id: I885b4c7a60ff51d44138c4f8a56a584c38a9804a Reviewed-on: https://gerrit.libreoffice.org/6172 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara1-0/+1
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-2/+2
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-07-19janitorial: remove unused, add constLionel Elie Mamane1-1/+0
Change-Id: I1c0509d2415130fe654c09424ea1f8ce8e069602
2013-07-19Cleanup String in connectivityNorbert Thiebaud1-2/+1
Change-Id: Ica1cf0ac9e9da9c943e50ba77b1ce4a9dc7f8300 Reviewed-on: https://gerrit.libreoffice.org/4895 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-06-29remove OUString wrap for string literalsThomas Arnhold2-6/+6
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-17fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan5-50/+45
- replaced RTL_CONTEXT_ with SAL_INFO - replace OSL_* with SAL_* Change-Id: If89af70767c3fdc4b1d0cb5e51033ca98583bc5d Reviewed-on: https://gerrit.libreoffice.org/4286 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-05-22fdo#46808, Convert XMultiServiceFactory to XComponentContextNoel Grandin2-2/+3
Change-Id: I3a74d4edaa3ff3c2498c3db2720b0e4e5305c2e4
2013-04-19Remove any remaining remnants of unused component_canUnload featureStephan Bergmann1-1/+1
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane1-10/+10
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák9-92/+91
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-03-08make use of startsWith()Thomas Arnhold1-1/+1
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679 Reviewed-on: https://gerrit.libreoffice.org/2599 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-25loplugin: improve indentationThomas Arnhold1-5/+7
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin1-7/+3
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-11-02Columns should know their tableLionel Elie Mamane1-1/+2
For example dbaccess::OSingleSelectQueryComposer::appendOrderByColumn expects it (via impl_getColumnName_throw via getTableAlias) There is some vagueness: Should the TableName property contain just the table name, or the *composed* table name (that is with catalog and/or schema if used by this DB)? In the case of a query, should it contain the table name (alias) *in* *the* *query* or of the original table? In the former case, what meaning do SchemaName and CatalogName have? They should be empty? For now, commit as such and deal with the fallout, if any, when it hits the fan. If we really need to store these *different* values, (that is, some code validly needs them) it would be easier / cleaner / ... to define *different* properties for these *different* notions. Change-Id: I032e619a60e7563cd51478db16cb5e0e5452bfde
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák2-10/+10
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
2012-10-01Use prefixes for these UNO componentsTor Lillqvist2-2/+2
Change-Id: I719f10818fd211bfe60e5351a5de53a716fdf20f
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud1-3/+3
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-08-22more old module-description xml filesMatúš Kukan1-47/+0
Change-Id: I9ac503b073ee3f9b8e7958264ffcc26d9446c220