Commit Graph

11682 Commits

Author SHA1 Message Date
Julien Nabet
ffe1a2a922 Remove useless line
Cf http://nabble.documentfoundation.org/Cppcheck-reports-an-assignment-which-isn-t-used-in-sd-source-ui-func-fupage-cxx-td4026217.html

Change-Id: I0061cbec5a92ac0499eb6c80d6ffe13862aad03a
2012-12-28 14:57:24 +01:00
Julien Nabet
8068f50276 Fix 'PropEntry::operator=' should return 'PropEntry &'
Change-Id: Id9a772771fe1f1694d1e247c20447461175495ff
2012-12-27 20:30:12 +01:00
Luboš Luňák
e7f7053b22 remove no longer needed hack 2012-12-27 16:14:27 +01:00
Tor Lillqvist
ee6f9b5419 WaE: unreferenced local variable
Change-Id: I3a1eff09724ec79ebc87360e37ccb412b7173a59
2012-12-25 10:55:29 +02:00
Julien Nabet
4df4944713 Some cppcheck cleaning in sd
Change-Id: I48b86bf206808e1d19343622b640c80b61b40a48
2012-12-24 16:40:58 +01:00
Luboš Luňák
d0d07cd297 ugly workaround for msvc+ccache problem with gbuild MSC define
Change-Id: I06ab10df77e2b3598f7268173206429596a50217
2012-12-21 11:18:22 +01:00
Noel Grandin
bb121c864c fdo#46808, Convert frame::Desktop to new style service.
I had to drop XEventBroadcaster from the merged interface
because it introduced method name conflicts (addEventListener).

Shouldn't be an issue since it was scheduled to be dropped anyhow,
and the service implementation still implements it, so existing clients
will be fine.

I dropped the interface XPropertySet from the combined IDL because nobody
seems to be using it, and it's primary purpose appears to be to set weird
flags.

I dropped the optional interfaces
   XStatusIndicatorFactory
   XDispatchInformationProvider
from the combined IDL because the service does not implement them, and
nobody seems to be using them. I suspect they were mistakenly copied
from XFrame.

I also did not convert the Title, UserDefinedAttributes and LayoutManager
properties to attributes, again because no-one is using them.

Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21 10:57:09 +02:00
Cédric Bosdonnat
b4c18dc0ea Templates Manager: removed the old dialogs and menu entries
Change-Id: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea
2012-12-20 18:02:52 +01:00
David Tardon
2395a3fb74 fdo#58129 fix ppt export of paragraphs
Change-Id: I8784c7a84e7f1d3173b6e134377e9232906d77ba
2012-12-19 09:20:15 +01:00
David Tardon
cd69be6578 fdo#49277 use correct default tab size
Change-Id: If8e1936b897bfe0f3ae0d791c573267df3381954
2012-12-18 16:10:04 +01:00
Michael Stahl
5f18919902 DiscoveryService: include errno.h
Change-Id: I8bf8ce8324e6ebe89dca1c58f02d973b8998ff2a
2012-12-18 13:52:56 +01:00
Michael Stahl
1f5401e6c9 DiscoveryService: -Werror=unused-but-set-variable
Change-Id: If0175642ebcbe1f4f6cc7640d87385c96e097180
2012-12-18 12:48:17 +01:00
Tor Lillqvist
c0e21788c1 Store some (sadly ignored) return values in variables to make debugging easier... 2012-12-18 12:11:04 +02:00
Peter Foley
f7e37ae44f Revert "define must be overridden on cmdline"
This reverts commit 0743ccea54.

This seems to be unnecessary and generates a lot of warning spam.

Conflicts:

	sd/source/ui/remotecontrol/BluetoothServer.cxx

Change-Id: Ib0cda3ca560a5ddc4ba86d5a0c80774a992d7296
2012-12-15 09:39:25 -05:00
Tor Lillqvist
cbbdd2f07e Correct the function names in two SAL_INFOs 2012-12-14 09:41:49 +02:00
Julien Nabet
aaa77d7473 Some cppcheck cleaning
Change-Id: Iaa53d523436d36483b901a913c2c66edbb451f6c
2012-12-13 23:45:15 +01:00
Luboš Luňák
0ba0980b1c PCH for Library_sd 2012-12-13 21:49:58 +01:00
Noel Grandin
dde234b695 fdo#46808, remove awt::DisplayAccess service.
This service was never documented in an IDL file.
All it did was provide a wrapper around some VCL module API.
Now that we can link the VCL stuff into SD and SDEXT, just
access the API directly.

Change-Id: Ic0ba34c2bca797baa7319878d98cfe3a4ec59d4d
2012-12-13 05:20:59 +02:00
Christos Strubulis
c13ad097fb Replacing '__LOADONCALLAPI' with 'SAL_CALL' definition
Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
2012-12-10 21:38:28 +00:00
Rob Snelders
20778d72fe - correct variable-names
Change-Id: I2c0106d18586201f8c0fa444652ecefb493d61bf
Reviewed-on: https://gerrit.libreoffice.org/1267
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-10 13:13:47 +00:00
Caolán McNamara
d0b590fe19 callcatcher: remove unused rtf filter and associated methods
update and remove newly unused code, mostly original rtf filter

Change-Id: I2dd302851ee6fad62d79fbc81cb8a61a861396db
2012-12-10 09:28:16 +00:00
Noel Grandin
24f0aa76c0 fdo#46808, use service constructor for embed::StorageFactory
Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
2012-12-10 08:05:53 +02:00
Tomaž Vajngerl
815f40a6ca Reformat code in PreviewRenderer.
Change-Id: Ia17c14a0bf3908fb9201996b64b5c1059ada3205
2012-12-09 22:43:06 +01:00
Tomaž Vajngerl
fdb7fe63db Compress graphics dialog converted to new widget layout.
Change-Id: Iff1ffba10c5aaf3d438acf0a69467a0ac9e0f7cf
2012-12-09 22:43:06 +01:00
Caolán McNamara
d1660f19d5 an app can have print options without a print options dialog
e.g. draw and impress have print options, but no print options dialog

(It's plausible that we should merge the print options in the print dialog with
the print options in the options... dialog of the printer settings dialog)

Change-Id: I25c029ad8ba482b1e8d8d5974cc8de99584b9a55
2012-12-07 09:32:12 +00:00
Noel Grandin
584cd8d1c2 Fix: <errno.h> needs to be included under Linux
Change-Id: I00cbeaa3d00b6001b1b9adf00059f27d7affb08f
2012-12-06 13:00:22 +02:00
Stephan Bergmann
ec530530b7 Fix Linux-specific code
Change-Id: I36971b78dcc2fb0ab8570c8b80feb51bf6043e54
2012-12-06 11:38:13 +01:00
Jan Holesovsky
1ec666e2c2 MinGW: Fix BluetoothServer build.
Change-Id: Ie04d3c1703bcf22b746d1ee965f9ff3155a9ffeb
2012-12-06 10:14:02 +01:00
Peter Foley
0743ccea54 define must be overridden on cmdline
Change-Id: If85a60d9db69ab96c8a77b7715fc2a51fcd7ba51
2012-12-05 19:45:36 -05:00
Stephan Bergmann
dfd474710f warning C4702: unreachable code
Change-Id: I93b5a0c938b8c0bdf69a03aea0f1aa6bac9fc414
2012-12-05 15:47:11 +01:00
Stephan Bergmann
9f417544f8 warning C4100: 'aDiscoverable' : unreferenced formal parameter
Change-Id: I7bb5e40e8da943926f7fd8b1f76e010d073362c9
2012-12-05 15:06:51 +01:00
Radek Doulik
c349164824 added Change picture menu item to graphic shape popup
Change-Id: I6e4927b847ca6990990be1075c8371404736e27e
2012-12-04 16:00:45 +01:00
Radek Doulik
869031d702 changed behavior of insert picture
- when single graphic object shape is selected, replace the graphic with inserted picture
 - otherwise proceed as before

Change-Id: I767c3ab81abf26c34b612d6aac1f282aa0a53f6c
2012-12-04 16:00:44 +01:00
Radek Doulik
8e3282344a refactored GetEmptyPresentationObject, added GetSelectedSingleObject
- also extracted part of GetEmptyPresentationObject into new GetPage() method

Change-Id: I3002c3fae8236db1e443f0f454158e7298b56d70
2012-12-04 16:00:44 +01:00
Rob Snelders
2a9c83fa8a fdo#56877 CRASH when profile contains invalid RecentlyUsedMasterpages
Change-Id: Ia875d6b04b5ce6a026a57aaef2c17fc02a503ae9
Reviewed-on: https://gerrit.libreoffice.org/1224
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2012-12-04 12:49:37 +00:00
Cédric Bosdonnat
708447f2a5 Styles & Formatting: added Show menu item on hidden styles
The command to show hidden styles again was missing.

Change-Id: Ic25b0cfc4d021d949124b8c4ef4016d6dba7e39f
2012-12-04 12:41:05 +01:00
Luboš Luňák
ce90f99a2d fixes for where fast string operator+ is not perfectly source compatible
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-12-03 18:04:24 +01:00
Cédric Bosdonnat
d9ef61fb54 API CHANGE: roll back the XStyle changes to add a new Hidden property on Style
Change-Id: If6d23925567fb184cd8fc4e00fc72fe4d216e756
2012-12-03 17:58:48 +01:00
Michael Stahl
0c0dd97994 API CHANGE: remove com.sun.star.util.XArchiver
This interface has been deprecated since OpenOffice.org initial CVS
import, and there does not appear to have been an implementation of it,
though strangely there was client code using it until 2007.

EXISTENCE: published key "/UCR/com/sun/star/util/XArchiver" exists only
in registry 1

Change-Id: I8efa29a3d375d7c5c77ae47592b23bec4072d7a0
2012-12-03 00:11:51 +01:00
Julien Nabet
1c6b63fa9a WaE : declaration of ‘bHidden’ shadows a member of 'this'
Change-Id: I524691b2f27ac1d57a1a1704b12aed44fb326c16
2012-12-01 14:09:19 +01:00
Miklos Vajna
4cdb960a79 sd: hide 'enable remote control' checkbox when built without bluetooth
Change-Id: I3ee70bdf59abf71228a708f05dba07fd2a873128
2012-12-01 09:52:07 +01:00
Cédric Bosdonnat
316656755c API CHANGE: Added XStyle::isHidden() and XStyle::setHidden()
Change-Id: I44770c05d51104b45d94145db8263187205daa84
2012-11-30 22:15:38 +01:00
Cédric Bosdonnat
715d79bcc5 Styles & Formatting: added SFXSTYLEBIT_ALL_VISIBLE and show hidden styles
Change-Id: Ie74ec3c15ba270afd0a6864bd5824a5bc0e3ea8b
2012-11-30 18:07:12 +01:00
Cédric Bosdonnat
2fd9c2bf9a Allow to hide styles in the "Styles & Formating" dialog
In its current state, the feature only hides the styles. Things to sort
out are:
 + Add some automatic filter to show hidden styles
 + Make the visibility persist in the file format

Change-Id: I5904f41bb567add7b6bf501c6c5297f9f149a915
2012-11-30 18:07:12 +01:00
Thorsten Behrens
66a175834c c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star

Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.

Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
Kohei Yoshida
f532752756 Remove unused method & remove header include by using forward declaration.
Also, SvViewDataEntry has lost one friend.

Change-Id: Icf6d4127de38fed485cd260edae97748b1f78ede
2012-11-29 21:29:31 -05:00
Kohei Yoshida
251dab0145 Pass pointer to view data entry to Paint() instead of its raw flag value.
We need to hide these flags away.

Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1
2012-11-29 16:34:43 -05:00
Thorsten Behrens
70626249cd API CHANGE a11y unpublishing and add/removeListener rename.
The a11y API has never really been picked up by tools vendors, let's
not tie ourselves up here for no good reason.

This unpublishes all css::accessibility, and dependend API.

With that, we can change the rather unfortunately-named add/
removeEventListener to be add/removeAccessibleEventListener, thus
not conflicting with the XComponent methods of the same name.

Change-Id: I595598c3a8e46415f80b2780f333333174865fe4
2012-11-29 16:58:16 +01:00
Thorsten Behrens
0295bd6b3f Remove exception spec from idl-generated c++ headers.
The general agreement in the project is that c++ exception
specs are pointless and add bloat in production code.

See also this rant for more background:
  http://drdobbs.com/cpp/184401544

This removes the code that generates the exception specs on the
generated c++ headers, and fixes up the few places that broke
subsequently because of widening exception specs, which in turn
was due to the rather unfortunate decision to not have a virtual
dtor in XInterface.

Change-Id: I60db26e1cc4d4fe6eeef5975e39497841e92588a
2012-11-29 16:49:51 +01:00
Tor Lillqvist
a3ce60eb3c We only support MSVC 2008 (_MSC_VER 1500) or later
We can drop or simplify many conditionals.

Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28 20:53:40 +02:00