summaryrefslogtreecommitdiff
path: root/mysqlc
AgeCommit message (Collapse)AuthorFilesLines
2015-11-16fix mysqlc buildNoel Grandin4-4/+8
after my commit 96c26b0d9d10fa9bac3695222980d7145f0342d7 "use initialiser for Sequence<OUString>" the mysqlc module is compiled as external code, so it cannot see the initialiser syntax constructor for Sequence Change-Id: I072e6271ec33637e28dd8225724296e90967329d
2015-11-15use initialiser for Sequence<OUString>Noel Grandin4-8/+4
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann9-25/+25
Change-Id: Ie77375d781164232ea0cd94c3d2a5d027c49669e
2015-11-05mysqlc: -Werror=unused-functionMichael Stahl1-0/+2
Change-Id: I8b1f4b7c78a10ce604a63aff47d2df2d1d10dc26 Reviewed-on: https://gerrit.libreoffice.org/19800 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin2-2/+2
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-23com::sun::star->css in lotuswordpro,mysqlc,ooxNoel Grandin16-147/+147
Change-Id: Id99ff87c4eb3f1b36702261ce63d5d2793ea35d7
2015-10-21refactor out some com::sun::star typedefsNoel Grandin3-168/+160
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
2015-10-20new loplugin: badvectorinitNoel Grandin1-15/+15
look for places calling the 1-argument vector fill constructor and then immediately called push_back, which is generally a sign that its leaving empty slots. Change-Id: I34e69b8d09cc48c0d409499faaf192b9f86bc517 Reviewed-on: https://gerrit.libreoffice.org/17525 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-09-17boost->stdCaolán McNamara1-1/+0
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-08-24Revert "mysqlc: tdf#88206 replace cppu::WeakImplHelper* etc."Stephan Bergmann6-12/+12
This reverts commit 7fa5f876fddfd4baeff01d74d26cbf1dc4607d18, which uses LIBO_INTERNAL_ONLY features in external code.
2015-08-22mysqlc: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe6-12/+12
with the variadic variants. Change-Id: If0eccdcb56f8196db5eea539eb54dd145ac57a8d Reviewed-on: https://gerrit.libreoffice.org/17918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-07-16loplugin:simplifyboolStephan Bergmann4-21/+21
Change-Id: I2520ff8ca5f9c0dd68cc4c5cdc377d455c87898d
2015-06-11cppcheck: noExplicitConstructorCaolán McNamara1-1/+1
Change-Id: Id6291335945a8f10cef3afd1a2b3bae65fdf4562
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann4-4/+4
Change-Id: I18ea5378c165912e988d0c951aab3d83754cf6ca
2015-05-08Remove dead codeStephan Bergmann2-11/+0
Change-Id: Id2b755c500c32392cdb5cc84ee901f0737347350
2015-05-08css.sdbc.XResultSetMetaData.isNullable return type is long (oddly enough)Stephan Bergmann1-2/+2
Change-Id: I6ca98540a623f921f8d05e71dc67b64948467f52
2015-04-28fix erroneous disposeOnce calls.Michael Meeks3-3/+3
Change-Id: I4ce39e6d6534d1481f7e6b759d61040606da839c
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks3-3/+3
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-27More loplugin:simplifyboolStephan Bergmann2-2/+2
Change-Id: Ic26c9e044b0e2225db8e218f39409338a69e7047
2015-04-24loplugin:simplifyboolStephan Bergmann4-5/+5
Change-Id: Icbd2ce16467c574243d223ae68e79ca043a2ca45
2015-04-23Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann4-5/+5
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin3-3/+3
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 Bergmann2-2/+2
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-10vclwidget: only call dispose() onceNoel Grandin3-3/+3
by using a new utility method in vcl::Window This means that we don't have to make all our dispose methods safe to call more than once. Change-Id: I2110c7de4a86c70fdc97dd8fd318c86b56865374
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann2-3/+3
Change-Id: I5ce90c5eec46e490f7d38a4f603285d2753ce0d1
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann1-1/+1
Change-Id: I161e6b396e6577dfc4b3c38bf89ed5ecd1dd5f42
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann1-1/+1
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-25loplugin:constantfunctionStephan Bergmann7-244/+17
Change-Id: I368de78b99369982cd17a8e7ac8c36b4e7e60b41
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin4-17/+14
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-01-20Some more loplugin:cstylecast: mysqlcStephan Bergmann3-3/+3
Change-Id: I7849658606931b231c2bde0c8143bc1f325c80d4
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin1-1/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2014-12-19No need for RTL_USING in addition to LIBO_INTERNAL_ONLYStephan Bergmann19-352/+352
Change-Id: Iaa65658aed6bb4abb20a4d95dc9c6caf7c1c764b
2014-12-18Introduce gb_*_set_external_codeStephan Bergmann1-2/+2
...to harmonize the mechanisms to not define LIBO_INTERNAL_ONLY for extension code and CppunitTest_odk_checkapi. (It also needs to revert any -Wundef, as the config_host/config_*.h files will not be included, so the HAVE_* macros will be undefined.) This obsoletes the need for RTL_DISABLE_FAST_STRING. Change-Id: If5eacba80c349efb90762aade8f2ea6d2db7e314
2014-12-04mysqlc: loplugin:cstylecastStephan Bergmann3-22/+22
Change-Id: I293f6fc392f6d081d08d2f53886f534409e38bd5
2014-11-18mysqlc: fix build after cppuhelper header cleanupMichael Stahl2-0/+2
Change-Id: I8d331914736e17d5aad2ee761fc6d758c2dea1ad
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava1-1/+1
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-05fdo#38835 strip out OUString globalsNoel Grandin1-2/+1
they are largely unnecessary these days, since our OUString infrastructure gained optimised handling for static char constants. Change-Id: I07f73484f82d0582252cb4324d4107c998432c37
2014-10-23fdo#83991 - cleanup whitespace after folding comment removal.Vinicius Vendramini9-273/+0
Change-Id: I31149484d626013ddcd52356be7d416b435cebcc
2014-10-22fdo#83991 - remove redundant function folding comments.Vinicius Vendramini9-770/+0
Change-Id: I630aeedc31099e11d4bd0e91a05943e926efd61e
2014-10-01mysqlc: These shall be plain "Time" not "tools::Time" apparentlyStephan Bergmann2-4/+4
Change-Id: Id96a75bb8a07ea3b9701b9fe4692dfc81dbd8295
2014-10-01fdo#82577: Handle TimeNoel Grandin2-4/+4
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-30mysqlc: std::auto_ptr -> std::unique_ptrStephan Bergmann2-2/+2
Change-Id: I0eb5f9fab5955d1f5790d3f5d269e069aff1c201
2014-09-24Remove o3tl/heap_ptr.hxx, use std::unique_ptr insteadStephan Bergmann1-3/+7
Change-Id: Iac70c9be13892a36bfb5975f62e5345b88d4f144
2014-09-17Translate German comment.Michael Meeks2-33/+3
Change-Id: I3d452ac218005b40568ec116ede9962cc1e60a18
2014-09-09fdo#83656 mariadb C client library incompatible with newer MySQL Connector/C++Lionel Elie Mamane1-3/+7
Change-Id: I0d9cc98070c0b9379b1fd828ac65c2d32f83a93f
2014-08-11update mysqlc READMELionel Elie Mamane1-26/+41
Change-Id: I832c31d760d4cc0cb7fcb0c5dfef7b06010d7a3a
2014-07-02mysqlc: sal_Bool -> boolStephan Bergmann11-170/+170
Change-Id: Ie479e1671b03fbb958886d4c01ecff41b2ad1d23
2014-05-30deb#749592 mysql-connector doesn't work with remote connectionsNoel Grandin1-2/+2
and also fdo#77584 mysql-connector doesn't work over SSH tunnel Not sure exactly how this got broken, I suspect that the UI code has started unconditionally passing down the properties, just filling them with empty spaces for the unused ones. Anyhow, this appears to fix the problem. Change-Id: I7ac2a0d6bae610f47d2a28daa9beb3ef0e2dbb52 Reviewed-on: https://gerrit.libreoffice.org/9565 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-29use OUString::startsWith()Noel Grandin2-2/+2
Change-Id: I0fc77b50792e48be175ab7cc151509e097676849
2014-05-29remove more unnecesary OUString constructor useNoel Grandin2-5/+5
when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac