Age | Commit message (Collapse) | Author |
|
and while we're at it
- use the enum type all over the place instead of passing around
sal_uInt16
- don't use bitwise logic on enum values
- use enum values instead of numeric constants
Change-Id: I7f24cb4d242e1c00703e7bbcf1a00c18ef1e9fd4
|
|
Change-Id: Ia36a8d833b697dad4f6bbc611b703efcda4b220c
|
|
we shouldn't be in this condition, but seeing as we are fix the
string source.
Change-Id: Ia746a24db3daae7952f4b5dbd94a315a4e79cf12
|
|
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
|
|
especially because most of them don't handle intercepting text getting *pasted*
into them right, so start with the one which does that right.
Change-Id: If6770798872ed3c72c469656ebf0d4fd76d2171d
|
|
Change-Id: I26e1e0f66dad5ed4e8351fc7509449b312559166
|
|
...and also corresponding param of CreateTabPage function type and corresponding
Craete functions. There were some call sites that passed undefined "null
pointer references" and SfxTabPage internally uses a pointer member pSet that is
checked for null anyway.
Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
|
|
...there was a call site that passed undefined "null pointer reference"
(apparently in a case where the passed argument was actually unused)
Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
|
|
...there were a number of call sites that passed undefined "null pointer
references" (apparently in cases where the passed argument was actually unused)
Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
|
|
Change-Id: Iaf672463cf51d596148822d9b5effe5ab40f70d4
|
|
Change-Id: I45929aae52fa106b5f5c0199f8ce8b60c0ac5438
|
|
Change-Id: I3ba4ac78fd4810e006b1034bbe7c28b1803895d2
Reviewed-on: https://gerrit.libreoffice.org/9494
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
when parent node is selected
(cherry picked from commit 3e285da1115b83bfd168567d561615fb3ee3e6c9)
Conflicts:
sw/source/ui/misc/glossary.cxx
Change-Id: I9ef8b28e55a27d4b48432b50678e1a8bc19e0935
|
|
Change-Id: If719ed8411ee65c6b81452434810a21ac1da7e58
|
|
follow to commit ff1a7a59434f5f793d4044aad615bcf78148e963
"RFC: add IsValueChangedFromSaved to VCL button and listbox"
Change-Id: If2e6d9e7c18590dc4abbc90362d7897ca2557dd6
|
|
Change-Id: Id9b60bb33a1200f5fa6264d0801121ac9e12dc23
|
|
Change-Id: I89c9a17a7ea8dde3475826d03bdeef9e94da322c
|
|
Change-Id: I69583731182c09ffb995a2e86b46e0192544950c
|
|
Change-Id: I332d57bd7a82a734e509afe24c0c716ce8a4e455
|
|
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
|
|
Change-Id: I9a86030d988473ac56ee1c6c1325b1eede2ba010
|
|
Change-Id: I0ce6965f191d1455bcc7a793025282e20b7433a5
|
|
Change-Id: I7ce04c206250db40076bed699bee892bdfbf19b6
|
|
and remove some unused stuff
Change-Id: Iea6177c3d2f9d0668187e66155b62688ae2ecb04
|
|
Change-Id: I812842e76ae0b7bc252530d2b4aaa2b452c2babf
|
|
Change-Id: If24d4cec9ef4369f20419fe70de7392614a35316
|
|
Firstly, IsFormat is unused so there's no "escape" of
bFmt back into the outside world.
Then bFmt has two purposes.
Purpose 1 is 'not be a format dialog, be a format dialog, be a format dialog but hide standard button'
so, lets just add an explicit "Hide standard button" method and call
it in the (apparently) one place where it's necessary.
Purpose 2 is to flag that "BaseFmtHdl" was called from clicking
the "Standard" button at which point its set to 2.
SfxTabDialog::Init_Impl had...
"
// bFmt = temporary Flag passed on in the Constructor(),
// if bFmt == 2, then also sal_True,
// additional suppression of the standard button,
// after the Initializing set to sal_True again
if ( bFmtFlag != 2 )
m_pBaseFmtBtn->Show();
else
bFmtFlag = sal_True;
"
but the variable acted on is bFmtFlag a copy of bFmt, and is never read again
after that line, so setting it to sal_True is meaningless. The comment suggests
that the intent is to reset bFmt to true if it was 2 during initialization,
which fits with the later use of bFmt == 2 to indicate that the standard button was
clicked, i.e. reset bFmt back to its standard value.
So make bFmt a simple toggle of dialog as a format dialog or not, add a way
to remove the standard button and add a second variable to indicate the standard
button got pressed.
Change-Id: I98a441f5f314845abe243e05b6d92fd71d7b0b04
|
|
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."
Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
|
|
There is nothing mnemonic in the name 'INET_PATH_TOKEN' that would tell the
code reader that it simply means '/'.
Change-Id: I89ce72e8be5cf0ef2c66b23ad6e721ad49105648
|
|
Change-Id: Ia32931ddb122e31bcd1cb18ecca694ae562d5d7f
|
|
...that had been used for DBG_CTOR, DBG_PROF, etc.
Change-Id: I8eac38e24b7110511feb7813aaf5a20ab82bdbe0
|
|
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
|
|
Change-Id: I1fd02cc148fd9a54d2092dad1e548f51a0813a14
|
|
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
|
|
Change-Id: Ia305ad3b1e04129e172f0f2fe3428f84e4654576
|
|
Change-Id: If80b842a79d476e5e90eeedc4520fc952c8f8f2a
|
|
Change-Id: I9f92a57644239b11941236a1cee5302eca993a7b
|
|
This code has been there at least since 2000-09-18, so removing it
seems to be safer than adding the evaluated token to the sMsg
OUString, as the surrounding code would suggest.
Change-Id: Ie9b2446b80a7bf79efbf6963b3a5e40548d4154c
|
|
Change-Id: I45152c575720e0720139d8a6d973333b105e1fa5
|
|
Change-Id: I9d92d5866be5f579a2d645d9039f9fb939e6e61e
|
|
Change-Id: Id286b57ccba1edb35490c374740a58128ce7f0c4
|
|
Change-Id: I122af4ed8a2504242f527cf98b26c9e1599497ea
|
|
Change-Id: I52f3365a00f05bf1ff34f5a01cb0c0dbdf2fda11
|
|
Change-Id: Iad9498676994cd60521f251fd84dcc2b90b54e88
|
|
Change-Id: I5e2a6ef9c3f744997e9e473e9431d590ba6f9d04
|
|
of a set of paragraph which have more than one different List Style applied
create a new List Style and put the paragraphs into a new list.
(cherry picked from commit 0087ca89e3905009ed947c651f3dc70f3d61ea93)
Conflicts:
sw/inc/doc.hxx
sw/inc/docsh.hxx
sw/inc/editsh.hxx
sw/source/core/doc/docnum.cxx
sw/source/core/docnode/ndcopy.cxx
sw/source/core/edit/autofmt.cxx
sw/source/core/edit/ednumber.cxx
sw/source/core/uibase/app/docst.cxx
sw/source/core/uibase/docvw/edtwin.cxx
sw/source/core/uibase/inc/textsh.hxx
sw/source/core/uibase/shells/listsh.cxx
sw/source/core/uibase/shells/textsh1.cxx
sw/source/core/uibase/shells/txtnum.cxx
sw/source/core/uibase/uiview/formatclipboard.cxx
sw/source/core/uibase/uiview/view2.cxx
sw/source/core/uibase/wrtsh/wrtsh1.cxx
sw/source/core/undo/unnum.cxx
sw/source/core/unocore/unocrsrhelper.cxx
sw/source/filter/ww1/fltshell.cxx
sw/source/ui/misc/num.cxx
Change-Id: Iadb5b386cada296d90d96aa75574024baac7ae3e
|
|
Change-Id: Iecb6dbee9e7af0600b8355db038ec597cab61d1a
|
|
Change-Id: Id5625b94bef8f580f3d895d302b4e1af18c0ed38
|
|
Change-Id: I5a6a57f708a3a5ce1f065e341ae9da24e0c91499
|
|
Change-Id: Ifd9279e7ccc671395caa1e6f3723e86062d2fb08
|