Commit Graph

1071 Commits

Author SHA1 Message Date
Cédric Bosdonnat
b4c18dc0ea Templates Manager: removed the old dialogs and menu entries
Change-Id: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea
2012-12-20 18:02:52 +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
Thorsten Behrens
adf342ca18 Remove commented code.
Change-Id: Ia09c147a084765072f5457d799fccad61adad017
2012-11-28 12:48:36 +00:00
Michael Meeks
837e2808f7 re-base on ALv2 code. Includes:
Patches contributed by Armin Le-Grand
    #118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles...
    http://svn.apache.org/viewvc?view=revision&revision=1293316
    #118485# - Styles for OLEs are not saved.
    http://svn.apache.org/viewvc?view=revision&revision=1182166

    Patches contributed by Andre Fischer
    http://svn.apache.org/viewvc?view=revision&revision=1172128
    http://svn.apache.org/viewvc?view=revision&revision=1172133

    Patch contributed by Ariel Constenla-Haile
    i#118505# - Remove MN_OLE_OBJECT menu item from Draw/Impress
    contextmenu  - CWS contextmenu1
    http://svn.apache.org/viewvc?view=revision&revision=1182915

    Patch contributed by Zhang Jian Fang
    #118876#, Add check if the OutlinerParaObject is created successfully
    http://svn.apache.org/viewvc?view=revision&revision=1243381

restore a re-based rdbedit.
2012-11-28 12:48:36 +00:00
Philipp Lohmann [pl]
5c3614639c impress211: fix a warning 2012-11-28 12:48:33 +00:00
Philipp Lohmann [pl]
a46904855c impress211: fix a warning 2012-11-28 12:48:33 +00:00
Philipp Lohmann [pl]
9177901fd6 impress211: fix some warnings, types 2012-11-28 12:48:32 +00:00
Andre Fische
cbb599f657 impress211: #i88880# Fixed dragging of slides from navigator to slide sorter.
Conflicts:
	sd/source/ui/app/sdxfer.cxx
	sd/source/ui/dlg/sdtreelb.cxx
	sd/source/ui/slidesorter/controller/SlsClipboard.cxx
	sd/source/ui/slidesorter/controller/makefile.mk
	sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx
2012-11-28 12:48:32 +00:00
Michael Meeks
9e8ee8d23e remove un-used and non-compiled files. 2012-11-27 13:41:24 +00:00
Tor Lillqvist
192a0eb2be fdo51023: Revert e4450c54ae for Mac OS X
See bug for discussion. Basically, the root cause to the problem is
that on the Mac, all the drag-and-drop action happens during the call
to pSlideSorterViewShell->StartDrag() in the Initialize method. Thus
no wonder that mpDragAndDropContext is null in the ProcessDragEvent()
as it has not been initialized yet, and is in fact initialised
pointlessly only after the drag-and-drop already has finished.

Reverted just for Mac OS X and ifdefified in a straightforward even if
ugly fashion.

Change-Id: Icfb62fb24a5c72fda39c8bcea125267c99ecf624
2012-11-07 15:54:26 +02:00
Noel Grandin
0ac9a10d31 fdo#46808, Deprecate configuration::ConfigurationProvider old-style service
...in favor of existing new-style configuration::theDefaultProvider singleton.

Theoretically, ConfigurationProvider instances can be created with specific
Locale and EnableAsync arguments, but this is hardly used in practice, and thus
effectively all uses of the ConfigurationProvider service use the
theDefaultProvider instance, anyway.

theDefaultProvider is restricted to the XMultiServiceFactory interface, while
ConfigurationProvider also makes available XComponent.  However, dispose must
not be called manually on theDefaultProvider singleton anyway, and calls to
add-/removeEventListener are so few (and in dubious code that should better be
cleaned up) that requiring an explicit queryInterface does not really hurt
there.

This commit originated as a patch by Noel Grandin to "Adapt
configuration::ConfigurationProvider UNO service to new style [by creating] a
merged XConfigurationProvider interface for this service to implement."  It was
then modified by Stephan Bergmann by deprecating ConfigurationProvider instead
of adding XConfigurationProvider and by replacing calls to
ConfigurationProvider::create with calls to theDefaultProvider::get.

Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-31 15:31:36 +01:00
Marcos Paulo de Souza
6dfbd3324f Remove some unused methods
Change-Id: Ia9ed975309c6ed677437c6e1c2d6be4a8bd6f1e9
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/875
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2012-10-16 13:20:19 +00:00
Julien Nabet
c978bd3486 Remove newly unused methods
Change-Id: I050660d095540902b442a86904d70ed544bccf13
2012-10-06 08:24:22 +02:00
Tomaž Vajngerl
6f221adc31 Improve quality of page previews in Impress/Draw with supersampling
Change-Id: I9c5b28fc32b73b2147162f74919b21d99401b501
2012-10-04 07:45:45 +02:00
Jan Holesovsky
504d3ed897 Impress: Kill the so much hated ButtonBar in slide sorter.
Change-Id: I9eb570e04fc43f2be2ceecd14cb3a41535e49b9b
2012-09-24 14:06:58 -04:00
Stephan Bergmann
6928f43c86 -Werror,-Wunused-private-field (various sd)
Change-Id: Ib0756e3730783f2c842a835782452279ad8f189b
2012-09-11 17:11:12 +02:00
Caolán McNamara
c29af1572a Resolves: rhbz#842292 crash in calling callback whose instance was deleted
Change-Id: I4cc04d59f48b42cc105703daa9983dd7c9f7af62
2012-08-22 14:20:52 +01:00
Caolán McNamara
7887a4e0ad Resolves: rhbz#846775 Clipboard must be disposed before Selection
Change-Id: I968bc6da85cd444d504b08f85300a1fe251cdeee
2012-08-22 12:08:23 +01:00
Andrzej J.R. Hunt
2d63c4689a Basic Impress Remote + linking of dialog and server.
Change-Id: Ifd69df9ccfb5b6a78044b002b6ec5bf1f12b6faa
2012-08-10 13:28:45 +02:00
Andrzej J.R. Hunt
ae5140e054 Remote dialog now showing.
Change-Id: I20857202e70a975d249ac0f121947691ac274602
2012-08-08 11:49:21 +02:00
Ivan Timofeev
e995824285 fdo#51231 Revert "Slidesorter: Show the buttons on the opposite side..."
This reverts commit 4866b20ec6.
2012-08-02 21:53:58 +04:00
Mathieu Vonlanthen
0bdf6fc7c7 Bug 48549 - System::Beep() removal
Change-Id: I011048912af051a762a78af8646513a1fc624073
2012-07-30 05:20:02 +02:00
Caolán McNamara
bccf34c19a ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
Thomas Arnhold
1136fa4fc4 Remove unused defines
Change-Id: Ibc46eb4565d4df88e83882045b2ed6d31e487d16
2012-07-02 06:29:10 +02:00
Takeshi Abe
b876538a6d removed unnecessary forward declarations of class
except moving SdXImpressDocument to sd/source/ui/unoidl/unopage.hxx

Change-Id: I855d8369b09ca0fb6d604410f4ed204b11ee4211
2012-07-02 00:08:18 +09:00
Thomas Arnhold
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00
Michael Meeks
69a51d2bb6 re-base on ALv2 code. 2012-06-26 11:33:02 +01:00
Luboš Luňák
ceb8b18f5b use generic names rather than specific algorithm names when scaling
The Lanczos scaling is of very good quality, but it's rather slow,
which can be very noticeable with large images, so it's not a very
good default for everything. And in general, it's not good to refer
to a specific algorithm when all one usually wants is fast/default/best.

Some of these changes are a bit of a guess between default/best,
but the general logic is that best should be used only for images
that won't be large or where the possible waiting does not matter.

Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
2012-06-22 17:40:09 +02:00
Thomas Arnhold
69419bcab3 Remove empty or non-called methods
empty:

ClearTip
implOnShapeInserted
ImpCopyMarkedPoints
ImpMakeDragAttr
ImpCopyMarkedPoints
ImpMakeDragAttr
ImpDelDragAttr
ImpMakeCreateAttr
Is1stLessThan2nd
LinkToListTemplate
NewCoreSelection
ScrollStart
ScrollEnd
SetNoOutlineNum

non-called:

NewCoreSelection

Change-Id: Ief273b741aaf49ff66c0dac898686e4def4de0c1
2012-06-22 11:05:01 +02:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
Tim Hardeck
6484ccb4ed move zoomitem from svx to sfx2
To allow using SvxZoomItem in sfx2 zoomitem is moved from svx to sfx2.
This patch does base on Caolán McNamara's patch he sent to the mailing list.

Change-Id: I4d245f938d92ad3a20b692f5f76d8e0d00b1a648
2012-06-15 13:38:56 +02:00
Jan Holesovsky
9afb6e1e38 Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of
BMP_SCALE_INTERPOLATE.

Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05 11:28:07 +02:00
Caolán McNamara
a0d627639d fix use of local resource string ids in global context
possibly a regression since 227113bbf1

Take the opportunity to give them more useful names while I'm at it

Change-Id: I175b656ac611b78ebaa21b53778085113632095e
2012-06-05 10:14:48 +01:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
Luboš Luňák
e4450c54ae avoid recursion that can mess up DND setup (fdo#41996)
The way too smart ctor for the DND handler started drag immediately,
causing a race condition that could recurse to setting a handler
again before the first one was actually set, thus immediately again
causing the DND to be stopped, and then possibly later again started,
depending on how the race condition turned out. Use delayed initialization
to avoid this.

Change-Id: I528eddbdc7c52a19675997e4c866506c662cff19
2012-05-11 20:39:01 +02:00
Caolán McNamara
4ae4c57caa Resolves: rhbz#805743 a11y: call doShow after we have a valid view
Basically a regression from ec240eafe9 but things
were broken before that too.

enable a11y (for gnome 3 this is gsettings set org.gnome.desktop.interface
toolkit-accessibility true), and run the smoketest with dbg-util before
touching this stuff

Change-Id: I I55f4e22d8ac61c7ac3ccc37b82794604b28a8f14
2012-05-09 12:41:39 +01:00
Caolán McNamara
8a0685d49f make ResId::toString a non-static member
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-30 11:22:09 +01:00
Caolán McNamara
fe502c893e String::CreateFromInt32->rtl::OUString::valueOf 2012-04-25 11:58:26 +01:00
Caolán McNamara
e0753b7424 WaE: -Werror=reorder 2012-04-19 17:31:33 +01:00
Caolán McNamara
3f62c7adfd valgrind: Conditional jump or move depends on uninitialised value 2012-04-19 17:31:32 +01:00
Caolán McNamara
18825a4d59 callcatcher: update unused code list 2012-04-17 09:27:47 +01:00
Santiago Martinez
5e26d135da Remove unused code in sd 2012-04-16 21:44:20 +01:00
Rafael Dominguez
ae7ad6dab3 Make an out argument a pointer instead of a reference.
- Fix some style issues.
2012-04-16 18:44:00 +02:00
Jan Holesovsky
227113bbf1 Slidesorter: Kill more useless cruft. 2012-04-14 22:49:32 +02:00
Jan Holesovsky
cecde99da6 Slidesorter: Kill useless ImageButton abstraction. 2012-04-14 22:49:32 +02:00
Jan Holesovsky
af77ec0d7e Slidesorter: Kill more. 2012-04-14 22:49:32 +02:00
Jan Holesovsky
389218f922 Slidesorter: Font_Button unused. 2012-04-14 22:49:32 +02:00
Jan Holesovsky
b80ca48354 Slidesorter: Reduce some overengineering. 2012-04-14 22:49:31 +02:00