Commit Graph

41 Commits

Author SHA1 Message Date
e2080e70fe new compilerplugin returnbyref
Find places where we are returning a pointer to something, where we can
be returning a reference.
e.g.
   class A {
     struct X x;
     public X* getX() { return &x; }
   }
which can be:
     public X& getX() { return x; }

Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
2014-06-24 11:34:21 +02:00
3b06e5e646 Replace deprecated std::auto_ptr with boost::scoped_ptr
Change-Id: I1ebfb33063d39f64dc59623df0f942501870c4e7
2014-02-22 21:51:27 +09:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
2ec606730b fdo#62475 removed pointless comments
Conflicts:
	dbaccess/source/filter/xml/xmlfilter.cxx
	dbaccess/source/ui/dlg/ConnectionPage.cxx
	dbaccess/source/ui/dlg/detailpages.cxx
	dbaccess/source/ui/dlg/odbcconfig.cxx
	dbaccess/source/ui/querydesign/querycontroller.cxx

Change-Id: I3a05649efa3a43dd8d8fb069fc1bce14ca0a6338
Reviewed-on: https://gerrit.libreoffice.org/5484
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-08-27 16:11:09 +00:00
bb121c864c fdo#46808, Convert frame::Desktop to new style service.
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-12-21 10:57:09 +02:00
577cf8ff67 re-base on ALv2 code. 2012-06-14 17:41:07 +01:00
5d9b072cef removed duplicate includes in dbaccess 2012-03-30 00:42:35 +09:00
281b13ce89 remove include of pch header in dbaccess 2011-11-27 13:04:48 -06:00
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
dae8595066 revert to dbaccess gbuildization from master mostly
* only add JunitTest_dbaccess_complex, which was missing on master
* disable complex.dbaccess.DatabaseDocument in JunitTest_dbaccess_complex for
  now as it fails
2011-07-23 10:13:13 +02:00
e70b1417d2 Merge branch 'master' into feature/gnumake4
Conflicts:
	dbaccess/AllLangResTarget_adabasui.mk
	dbaccess/AllLangResTarget_dba.mk
	dbaccess/AllLangResTarget_dbmm.mk
	dbaccess/AllLangResTarget_sdbt.mk
	dbaccess/Executable_odbcconfig.mk
	dbaccess/JunitTest_dbaccess_unoapi.mk
	dbaccess/Library_adabasui.mk
	dbaccess/Library_dba.mk
	dbaccess/Library_dbaxml.mk
	dbaccess/Library_dbmm.mk
	dbaccess/Library_sdbt.mk
	dbaccess/Makefile
	dbaccess/Module_dbaccess.mk
	dbaccess/Package_inc.mk
	dbaccess/Package_uiconfig.mk
	dbaccess/prj/build.lst
	dbaccess/qa/unoapi/Test.java
	dbaccess/source/core/api/CacheSet.hxx
	dbaccess/source/core/dataaccess/SharedConnection.hxx
	dbaccess/source/core/dataaccess/connection.cxx
	dbaccess/source/filter/xml/xmlAutoStyle.cxx
	dbaccess/source/filter/xml/xmlColumn.cxx
	dbaccess/source/filter/xml/xmlComponent.cxx
	dbaccess/source/filter/xml/xmlConnectionData.cxx
	dbaccess/source/filter/xml/xmlConnectionResource.cxx
	dbaccess/source/filter/xml/xmlDataSource.cxx
	dbaccess/source/filter/xml/xmlDataSourceInfo.cxx
	dbaccess/source/filter/xml/xmlDataSourceSetting.cxx
	dbaccess/source/filter/xml/xmlDataSourceSettings.cxx
	dbaccess/source/filter/xml/xmlDatabaseDescription.cxx
	dbaccess/source/filter/xml/xmlDocuments.cxx
	dbaccess/source/filter/xml/xmlFileBasedDatabase.cxx
	dbaccess/source/filter/xml/xmlHelper.cxx
	dbaccess/source/filter/xml/xmlHierarchyCollection.cxx
	dbaccess/source/filter/xml/xmlLogin.cxx
	dbaccess/source/filter/xml/xmlQuery.cxx
	dbaccess/source/filter/xml/xmlServerDatabase.cxx
	dbaccess/source/filter/xml/xmlTable.cxx
	dbaccess/source/filter/xml/xmlTableFilterList.cxx
	dbaccess/source/filter/xml/xmlTableFilterPattern.cxx
	dbaccess/source/ui/app/AppDetailPageHelper.cxx
	dbaccess/source/ui/app/AppDetailView.cxx
	dbaccess/source/ui/app/AppIconControl.cxx
	dbaccess/source/ui/app/AppSwapWindow.cxx
	dbaccess/source/ui/app/AppTitleWindow.cxx
	dbaccess/source/ui/app/AppView.cxx
	dbaccess/source/ui/browser/AsyncronousLink.cxx
	dbaccess/source/ui/browser/genericcontroller.cxx
	dbaccess/source/ui/control/ColumnControlWindow.cxx
	dbaccess/source/ui/control/RelationControl.cxx
	dbaccess/source/ui/control/SqlNameEdit.cxx
	dbaccess/source/ui/control/TableGrantCtrl.cxx
	dbaccess/source/ui/control/VertSplitView.cxx
	dbaccess/source/ui/control/toolboxcontroller.cxx
	dbaccess/source/ui/dlg/CollectionView.cxx
	dbaccess/source/ui/dlg/ConnectionHelper.cxx
	dbaccess/source/ui/dlg/ConnectionPageSetup.cxx
	dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
	dbaccess/source/ui/dlg/RelationDlg.cxx
	dbaccess/source/ui/dlg/TextConnectionHelper.cxx
	dbaccess/source/ui/dlg/detailpages.cxx
	dbaccess/source/ui/dlg/dlgsize.cxx
	dbaccess/source/ui/dlg/queryorder.cxx
	dbaccess/source/ui/dlg/tablespage.cxx
	dbaccess/source/ui/misc/TableCopyHelper.cxx
	dbaccess/source/ui/misc/ToolBoxHelper.cxx
	dbaccess/source/ui/misc/WExtendPages.cxx
	dbaccess/source/ui/misc/WNameMatch.cxx
	dbaccess/source/ui/misc/WTypeSelect.cxx
	dbaccess/source/ui/querydesign/ConnectionLine.cxx
	dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx
	dbaccess/source/ui/querydesign/ConnectionLineData.cxx
	dbaccess/source/ui/querydesign/JAccess.cxx
	dbaccess/source/ui/querydesign/JoinController.cxx
	dbaccess/source/ui/querydesign/JoinDesignView.cxx
	dbaccess/source/ui/querydesign/JoinExchange.cxx
	dbaccess/source/ui/querydesign/JoinTableView.cxx
	dbaccess/source/ui/querydesign/QTableConnection.cxx
	dbaccess/source/ui/querydesign/QTableConnectionData.cxx
	dbaccess/source/ui/querydesign/QTableWindow.cxx
	dbaccess/source/ui/querydesign/QTableWindowData.cxx
	dbaccess/source/ui/querydesign/QueryDesignView.cxx
	dbaccess/source/ui/querydesign/QueryTabConnUndoAction.cxx
	dbaccess/source/ui/querydesign/QueryTabWinUndoAct.cxx
	dbaccess/source/ui/querydesign/QueryTextView.cxx
	dbaccess/source/ui/querydesign/QueryViewSwitch.cxx
	dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
	dbaccess/source/ui/querydesign/TableConnection.cxx
	dbaccess/source/ui/querydesign/TableConnectionData.cxx
	dbaccess/source/ui/querydesign/TableWindow.cxx
	dbaccess/source/ui/querydesign/TableWindowAccess.cxx
	dbaccess/source/ui/querydesign/TableWindowData.cxx
	dbaccess/source/ui/querydesign/TableWindowListBox.cxx
	dbaccess/source/ui/querydesign/TableWindowTitle.cxx
	dbaccess/source/ui/querydesign/querydlg.cxx
	dbaccess/source/ui/querydesign/queryview.cxx
	dbaccess/source/ui/relationdesign/RTableConnection.cxx
	dbaccess/source/ui/relationdesign/RelationDesignView.cxx
	dbaccess/source/ui/relationdesign/RelationTableView.cxx
	dbaccess/source/ui/tabledesign/FieldDescGenWin.cxx
	dbaccess/source/ui/tabledesign/FieldDescriptions.cxx
	dbaccess/source/ui/tabledesign/TEditControl.cxx
	dbaccess/source/ui/tabledesign/TableDesignHelpBar.cxx
	dbaccess/source/ui/tabledesign/TableDesignView.cxx
	dbaccess/source/ui/tabledesign/TableFieldControl.cxx
	dbaccess/source/ui/tabledesign/TableRow.cxx
	dbaccess/source/ui/tabledesign/TableRowExchange.cxx
	dbaccess/source/ui/tabledesign/TableUndo.cxx
	dbaccess/source/ui/uno/ColumnControl.cxx
	dbaccess/source/ui/uno/ColumnPeer.cxx
	reportdesign/AllLangResTarget_rpt.mk
	reportdesign/AllLangResTarget_rptui.mk
	reportdesign/Library_rpt.mk
	reportdesign/Library_rptui.mk
	reportdesign/Library_rptxml.mk
	reportdesign/Module_reportdesign.mk
	reportdesign/Package_uiconfig.mk
	reportdesign/Package_xml.mk
	reportdesign/prj/build.lst
	reportdesign/prj/makefile.mk
2011-06-20 09:52:21 +02:00
3c93ed792e gnumake4: converted dbaccess [hg:8113b354673f] 2011-06-17 14:35:26 +02:00
Wol
e027d3cfb7 Dead code deletion 2010-11-25 14:17:11 +00:00
Wol
d54b360929 Spelling, dead code removal 2010-11-24 22:12:39 -05:00
6450d1a7f5 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13 10:57:12 +02:00
dc8c15ae62 remove include guards using fixguard.py 2010-10-05 17:58:28 +02:00
1708f6091b changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
4288d22fab #i103496#: split svtools; improve ConfitItems 2009-10-16 00:05:16 +02:00
cf7e74bb9f INTEGRATION: CWS dba30d (1.22.30); FILE MERGED
2008/05/29 11:30:21 fs 1.22.30.1: during #i80943#: refactoring: IController now passed around as reference, not as pointer
2008-06-25 11:52:03 +00:00
9467a616f8 INTEGRATION: CWS changefileheader (1.21.178); FILE MERGED
2008/03/31 13:27:56 rt 1.21.178.1: #i87441# Change license header to LPGL v3.
2008-04-10 15:16:07 +00:00
acc39e5e5c INTEGRATION: CWS dba23a (1.20.74); FILE MERGED
2007/02/26 11:48:18 fs 1.20.74.1: remove unused code
Issue number:  #i74804#
Submitted by:  jnavrati@openoffice.org
Reviewed by:   frank.schoenheit@sun.com
2007-05-10 09:37:07 +00:00
546f16d710 INTEGRATION: CWS pchfix02 (1.19.36); FILE MERGED
2006/09/01 17:24:36 kaib 1.19.36.1: #i68856# Added header markers and pch files
2006-09-17 06:20:32 +00:00
814d94c0b2 INTEGRATION: CWS qiq (1.17.118); FILE MERGED
2006/06/28 10:31:11 fs 1.17.118.4: #i10000#
2006/06/27 12:51:59 fs 1.17.118.3: RESYNC: (1.17-1.18); FILE MERGED
2006/05/17 11:45:29 fs 1.17.118.2: #i51143# AddTableDialog is now in the responsibility of the controller, not the view (allows late construction as needed)
2006/05/12 11:11:02 fs 1.17.118.1: #i51143# callback from the AddTabDialog now via dedicated interface
2006-07-10 14:40:20 +00:00
2bf1f790ea INTEGRATION: CWS warnings01 (1.17.74); FILE MERGED
2006/03/24 15:36:25 fs 1.17.74.1: #i57457# warning-free code (unxlngi6/.pro + unxsoli4.pro)
2006-06-20 02:25:36 +00:00
815284d3e0 INTEGRATION: CWS dba201b (1.15.36); FILE MERGED
2005/09/21 10:03:40 oj 1.15.36.2: RESYNC: (1.15-1.16); FILE MERGED
2005/07/11 13:37:26 fs 1.15.36.1: merging CWS dba201 into CWS dba201b
2005-09-23 11:42:13 +00:00
e1520de419 INTEGRATION: CWS ooo19126 (1.15.96); FILE MERGED
2005/09/05 17:35:25 rt 1.15.96.1: #i54170# Change license header: remove SISSL
2005-09-08 15:19:55 +00:00
570d9ef91f INTEGRATION: CWS dba26 (1.14.100); FILE MERGED
2005/03/11 12:08:04 oj 1.14.100.1: #i42067# set addtabdlg to null beforeview is set to null
2005-03-23 08:49:37 +00:00
b9251d1e1c INTEGRATION: CWS insight02 (1.13.278); FILE MERGED
2004/08/13 14:28:21 oj 1.13.278.1: #i32563# toolbox changes
2004-09-09 08:47:56 +00:00
1c744a13fa #99473# change string resource files 2002-08-19 07:01:32 +00:00
1729ee4968 #101227# enable F6 key for add dialog 2002-07-11 11:05:41 +00:00
0c15b82753 #99172# correct dtor order 2002-05-08 12:02:11 +00:00
1e4970928a #99172# set member to null before dtor 2002-05-07 06:19:29 +00:00
3d4180bd68 #98916# enable F6 key 2002-05-02 06:54:11 +00:00
5c49431dec #90580# enable F6 key for components 2002-02-11 12:02:08 +00:00
9c1febffca # 93712# statement creation corrected 2001-10-26 06:57:11 +00:00
b2dbd2375f #93513# getFocus when adding a table 2001-10-22 07:09:11 +00:00
d6d7f23601 #90015# code corrcetions for some speedup's 2001-08-24 05:40:35 +00:00
981c3d81eb #88637# changes in the window hierarchy of the query design - no the SQL view has a toolbox separator, too 2001-08-23 13:39:09 +00:00
5bfca1f12f #88637# resize semantics changed 2001-08-15 12:43:46 +00:00
477ced0bdd cppuhelper/extract -> comphelper/extract 2001-03-15 07:29:16 +00:00
8c2bf53436 new relation design 2001-02-28 09:16:07 +00:00