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
Lots of raw pointers have been converted to boost::scoped_ptr to reduce
the number of 'delete's and the possibility of memory leaks.
Some pointers have been converted to references, to reduce the needless
checking for nullptrs, and so simplifying the code.
Also some #define-s have been converted to C++ constants or enumerations.
Change-Id: Ifbeb78f744bac7a96c8a446ff4db90dedf85fe26
Now all names in basctl are in namespace 'basctl'.
There were lots of names that included the word 'Basic' or 'BasicIDE' in
it, e.g. BasicIDEData, BasicDocumentEntry, BasicTreeListBox,
BasicIDEModule, IDEBaseWindow etc. This information is now stored in the
namespace name, so the names could be shortened: basctl::DocumentEntry,
basctl::TreeListBox, basctl::Module, basctl::BaseWindow etc.
Some other minor changes:
* LibInfos, LibInfoItem, LibInfoKey ->
LibInfos, LibInfos::Item, LibInfos::Key
* The header guards are now uniformly BASCTL_FILENAME_HXX, instead of
e.g. _FILENAME_HXX, which is undefined behaviour because of the '_'.
* namespace BasicIDE, BasicIDEGlobals, basicide -> namespace basctl
* BASICIDE_TYPE_MODULE, ... -> basctl::TYPE_MODULE, ...
Change-Id: I2a9b493562d0d8a2510d569798fbe9e1161b7c9b
Reviewed-on: https://gerrit.libreoffice.org/501
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2007/07/24 14:02:47 ab 1.6.20.3: RESYNC: (1.6-1.7); FILE MERGED
Solved conflict
2007/07/24 13:04:58 ab 1.6.20.2: #i77072# Removed conflicts with m222
2007/07/24 10:17:26 ab 1.6.20.1: #i77072# Drag & Drop support in Dialog Organizer
2007/01/18 13:52:59 ab 1.2.6.2: #i73077# Rename Resource IDs according to renamed dialog/control
2007/01/18 07:38:37 ab 1.2.6.1: #i73053# Clipboard support for dialog resources
2006/12/18 15:40:20 ab 1.1.2.5: #i72282# Save and reset current locale before/after Basic run
2006/12/15 14:01:59 ab 1.1.2.4: #i72282# New method LocalizationMgr::handleTranslationbar()
2006/12/13 18:38:48 pb 1.1.2.3: fix: #i72282# forward SfxObjectShell
2006/12/13 11:17:17 ab 1.1.2.2: #i72282# Delete resources for deleted controls
2006/12/13 08:50:17 ab 1.1.2.1: #i72282# class LocalizationMgr