summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers
AgeCommit message (Collapse)AuthorFilesLines
2015-05-08loplugin:staticmethodsStephan Bergmann5-144/+138
Change-Id: Ic93e560641f1ec1c5fc316ed126617c6d99ab5b5
2015-05-08I very much assume this wants to call java.io.Reader.readyStephan Bergmann1-3/+3
...seeing that there is no java.io.Reader.available. (And then, there's no good way to map from java.io.Reader.ready's boolean value to css.io.XInputStream.available's long value, so conservatively map true to 1.) But I have no idea how to trigger this code. Change-Id: I18d12e0d968141410a1b56e700ed544edceda97c
2015-05-08Fix Boolean value operationsStephan Bergmann1-1/+1
(css.sdbc.ColumnValue.NULLABLE happens to be 1, so the odd comparison is harmless and redundant.) Change-Id: I6b64cc083e72198c71e4e38ec4347f79af924621
2015-05-08jboolean-related clean-upStephan Bergmann3-6/+6
Change-Id: Iecd03d0343b9b7c3a8b23b5a1e9654148b94d44c
2015-05-04drop useless temp debugging stringsCaolán McNamara1-11/+0
Change-Id: I41c7053296c634c0fed5b31f2e080c3eaf59bbba
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-29redundant castCaolán McNamara2-2/+2
Change-Id: Ib812a7cafabc4820946da67fb3f8896b6aad1461
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks1-1/+1
Resolve several thousand lines of conflicts. Conflicts: accessibility/source/extended/accessiblelistbox.cxx accessibility/source/standard/vclxaccessiblecombobox.cxx accessibility/source/standard/vclxaccessibledropdowncombobox.cxx accessibility/source/standard/vclxaccessibledropdownlistbox.cxx accessibility/source/standard/vclxaccessiblelistbox.cxx accessibility/source/standard/vclxaccessibletextfield.cxx basctl/source/basicide/basidesh.cxx cui/source/inc/chardlg.hxx cui/source/tabpages/tpbitmap.cxx dbaccess/source/ui/dlg/UserAdmin.cxx dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx extensions/source/propctrlr/propertyeditor.hxx extensions/source/scanner/sanedlg.cxx filter/source/pdf/impdialog.cxx include/sfx2/mgetempl.hxx include/sfx2/sidebar/SidebarToolBox.hxx include/sfx2/viewsh.hxx include/svtools/brwbox.hxx include/svtools/filectrl.hxx include/svtools/scrwin.hxx include/svx/dlgctrl.hxx include/svx/sidebar/Popup.hxx include/svx/sidebar/PopupContainer.hxx include/svx/sidebar/PopupControl.hxx include/svx/sidebar/SidebarDialControl.hxx include/svx/sidebar/ValueSetWithTextControl.hxx sc/source/ui/condformat/condformatdlgentry.cxx sc/source/ui/navipi/navipi.cxx sc/source/ui/sidebar/CellBorderStyleControl.hxx sd/source/ui/animations/CustomAnimationDialog.cxx sd/source/ui/inc/DrawViewShell.hxx sd/source/ui/inc/Ruler.hxx sd/source/ui/inc/SlideSorter.hxx sd/source/ui/inc/ViewTabBar.hxx sd/source/ui/inc/Window.hxx sd/source/ui/inc/morphdlg.hxx sd/source/ui/inc/sdpreslt.hxx sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx sd/source/ui/sidebar/LayoutMenu.hxx sd/source/ui/sidebar/MasterPagesSelector.hxx sd/source/ui/sidebar/NavigatorWrapper.hxx sd/source/ui/sidebar/PanelBase.hxx sd/source/ui/sidebar/RecentMasterPagesSelector.cxx sd/source/ui/sidebar/RecentMasterPagesSelector.hxx sd/source/ui/slideshow/showwindow.hxx sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drviewsa.cxx sfx2/source/appl/fileobj.hxx sfx2/source/appl/opengrf.cxx sfx2/source/control/thumbnailviewacc.hxx sfx2/source/dialog/securitypage.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/doc/docinsert.cxx sfx2/source/doc/guisaveas.cxx sfx2/source/inc/alienwarn.hxx sfx2/source/sidebar/Deck.cxx sfx2/source/sidebar/Deck.hxx sfx2/source/sidebar/DeckTitleBar.cxx sfx2/source/sidebar/DeckTitleBar.hxx sfx2/source/sidebar/MenuButton.cxx sfx2/source/sidebar/MenuButton.hxx sfx2/source/sidebar/Panel.cxx sfx2/source/sidebar/Panel.hxx sfx2/source/sidebar/PanelTitleBar.hxx sfx2/source/sidebar/SidebarDockingWindow.hxx sfx2/source/sidebar/SidebarToolBox.cxx sfx2/source/sidebar/TabBar.hxx sfx2/source/sidebar/TabItem.cxx sfx2/source/sidebar/TabItem.hxx sfx2/source/sidebar/TitleBar.hxx sfx2/source/toolbox/imgmgr.cxx starmath/inc/edit.hxx starmath/inc/smmod.hxx starmath/qa/cppunit/test_starmath.cxx starmath/source/edit.cxx starmath/source/smmod.cxx svtools/source/brwbox/brwbox1.cxx svtools/source/brwbox/datwin.hxx svtools/source/contnr/fileview.cxx svtools/source/contnr/simptabl.cxx svtools/source/control/filectrl.cxx svtools/source/control/valueimp.hxx svx/inc/GalleryControl.hxx svx/source/dialog/dlgctrl.cxx svx/source/dialog/swframeexample.cxx svx/source/fmcomp/fmgridif.cxx svx/source/gallery2/GalleryControl.cxx svx/source/sidebar/EmptyPanel.hxx svx/source/sidebar/area/AreaPropertyPanel.hxx svx/source/sidebar/area/AreaTransparencyGradientControl.hxx svx/source/sidebar/graphic/GraphicPropertyPanel.hxx svx/source/sidebar/insert/InsertPropertyPanel.cxx svx/source/sidebar/insert/InsertPropertyPanel.hxx svx/source/sidebar/line/LinePropertyPanel.hxx svx/source/sidebar/line/LineWidthControl.cxx svx/source/sidebar/line/LineWidthControl.hxx svx/source/sidebar/line/LineWidthValueSet.hxx svx/source/sidebar/paragraph/ParaPropertyPanel.hxx svx/source/sidebar/possize/SidebarDialControl.cxx svx/source/sidebar/text/TextCharacterSpacingPopup.hxx svx/source/sidebar/text/TextPropertyPanel.hxx svx/source/sidebar/tools/PopupContainer.cxx svx/source/sidebar/tools/PopupControl.cxx svx/source/sidebar/tools/ValueSetWithTextControl.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdibrow.cxx svx/source/tbxctrls/colrctrl.cxx svx/source/tbxctrls/tbcontrl.cxx sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/index/cnttab.cxx sw/source/uibase/inc/drpcps.hxx sw/source/uibase/sidebar/PageColumnControl.hxx sw/source/uibase/sidebar/PageMarginControl.hxx sw/source/uibase/sidebar/PageOrientationControl.hxx sw/source/uibase/sidebar/PagePropertyPanel.hxx sw/source/uibase/sidebar/PageSizeControl.hxx sw/source/uibase/uiview/view2.cxx sw/source/uibase/utlui/navipi.cxx vcl/inc/svdata.hxx vcl/source/control/combobox.cxx vcl/source/control/lstbox.cxx vcl/source/window/dockwin.cxx vcl/source/window/winproc.cxx Change-Id: I056cf3026ff17d65cca0b6e6588bda4a88fa8d95
2015-04-28Use TriState instead of 0/1/-1Stephan Bergmann2-7/+8
Change-Id: I6f53cd0ee1e7acd724186ab914bde43026ef6708
2015-04-28Make use of comphelper::log::convert::convetLogArgToString bool overloadStephan Bergmann1-4/+4
Change-Id: Ic91c65fc1f74fbde86c2448d1c394a5e30452a75
2015-04-27More loplugin:simplifyboolStephan Bergmann1-6/+6
Change-Id: Ie7bc1411d591b75c243dc0edda6360fad698c19e
2015-04-24loplugin:simplifyboolStephan Bergmann2-11/+9
Change-Id: Ib0290487a963d665a628bd75f4140a9e2b89faa7
2015-04-23Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann2-10/+10
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-23loplugin:staticcallStephan Bergmann1-2/+2
Change-Id: I7dfe5b8f6d87db5f0f70bd16e45c4d0bd4a72da2
2015-04-23loplugin:staticmethodsNoel Grandin8-15/+15
Change-Id: I200fdb2e193127f0c9e8cec4859845d3ec19cea0
2015-04-23Use vector<bool> instead of vector<sal_Bool>Stephan Bergmann1-8/+8
Change-Id: Ibcaf1aeb773bb840c1d7a71b869137f21970eda1
2015-04-22add missing includeCaolán McNamara1-0/+1
Change-Id: I9085ec6c3efeef25ebe50660cdf1c37a3ee85115
2015-04-22add missing includeDavid Tardon1-0/+1
Change-Id: I90e1e284d8220bcaa6861b0c768fc44820501fd5
2015-04-22add missing includeDavid Tardon1-0/+1
Change-Id: Iffd293c20880f28a1b93225583d3f315eddb328f
2015-04-22add missing includeDavid Tardon1-0/+1
Change-Id: I08f5debc158228832667e730e63b7ad29f2737f9
2015-04-22tdf#88710 Cleanup after removing dbtoolsclientMatthew Nicholls7-0/+7
Removes "virtualdbtools" and its implementation under "simpledbt", which are mostly wrappers around various dbtools functions and classes, previously aiding the now removed dynamic loading logic. Removes IDataAccessTools, IDataAccessTypeConversion and IDataAccessToolsFactory interfaces and their accompanying implementations which are completely unused. Removes IDataAccessCharSet (implemented by ODataAccessCharSet) and moves the implementation into a function which replaces ODataAccessCharsetHelper. Removes ISQLParseNode and ISQLParser and their implementation in OSimpleParseNode and OSimpleSQLParser, which simply wrap around OSQLParseNode and OSQLParser respectively. To avoid including "sqlbison.hxx" unnecessarily, includes to "sqlbison.hxx" are now only used where needed. Change-Id: Id882dfbf43514d84a1eaffc1f916d627830c8cd6 Reviewed-on: https://gerrit.libreoffice.org/15450 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-21cppcheck: cstyleCastCaolán McNamara1-1/+1
Change-Id: Iaf5c394a1cacaa6de9d10566dc6a1371361b40de
2015-04-21Get rid of trivial comphelper::query_interface wrapperStephan Bergmann2-6/+6
Change-Id: I2b9dafd2a34d055dcd8b8c4d894be30dc821d3be
2015-04-16loplugin:redundantcastStephan Bergmann1-1/+1
Change-Id: Id887e25f626917d4775f0df92935ecbf08b0455d
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin64-79/+79
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-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann17-17/+17
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-09prophylactic double dispose audit.Michael Meeks1-1/+1
Change-Id: Ia18c0b7a76fb0894efe33afaf69a0079c4583228
2015-04-07tdf#39279: Search for Thunderbird address books uses first ones foundJulien Nabet4-8/+18
Thank you Lionel about your advice for this one. Change-Id: I4ec51b694d3b674158cb7fb4efa580e084cffda9 Reviewed-on: https://gerrit.libreoffice.org/15163 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
2015-04-07fix windows buildCaolán McNamara2-2/+2
Change-Id: I18e2c80a3c8d6a1b1c126ae2581cb3e7010a8021
2015-04-07loplugin:staticmethodsNoel Grandin2-2/+2
Change-Id: Ibaad2adabecb878411fdd66383bca91f034477af
2015-04-05Revert "tdf#39279: Prioritise Thunderbird address books in first-match search"Julien Nabet2-14/+14
because it creates regression (see tdf#90446) This reverts commit 9b92d8afbabe564de703f8bc083723d97e765011.
2015-04-04and no user of OFILEOperandAttr left now eitherCaolán McNamara2-115/+0
Change-Id: Ice43b710b16eed79870d561e6dcf14f4a07cad9f
2015-04-04new user of OFILEAnalyzer anymoreCaolán McNamara1-8/+0
Change-Id: I8a4e8fc801bae7826d37b9ff29c1535416623f12
2015-04-04ODbaseResultSet::createAnalyzer never calledCaolán McNamara1-5/+0
Change-Id: Iefb2ef68cf769c78f4e41c14a02afc9356e8e495
2015-04-02loplugin:redundantcastStephan Bergmann1-1/+1
Change-Id: I1555342cb3f8d29a0ea6e8fe51350a1bdc8529ea
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann5-8/+8
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann5-8/+8
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-01Remove redundant Reference<> from within UnoType<> usesStephan Bergmann1-3/+3
Change-Id: I1aeb9c73c284e39f371e49ded98e8dba0d055056
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann41-72/+72
Change-Id: Id2361bd7b50f4724211661b024583b8a3445500b
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann11-12/+12
Change-Id: I24dc3a9b16abb1397cdd6a4f6cfafb81cc61d0f9
2015-03-29loplugin:cstylecastStephan Bergmann9-63/+63
Change-Id: I20b7936d2bb11363a701ca649deba31d53c76868
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann3-4/+4
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann8-53/+53
Change-Id: I6c7c31befd61cbf0800a62c08e7395ddf78e4b30
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann8-10/+10
Change-Id: If7e4e3cae1021529819e0b43ef334020ff8b7a43
2015-03-25loplugin:constantfunctionStephan Bergmann2-12/+1
Change-Id: Ic95699c514b24886ab1ca6d2b625fe9bd033f4ea
2015-03-25loplugin:constantfunctionStephan Bergmann2-12/+1
Change-Id: Idc231c76175d93a11846d9e3552f3b6eef75b41a
2015-03-25new constantfunction lopluginNoel Grandin16-175/+26
Change-Id: Ie9b7a0c41fc4dbd2560ceff6bae9ab85357f518b
2015-03-23Revert "loplugin:constantfunction: connectivity"Noel Grandin16-18/+182
it seems to be causing unit-test and build failures This reverts commit 5cbb51c009fa266e8418ef93799ac64e431c22f5. Change-Id: Idc6372f98200b23828aa19b22a75b6b2b640d1ab
2015-03-23-Werror,-Wpointer-bool-conversionStephan Bergmann1-2/+1
Change-Id: Ib143870ff6e5cf9dd62b420d8f8f1e71dbac42e7
2015-03-23loplugin:constantfunction: connectivityNoel Grandin16-182/+18
Change-Id: Ic1a71851a80ed2715969b0f00a0e59ab3a0593db