403477 Commits

Author SHA1 Message Date
Noel Grandin
75b7b685ce convert ScaCategory to scoped enum
and drop unused AddIn constant

Change-Id: I4422f34db756649cb08aa9aa7f975cef73ccfa91
2017-02-07 10:48:19 +02:00
Noel Grandin
de9c7e4d94 convert FDCategory to scoped enum
and drop unused AddIn constant

Change-Id: I9cb07d58d7c986973d9713572538ce2142654397
2017-02-07 10:48:19 +02:00
Takeshi Abe
f31d07b546 connectivity: Remove leftover OEvaluateSet
Change-Id: Ia8ecabb426c969a02174b399a479dfb337b36a79
Reviewed-on: https://gerrit.libreoffice.org/33983
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-07 08:47:11 +00:00
Juergen Funk
f57424cc4c tdf#104101 Improve the session management handling
- Set the current time to the SessionID
 - Split the SetProperties-Data, and send
   DeleteProperties for DiscardCommand
   (above both topic is the same as kate and
    plasma-desktop to do)

 - in statusChange the saveDone was not called, and
   call only once the saveDone
 - in shutdownCanceled must be send the saveDone too

Change-Id: I42855c75b88b5d651ef8091947e359dc2c3f9209
Reviewed-on: https://gerrit.libreoffice.org/33215
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-02-07 08:44:10 +00:00
Juergen Funk
d8ccf8cf7a Stop question in context of session manager when cancel a frame
When shutdown or logout, LO make the question for all open
windows, but when you cancel a window the question for the other
windows are not necessary, this patch breaks the other questions.

 in dependency of tdf#104101

Change-Id: I7119317d392ccd808c67fb57f82b1e990062abf2
Reviewed-on: https://gerrit.libreoffice.org/33311
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-02-07 08:41:52 +00:00
Stephan Bergmann
d8546e9781 ...but on macOS we do need the SDK-augmented DYLD_LIBRARY_PATH
...because the executables in SDK's bin/ dir find LO's URE libs that way

Change-Id: I7fe88638760afc24d639c6162656ee40c05e6814
2017-02-07 08:59:23 +01:00
Stephan Bergmann
e809b3723b loplugin:useuniqueptr (clang-cl)
Change-Id: Ic5daf83e77ebe4dcac1c6eba8e7dab1cc0368046
2017-02-07 08:57:03 +01:00
Noel Grandin
b2453d1f41 convert DEBUG_TIME to scoped enum
Change-Id: I91b286d8415ebc8c6675aca6ee143850c956c74b
Reviewed-on: https://gerrit.libreoffice.org/33986
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 07:43:32 +00:00
Noel Grandin
3aeaa73a2e remove unused constant from SdrHintKind
Change-Id: If48ac2b312e4363c7d6d426e315766105176114b
Reviewed-on: https://gerrit.libreoffice.org/33985
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 07:43:20 +00:00
Stanislav Horacek
fb8a324402 mark numbers in compress dialog as untranslatable
Change-Id: Id7761bdc7569c84a5f4edc5d2c7d764ea1ccd506
Reviewed-on: https://gerrit.libreoffice.org/32814
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2017-02-07 06:41:45 +00:00
Noel Grandin
77a7a92f85 convert CursorType to scoped enum
and drop unused CURSOR_INVALID constant

Change-Id: I190908a03317f93d247c0a9c806c70bb286b8ecb
Reviewed-on: https://gerrit.libreoffice.org/33964
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 06:41:00 +00:00
Noel Grandin
93bde31562 Revert "[API CHANGE] return sal_uInt64 from GetSystemTicks in basic"
This reverts commit fce604c8ae11b462113305aba080d77f8193cfea,
and fixes
  tdf#105735 - xray ThisComponent no longer works
in the process.

It turns out Basic doesn't support sal_uInt64 very well, so lets rather
have a small possibility of bad timestamps instead of broken scripts.

Change-Id: Ic00485bd517a4fc61e05632001c9a5f92e05ddd6
Reviewed-on: https://gerrit.libreoffice.org/33972
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 06:02:23 +00:00
Noel Grandin
d16e1336f0 convert IcnViewFieldType to scoped enum
and drop unused IcnViewFieldTypeDontknow constant

Change-Id: I583c05d8b312b0e4fb291fa4ce8d0989318f79df
Reviewed-on: https://gerrit.libreoffice.org/33966
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 06:02:13 +00:00
Noel Grandin
62410ecd5d remove unused constant from SdrInsertReasonKind enum
Change-Id: I29fda2c0124b438eb9a2926c6dfefa801c670a27
Reviewed-on: https://gerrit.libreoffice.org/33968
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 06:01:58 +00:00
Noel Grandin
c1380c0039 drop unused FONT_PROPTYPE_CELL constant
which makes this enum not necessary anymore

Change-Id: I0194634d357569aee502f1e8a7fd95c49e23040c
Reviewed-on: https://gerrit.libreoffice.org/33967
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 06:01:50 +00:00
Noel Grandin
d91c81e433 convert GalleryBrowserTravel to scoped enum
and drop unused GALLERYBROWSERTRAVEL_CURRENT value

Change-Id: Id91824cbe024d4b5109ee0755b518164837bc6a6
Reviewed-on: https://gerrit.libreoffice.org/33965
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 06:01:27 +00:00
Noel Grandin
c57cbcea9a remove unused value from SW_KeyState enum
Change-Id: Ied6ac5724957ff10fd1e9e217bbb32c1187f3cba
Reviewed-on: https://gerrit.libreoffice.org/33963
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 06:01:14 +00:00
Katarina Behrens
83e059af22 tdf#103636: In Draw sidebar, switch fitting objs to paper format off
So FuPage::ExecuteDialog and ::ApplyItemSet misuses SID_ATTR_PAGE_EXT1
to distinguish between Impress and Draw, making fit objects to paper
format on in Impress and off in Draw.
That setting is not persistent, but that is a separate issue and until
it is fixed, we will do the same here

Change-Id: Ie55a131d375fa32d856bde4d9fda4fb54dd0d29f
Reviewed-on: https://gerrit.libreoffice.org/33976
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-06 23:24:29 +00:00
Maxim Monastirsky
486c310151 MenuToolbarController improvements
- Make it self-contained, instead of having its code
  spread across ToolBarManager.
- Base it on svt::ToolboxController directly, since it
  uses nothing from GenericToolbarController.
- Move the code from dtor to dispose method.
- Call ToolBox::SetItemDown to make the button work on
  a second click.

Change-Id: I5b38ef532ba40ef0ac31bc53de5b6be4ccd1a118
Reviewed-on: https://gerrit.libreoffice.org/33982
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-02-06 23:05:17 +00:00
Maxim Monastirsky
f1552a48c3 Silence "Invalid SlotId" warnings
Change-Id: I7c3742fc94ef587526e4f6079c4f7aa245a0c116
2017-02-07 00:54:28 +02:00
Michael Stahl
e1d0c42826 sw: convert some OSL_ENSURE to assert
Change-Id: I93fa70ef9b09afb9a4582a5942b4269afeece666
2017-02-06 23:33:16 +01:00
Michael Stahl
56206c8a5e vcl: fix inconsistent GraphicsStateUpdateFlags asserts
(regression from f4826959c1a5b0e6d2849d4240668b2087582848)

Change-Id: If530503a667f765c38a6b226bb0627506dbb0900
2017-02-06 23:03:08 +01:00
Patrick J
b322fbc548 tdf#101626: replace soft-hyphen by hard-hyphen in ooxml import
If a list bulletChar is a soft-hyphen, it will disappear in PDF export.
Therefore, replace it by a hard-hyphen.

Change-Id: If0b535e7d2e23454136f25a2b7acf4b294b8dd27
Reviewed-on: https://gerrit.libreoffice.org/33707
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-02-06 22:05:43 +00:00
Stephan Bergmann
a34d9150b4 Add missing #includes
...like 6dce9c6757823b9e89863716ae70ff4e8ddd4e60, for macOS-only code

Change-Id: I0b4c0ba12df487107661a6af54fba42122e8f023
2017-02-06 22:40:16 +01:00
Stephan Bergmann
6dce9c6757 Add missing #includes
...and remove some unncessary using directives/declarations, in preparation of
removing now-unnecessary #includes from cppumaker-generated files, post
e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception
specifications".

Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
2017-02-06 17:21:16 +01:00
pv2k
a73fb11cb2 tdf#92492 function placed in a wrong category in customise functions list
"Table To Text","Text To Table" and "Text<->Table" have been removed from
"Options" category and placed in "Table" category

Change-Id: Ic5717e4cf91ce3fde2d40b3a3f567747fa7b983f
Reviewed-on: https://gerrit.libreoffice.org/33919
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-06 16:09:30 +00:00
Michael Stahl
23972ff57f sw: translate more german comments
Change-Id: I662cde51b6fbf4e44c8a0a0314f057fdc1a764f0
2017-02-06 15:27:52 +01:00
Fakabbir Amin
cf2e9ded20 tdf#87605 Added some new terms
Few important terms added

Change-Id: I40281ff2052a1b0978978b2b1e12e7453e04e1b8
Reviewed-on: https://gerrit.libreoffice.org/33840
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-06 14:30:36 +00:00
Jeremy Bicha
585ac5b5f3 officecfg: Drop hyphen from "Check Out" in menus
The verb is "check out"; the noun is "checkout"

Change-Id: I8f779604b5b069c77db2ab705993db3dceeab50d
Reviewed-on: https://gerrit.libreoffice.org/33973
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-06 14:28:33 +00:00
Tor Lillqvist
e1e4efdc71 Typo: s/dependend/dependent/i
Change-Id: If02798894ad6f0e0442ed60aaec6eca40e6dcb61
2017-02-06 16:03:34 +02:00
Jeremy Bicha
5c54971cbc officecfg: Fix title case for several menu items
Change-Id: I21364f7cab88cf7ab8d757d4e44da3b6cf28dacd
Reviewed-on: https://gerrit.libreoffice.org/33962
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-06 13:43:27 +00:00
Noel Grandin
9724a107ab remove unused values from SwDocumentSettingsPropertyHandles enum
Change-Id: I9aa77050b2e6c3e0d364428eb759b389c078b206
Reviewed-on: https://gerrit.libreoffice.org/33957
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-06 13:34:35 +00:00
Stephan Bergmann
ccedfa046a Revert "fix desktop scripts"
This reverts commit f52eb759f61e1806014972cb736e07479f157aa6.  I assume this was
intented to be a fix for e6a9dc22a4e58b565894f8cdb6a19755af7b14de "tdf#105204
fix shellcheck warnings in desktop/scripts" (later addressed with
7ba0b28cc3ac82f5c5c6d7e2536cb89771041893 "Unbreak soffice.sh").  But I think
these quotations are actually useful parts of that original commit.  I fail to
see how pathname expansion (aka globbing; nor field splitting, if that is what
was actually meant in "we want globbing here") should be a useful feature here.

Change-Id: I5c33c40cfe2a817f628442fed70a07f06dd275cc
2017-02-06 13:58:30 +01:00
Lukas Röllin
71160b4cd3 Translate German comments
Change-Id: Iafca03642f7053cb9c5009163cb80528d88bca47
Reviewed-on: https://gerrit.libreoffice.org/33960
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-06 12:47:39 +00:00
Tamás Zolnai
fedf4e5db7 Fix copy paste error
Change-Id: I88af4618dfbeab920163117c2da9e51fcf694d84
2017-02-06 13:15:52 +01:00
brainbreaker
3f19e27638 Retaining the default file explorer view
Change-Id: I273ee17fc94e9d6e3b73ca0b9a4853a632123bd0
Reviewed-on: https://gerrit.libreoffice.org/33946
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com>
2017-02-06 11:42:18 +00:00
Noel Grandin
fde0b8df30 loplugin:unusedenumconstants in oox
Convert FragmentHandler2::MCE_STATE to scoped enum and drop MCE_UNUSED
constant

Change-Id: Id0b3a81e61d77af5d3837527b008e196835f57cd
Reviewed-on: https://gerrit.libreoffice.org/33954
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-06 11:36:17 +00:00
Stephan Bergmann
3ea39bda0e loplugin:unusedenumconstants should apparently not be run by default
Change-Id: I42f479de39b94ca8e9c72a6e92534f602a9fad39
2017-02-06 11:57:39 +01:00
Miklos Vajna
ad6fd88ae8 sw: prefix members of SwAccessibleFrame
Change-Id: Ia8513e6c9c32c9c80c7b261eb356ae793ae7ab32
Reviewed-on: https://gerrit.libreoffice.org/33951
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-02-06 10:34:01 +00:00
Takeshi Abe
8e53f220ff framework: Pass Item ID to Menu::GetUserValue() instead of index
This also avoids needless cast.

Change-Id: I3fd1517657b489115f20e26f4f75f3e3a5b7c9b7
Reviewed-on: https://gerrit.libreoffice.org/33944
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2017-02-06 10:32:42 +00:00
Johnny_M
d8662a6950 Translate German comments in svdoedge
Change-Id: Ia338c8b63d3ba42aa4705b2f147f49b0d4713b18
Reviewed-on: https://gerrit.libreoffice.org/33912
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-02-06 09:55:40 +00:00
Caolán McNamara
bac4b46e86 Resolves: ofz#547 Floating-point-exception
Change-Id: I9612bef0198ce8f09d39f5000a31819c175027d1
2017-02-06 09:29:27 +00:00
Noel Grandin
c9c3cb5446 loplugin:unusedenumconstants in connectivity..cui
Convert ExpressionFunct to scoped enum and drop FUNC_CONST value.
Convert MQueryExpressionBase::node_type to scoped enum and drop Unknown
value.
Dop PageType::Color value

Change-Id: Icb1f5503c230fb91329acc7d9e1da665fa28d95e
Reviewed-on: https://gerrit.libreoffice.org/33948
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-06 09:13:25 +00:00
Caolán McNamara
d8a1059ef2 OpenGLWindow typeinfo unavailable without HAVE_FEATURE_OPENGL
Change-Id: Ie06c1121502db9b1a869f657f70d3b45db610e2f
2017-02-06 08:42:55 +00:00
Noel Grandin
a6fd34907f loplugin:unusedenumconstants in reportdesign
Change-Id: I19c9a72f36bcb70ca33192a75946698c64e9375a
Reviewed-on: https://gerrit.libreoffice.org/33950
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-06 08:29:00 +00:00
dilekuzulmez
1cf15a4cdd tdf#43157 Clean up OSL_ASSERT, DBG_ASSERT, etc.
Change-Id: I37b62b7cc4b26789e961148c0411615ef1c2ffa1
Reviewed-on: https://gerrit.libreoffice.org/33884
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-06 08:09:29 +00:00
Miklos Vajna
7fb2b60804 Indentation fixes
Change-Id: I3e7262c26c848f8c16564d4b27218611bf880903
2017-02-06 09:04:56 +01:00
Takeshi Abe
9a5e2d01c5 framework: Retrieve shortcuts from document-specific configuration
No known symptoms, but it seems like a typo when comparing with
MenuBarManager::RetrieveShortcuts().

Change-Id: I83f6e5766f5e0a0e01f5fd4863772ad1d99c70d2
Reviewed-on: https://gerrit.libreoffice.org/33945
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-06 08:00:06 +00:00
Noel Grandin
bac9a5d634 loplugin:unusedenumconstants in framework
Convert EProtocol to scoped enum and drop E_UNKNOWN_PROTOCOL.
Convert ToggleButtonToolbarController::Style to scoped enum and drop
STYLE_TOGGLEBUTTON.
Convert TargetHelper::ESpecialTarget to scoped enum and drop
E_NOT_SPECIAL.

Change-Id: I412adacac15192cf6563ce4d5e5b74bfffff4737
Reviewed-on: https://gerrit.libreoffice.org/33949
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-06 07:57:28 +00:00
Noel Grandin
fcb0280c10 remove accidentally committed files
Change-Id: Ib41f16f945f6b7a5ba314b13ce8a7b24c35a8edb
Reviewed-on: https://gerrit.libreoffice.org/33947
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-06 07:57:15 +00:00