Commit Graph

28 Commits

Author SHA1 Message Date
Noel Grandin
71b809959b remove unnecessary use of void in function declarations
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-15 11:47:12 +02:00
Julien Nabet
df15d179a0 Typo: relaese->release
Change-Id: I9e2e8f11c376fc808b12bc1db509babeac0ff7d8
2015-02-08 14:27:03 +01:00
Noel Grandin
c227d963d8 inline UNO helper macros
Change-Id: Ia401dd2f51108d2f3b08cd3d6d433a12ac17ee74
2014-12-09 12:55:38 +02:00
Noel Grandin
827c46e7d7 fdo#82577: Handle Window
Put the VCL Window class in the vcl namespace. Avoids clash with the X11
Window typedef.

Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-23 14:11:39 +03:00
Julien Nabet
b09b5f8f7c Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19
Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
2014-05-22 23:21:18 +02:00
Julien Nabet
0d8908b359 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part16
Change-Id: I78b3a0151397d4e69521e6b2451e93ea6e463376
2014-05-18 00:36:10 +02:00
Miklos Vajna
38b9fe8269 chart2: use constructor feature for WizardDialog
Change-Id: Ifcaae6401f1ad5069248111b568a1cf5c033f5ab
2014-04-25 10:51:25 +02:00
Thomas Arnhold
97a5ba4a71 remove comments why a file gets included
also remove some commented out code

Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-21 18:08:28 +02:00
Stephan Bergmann
ce7cc9d92d chart2: simplify deprecated XTypeProvider.getImplementationId
Change-Id: Ie06f10648b0e79101c30da4768d5462cdf38838a
2014-03-10 17:39:52 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Jelle van der Waa
dd9c97d587 fdo#62475 removed pointless comments
Change-Id: I3f5e86dba2df950aeb12c895f52d99274c0959aa
Reviewed-on: https://gerrit.libreoffice.org/5148
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-29 11:34:33 +00:00
Stephan Bergmann
dc53c77ad5 Assume that these shall indeed check full string equality
...instead of prefix match as the use of
compareToAscii(RTL_CONSTASCII_STRINGPARAM(...)) prior to
b380744c20 "Remove some RTL_* and some rtl::
prefixes in chart2" would have suggested.  But the only two clients of
com.sun.star.comp.chart2.WizardDialog that I could find
(sc/source/ui/drawfunc/fuins2.cxx, sw/source/ui/table/chartins.cxx) indeed only
use "ChartModel" and "ParentWindow".

Change-Id: I0553c2c9648959ed558afb4f6cdea0e15a29cb9e
2013-03-19 17:46:51 +01:00
Marcos Paulo de Souza
b380744c20 Remove some RTL_* and some rtl:: prefixes in chart2
Change-Id: I47889319530d8f03bd7c78e937de55cf380d2d41
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1550
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-07 13:57:43 +00:00
Noel Grandin
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
Olivier Hallot
d812cee7cb OUString cleanup in Chart2
Include C2U macro removal and rtl prefix

Change-Id: I3de75446e53618862e50c69382a7ddaf0d482fa7
2012-10-08 21:41:25 +05:30
Michael Meeks
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
Takeshi Abe
16244e7f24 removed duplicate includes in avmedia / basic / canvas / chart2 / comphelper 2012-03-28 00:30:29 +09:00
Norbert Thiebaud
6da8379e14 remove include of pch header in chart2 2011-11-27 12:59:19 -06:00
Caolán McNamara
e8ec8ac463 use standard template for this 2011-06-03 13:42:38 +01:00
Thomas Arnhold
fd3ae880bc Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-13 16:44:11 +01:00
Thomas Arnhold
39a09318dc Remove useless comments and some dead code. 2011-01-18 13:43:57 -05:00
Norbert Thiebaud
c94a7511bf merge vosremoval-mutex.diff
In practice the changeset is 'inspired' by vosremoval-mutex.diff
but was essentially redone manually
2010-10-25 17:57:36 -05:00
Norbert Thiebaud
defa3490b4 use SolarMutexGuard to guard the SolarMutex 2010-10-25 17:54:58 -05:00
Sebastian Spaeth
63bb42ab7d 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:18 +02:00
Jens-Heiner Rechtien
4573ccfffd 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
Rüdiger Timm
91517fe3a0 INTEGRATION: CWS changefileheader (1.3.94); FILE MERGED
2008/04/01 15:04:00 thb 1.3.94.3: #i85898# Stripping all external header guards
2008/04/01 10:50:19 thb 1.3.94.2: #i85898# Stripping all external header guards
2008/03/28 16:43:23 rt 1.3.94.1: #i87441# Change license header to LPGL v3.
2008-04-10 18:50:38 +00:00
Rüdiger Timm
d0b37a8f0b INTEGRATION: CWS chart07 (1.2.12); FILE MERGED
2007/07/10 11:57:28 bm 1.2.12.1: #i69281# warnings removed
2007-07-25 07:32:40 +00:00
Vladimir Glazounov
9f73aec140 INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED
2007/02/08 21:25:33 iha 1.1.2.14: resync m195 -> m202
2007/02/06 09:59:13 iha 1.1.2.13: #i72536# correct wizard position for not fullscreen documents
2007/01/16 16:17:20 iha 1.1.2.12: #i73426# wrong help context bvecause of wrong window hirarchy
2006/11/10 21:03:05 iha 1.1.2.11: prevent immidiate redraw in wizard and according dialogs (important for charts with many data)
2006/06/24 13:06:42 iha 1.1.2.10: #i54915# chart wizard shouldn't overlap chart if possible
2006/03/10 10:20:40 iha 1.1.2.9: don't use leading underscore
2005/11/15 16:48:40 bm 1.1.2.8: remove as terminate listener in dispose
2005/11/15 15:30:17 bm 1.1.2.7: garbage collection, disposing, reference release issues
2005/11/14 15:51:30 iha 1.1.2.6: remove direct view update call as automatic updates are now available
2005/10/11 09:20:08 bm 1.1.2.5: license header change
2005/08/03 16:36:15 bm 1.1.2.4: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx
2004/05/05 16:40:25 iha 1.1.2.3: update view at end of dialog
2004/04/08 12:25:45 iha 1.1.2.2: make more failsave
2004/04/07 21:34:00 iha 1.1.2.1: #i20344# new
2007-05-22 16:32:46 +00:00