Commit graph

1942 commits

Author SHA1 Message Date
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Philipp Weissenbacher
2343fc82a9 Translate German comments 2012-03-07 17:49:24 +01:00
Philipp Weissenbacher
b9046068b1 Translate German comments, fix some whitespace and bad translations 2012-03-06 02:06:12 +01:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Stephan Bergmann
2eaa1422a0 Adapted AsyncEventNotifier to safer-to-use salhelper::Thread 2012-02-23 10:47:37 +01:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
Takeshi Abe
03591233c1 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-18 23:19:41 +09:00
Lionel Elie Mamane
3f6473f130 Forgotten German word in translated comment 2012-02-16 17:01:43 +01:00
Lionel Elie Mamane
c55d050400 fdo#46163 convert bound values to bound column's type 2012-02-16 13:33:04 +01:00
Lionel Elie Mamane
fc593ac601 correct indentation 2012-02-16 13:33:04 +01:00
Philipp Weissenbacher
7212cc8081 Translate German comments 2012-02-16 13:12:37 +01:00
Caolán McNamara
bbc94edb9a refactor ConvertLineEnd 2012-01-30 13:18:38 +00:00
David Tardon
e18a7b0e38 WaE: deleting object of abstract class type with non-virtual destructor 2012-01-15 20:27:18 +01:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Marcel Metz
5845c5b6ec Removed unnecessary tools/link.hxx includes. 2012-01-06 23:55:50 +01:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Marcel Metz
a1cfce768f Removed unnecessary tools includes. 2012-01-05 15:38:11 +01:00
Marcel Metz
79646372a0 Removed unnecessary tools includes.
Hello lo-devs,

this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.

regards Marcel Metz
2012-01-05 15:31:29 +01:00
Stephan Bergmann
dee53a32a9 Temporary hack around cppu_detail_getCppuType variants violating ODR.
Which causes cppuhelper to pick wrong variant from other library, now that its own
symbols are no longer reduced to private on Mac OS X.  As a temporary hack, emit
cppu_detail_getCppuType for the relevant types always as fully comprehensive; should
be revisited when improving types.rdb format (routinely generating C++ information
for certain UNO types into a dedicated library?).  Requires a fix to xmlreader and
a fix to forms that looks like a Mac OS X GCC bug.
2012-01-02 15:33:14 +01:00
Gustavo Buzzatti Pacheco
6cfae09e5d Fix for fdo43460 Part XVIII getLength() to isEmpty()
Part XVIII
module
form
2011-12-30 11:36:01 +01:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Tor Lillqvist
01fd335473 WaE: NULL used in arithmetic 2011-12-12 22:14:54 +02:00
Takeshi Abe
75b835c8cd catch exception by constant reference 2011-12-12 10:05:25 +09:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Eike Rathke
86adb5cacb get rid of class Date and Time default ctor with system time penalty 2011-12-01 21:04:29 +01:00
Norbert Thiebaud
0c4aa66913 remove include of pch header from forms 2011-11-27 13:09:48 -06:00
August Sodora
93253ee6ab Remove some uses of OUString::setCharAt 2011-11-26 00:49:26 -05:00
David Tardon
fba911fea7 gsl_getSystemTextEncoding -> osl_getThreadTextEncoding 2011-11-25 09:07:49 +01:00
Stephan Bergmann
b11bd0323e Removed comphelper -> unotools processfactory.hxx duplication. 2011-11-14 11:50:26 +01:00
Michael Stahl
3895c2e7c8 fdo#42157: fix deadlock
WindowStateGuard_Impl::impl_ensureEnabledState_nothrow_nolck:
drop own mutex while calling XWindow method that locks SolarMutex.
2011-10-24 15:27:32 +02:00
Pierre-André Jacquod
b94d6e85c5 cppcheck reduce scope of var in forms/...convert.cxx 2011-10-07 15:57:44 +02:00
Pierre-André Jacquod
b24adf82ce cppcheck scope reduction in forms/...DatabaseForm.cxx 2011-10-07 15:57:43 +02:00
Caolán McNamara
44ff5f1477 WaE: unused e 2011-09-26 16:28:56 +01:00
Caolán McNamara
871426533f just silence the auto_ptr deprecations in isolation 2011-09-22 15:01:05 +01:00
Caolán McNamara
365a13d3c5 make forms ByteString free 2011-09-15 11:23:35 +01:00
Caolán McNamara
3df2068878 ditch distracting CHARSET_ANSI comment 2011-09-12 09:10:04 +01:00
Stephan Bergmann
390eaa7363 sb140: #i114718# avoid references to object across XAggregation::setDelegator boundary 2011-09-09 17:46:35 +02:00
Stephan Bergmann
a8f776e0a0 frm::OInterfaceContainer::insertByIndex must not crash for null argument.
Regression introduced with 4fae740db79d4e7cc97440e2bab8d1ef612d9b51;
caused forms/qa/unoapi check to fail.
2011-09-06 11:01:18 +01:00
Caolán McNamara
3829892dbc merge together 5 or ascii isalpha/isalnum/isdigit implementations 2011-08-29 09:56:08 +01:00
Norbert Thiebaud
0d4720d1e1 undo anything not wizard related in the previous merge-commit 2011-08-21 18:12:16 -05:00
Xisco Fauli
6c76e4db03 Merge branch 'master' into feature/gsoc2011_wizards
Conflicts:
	automation/source/inc/cmdbasestream.hxx
	automation/source/server/cmdbasestream.cxx
	automation/source/server/retstrm.hxx
	automation/source/testtool/cmdstrm.cxx
	automation/source/testtool/cmdstrm.hxx
	automation/source/testtool/tcommuni.cxx
	basctl/prj/d.lst
	basctl/uiconfig/basicide/toolbar/findbar.xml
	cui/source/dialogs/about.cxx
	cui/source/dialogs/about.src
	cui/source/inc/about.hxx
	extensions/source/abpilot/abpservices.cxx
	extensions/source/dbpilots/dbpservices.cxx
	extensions/source/propctrlr/pcrservices.cxx
	extensions/source/svg/makefile.mk
	forms/Library_frm.mk
	lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
	lingucomponent/source/spellcheck/spell/sspellimp.cxx
	package/prj/d.lst
	package/source/zipapi/XMemoryStream.cxx
	package/source/zipapi/XMemoryStream.hxx
	setup_native/prj/d.lst
	setup_native/source/win32/customactions/relnotes/makefile.mk
	tools/test/export.map
	wizards/com/sun/star/wizards/common/ConfigGroup.py
	wizards/com/sun/star/wizards/common/ConfigNode.py
	wizards/com/sun/star/wizards/common/Configuration.py
	wizards/com/sun/star/wizards/common/Desktop.py
	wizards/com/sun/star/wizards/common/FileAccess.py
	wizards/com/sun/star/wizards/common/Helper.py
	wizards/com/sun/star/wizards/common/SystemDialog.py
	wizards/com/sun/star/wizards/document/OfficeDocument.py
	wizards/com/sun/star/wizards/fax/FaxDocument.py
	wizards/com/sun/star/wizards/fax/FaxWizardDialog.py
	wizards/com/sun/star/wizards/fax/FaxWizardDialogConst.py
	wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py
	wizards/com/sun/star/wizards/fax/FaxWizardDialogResources.py
	wizards/com/sun/star/wizards/letter/LetterDocument.py
	wizards/com/sun/star/wizards/letter/LetterWizardDialog.py
	wizards/com/sun/star/wizards/letter/LetterWizardDialogConst.py
	wizards/com/sun/star/wizards/letter/LetterWizardDialogImpl.py
	wizards/com/sun/star/wizards/letter/LetterWizardDialogResources.py
	wizards/com/sun/star/wizards/text/TextDocument.py
	wizards/com/sun/star/wizards/text/TextFieldHandler.py
	wizards/com/sun/star/wizards/text/TextSectionHandler.py
	wizards/com/sun/star/wizards/text/ViewHandler.py
	wizards/com/sun/star/wizards/ui/UnoDialog.py
	wizards/com/sun/star/wizards/ui/UnoDialog2.py
	wizards/com/sun/star/wizards/ui/WizardDialog.py
	wizards/com/sun/star/wizards/ui/event/CommonListener.py
	wizards/com/sun/star/wizards/ui/event/DataAware.py
	wizards/com/sun/star/wizards/ui/event/RadioDataAware.py
	wizards/com/sun/star/wizards/ui/event/UnoDataAware.py
	wizards/util/helpids.h
	wizards/util/hidother.src
	xmlsecurity/prj/build.lst
	xmlsecurity/prj/d.lst
	xmlsecurity/qa/certext/SanCertExt.cxx
2011-08-21 21:50:13 +02:00
Kohei Yoshida
c8f40655ea Keep the container and object separate methods.
ScVbaControl doesn't have any container instance to pass to the
old method.
2011-08-16 21:22:44 -04:00
Kohei Yoshida
d2e538a635 Slightly changed the API. 2011-08-16 21:22:42 -04:00
Noel Power
4fae740db7 Disable fake VBA events for the old-style form controls. 2011-08-16 21:22:42 -04:00
Kohei Yoshida
aadd740407 Let's not even fall back to the old method. 2011-08-16 21:22:42 -04:00
Kohei Yoshida
39b2de7545 Code page should be the same for the same drawing page.
This removes O(n^2) from the process of querying the code pages for
form elements.
2011-08-16 21:22:41 -04:00
Caolán McNamara
58ee09b87b ByteString, shrink api 2011-08-12 11:51:11 +01:00
Julien Nabet
da41ba97d3 Some cppcheck cleaning 2011-08-09 00:17:54 +02:00
Kohei Yoshida
27f16c19cd Use rtl::OUStringHash. 2011-08-04 20:54:06 -04:00
Matus Kukan
d98ac11f39 Remove component_getImplementationEnvironment 2011-07-12 11:27:22 +02:00