summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)AuthorFilesLines
2015-05-04Use typed OGeneralPageWizard::SetCreationModeHandler LinkStephan Bergmann3-5/+4
Change-Id: I3ec59f2a736d230eeb9f6e5db49af16f3e570afd
2015-05-04Use typed OMySQLIntroPageSetup::SetClickHdl LinkStephan Bergmann3-6/+4
Change-Id: I99c6677bcb1a491ede67322b21f6ca051a2e924d
2015-05-04Use typed OGenericAdministrationPage::SetModifiedHandler LinkStephan Bergmann3-6/+5
Change-Id: Ia605aeb2a9936f3c60db179420805a3e986fd64b
2015-05-04Use typed OTextConnectionHelper::SetClickHandler LinkStephan Bergmann3-5/+4
Change-Id: I4d60400f4cc3f34529d632e52b676007f87ff646
2015-05-03cppcheck: variableScopeCaolán McNamara1-3/+2
Change-Id: Ice10ca4fdecfb446fa3f7680e89ea0d7dd2c1cb7
2015-05-02Audit LoseFocus - basctl, cui, dbaccess.Michael Meeks3-3/+8
Change-Id: If61b45f28f30e3ab00dbf071198233d59899d719
2015-04-30dbaccess: allow storing to storage without a root oneMiklos Vajna1-2/+3
In case of embedding a Base document, there is no root storage and attachResource() is not called with a parameter to be able to make one, all we can (and have to) do is to store the component to the target store given as a parameter to storeToStorage(). With this, a .odb embedded in a .odt no longer lost on export. Import is still broken, though. Change-Id: I1d92a1d28f27f49609ef70fbf16effb592b9edf5
2015-04-30Gradually typed LinkStephan Bergmann23-87/+87
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30Get rid of initial :: for the svx namespaceTor Lillqvist13-29/+29
Change-Id: I03e428a749bca409ebac9c142acaddafcbfeca23
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist1-1/+0
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
2015-04-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann2-6/+2
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
2015-04-29dbaccess: log exception messages in ORowSetCacheMichael Stahl1-6/+10
Change-Id: I1c76d4ce91d1f22d88106918ab139b17f6f017f0
2015-04-29dbaccess: attachResource() and load() calls are swapped in case of embeddingMiklos Vajna2-0/+12
Change-Id: I34600202f0f5c988222f7d4f305ba90df09cd614
2015-04-29convert CTF_ constants to scoped enumNoel Grandin1-1/+1
Change-Id: I1c8149e9fccde761bb2a5fd2cf3cddcd2d9748dd
2015-04-29convert WZB_ constants to scoped enumNoel Grandin3-32/+32
Change-Id: If2f12ea54b57f32df23fc22fb8be0aa3c6f2e76e
2015-04-29fix compile: delegate RenderContext parameter to superTomaž Vajngerl3-7/+7
Change-Id: I1c08e29c45d8334db52b129a957098481f3e57a4
2015-04-29replace Paint calls to Invalidate + fix compilationTomaž Vajngerl2-5/+5
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl13-13/+13
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-28dbaccess: more GCC-4.7 fixesMiklos Vajna4-9/+9
Change-Id: Ia89a9984ce1d5230c1a57591b6bce87a5e22471a
2015-04-28dbaccess: fix GCC-4.7 buildMiklos Vajna2-2/+2
Change-Id: Ic7aa1cc38e296497ca47b69b95e54a888da0b891
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks244-1799/+2771
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-28WizardDialog::DeactivatePage return type wants to be boolStephan Bergmann2-4/+4
Change-Id: Ib44006e339a4e1ee9b5c9201e48861fceef865fd
2015-04-28css.sdbc.XResultSet.getRow return type is longStephan Bergmann1-1/+1
Change-Id: I764a88f110f5528cabc1e223ffc63079954c534f
2015-04-28Simplify sal_Bool expressionsStephan Bergmann2-6/+6
Change-Id: I4f9dd7b273e52fa97a7f79bf77a76ae5412c5e10
2015-04-28SvXMLEnumMapEntry holds all values as sal_uInt16Stephan Bergmann1-2/+2
Change-Id: I3af5f97e77240a0f0a3c96cffc03c8a005e8f0aa
2015-04-28Dialog::EndDialog nResult param is of type long/VclResponseTypeStephan Bergmann1-1/+1
Change-Id: I31f1941daf158676518fcf259ef8a9e84863473e
2015-04-28SfxTabPage::DeactivatePage wants to return SfxTabPage::sfxpgStephan Bergmann4-5/+5
Change-Id: Iba538bb51635e6cae1e033d14e8da3dabfb36634
2015-04-28Rephrase comparisons between bool and sal_BoolStephan Bergmann2-2/+2
...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I801b6b73648715448198d582a087cc834f6e20c8
2015-04-27More loplugin:simplifyboolStephan Bergmann4-6/+6
Change-Id: I23fc4ef513dff2d378f09a196f8e2d0db9da900d
2015-04-24loplugin:simplifyboolStephan Bergmann11-13/+12
Change-Id: I77d80494ab99b4cd70f623798389f8dc35772d8a
2015-04-24Build fix.Michael Meeks1-1/+1
Change-Id: Iceedf898d91a9496aa988727beeac1696d398944
2015-04-24Build and warning fixes, Mac, Win, Linux.Michael Meeks1-29/+29
Change-Id: I8a8420f96c512e031ba3cde499523b71341dfa94
2015-04-23Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann10-12/+12
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-23loplugin:staticmethodsNoel Grandin1-1/+1
Change-Id: I6207b475127099872c6f3764331006688129b673
2015-04-22Fix a number of boost::unique_ptr errors.Michael Meeks9-14/+13
Audit for this problem in: "vclwidget: change all vcl::window fields to be wrapped in VclPtr" Change-Id: I6e57f078364a7fd3fd4e61c748d7af843458758e
2015-04-22Fix lifecycle issues.Michael Meeks1-1/+1
Change-Id: I7524ca3da7d134d94553be0e7a6db7e879984ae8
2015-04-22Update to XDocumentEventBroadcaster et alStephan Bergmann2-10/+10
Change-Id: Idf481726e322067af8730ef1eb1e663a174a6e3e
2015-04-22Unused #includeStephan Bergmann1-1/+0
Change-Id: I228ba798ccec3f582643734f08ca52e8de3a16df
2015-04-22convert SV_ENTRYFLAG constants to scoped enumNoel Grandin1-1/+1
Change-Id: I457b32ed5ee5d74e6f8361e7de79cbd406122651
2015-04-22convert SV_DRAGDOP_ constants to scoped enumNoel Grandin4-4/+4
Change-Id: If953610ed24a2b6d5f33f2ba014fba2ca5308d7d
2015-04-22convert HIB_ constants to scoped enumNoel Grandin2-4/+4
Change-Id: I6fa3ecde4a1c5f9c7e6e1dcd22250cba065933e3
2015-04-22convert EBBF_ constants to scoped enumNoel Grandin5-5/+5
Change-Id: I6f281001a96ebfbca20f3e8dd3423945e119eef0
2015-04-22convert BROWSER_ constants to scoped enumNoel Grandin6-37/+38
and fix a couple of places where it was mixing these flags up with the WinBits flags and calling the wrong constructor. Change-Id: I65c66bdd5a263e2f1db179c853f3f00e9ac7659e
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann1-0/+3
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
2015-04-22tdf#88710 Cleanup after removing dbtoolsclientMatthew Nicholls4-0/+4
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-21Remove erroneous SAL_NO_ACQUIRE pieces introduced in error.Michael Meeks1-1/+1
Change-Id: If8cd8fafea1f88360d86552ac94a985b1d1feae8
2015-04-21Visbile->VisibleCaolán McNamara1-11/+11
Change-Id: I7f26d81c83ff3eee7dfbdc3b9c76592bb152e130
2015-04-21CppCheck cleaning : avoid unnecessary affectationMichaël Lefèvre1-2/+2
Change-Id: I3803c5898f94e2786ba6fa464b503f36f5a449ab Reviewed-on: https://gerrit.libreoffice.org/14847 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-21Get rid of trivial comphelper::in-/decrement wrappersStephan Bergmann1-2/+2
Change-Id: Id3a12ef9d56c30719f483e610c8a8b08caf05def
2015-04-20dbaccess: convert new to ::Create.Michael Meeks66-232/+231
Also convert svtools' WizardShell::createPage. Change-Id: I09bd40ef4748aa2de7b49eeefc95be06b545ea05