Commit graph

11069 commits

Author SHA1 Message Date
Tim Hardeck
022ce7d362 fdo#44173: use a geometric progression for zooming
Zooming does now base on a geometric progression instead of an
arithmetic one.
Since the zoom factor is not only used in Draw but for all other
applications 1.2 seems like a good choice.
2012-01-13 23:04:12 +01:00
Caolán McNamara
a55ae5fde1 just return the read string here instead of passing one in by ref 2012-01-13 16:46:31 +00:00
Olivier Hallot
db08c1ac5e Fix for fdo43460 Part XXXI getLength() to isEmpty()
Part XXXI
Modules
sd
2012-01-10 23:08:01 -02:00
Thorsten Behrens
897aa4fa71 Tools container rework regression fix (for fdo#41657)
Don't de-reference invalid iterator (and no point in doing anything
with an empty style sheet list anyway).
2012-01-10 12:06:00 +01:00
Caolán McNamara
3c62fbcdd7 simplify LocalFileHelper::ConvertURLToPhysicalName 2012-01-10 10:09:28 +00:00
Miklos Vajna
effeb08efd Kill SvNullStream duplication 2012-01-08 20:11:09 +01:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Marcel Metz
4beb58e0dd Removed unnecessary tools/ref.hxx includes. 2012-01-06 23:55:51 +01:00
Marcel Metz
5845c5b6ec Removed unnecessary tools/link.hxx includes. 2012-01-06 23:55:50 +01:00
Ivan Timofeev
e2b57677d3 fdo#44294: overlapped controls 2012-01-06 18:25:33 +04:00
Marcel Metz
1bae43a3d7 Removed unnecessary tools includes. 2012-01-05 15:38:58 +01:00
Marcel Metz
53d27eb207 Removed unnecessary tools includes. 2012-01-05 15:38:51 +01:00
Marcel Metz
a1cfce768f Removed unnecessary tools includes. 2012-01-05 15:38:11 +01:00
Marcel Metz
571ad11bc0 Removed unnecessary tools includes. 2012-01-05 15:36:41 +01:00
Marcel Metz
79646372a0 Removed unnecessary tools includes.
Hello lo-devs,

this patch series removes a lot of unnecessary includes for the various
tools header. The patches without suffix should be applied to the core
repository, the .binfilter.patch suffix should be applied to the
binfilter repository. I've tested the build with the configuration
--enable-binfilter --enable-dbgutil --enable-debug, is this sufficient
or did I miss another important configuration, that enables some
conditional compiled code? I've only build this on linux-x86_64, but the
patch also touches some of the mac specific code like
fpicker/source/aqua/SalAquaFilePicker.mm so it would be maybe a good
idea to test this patch.

regards Marcel Metz
2012-01-05 15:31:29 +01:00
Caolán McNamara
bacfd2dc4c add a comphelper::string::getTokenCount
suitable for conversion from [Byte]String::GetTokenCount
converted low-hanging variants to rtl::O[UString]::getToken loops
added unit test
2012-01-05 09:18:19 +00:00
Caolán McNamara
30ec94d8d4 WaE and build fixes for OSL_DEBUG_LEVEL == 2 2012-01-05 09:18:14 +00:00
Lior Kaplan
14c0e038c9 Clean non English strings in the code
we do translation differently.
2012-01-02 22:35:33 +02:00
Pierre-André Jacquod
7da3f1bad5 option to export hidden slides to pdf files
This add the checkbox hidden pages to the PDF export general tab
and if checked, export also to PDF the hidden slides
2011-12-28 22:47:34 +01:00
Pierre-André Jacquod
f9fd800b79 fdo43033 do not export to PDF hidden slides 2011-12-28 22:47:34 +01:00
Takeshi Abe
8cc98837d3 catch exception by constant reference 2011-12-25 15:09:58 +09:00
Luboš Luňák
643de3b64e "*.*" is not "all files" (bnc#738021)
Not on any Unix, at least. I have no idea how deep entrenched is this
mistake all over the code, so I'll play safe and just fix the KDE4 fpicker
(GNOME/KDE3 seem to handle it fine), but at least in the UI show just
"All files" instead of "All files (*.*)").
2011-12-22 19:32:53 +01:00
Matúš Kukan
b769901d5a unusedcode: remove various unused classes 2011-12-22 15:33:50 +01:00
Caolán McNamara
5c1dc778d6 remove some unused code 2011-12-22 10:46:58 +00:00
Caolán McNamara
c1d49234e5 tweak for pre language-defect #77 2011-12-21 13:44:52 +00:00
Caolán McNamara
5c24789ca3 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 13:44:52 +00:00
Caolán McNamara
c4f0efc237 convert ReadByteString/WriteByteString from ByteString to OString
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written

Doesn't need to be members, make standalone functions

Rename  to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.

added a unit test
2011-12-21 13:44:52 +00:00
Caolán McNamara
6708977331 needs more work first
This reverts commit 92f396733e.
2011-12-21 10:30:10 +00:00
Caolán McNamara
fffae28952 bah, need to tweak for pre c++0x
This reverts commit d00fc0e293.
2011-12-21 10:29:33 +00:00
Caolán McNamara
d00fc0e293 disentangle Read/WriteByteString OUString variants
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.

The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all

The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
2011-12-21 10:10:58 +00:00
Caolán McNamara
92f396733e convert ReadByteString/WriteByteString from ByteString to OString
Nobody ever used the return values anyway, so for reading just
return the string and for writing the number of bytes written

Doesn't need to be members, make standalone functions

Rename  to
read_lenPrefixed_uInt8s_ToO[U]String and
write_lenPrefixed_uInt8s_FromO[U]String, lengthy,
but much less unambiguous, seeing as a lot of users of it don't
seem to be aware that they read/write pascal-style length
prefixed strings, which isn't surprising given the
apparent simplicity of their original name.

added a unit test
2011-12-21 10:10:58 +00:00
Caolán McNamara
c1c3ef64bc callcatcher: remove some unused code 2011-12-21 09:30:20 +00:00
Ivan Timofeev
e81e5108b9 impress: slide transition pane: use proper control width 2011-12-19 10:01:29 +04:00
Thorsten Behrens
45a570f55b Fix assertion in PageSelector::CheckConsistency()
Seems the recent merge from impress210 brought an inconsistency in
slide selection - shuffle calls to make it go away.
2011-12-17 00:29:00 +01:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Ivan Timofeev
15a14cdc33 fdo#39528: do not lose height of tree list box in Navigator 2011-12-09 21:25:02 +04:00
Michael Meeks
f1db9ee6c3 Fix misc. bugs in presenter view switch screen feature: make it work. 2011-12-08 19:45:40 +00:00
Michael Meeks
d122fd76eb de-inline display fetch/set functions to assist in debugging 2011-12-08 19:45:40 +00:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Thorsten Behrens
73a395cdc7 Make merges of impress210 build. 2011-12-06 09:39:16 +01:00
Christian Lippka ORACLE
e57053c435 impress210: #i41995# using view contact to get bound rect for old path animation import
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1301475461 -7200
# Node ID d87b5924442237c58b243d83012f655ce59c312d
# Parent  c6dff567a9e0ee383071e53c64e3f5a06a186015

impress210: #i41995# using view contact to get bound rect for old path animation import
2011-12-06 09:39:16 +01:00
Ocke Janssen [oj]
f44ed1142d impress210: resolve name clash
# HG changeset patch
# User Ocke Janssen [oj] <Ocke.Janssen@oracle.com>
# Date 1301308341 -7200
# Node ID c6dff567a9e0ee383071e53c64e3f5a06a186015
# Parent  de9c2cc66a6d7a2f16479b97b059b38090f317a0

impress210: resolve name clash
2011-12-06 09:39:15 +01:00
Ocke Janssen [oj]
e0247cb339 impress210: comment out not needed line
# HG changeset patch
# User Ocke Janssen [oj] <Ocke.Janssen@oracle.com>
# Date 1301304590 -7200
# Node ID de9c2cc66a6d7a2f16479b97b059b38090f317a0
# Parent  ac21acda382420131e228c65959f33b6ef999475

impress210: comment out not needed line
2011-12-06 09:39:13 +01:00
Christian Lippka ORACLE
b97726f4b6 impress210: #i117133# put new drawing layer fill and stroke styles in pool only for newly created documents
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1299763312 -3600
# Node ID 6b1140cdac81a77836e5be80033f328a0956c94a
# Parent  8edc33ef50a3b6ebbc4e88d574b6b1ba57b1dbaa

impress210: #i117133# put new drawing layer fill and stroke styles in pool only for newly created documents
2011-12-06 09:39:12 +01:00
Christian Lippka ORACLE
f0a1b95f99 impress210: #i41995# fixed import of path animation from sxi files
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1299691949 -3600
# Node ID 8edc33ef50a3b6ebbc4e88d574b6b1ba57b1dbaa
# Parent  0b9b11216b0d3401f8824542dd5f2794eb141035

impress210: #i41995# fixed import of path animation from sxi files
2011-12-06 09:39:12 +01:00
Christian Lippka ORACLE
b7540a2bfe impress210: #i50899# clean up fill attributes if fill style changes
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1299270680 -3600
# Node ID 69091b8fc77c9951fcdc52b800a37a92dc70bf84
# Parent  20c5c9384888da33596d864251881e6e46bdd339

impress210: #i50899# clean up fill attributes if fill style changes
2011-12-06 09:39:11 +01:00
Ocke Janssen [oj]
416435e1dc impress210: check readonly
# HG changeset patch
# User Ocke Janssen [oj] <Ocke.Janssen@oracle.com>
# Date 1299656309 -3600
# Node ID de61efa884c2a12ae9e88e9919c297b1b9676443
# Parent  c65bb4f46738b43bd506f1a75b634c6bd6fb6bfe

impress210: chekc readonly
2011-12-06 09:39:11 +01:00
Ocke.Janssen@oracle.com
909bf6e983 impress210: #i106378# use datetime to get current date
# HG changeset patch
# User Ocke.Janssen@oracle.com
# Date 1297761051 -3600
# Node ID 3df655ccd7e3966c5c22df761981dde35b5e0059
# Parent  227bb8fe599b58e849c1f19f2233d2c1b0b767ad

impress210: #i106378# use datetime to get current date
2011-12-06 09:39:10 +01:00
Christian Lippka ORACLE
a43400917e impress210: #i116846# added missing commits from cws impressdefaults1
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1297098330 -3600
# Node ID 499a3c7022ddd6bf9b2771a5f2c69230ea1b9d48
# Parent  e7f337a6055814068bdc823306bc3a3f9cac48e5

impress210: #i116846# added missing commits from cws impressdefaults1
2011-12-06 09:39:10 +01:00
Christian Lippka ORACLE
37fe168502 impress210: #i116846# adding uncommited changes from cws impressdefautls1
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com>
# Date 1297097627 -3600
# Node ID e7f337a6055814068bdc823306bc3a3f9cac48e5
# Parent  80a255ef3468baa8b249e02aa760b0da463e1d26

impress210: #i116846# adding uncommited changes from cws impressdefautls1
2011-12-06 09:39:09 +01:00