Commit Graph

3724 Commits

Author SHA1 Message Date
e2e2cc6114 remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.

Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +02:00
da06166015 fix bug #60700 - de-crutify ODF files
Initialization of storage elements in Configuration folder is now
done in read-only mode. Modification does not affect these folders
in case of actual storage within them.
Only tested for example posted on bugzilla page.

Added open mode directly into function call.

Change-Id: Ib2b4ae1f4cab35f2c9cd1fc7081302e1231da7a4
Reviewed-on: https://gerrit.libreoffice.org/3401
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Reviewed-by: Michael Meeks <michael.meeks@suse.com>
Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-05-03 10:26:19 +00:00
2092f8810a Show only filename in "Recent Files" list
As discussed here: http://nabble.documentfoundation.org/Libreoffice-ux-advise-Recent-files-dropdown-td4052945.html#a4052996

The changes are (inspired by Gedit):
* Display only the filename, not the (abbreviated) path
* Show the protocol name before the file, if not local (e.g. "ftp: myfile.odt")
* After the keyboard shortcut (a number from 1 to 10) display a '.' instead of a ':' (because the protocol has a ':')
* FIX: Display whitespace as whitespace, not "%20"

Change-Id: I47472c901aa866adb76c7c7ab36bc871f82ad8df
Reviewed-on: https://gerrit.libreoffice.org/3700
Reviewed-by: Jan Holesovsky <kendy@suse.cz>
Tested-by: Jan Holesovsky <kendy@suse.cz>
2013-05-02 09:04:18 +00:00
f486c56281 Recent files: aPassword is unused.
Change-Id: I44f032a6b943ad02b0d43e78b4e79275d6d2adfb
2013-04-30 10:33:14 +02:00
1dec1f2f7e fdo#46808, convert framework::AddonsToolBarWrapper to XComponentContext 2013-04-23 16:05:55 +02:00
9830fd36db date/time IDL datatypes incompatible change
- nanosecond precision
 - signed (allowed negative) year

Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.

Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
ae9e61e0e1 Simple string cleanup in backingwindow.cxx
Change-Id: I5bd7152f0dfdc5459e9a754af1e8c65234ff606d
Reviewed-on: https://gerrit.libreoffice.org/3377
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-15 09:28:10 +00:00
1264480bc3 fdo#60724 correct spelling
Change-Id: I3d978cb657647b4a4e9709258c6a6a4ac1d339a9
2013-04-15 05:39:31 +02:00
c32b6be06b fdo#60724 correct spelling
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-15 05:32:37 +02:00
435f5e30c9 fdo#60724 correct spelling
Change-Id: I7318a9f4f3410edf4dbe67bf08f31682fcb4edc7
2013-04-15 05:10:29 +02:00
60fbefc615 fdo#60724 informations -> information
Change-Id: Ifd34ebfc7fe01b4a470eb072597dd3ec97c97863
2013-04-15 04:49:39 +02:00
644f122a2d Use environment variable LIBO_USE_ORCUS to decide whether or not to use orcus.
This way we won't need to re-compile every time we need to switch between.

Change-Id: I7d56a838c420a645ce8bebe0f0d9beaa78476fd6
2013-04-13 01:54:35 -04:00
0552a09b95 Manage to use orcus to import ods, xlsx, and csv.
But this occasionally crashes.

Change-Id: I0a18d0e210639b43b89b966a54de541b9a43e329
2013-04-13 01:54:35 -04:00
76110fb90b re-use images in start center
Change-Id: Ib6a6f65ce11e7c9f26b51624519ca45ad9e43be5
2013-04-10 04:39:23 -07:00
5d67919a58 Kill the ToolBar class, move the needed bits directly to ToolBox.
Change-Id: I6aaa396931ce613be64026b53372dc24c6189724
2013-04-10 10:39:54 +02:00
99d851b3e2 Kill copy'n'paste.
Change-Id: I5e5b80f8d8efe91df806bb7ae9750fd84009c6be
2013-04-10 10:39:54 +02:00
44b1352c54 Nobody needs pointer to ToolBarManager.
Change-Id: I74624b1b28d948e2299014499a1eef309488ad13
2013-04-10 10:39:53 +02:00
6957d013b4 equalsAsciiL() -> operator==()
some more like 7e06132878a495ffb8ed9d54588e1a3ebbd0e8da

Change-Id: I42c2a208e30ce80e95d892c6123247057c823773
2013-04-10 00:42:02 +02:00
91ecff9e0c Get the whole thing to build after the SfxFilter interface change.
Change-Id: I62122e298f1434aa9e44c8f3fdfb7f710513617d
2013-04-09 13:01:27 -04:00
868ce95a3c Add xlsx and ods bits. Those file types are still not loadable.
Change-Id: Icb75313a082475b73d560685fec2c2f3be8538d7
2013-04-09 13:01:24 -04:00
2dc7318d84 Kill not necessasy OUString member variables.
Change-Id: I1bbfd19bc70fc12ac5dc5fdb18c556f4dc5300cb
2013-04-09 17:48:52 +02:00
8efe5b7096 equalsAscii() and equalsAsciiL() -> operator==()
Change-Id: Id9e1057302575686a61d79bef034b8431ef22196
2013-04-09 17:48:52 +02:00
fcffc86948 Kill m_xToolBarWindow here too.
Change-Id: I8e07b798776ac06eb5a91bf6479105a2c08a073b
2013-04-09 17:48:51 +02:00
36afd52a76 m_xToolBarWindow is apparently unused.
Change-Id: I0f69401c46a2b3a362b7481acacc748d103faa30
2013-04-09 17:48:10 +02:00
c0fb2954f3 Kill unused constants.
Change-Id: I18e5db67cfa790b5a6e9db17e1823e7ce7f75598
2013-04-09 17:47:18 +02:00
7e06132878 equalsAsciiL() -> operator==().
Change-Id: I012fc0341df2bb6d8dd913c13c39c7e657eef235
2013-04-09 17:47:18 +02:00
1dd6e02f15 sal_Bool -> bool.
Change-Id: I12eaceb304ef67c533dc23db3f6b666bdb6a7a1f
2013-04-09 17:44:46 +02:00
9ca23ee5e7 make help work again
This is a regression from b248624126c271c88381d3dad6e04fc954f65779 I suspect
there might be more.

Change-Id: I9ffbcfb8d32b0b0b4193a86eee90d0a5f481de11
2013-04-09 10:27:21 +01:00
b248624126 fdo#46808, Convert frame::Frame to new style
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-08 13:53:04 +02:00
c68b934cd0 fdo#46808, Convert framework::ToolBarManager to XComponentContext
Change-Id: I4c5ddd7a2f26f51fef530b70f18a1abf61c49f77
2013-04-08 13:53:04 +02:00
86fdce6011 fdo#46808, Convert svt::ToolboxController to XComponentContext
.. and all of it's friends

Change-Id: I408d9308d1d1a4f8ed0055ac5f4042d729c44d1e
2013-04-08 13:53:03 +02:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
a85c027936 Remove unused variables
The LayoutManager for some reason has both a ToolbarLayoutManager
pointer field, and a uno::Reference to an aspect (or whatever term one
should use) of the same ToolbarLayoutManager. (I.e. esssentially two
fields for the same thing. Why it doesn't create such variables where
needed instead I don't know.)

Anyway, for some reason there were lots of instances where a local
variable was initialised with this second field but then never used. I
removed those. (Surely just copying the field into a local variable
doesn't have any interesting side effect that would explain this
pattern?)

Change-Id: Ibdfbd9476c39d3e83b58e81469b94d9a87444ca8
2013-04-07 01:13:37 +03:00
876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
b130133ad2 Resolves: #i121503# fix resize/paint race in the backing window
(cherry picked from commit 9d578cebcd9d1e1c16c04cbefc5de2ab511ea335)

Conflicts:
	framework/source/services/backingwindow.cxx

Change-Id: Ic5e590465e19b02b6a9b426072818cea5bb3f912
2013-04-05 10:14:04 +01:00
31fedbe9f7 Remove SvtInternalOptions
* only Get/SetCurrentTempURL were used, but only for compatibility reasons,
to remove old temporary directories (before 2001). Those should be gone
today.
* MailUIEnabled was false in the xcu file.
* SID_MAIL_SENDDOC* are handled some lines further.

Change-Id: I482719b0de9df0a77c2fef0bf25ae1fb68926375
Reviewed-on: https://gerrit.libreoffice.org/3180
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-05 08:24:46 +00:00
4214ff23ad fdo#37758: Really set the toolbar as hidden.
Change-Id: If0cdf2fabb680f8dee811411f601b2954d29da58
2013-04-04 21:24:57 +02:00
fa97612d45 framework: cleanup macros
Change-Id: I955210208e148dff6a1ca5ad6f1a91db2496ca7b
2013-04-02 14:21:18 +02:00
2b7ee1db28 remove boilerplate comments
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01 22:45:36 +02:00
52770659d3 fdo#62096 Replace O(U)String compareTo with ==
Change-Id: Id89b7eeb09b5cd7cee449cd1a20fb13b630f29c4
Reviewed-on: https://gerrit.libreoffice.org/3136
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-31 15:39:44 +00:00
8ffb20747c fix loplugin unused warnings
Change-Id: I23fc6bf62e74f192f77c74ed48d5276737375f3c
2013-03-30 16:55:25 -04:00
5be14df244 ResMgr with LanguageTag
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-29 14:09:01 +01:00
2ac8508a2f we really don't need to assign the same value again
... to be extra sure?

Change-Id: I00d6cfafe5419b01e3e827377be030b5d1a4ee34
2013-03-28 01:39:08 +01:00
3106c4d37f eliminated useless back and forth conversion
Why convert back and forth between LanguageTag (formerly
comphelper::Locale) if all you need and use is a BCP47 string.

Change-Id: I1ec12186284211bcd7d115ee092c195b926e7cd0
2013-03-28 01:39:08 +01:00
68fac46e71 use LanguageTag instead of comphelper::Locale
Change-Id: I2c6d07bbdef62fa17e9c90ca87be6e742268c54f
2013-03-28 01:39:07 +01:00
a8c3c673ea Use <config_features.h> instead of -DLIBO_FEATURE_*
Change-Id: Idc198beb6d759dbe3bad6ea58d896c1555b4cc0f
2013-03-27 11:36:03 +02:00
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
0e6a5bf1d9 framework::RecentFilesMenuController clean-up, add clear item.
Conflicts:

	framework/inc/uielement/recentfilesmenucontroller.hxx
	framework/source/uielement/recentfilesmenucontroller.cxx

Change-Id: Ia8b861b42bd77a90dce3bebdfa6aefd5e5cd91dd
2013-03-26 17:35:23 +00:00
5a5c8e253a Check feature test macros instead of ANDROID and/or IOS
Pass -DLIBO_FEATURE_FOO to compiler for some elements in BUILD_TYPE.
BUILD_TYPE has at least two kinds of elements: Those that indicate
building a bundled copy of some 3rd-party library, and those that
indicate some specific feature of the LibreOffice platform or
build-time configuration choice. This is for the latter kind.

Change many of the checks for Android and/or iOS in the source code to
check LIBO_FEATURE_DESKTOP, LIBO_FEATURE_HELP or DISABLE_EXTENSIONS
instead, in cases where that is what is meant, not Android or iOS
specifically.

Change-Id: I2cd3f3bb99e953c7754dcea76a426f8f9d61e4db
2013-03-26 18:45:04 +02:00
3ee3e7946c Lock files make no sense on Android or iOS
Change-Id: Ie8d05b8596fb7d17e057bc32c7a4204a9ff54021
2013-03-26 18:44:48 +02:00