summaryrefslogtreecommitdiff
path: root/dbaccess
AgeCommit message (Collapse)Author
2015-05-06dbaccess: simplify code by using std::any_of/std::none_ofTakeshi Abe
Change-Id: I03ed512ba20206ed38428efe324f54f79abe1933 Reviewed-on: https://gerrit.libreoffice.org/15616 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05tdf#91027 - cleanup dbaccess related dispose logic.Michael Meeks
Change-Id: Ice92188b097974b8e305c0180a791e25ed537054
2015-05-05dbaccess: implement ODatabaseDocument::loadFromStorage()Miklos Vajna
With this, it's finally possible to load a .odb file embedded inside a .odt. Change-Id: Ib5eec603ce958abd848e456871aacfad4ab0a8b7
2015-05-05dbaccess: use already existing source storage in ODBFilter, if possibleMiklos Vajna
Change-Id: I4378e229c771cf79a694086b7a4ba4ac2e36b8f7
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Ie6867e04156f40cacee275d5bbf3d63ac4965b30
2015-05-04Use typed OGeneralPageWizard::SetCreationModeHandler LinkStephan Bergmann
Change-Id: I3ec59f2a736d230eeb9f6e5db49af16f3e570afd
2015-05-04Use typed OMySQLIntroPageSetup::SetClickHdl LinkStephan Bergmann
Change-Id: I99c6677bcb1a491ede67322b21f6ca051a2e924d
2015-05-04Use typed OGenericAdministrationPage::SetModifiedHandler LinkStephan Bergmann
Change-Id: Ia605aeb2a9936f3c60db179420805a3e986fd64b
2015-05-04Use typed OTextConnectionHelper::SetClickHandler LinkStephan Bergmann
Change-Id: I4d60400f4cc3f34529d632e52b676007f87ff646
2015-05-03cppcheck: variableScopeCaolán McNamara
Change-Id: Ice10ca4fdecfb446fa3f7680e89ea0d7dd2c1cb7
2015-05-02Audit LoseFocus - basctl, cui, dbaccess.Michael Meeks
Change-Id: If61b45f28f30e3ab00dbf071198233d59899d719
2015-04-30dbaccess: allow storing to storage without a root oneMiklos Vajna
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 Bergmann
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 Lillqvist
Change-Id: I03e428a749bca409ebac9c142acaddafcbfeca23
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist
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 Bergmann
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
2015-04-29dbaccess: log exception messages in ORowSetCacheMichael Stahl
Change-Id: I1c76d4ce91d1f22d88106918ab139b17f6f017f0
2015-04-29dbaccess: attachResource() and load() calls are swapped in case of embeddingMiklos Vajna
Change-Id: I34600202f0f5c988222f7d4f305ba90df09cd614
2015-04-29convert CTF_ constants to scoped enumNoel Grandin
Change-Id: I1c8149e9fccde761bb2a5fd2cf3cddcd2d9748dd
2015-04-29convert WZB_ constants to scoped enumNoel Grandin
Change-Id: If2f12ea54b57f32df23fc22fb8be0aa3c6f2e76e
2015-04-29fix compile: delegate RenderContext parameter to superTomaž Vajngerl
Change-Id: I1c08e29c45d8334db52b129a957098481f3e57a4
2015-04-29replace Paint calls to Invalidate + fix compilationTomaž Vajngerl
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-28dbaccess: more GCC-4.7 fixesMiklos Vajna
Change-Id: Ia89a9984ce1d5230c1a57591b6bce87a5e22471a
2015-04-28dbaccess: fix GCC-4.7 buildMiklos Vajna
Change-Id: Ic7aa1cc38e296497ca47b69b95e54a888da0b891
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks
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 Bergmann
Change-Id: Ib44006e339a4e1ee9b5c9201e48861fceef865fd
2015-04-28css.sdbc.XResultSet.getRow return type is longStephan Bergmann
Change-Id: I764a88f110f5528cabc1e223ffc63079954c534f
2015-04-28Simplify sal_Bool expressionsStephan Bergmann
Change-Id: I4f9dd7b273e52fa97a7f79bf77a76ae5412c5e10
2015-04-28SvXMLEnumMapEntry holds all values as sal_uInt16Stephan Bergmann
Change-Id: I3af5f97e77240a0f0a3c96cffc03c8a005e8f0aa
2015-04-28Dialog::EndDialog nResult param is of type long/VclResponseTypeStephan Bergmann
Change-Id: I31f1941daf158676518fcf259ef8a9e84863473e
2015-04-28SfxTabPage::DeactivatePage wants to return SfxTabPage::sfxpgStephan Bergmann
Change-Id: Iba538bb51635e6cae1e033d14e8da3dabfb36634
2015-04-28Rephrase comparisons between bool and sal_BoolStephan Bergmann
...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I801b6b73648715448198d582a087cc834f6e20c8
2015-04-27More loplugin:simplifyboolStephan Bergmann
Change-Id: I23fc4ef513dff2d378f09a196f8e2d0db9da900d
2015-04-24loplugin:simplifyboolStephan Bergmann
Change-Id: I77d80494ab99b4cd70f623798389f8dc35772d8a
2015-04-24Build fix.Michael Meeks
Change-Id: Iceedf898d91a9496aa988727beeac1696d398944
2015-04-24Build and warning fixes, Mac, Win, Linux.Michael Meeks
Change-Id: I8a8420f96c512e031ba3cde499523b71341dfa94
2015-04-23Improved loplugin:literaltoboolconversion looking into cond. exprs.Stephan Bergmann
...automatic rewriter fixes Change-Id: I6b04ca80f08f8a71ff94e309fd52f44d736751ee
2015-04-23loplugin:staticmethodsNoel Grandin
Change-Id: I6207b475127099872c6f3764331006688129b673
2015-04-22Fix a number of boost::unique_ptr errors.Michael Meeks
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 Meeks
Change-Id: I7524ca3da7d134d94553be0e7a6db7e879984ae8
2015-04-22Update to XDocumentEventBroadcaster et alStephan Bergmann
Change-Id: Idf481726e322067af8730ef1eb1e663a174a6e3e
2015-04-22Unused #includeStephan Bergmann
Change-Id: I228ba798ccec3f582643734f08ca52e8de3a16df
2015-04-22convert SV_ENTRYFLAG constants to scoped enumNoel Grandin
Change-Id: I457b32ed5ee5d74e6f8361e7de79cbd406122651
2015-04-22convert SV_DRAGDOP_ constants to scoped enumNoel Grandin
Change-Id: If953610ed24a2b6d5f33f2ba014fba2ca5308d7d