Commit graph

11108 commits

Author SHA1 Message Date
Thomas Arnhold
8597f9874f unusedcode.easy: remove UpdateLockManager
Seems UpdateLockManager is dead. So cut it out.

Also mbFirstUpdateSeen had no effect.
2012-02-20 19:15:46 +01:00
Takeshi Abe
3006397439 Prefer equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("..."))
to equalsIgnoreAsciiCaseAscii("...")
2012-02-21 01:07:21 +09:00
Caolán McNamara
a32050b318 give copy ctor a conventional signature 2012-02-19 13:38:46 +00:00
Elton Chung
d30b4e9fb6 Get rid of size() == 0 2012-02-19 17:07:46 +04:00
Thomas Arnhold
e51aca1fa6 svtools: Remove obsolete GraphicFilter::{Do,Has}ImportDialog
And simplify sdgrffilter because this if is always true.
2012-02-19 01:34:04 +01:00
Elton Chung
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
Michael Stahl
e72e8dcd33 AccessibleTreeNode: fix headless crash
On closing a document in headless mode, the
accessibility::AccessibleTreeNode::WindowEventListener will access a deleted
mrTreeNode member and crash; don't do anything in the listener if the
AccessibleTreeNode has been disposed.

#0  0x0000000000000000 in ?? ()
#1  0x00007f99842d6887 in accessibility::AccessibleTreeNode::UpdateStateSet (this=0x27a99f80) at sd/source/ui/accessibility/AccessibleTreeNode.cxx:285
#2  0x00007f99842d803e in accessibility::AccessibleTreeNode::WindowEventListener (this=0x27a99f80, pEvent=0x7f997fd64f40) at sd/source/ui/accessibility/AccessibleTreeNode.cxx:694
#3  0x00007f99842d7f3d in accessibility::AccessibleTreeNode::LinkStubWindowEventListener (pThis=0x27a99f80, pCaller=0x7f997fd64f40) at sd/source/ui/accessibility/AccessibleTreeNode.cxx:670
#4  0x00007f99b88a1442 in Link::Call (this=0x279f94e0, pCaller=0x7f997fd64f40) at solver/unxlngx6/inc/tools/link.hxx:140
#5  0x00007f99b88cdecf in VclEventListeners::Call (this=0x27a946f0, pEvent=0x7f997fd64f40) at vcl/source/app/vclevent.cxx:72
#6  0x00007f99b8d2e76e in Window::CallEventListeners (this=0x27a98280, nEvent=1009, pData=0x0) at vcl/source/window/window.cxx:5188
#7  0x00007f99b8d2e6cf in Window::ImplCallEventListeners (this=0x27a98280, nEvent=1009, pData=0x0) at vcl/source/window/window.cxx:5171
#8  0x00007f99b8d2df63 in Window::PreNotify (this=0x27a98280, rNEvt=...) at vcl/source/window/window.cxx:5037
#9  0x00007f99b8d4aa0c in ImplCallPreNotify (rEvt=...) at vcl/source/window/winproc.cxx:86
#10 0x00007f99b8d2910e in Window::ImplGrabFocus (this=0x2703d230, nFlags=0) at vcl/source/window/window.cxx:4033
#11 0x00007f99b8d3749f in Window::GrabFocus (this=0x2703d230) at vcl/source/window/window.cxx:7493
#12 0x00007f99b8d2b624 in Window::~Window (this=0x27a98280, __in_chrg=<optimized out>) at vcl/source/window/window.cxx:4493
#13 0x00007f99b88fa514 in Control::~Control (this=0x27a98280, __in_chrg=<optimized out>) at vcl/source/control/ctrl.cxx:88
#14 0x00007f99845521e4 in sd::toolpanel::ScrollPanel::~ScrollPanel (this=0x27a98280, __in_chrg=<optimized out>) at sd/source/ui/toolpanel/ScrollPanel.cxx:91
#15 0x00007f99845522e8 in sd::toolpanel::ScrollPanel::~ScrollPanel (this=0x27a98280, __in_chrg=<optimized out>) at sd/source/ui/toolpanel/ScrollPanel.cxx:112
#16 0x00007f9984565d76 in std::auto_ptr<sd::toolpanel::TreeNode>::reset (this=0x27a94970, __p=0x0)
2012-02-18 00:07:31 +01:00
Michael Stahl
cdfa3bd5e4 sd::toolpanel::ScrollPanel::~ScrollPanel: bogus static_cast 2012-02-18 00:07:31 +01:00
Jan Holesovsky
4866b20ec6 Slidesorter: Show the buttons on the opposite side...
...compared to where the mouse entered the slide thumbnail.  This
seems to prevent a user annoyance when you very often used to hide
the slide, instead of just selecting it.
2012-02-17 23:47:51 +01:00
Jan Holesovsky
ebd3d9c77e Slidesorter: Kill unused maButtonDownBackground. 2012-02-17 23:47:12 +01:00
Jan Holesovsky
c6b151f1f8 Slidesorter: No need for abstraction when there is only one descendant. 2012-02-17 23:47:03 +01:00
Matteo Casalin
761b6b706e Remove unnecessary header files 2012-02-17 18:57:45 +01:00
Caolán McNamara
46087fd1b7 fix up const malformed copy ctors and operator= 2012-02-16 10:26:03 +00:00
Thorsten Behrens
57e6f04066 Fix fdo#45177 - avoid linked undo for the while.
While I try to wrap head around subtleties for linked undo in
Impress outline view, disable that here for the while. Better than
a crash for sure.
2012-02-15 16:53:08 +01:00
Thorsten Behrens
4fa7f074b3 Cleanup: auto_ptr uses as a plain scope guard. 2012-02-15 16:53:01 +01:00
Takeshi Abe
d8c9f36ecf disentangled sddll.hxx vs. sdmod.hxx 2012-02-08 01:52:29 +09:00
Kohei Yoshida
2a7c07e2e5 InsertData to AppendData, to hide the insert position.
Only a few places in sc specified insert position, and those were
not strictly necessary.
2012-02-01 20:21:04 -05:00
Ivan Timofeev
bc8fa08a7a pointer -> reference 2012-02-01 20:00:29 +04:00
Noel Grandin
e8b7f1faaf convert SdPresLayoutDlg from tools/list.hxx to boost::ptr_vector 2012-02-01 13:01:55 +00:00
Muthu Subramanian
fd33c0b1cf n#735533: Donot set duplicate master slide names. 2012-02-01 18:02:28 +05:30
Kohei Yoshida
c5bb73cae7 Get the whole thing to build after the method sig change in SdrObject. 2012-01-31 21:38:58 -05:00
Ivan Timofeev
f2e17f8f6b erase garbage after std::remove
this fixes commit 5a71069339
2012-01-31 21:52:02 +04:00
Noel Grandin
5a71069339 convert SdCustomeShow from tools/list to vector 2012-01-31 14:17:33 +00:00
Ivan Timofeev
93236fcdf2 remove '#define UNOOUSTRING ::rtl::OUString' 2012-01-30 12:23:34 +04:00
Ivan Timofeev
9cde190a46 remove '#define OUSTRING ::rtl::OUString' 2012-01-30 12:23:34 +04:00
Julien Nabet
763b3e1e59 Fix duplicateExpression style Same expression on both sides of '&& 2012-01-28 18:54:01 +01:00
Tim Hardeck
315d2ddc16 optimized zoom to use more common intervals
Round zoom values beginning with 50 to a multiple of 5, with 100 to one
of 10, with 500 to one of 50 and with 1000 to one of 100.
The step 100 is enforced to have one fixed point.
2012-01-25 12:35:54 +01:00
Thomas Arnhold
04b8bac4a9 finalize gcc 4.7 string literal operators 2012-01-24 10:21:13 +01:00
Caolán McNamara
d3c0bf6c80 drop tools/string.hxx include 2012-01-23 11:37:06 +00:00
Ivan Timofeev
799f2de5d1 fdo#43705: fix incomplete updating of the page preview pane in Draw
This regression was introduced in f215333002.
As stated in PageObjectPainter::PaintPageObject:
  "The page object layouter is quite volatile."
The rest of usages of mpPageObjectLayouter looks sane, but who knows...
2012-01-22 15:17:57 +04:00
Michael Meeks
4229f1b186 WaE: ongoing stream operator cleanup, persuade ints they are sal_Int32s 2012-01-19 17:09:25 +00:00
Marcel Metz
d2c8003ecb Replaced SAL_INFO with SAL_WARN were applicable. 2012-01-17 23:27:44 +01:00
Ivan Timofeev
d8088c2262 sd: remove some unused defines 2012-01-17 10:07:48 +04:00
Ivan Timofeev
b314b1296f sd: remove unused templates 2012-01-17 10:07:48 +04:00
Korrawit Pruegsanusak
a9ebfbc2b6 Use platform-independent ::rtl::math::round to fix msvc build 2012-01-17 00:18:08 +07:00
Marcel Metz
a18123fb97 Replaced DBG_ERRORFILE with SAL_INFO. 2012-01-16 12:51:33 +01:00
David Tardon
3f02f62e5c WaE: ordered comparison of pointer with integer zero 2012-01-15 20:27:21 +01:00
Michael Meeks
ca93d98343 vcl: rename ambiguous IsMultiDisplay to IsUnifiedDisplay, and simplify 2012-01-15 00:36:41 +00:00
Matúš Kukan
fcc8db1d2b fix for gcc 4.7: unable to find string literal operator 2012-01-14 11:35:39 +01:00
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