Age | Commit message (Collapse) | Author |
|
Change-Id: I7b0085af3b13bd6e1a50bf1e0e986d1524b52d7b
|
|
Change-Id: I96b4d44e44389245f3ccc4a08198676461c6a38b
|
|
Change-Id: I6aaa7602f57f6cb2d0f9bc3ee897a9c3576d47d3
Reviewed-on: https://gerrit.libreoffice.org/12012
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
|
|
Feature test macros that govern conditional compilation should be
defined in config_*.h include files, not on the compilation command
line.
Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
|
|
...apparently, given that the SID_ATTR_UNDO_COUNT entry in sfx2/sdi/appslots.sdi
is the only place that mentions those functions. That reveals that all the
other SIDs mentioned there are completely unused. (Also, there seems to be no
need to wrap the remaining PropExec/State_Impl functionality in #ifndef
DISABLE_SCRIPTING.)
Change-Id: Iea7a41aa323b7876d316794cebe962e6e086236d
|
|
Change-Id: I91ca8e09971aee26f16257a4fd01125cfb2ebcdb
|
|
Change-Id: I435ce2331fb49e7ce9fe97bdfddfaef706759a84
Reviewed-on: https://gerrit.libreoffice.org/12023
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
...at least, removing them has no effect on the generated workdir/SdiTarget/ *.hxx
Change-Id: I0e3fffe27593cfbf5aed267c3f47bc85581954c8
|
|
close Decks"
This caused a regression, see fdo#84351
This reverts commit 04e96b6d6eb55b9ff2a6ec9c4ce52260e33df121.
|
|
Fraction used BigInt internally for computations, rational does nothing
like that.
Change-Id: I3e9b25074f979bc291208f7c6362c3c40eb77ff5
|
|
Change-Id: I67143e604314f5553026c369bbed3fdd683c39a6
|
|
etc.
Change-Id: I588d4486071b1e31897d4e6468a2c634d6856832
|
|
Change-Id: Id6b14366d11c15ec1440482cfb725e497807fa2e
|
|
related coverity#1242504 Resource leak but it still leaks a dlopen
handle here of course
Change-Id: Iaf692e7b2753c1c0af580e236bc147dc30a39e9f
|
|
...detected with a modified trunk Clang with
> Index: lib/Sema/SemaDeclCXX.cpp
> ===================================================================
> --- lib/Sema/SemaDeclCXX.cpp (revision 219190)
> +++ lib/Sema/SemaDeclCXX.cpp (working copy)
> @@ -1917,9 +1917,10 @@
> const Type *T = FD.getType()->getBaseElementTypeUnsafe();
> // FIXME: Destruction of ObjC lifetime types has side-effects.
> if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
> - return !RD->isCompleteDefinition() ||
> - !RD->hasTrivialDefaultConstructor() ||
> - !RD->hasTrivialDestructor();
> + return !RD->hasAttr<WarnUnusedAttr>() &&
> + (!RD->isCompleteDefinition() ||
> + !RD->hasTrivialDefaultConstructor() ||
> + !RD->hasTrivialDestructor());
> return false;
> }
>
> @@ -3517,9 +3518,11 @@
> bool addFieldInitializer(CXXCtorInitializer *Init) {
> AllToInit.push_back(Init);
>
> +#if 0
> // Check whether this initializer makes the field "used".
> if (Init->getInit()->HasSideEffects(S.Context))
> S.UnusedPrivateFields.remove(Init->getAnyMember());
> +#endif
>
> return false;
> }
to warn about members of SAL_WARN_UNUSED-annotated class types, and warn about
initializations with side effects (cf.
<http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-October/039602.html>
"-Wunused-private-field distracted by side effects").
Change-Id: I3f3181c4eb8180ca28e1fa3dffc9dbe1002c6628
|
|
these have been unused since we switch to using normal C++ RTTI with the
SfxHint subclasses
Change-Id: Ia271cfa01d2f49ed335e90f78309cd26d6ec9d8f
|
|
Change-Id: I7691103b5011861d9e84860671be8e46651a27b1
|
|
Change-Id: Iefb63bc7cdbff2217f16c1a72fc271361227588b
|
|
Change-Id: I2eb340eddf77ef5f007b5588e78d2b03bb5eb059
|
|
Change-Id: I8f6e5803efe0db06d081903b9b852d1a1f881f7b
|
|
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>,
changed from a macro- to a template-based solution. (Unfortunately MSVC 2012
does not support explicit conversion operators. Worked around that with
explicit #ifs rather than some HAVE_EXPLICIT_CONVERSION_OPERATORS and
SAL_EXPLICIT_CONVERSION_OPERATOR ainticipating we hopefully soon move to a
baseline that requires unconditional support for them.)
Change-Id: I4a89643b218d247e8e4a861faba458ec6dfe1396
|
|
e.g. use macro organizer for the first time and launch a macro, user event
with handle to basctl function posted
Change-Id: I2f0f4a7536f071926ea1bd6994f8178fbd4a796f
|
|
and fix a couple of bugs in SC and SW where the call mode was
being passed to the hints parameter by accident
Change-Id: Ief805410b3f7035e012e229e77f92d5832430f58
Reviewed-on: https://gerrit.libreoffice.org/11916
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: Ifa46523619ae7fb8d112525b8df594836e51bb8f
Reviewed-on: https://gerrit.libreoffice.org/11843
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
|
|
which has the side-effect that the keyboard and tab key will cycle
through all the contents of the start center. Otherwise in the template
view on first clicking templates you are "stuck"
Change-Id: Iceed2492e8dde28c0ada381ef0f430738441179f
|
|
Change-Id: Ie6d2cfb5ee28fbd9395a49fa074a252c9c6e20ec
|
|
Change-Id: Ia7370c4aaa6c0bf69eab13979b6d2209dae695f0
|
|
* Added rational util functions used by Fraction class not
available in the boost::rational class.
* Replaced usage of Fraction by boost::rational<long>
* Removed code that relies on:
1. fraction.IsValid() -- rational only allow valid values, ie
denominator() != 0
2. rational.denominator() == 0 -- always false
3. rational.denominator() < 0 -- always false but implementation
detail: http://www.boost.org/doc/libs/release/libs/rational/rational.html#Internal%20representation
* Simplified code that relies on:
1. rational.denominator() != 0 -- always true
* BUGS EXIST because Fraction allows the creation of invalid values but
boost::rational throws the exception boost::bad_rational
Change-Id: I84970a4956afb3f91ac0c8f726547466319420f9
Reviewed-on: https://gerrit.libreoffice.org/11551
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
from StyleTreeArr_Impl.
Change-Id: I44621f913fc1b7ce0da9f41e4e0864edaea474b2
Reviewed-on: https://gerrit.libreoffice.org/11826
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
And disable manual resizing
Change-Id: I3c78b09930833eb84bbd84a553d2f07ff8573e0b
Reviewed-on: https://gerrit.libreoffice.org/11870
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I686835f07525fa77caf292d8ee746c120e3331e3
|
|
Change-Id: I17b1057c2551f41b15547d7563434e3344ab6be8
Reviewed-on: https://gerrit.libreoffice.org/11822
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
Incorrectly converted in a384b21cc40818bf3c918951a086a30b5d9d8022
where SFX_IMPL_ONEINSTANCEFACTORY was used.
AFAICS it's the first converted single-instance service which implements
css::lang::XInitialization. That's kind of strange but can do its job.
sbergman@redhat.com: Three things were necessary in order to not call the
~ShutdownIcon code too late during exit now:
* Move the relevant code from ~ShutdownIcon to ShutdownIcon::disposing.
* Add a dummy <singleton name="com.sun.star.office.theQuickstart"/> so the
service manager will eventually dispose the (single) instance.
* In
cppuhelper::ServiceManager::Data::Implementation::createInstanceWithArguments
do not shortcut updateDisposeSingleton in that odd case of calling
createInstanceWithArguments on an implementation that (effectively) is a
singleton (as otherwise the service manager would still not dispose it). It
looks to me like that "return inst;" was an inadvertent leftover in
874c481801434d4fac3c50f076bff0fe3a3988b6 "Simplify service manager's tracking
of singletons" and wasn't intended to serve some subtle purpose.
Change-Id: Icd4d3168ec0bbb820b17ac321fe897ac9f9ce7fc
|
|
Apparently fc04f76336fdf8c96e35382cdeb497e2f939705c used some sed script
to change all ...
Change-Id: Ie609bd02a2c5d70109fc6185cf4440480f29d8f5
|
|
<sberg> kendy, as you recently changed Timer handling on Windows: debugging why
quickstarter no longer works on Windows, I run into the phenomenon that
IdleTerminate::Timeout (sfx2/source/appl/shutdownicon.cxx) executes on the main
thread, and from within the m_xDesktop->terminate() call Timer::ImplDeInitTimer
is called which deletes the pTimerData corresponding to our IldeTerminate, so
that Timer::ImplTimerCallbackProc, after the return from
IdleTerminate::Timeout, will operate on a stale pTimerData and crash; could
that be related to those recent changes?
<kendy> sberg: I think mst told that we were previously never deleting the
timer, and that he did some changes there [...]
<mst__> sberg, IdleTerminate needs a different implementation
<mst__> sberg, does it work to do this via PostUserEvent, as
"Application::Quit()" does?
<sberg> mst__, do you think calling terminate from a Timer did work in the past?
[...]
<mst__> sberg, perhaps it did before [a recent] commit but i would guess it
would be more by accident than by design
Change-Id: I23b14ba59a963cc2209a261a1459d532a88acdc0
|
|
Change-Id: I9676e38029c511678efed1679f9488f1f15f4f8d
|
|
Change-Id: If423bd3fde53695be33a4f890f7d363ccce8dbf0
|
|
Handles the .uno: and .slot: commands. Cannot load / save the info yet, only
dumps it to the screen at the application exit.
Disabled in the code now, needs a configuration option.
Change-Id: I4e689f534fe5c8a5af84df472e47f276fb7af89b
|
|
Change-Id: Id1c6357c84e03c71136eb92434002e5e0a4b71d7
|
|
...for no apparent gain. IdleUnloader introduced in
a8b42ddd66bba4b6f26a4d2d793051752989938e "Fix i#101245#" was probably a
misguided reaction to osl::Module's dtor starting to call dlclose back then.
Change-Id: I9a5e99d8cfba13e3750331597d64f58135537e9b
|
|
Change-Id: I86606646206ec26e2822a6e27888537d44351b7b
Reviewed-on: https://gerrit.libreoffice.org/11725
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
|
|
Change-Id: I05b63dc00023945d92fd837bd64042135d3f9aed
Reviewed-on: https://gerrit.libreoffice.org/11648
Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
|
|
Change-Id: Ie9a9a3438408900d4a5e07b50f4e636e06f94026
|
|
Change-Id: I011a0eae37d01606d28c00f8ab3839f20bf309ce
|
|
to make it's intended purpose clearly distinguishable from AddNextRef
Change-Id: I5da780b48b19fd873667b648031bc394113f953b
Reviewed-on: https://gerrit.libreoffice.org/11763
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I0c684565e2d5e83d7d1bb99b3d8011a1d87994d5
|
|
Change-Id: I029a1fba2a204b9b2b7482258685ab404b06bef8
|
|
Change-Id: Ib7d87cfb4647b0495a122a4d63578afb5d54a965
|
|
Change-Id: I015952c56ea686f307b0b5ccaad29ace9ebfa301
|
|
Change-Id: Ie5dcc39f05d7fd21a873ac95ca9cc7f00c1961df
|