Commit graph

398148 commits

Author SHA1 Message Date
Jochen Nitschke
810e664de0 use initializer list ...
... for default pool item arrays and item infos

Change-Id: I79db1b4e4a78471d81409dd976a912eeccf1065b
Reviewed-on: https://gerrit.libreoffice.org/29540
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-10-15 02:57:40 +00:00
Jochen Nitschke
99e3cf1ce9 avoid exception
Transformation is an optional property of XShape,
rATransformation can refer to an empty Any.

results in warnings like this, e.g. when you add a legend:
> warn:chart2:27587:1:chart2/source/view/main/ShapeFactory.cxx:2135:
> Exception caught. Type: N3com3sun4star3uno9ExceptionE, Message:

set Transformation property only if needed

Change-Id: I1edae0a984f8264a6a0638b90a7197e316832c02
Reviewed-on: https://gerrit.libreoffice.org/29527
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-10-15 02:56:32 +00:00
Yousuf Philips
619e74ccb0 tdf#103170 Add contextual image section buttons
Change-Id: I67306ff39ffc951edc5fd209dbb337caac67ae08
Reviewed-on: https://gerrit.libreoffice.org/29893
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2016-10-15 02:22:47 +00:00
Yousuf Philips
c33f0e0c85 tdf#103223 Arrange buttons, add spacing and separator to Area tab
Change-Id: I6aa6c1a43ac3f3ab468c28dbc298d60646c7dadb
Reviewed-on: https://gerrit.libreoffice.org/29892
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2016-10-15 02:21:59 +00:00
Kohei Yoshida
92874f2f13 This is no longer used.
Change-Id: I625a418c582b41ca324874e27900670151a9d2b2
2016-10-14 18:41:19 -04:00
Kohei Yoshida
3bd025ec76 Remove the branching at the end of IterateParametersIfs().
For (hopefully) better performance.

Change-Id: I59ed454aa9ace2f945facceee14f4e25610feebf
2016-10-14 18:41:19 -04:00
Kohei Yoshida
19d788daff Do parameter count check outside of IterateParametersIfs().
To reduce branching and scoping.

Change-Id: I664e013f941c5b5dea44a6794ed133381cfc7b4c
2016-10-14 18:41:19 -04:00
Michael Stahl
b5b57c677f tdf#64038 ODF import: fix handling of space following <text:s>
The whitespace collapse algorithm given in ODF 1.2 part 1,
"6.1.2 White Space Characters", was not implemented as well as it could be.

Although the problematic case is arguably invalid, because "6.1.3
<text:s>" says:

    This element shall be used to represent the second and all following
“ “ (U+0020, SPACE) characters in a sequence of “ “ (U+0020, SPACE)
characters.

Hence it is probably irrelevant in practice that a space following <text:s>
was ignored, because a conforming document cannot have such content.

Change-Id: Ic30347fff27176c511ea317d46a1011b410e57d5
2016-10-14 23:49:29 +02:00
Yousuf Philips
df84fdc645 tdf#103170 Adjust grid spacing and shrink section headings
Change-Id: I354cf2eebaf6330e8dbecfa44185cb06df0f47dd
Reviewed-on: https://gerrit.libreoffice.org/29833
Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
Tested-by: Yousuf Philips <philipz85@hotmail.com>
2016-10-14 21:32:35 +00:00
Stephan Bergmann
667c9c1897 Revert "Don't use the (win32) jawt_md.h as we don't have that when cross-compiling"
This reverts commit db57823374, as it causes
loplugin:externandnotdefined under clang-cl, and cross-compiling Windows on
Linux seems a rather dead project for now.

Change-Id: Ia7fd742385fa0d609007f70e5116a99729224f77
Reviewed-on: https://gerrit.libreoffice.org/29835
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-14 19:27:59 +00:00
Noel Grandin
3223c551c3 loplugin:mergeclasses merge TextView with ExtTextView
Change-Id: If7e11dd8f6b2cb6dc19c6aa3f7e50e2e88861eac
Reviewed-on: https://gerrit.libreoffice.org/29828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-14 18:34:57 +00:00
Miklos Vajna
d7afcb0e72 sc: silence loplugin:staticmethods
Where it complains about one specialization, but other ones can't be
static.

Change-Id: I031ddb795914c778f363b11ba16065e2b372b381
2016-10-14 18:34:13 +02:00
Miklos Vajna
28fcdc4fec xmlsecurity: avoid checking storage streams of PDF files
DocumentSignatureHelper::isOOo3_2_Signature() checks if the manifest
stream of the ZIP package is signed. A PDF file has no storage, so don't
do that check for that format.

With this, a valid PDF signature is shown as valid in the Digital
Signatures dialog as well.

Change-Id: I58c1cbd665b7c5894d1cfa193061a9370f76c8c4
2016-10-14 18:09:49 +02:00
Marco Cecchetti
e5e461dd60 tdf#103211 Calc: it is insane to call EditGrowX/Y while the edit view is growing.
That could occur because of the call to SetDefaultItem later.
We end up with wrong start/end edit columns and the changes
to the output area performed by the inner call to EditGrowX are
useless since they are discarded by the outer call.

In the inner call the output area is not the new one computed by the
outer call, on the contrary the data field `nEditStartCol` and
`nEditEndCol` have been already modified, so the inner call would
modify them using the wrong output area width.

Maybe the call to SetDefaultItem should be performed in another place,
anyway the outer call takes into account the correct horizontal adjust
when computing the new start/end edit columns and the new left/right
output area.

Change-Id: I56d038f33ab9d1933c4c6cd1db6d9cd012fb6db1
Reviewed-on: https://gerrit.libreoffice.org/29784
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-10-14 15:58:11 +00:00
Winfried Donkers
cf43ff5262 tdf#102948 Make HYPGEOMDIST ODFF1.2 compliant.
Also reduce duplicate code.
On Export to OOXML, HYPGEOMDIST is converted to HYPGEOM.DIST.

Change-Id: I70a70ee6b5c542e272ef574073ebcd1924f31083
Reviewed-on: https://gerrit.libreoffice.org/29767
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-10-14 15:23:57 +00:00
Marco Cecchetti
d4ddc8cb00 LOK: Calc: fixed missed tile invalidations on cell text editing
What's new:
1) when an edit view is killed, the area which was used by the edit
view is invalidated for both own window and other view windows after
the edit view has been destroyed;

2) when an edit view is created or its out area is expanded, the
windows of other views are invalidated too;

3) when a vertical scroll occurs in the edit view area the windows of
other view are invalidated too;

4) same methods renaming since now we add/remove windows not edit
views.

Change-Id: Iac54f5b182c9562f08bb724f9ddde1c26cffa2e7
Reviewed-on: https://gerrit.libreoffice.org/29783
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
2016-10-14 15:07:56 +00:00
Marco Cecchetti
cec94a4eca LOK: Calc: an edit view may be not displayed when a 2nd one is killed
- description: when in view #1 text editing of a cell is over (edit
view killed) a cell still text edited in view #2 can stop to be
painted correctly;

- reason: when an edit view is killed an
ScTabViewShell::UpdateFormulas is broadcasted to all views which in
turn ends by invoking ScViewData::SetEditEngine for already existent
edit views: if the needed output area size for the actual text content
is less then the actual output area size (once grown, output area is
never shrunk) leads to this issue;

- solution: skip to invoke ScViewData::SetEditEngine when LOK is
active and the related view is not the current view.

Change-Id: I2a97966c7c04701f0a5443aaaeb74760b622045d
Reviewed-on: https://gerrit.libreoffice.org/29627
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29660
2016-10-14 15:03:46 +00:00
Marco Cecchetti
606b69a5d3 LOK: Calc: if text of 2 cells overlaps, painting occurs in wrong order
- description: when text content of two near cells (edited in 2
different views) overlaps, the input content showed is the one entered
in the other view;

- reason: the edit view of other views was painted after the edit view
owned by the current view;

Change-Id: I7c47f63bc46f7ce43fc494f018167918d44314b6
Reviewed-on: https://gerrit.libreoffice.org/29626
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29659
2016-10-14 15:02:32 +00:00
Marco Cecchetti
6c9337866d LOK: Calc: missing invalidate when ending larger-than-cell edit text
- reason: when text content goes further than the cell border the
output area of the edit view is grown (extended to an adjacent cell),
on the contrary the output area of edit views used only for
invalidating windows of other view shells is never updated, so, in
other views, only the tile where the edit cell is placed is
invalidated;

- solution: instead of adding fake edit views for invalidation porpuse
(and having to updated the output area of each of them when required),
the new solution provides each new edit view, created on cell editing,
with a set of `foreign` windows related to other views, they are added
and removed to this collection owned by an edit view still using the
ScExtraEditViewManager, which has been in turn simplified; when
EdiEngine::UpdateViews is invoked not only the window where the edit
view lives is invalidated but also all `foreign` windows in the owned
set;

- note: ScTiledRenderingTest::testTextEditViewInvalidations unit test
has been enhanced in order to test correct invalidation when text
content goes out of the starting tile.

Change-Id: Id223fb1a032d3b18d2cf70df31f704abd245b3ac
Reviewed-on: https://gerrit.libreoffice.org/29625
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29658
2016-10-14 15:01:36 +00:00
Marco Cecchetti
a6c008b12c LOK: Calc: parallel cell editing: small code improvements
- A single instance of ScExtraEditViewManager is created per
ScTabView;

- On destruction a counter is checked in order to be sure that all
created edit views have been destroyed.

- BoolLock has been replaced by comphelper::FlagRestorationGuard

Change-Id: I6b0293c4d2e9151dff8b13601d0074c4b2567b25
Reviewed-on: https://gerrit.libreoffice.org/29582
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/29657
2016-10-14 15:01:04 +00:00
Mike Kaganski
c3fa866e76 tdf#92817: re-implement empty lockfile fix
As stated in original commit 8d411a4a1e,
An empty lock file doesn't have OOOUSERNAME and SYSUSERNAME.

Change-Id: I17fc6d3375f411749fcbbe80535beb8ba53a0e71
Reviewed-on: https://gerrit.libreoffice.org/29834
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-10-14 14:48:09 +00:00
Gabor Kelemen
0b7e11a2a7 Updated core
Project: help  599f664d48f995c461e06daf2295c1f9921fbcb8

Format - Slide Design menu item is now Slide - Slide Master Design

Change-Id: I3a823853f513c66a4a5b66ed86d9201730d09c5e
Reviewed-on: https://gerrit.libreoffice.org/29821
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-10-14 14:42:10 +00:00
Gabor Kelemen
194038b045 Updated core
Project: help  cf275ebb3fd3535f191ed02632dae2d5d7950657

Drop the obsolete Task Panes help

- Move the still used ahelp contents to masterpage.xhp
- Add description of the Table Design command directly to
the Table toolbars help page

Change-Id: I44f679a29fc26d4930ec91314022e890c3559e50
Reviewed-on: https://gerrit.libreoffice.org/29820
Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk>
Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-10-14 14:40:46 +00:00
Caolán McNamara
1054eb97a6 provide another fallback
Change-Id: I1438986674f7b4edb015f436bcaf7f07fd61d778
2016-10-14 15:29:55 +01:00
Stephan Bergmann
edc7a6692c Disable PythonTest_solenv_python on Windows for now
...causes all gerrit/jenkins Windows builds to fail in test_gbuildtoide; Björn
to investigate...

Change-Id: I90f95e4a91f40835d2b2d9c67a6473b95fb81597
2016-10-14 16:22:10 +02:00
Stephan Bergmann
5b9a25883d DdeInternal::InfCallback is unused
...since b5863b83d2 "Remove classes DdeServiceList
& DdeTopicList"

Change-Id: I9cd90cb6b50f72966210c0035034cdc6b6d2230c
Reviewed-on: https://gerrit.libreoffice.org/29819
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-14 14:16:08 +00:00
Winfried Donkers
f613f6e697 tdf#102212: correct constraints for Calc functions CRITBINOM, BINOM.INV.
Argument alpha can be 0<=alpha<=1.

Change-Id: Ic1e6dec52bcfe227de49f6b9af38a618f4602c95
Reviewed-on: https://gerrit.libreoffice.org/28934
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-10-14 14:11:24 +00:00
Stephan Bergmann
55013a7776 external/poppler: Avoid UBSan warning about undefined downcast
...of this-ptr of in-construction FormFieldSignature while still in the base
FormField ctor, as happens (in the xpdfimport process) during
CppunitTest_xmlsecurity_signing:

> Form.cc:448:12: runtime error: downcast of address 0x60f000000040 which does not point to an object of type 'FormFieldSignature'
> 0x60f000000040: note: object is of type 'FormField'
>  03 00 00 6d  50 84 f2 00 00 00 00 00  03 00 00 00 04 00 00 00  00 00 00 00 01 be be be  07 00 00 00
>               ^~~~~~~~~~~~~~~~~~~~~~~
>               vptr for 'FormField'
>     #0 0x73d7f4 in FormWidgetSignature::FormWidgetSignature(PDFDoc*, Object*, unsigned int, Ref, FormField*) workdir/UnpackedTarball/poppler/poppler/Form.cc:448:12
>     #1 0x741713 in FormField::_createWidget(Object*, Ref) workdir/UnpackedTarball/poppler/poppler/Form.cc:677:34
>     #2 0x73e747 in FormField::FormField(PDFDoc*, Object*, Ref const&, FormField*, std::set<int, std::less<int>, std::allocator<int> >*, FormFieldType) workdir/UnpackedTarball/poppler/poppler/Form.cc:547:7
>     #3 0x74ec2b in FormFieldSignature::FormFieldSignature(PDFDoc*, Object*, Ref const&, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) workdir/UnpackedTarball/poppler/poppler/Form.cc:1383:5
>     #4 0x740d7f in Form::createFieldFromDict(Object*, PDFDoc*, Ref const&, FormField*, std::set<int, std::less<int>, std::allocator<int> >*) workdir/UnpackedTarball/poppler/poppler/Form.cc:1700:19
>     #5 0x750727 in Form::Form(PDFDoc*, Object*) workdir/UnpackedTarball/poppler/poppler/Form.cc:1623:33
>     #6 0x71d440 in Catalog::getForm() workdir/UnpackedTarball/poppler/poppler/Catalog.cc:1042:18
>     #7 0x708572 in Annots::createAnnot(Dict*, Object*) workdir/UnpackedTarball/poppler/poppler/Annot.cc:7218:41
>     #8 0x70772b in Annots::Annots(PDFDoc*, int, Object*) workdir/UnpackedTarball/poppler/poppler/Annot.cc:7128:17
>     #9 0x87f3e9 in Page::getAnnots(XRef*) workdir/UnpackedTarball/poppler/poppler/Page.cc:405:18
>     #10 0x8814b0 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) workdir/UnpackedTarball/poppler/poppler/Page.cc:611:15
>     #11 0x880ff6 in Page::display(OutputDev*, double, double, int, bool, bool, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) workdir/UnpackedTarball/poppler/poppler/Page.cc:521:3
>     #12 0x88d906 in PDFDoc::displayPage(OutputDev*, int, double, double, int, bool, bool, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) workdir/UnpackedTarball/poppler/poppler/PDFDoc.cc:491:20
>     #13 0x5d59fb in main sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx:142:14
>     #14 0x7f11600ea730 in __libc_start_main (/lib64/libc.so.6+0x20730)
>     #15 0x459388 in _start (instdir/program/xpdfimport+0x459388)

Change-Id: Ia808919c8d2363d616feb4664f314a77b40dfbb8
2016-10-14 15:40:32 +02:00
Miklos Vajna
d550f5e6b6 xmlsecurity: expose reason string of PDF signatures
Also known as comment or description. And since then we need the hex
decoding mechanism for this and Content as well, extract that to a new
DecodeHexString().

Change-Id: Ie260b470c951661c80c0921b5ce2aa4c461f692c
2016-10-14 15:39:41 +02:00
Stephan Bergmann
b3722cd9d3 Missing dependency
Change-Id: Ic8a97ec13613758f24996aa8a3ef8c0380cc2fae
2016-10-14 15:34:16 +02:00
Stephan Bergmann
1f8f140601 loplugin:nullptr
Change-Id: Id9f702b2772a23c52a9b829093d10c83a5ab3acd
2016-10-14 14:51:48 +02:00
Stephan Bergmann
60e264c4fd 64-bit Windows fix: InsertMenu takes a UINT_PTR
Change-Id: Id14c9ac30d52fdeb6b9157df7f57202e94838909
Reviewed-on: https://gerrit.libreoffice.org/29817
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-14 12:48:31 +00:00
Caolán McNamara
7ae079274d silence warnings
Change-Id: I80abf5092c7d4e7b8cf75e4b79ffdb9a5e0c7580
2016-10-14 13:32:31 +01:00
Samuel Mehrbrodt
1b4165b0f3 Formatting: Make this readable without a 30" screen
Change-Id: I34ebbb009f682d55a5e1232b28eef56aa39a1b17
Reviewed-on: https://gerrit.libreoffice.org/29812
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-14 12:26:16 +00:00
Marco Cecchetti
21327496cb LOK: handle "EMPTY" invalid tile msg with part number in payload
What's new:
1) RectangleAndPart handles "EMPTY" payloads
2) LOK_CALLBACK_INVALIDATE_TILES msg type with "EMPTY" payload are
handled in CallbackFlushHandler::queue
3) gtktiledviewer handles "EMPTY" LOK_CALLBACK_INVALIDATE_TILES msg
even if the part number is included in the payload

Change-Id: I21f4a71ec875d24f4bbd100e4aacf8437d745ae4
2016-10-14 14:16:24 +02:00
Noel Grandin
3e6c930842 loplugin:mergeclasses merge SfxWorkWindow with SfxFrameWorkWin_Impl
Change-Id: If6cab49904fdb044d85a4fd29f79faa7b52c9959
2016-10-14 12:53:01 +02:00
Noel Grandin
11570275c6 convert LOCK_UI constants to scoped enum
Change-Id: Ie8a8702124ba86feda17c4371e66c3997ba3557c
2016-10-14 12:53:01 +02:00
Armin Le Grand
a1b7231a33 profilesafe: Adapted to UI
Adaptions to UI, added more modes what the user
can do in SafeMode. Adapted locations to write
pack information and added places where to enter
SafeMode. Implemented basically all five
possible user choices

Change-Id: Ic5324a8f77ab434309e840949c3803e65a75c538
Reviewed-on: https://gerrit.libreoffice.org/29785
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-10-14 10:37:30 +00:00
Miklos Vajna
876fcb5461 xmlsecurity: expose date of PDF signatures
It's a UTC UNIX timestamp, in microseconds.

Change-Id: I1dad7fd6b7e68e85275219208affc890f48975d1
2016-10-14 12:21:10 +02:00
Caolán McNamara
4cb720836a Related: tdf#101699 gtk3: get correct arrow width
Change-Id: If02c598306ec6f19cf83958c4a176cafa67076dc
2016-10-14 10:34:59 +01:00
Caolán McNamara
6e8dbdbe1a Related: tdf#101699 gtk3: get correct combobox and listbox arrows
Change-Id: Ib2322bfda09b05925c74d93a530b9ed9fac73032
2016-10-14 10:34:59 +01:00
Miklos Vajna
d2081e8b61 CppunitTest_desktop_lib: fix loplugin:cppunitassertequals warnings
And also address a few new warnings in sal, plus silence such warnings
in salhelper till we can't print typeids out of the box.

Change-Id: I38049146710b6885f6a874bf74eedbc38b4d4651
Reviewed-on: https://gerrit.libreoffice.org/29809
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-10-14 08:59:32 +00:00
Noel Grandin
faf4bf0c3e loplugin:countusersofdefaultparams in sot..svtools
Change-Id: Ifce19de3518f3eaf5a1b6439f9053feee4a33c14
2016-10-14 10:53:30 +02:00
Caolán McNamara
e9f28d0d98 coverity#1371215 Missing move assignment operator
Change-Id: I18732e6c7cc26c056feec0885161bffa53451a24
2016-10-14 09:23:29 +01:00
Caolán McNamara
482f626179 coverity#1373663 consider backupfilehelper byte twiddling as untainted
Change-Id: I13f7c3df20b3c9f81a9519b4bb84f556a8f4db7e
2016-10-14 09:13:19 +01:00
Noel Grandin
04e544dd51 rename sd::Outliner to SdOutliner
having a top level data structure share a name with one of its
supertypes makes it very hard to grep

Change-Id: Id5145c12c8fd9e8c8fb09897896eae0da7bfdefe
2016-10-14 10:11:10 +02:00
Caolán McNamara
797bb29eac coverity#1373664 Uninitialized scalar field
Change-Id: I011810bb7f40b27f940dafaf4454f9e3ab4fd804
2016-10-14 09:00:26 +01:00
Caolán McNamara
d83748d6bf coverity#1373665 Useless call
it was always this way, so might as well lock that in now.

Odd that it warns now, maybe it warned before and it got ignored
and now the ResId changes are in it appears as a new warning

Change-Id: I81c04aa4e28b280641cbfaddbb3b776928a7ad6d
2016-10-14 08:57:33 +01:00
Stephan Bergmann
e8e2b71ea5 Fix GetMnemonicChar
For one, had a (false) occurrence of loplugin:bodynotinblock.  For another,
would have erroneously reported 'A' instead of 'B' for "~~A~B".

Change-Id: I6b2e09ad0d0e132896a9f2802bf4355a25f2d296
Reviewed-on: https://gerrit.libreoffice.org/29808
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-14 07:47:30 +00:00
Stephan Bergmann
808d95075e -Werror=maybe-uninitialized
Change-Id: If03aefa1582e41955b9656b4bae88731735a4660
2016-10-14 09:15:07 +02:00