Commit Graph

12122 Commits

Author SHA1 Message Date
3fe227a65d remove unused BMP_OLEOBJ image and define.
Change-Id: I809cca8dab246c7b528309fd74fb73a9d0bd418f
2013-06-06 22:21:56 +01:00
c0eb5e7772 Resolves: #i121448# Aligned default fill color/line style for all apps
(cherry picked from commit 81664c037c8d6094b66c1660b6eee9693eadf401)

Conflicts:
	sc/inc/document.hxx
	sc/source/core/data/documen2.cxx
	sc/source/core/data/documen3.cxx
	sc/source/core/data/documen9.cxx
	svx/inc/svx/svdmodel.hxx
	svx/source/svdraw/svdmodel.cxx
	sw/inc/doc.hxx
	sw/source/core/doc/docdraw.cxx
	sw/source/core/doc/docnew.cxx
	sw/source/ui/app/docshini.cxx

Change-Id: Id0f62f0cd5b83794e2dbaee4e8b6afa704a0c23a
2013-06-06 21:04:07 +01:00
9eb4e4dc51 Some more modules at least building with mingw64
Change-Id: I3ea039655aecb7885bb310b1f2c29d66f9f7bb4f
2013-06-06 19:49:56 +02:00
50a4018d0d sal_Bool to bool
Change-Id: I58efb9d026203c77d3806552bd4280a4d16d5111
2013-06-07 02:27:53 +09:00
7c486ba257 Resolves: #i121334# Changed default for charts background to be none...
(from white) to allow fill settings in the various apps to have an
effect

(cherry picked from commit 0050a8e4eace17ed1b55c7ec919edaa0daadc3a7)

Conflicts:
	chart2/source/model/main/PageBackground.cxx
	sc/source/ui/drawfunc/fuins2.cxx
	sd/source/ui/view/viewshe2.cxx

Related: #i121334# turned back chart non-fill defaults...

done the non-fill using tooling when creating new chart modules

(cherry picked from commit af9220c24c9d80e5415d9d7d8f273b28d0d27cdb)

Conflicts:
	chart2/source/model/main/PageBackground.cxx
	sc/source/filter/starcalc/scfobj.cxx
	sd/source/ui/view/viewshe2.cxx
	svx/inc/svx/charthelper.hxx
	svx/source/svdraw/charthelper.cxx
	sw/source/ui/table/tablemgr.cxx

Related: #i121334# deactivated setting chart OLE background to transparent...

for better UI experience and better back-compatibility to other OpenOffice
derivates

(cherry picked from commit 5fa621198a981ea994d9903298e8a1d884ee686b)

Unname unused arguments to prevent compiler warnings.

(cherry picked from commit c3c4df7647d8d4ab1425bb3c7f38932c4adcbe74)

Change-Id: I1b4579aca701a4d637d21d7963b87f637458d0a5
01855cc3d4ec3c321109f924f6de4cdfbec4cd5d
18757f64ae84a415dc781929db4b76f571172ab1
de9879c2e1c249c0d957e4e46723b167ae1a8e90
2013-06-06 17:24:43 +01:00
47cc957c36 Remove RTL_CONSTASCII_(U)STRINGPARAM (sd)
Change-Id: Ie936ffa0ca8e97893251ef99784a257815526957
Reviewed-on: https://gerrit.libreoffice.org/4170
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-06-06 13:14:30 +00:00
a638554c02 Convert sd view page to .ui
Change-Id: If199b877b762780e4c18b15025454f0dc7912dcd
2013-06-06 11:39:20 +02:00
e9ac56d4d9 Resolves: #i120768# slide content merged Master viewer content
* subversion/main/sd/source/filter/eppt/epptso.cxx

[]should drop the redundant presentation placeholder textbox when import to ppt

Patch by: Ma Bingbing <jiazema@gmail.com>
Suggested by: Wang Zhe <kingwisemmx@gmail.com>
Found by: Yan Ji <yanji.yj@gmail.com>
Review by: Wang Zhe <kingwisemmx@gmail.com>

(cherry picked from commit 691aff9ca443dbd8ad907b32b96c031dd9ffa829)

Change-Id: I1a1de0152feaacb449f2e2bad444d1bff9e7c4cb
2013-06-06 09:19:49 +01:00
60c8198fd9 WaE: comparison of integers of different signs
Change-Id: I603e636b1a93107dfa65a2759ee510c49e03347e
2013-06-06 08:01:25 +03:00
f3d27c66e1 Resolves: #i120967# table's virtual box becomes too small...
when saved as .ppt file

Reported by: Liu Ping Tan
Patch by: Ying Sun
Review by: Jian Yuan Li

(cherry picked from commit 36453dd6be67717b2a2385449f10141fcc3fac35)

Conflicts:
	sd/source/filter/eppt/epptso.cxx

Change-Id: I66ec5b8569c538e3571fa08670d053130939dc02
2013-06-05 16:41:23 +01:00
5eab53585c Resolves: #i120885# Added missing properties for table border...
to property set to process them

Initial Patch by: Ma BingBing
Review by: alg

(cherry picked from commit 6616a636dda8db85c1bed3b3ccf1881f6e2d3acf)

Conflicts:
	sd/source/core/stlsheet.cxx

Change-Id: Ife4dc2e2224d478e0d726f7b2e0d337a6de43262
2013-06-05 15:10:19 +01:00
d691f4c9ed various fixes to impress/draw general opt page
restore original mnemonics

get range of adjustments right

fix height and metric spellings, cosmetic, but it'll bug me

Change-Id: I94a7980d5513f8bfe29bc702bcf902037e1961b6
2013-06-05 14:47:07 +01:00
6a80a5ae71 Convert impress and draw general option to .ui
Change-Id: I8be55720bb8086892b41abde95ece4d13f8da7d1
2013-06-05 13:18:51 +02:00
07dde82648 Resolves: #i120345# Textbox's position in template file...
(only title) is displayed incorrectly

* subversion/main/sd/source/core/sdpage.cxx

[]Should check the subtitle in master page firstly, and set it to layout if exist

Patch by: Ma Bingbing <jiazema@gmail.com>
Suggested by: Wang Zhe <kingwisemmx@gmail.com>
Found by: Ma Bingbing <jiazema@gmail.com>
Review by: Wang Zhe <kingwisemmx@gmail.com>

(cherry picked from commit d07b6ad5bf1ef21ad39b688a6953bd4d7ef57884)

Change-Id: Id1843a0e856a1bf98378868c68b1f9216ce71d1b
2013-06-05 12:06:24 +01:00
95c0d568fd use uno::Reference#clear() method...
...instead of assigning an empty value. Reduces code noise.

Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-05 08:13:23 +02:00
dcbaf7c253 remove unused componentcontext.hxx includes
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-06-05 08:13:21 +02:00
b269b4ee7c Resolves: #i122437# Fixed context notification for Draw documents
(cherry picked from commit 88914c616747693083819ec44ea81c9d96fa5136)

Change-Id: I6d5c7365cfe51ba7c6ce57f589264aac8b066742
2013-06-04 11:09:20 +01:00
9d0fcedaec Remove odd, unused com.sun.star.comp.ooxpptx service name
Change-Id: I746e1fa25137db786f82dda50bfa4b497e94cefd
2013-06-04 08:31:32 +02:00
3505f0e46c Revert "fdo#46808, Convert oox::PowerPointExport service to new style"
This reverts commit 02021163dbbcc8904da0b2138c8b53684dcc8ab4.  The filter
appears to be split in two (com.sun.star.comp.oox.ppt.PowerPointImport
implementation oox::ppt::PowerPointImport from include/oox/ppt/pptimport.hxx for
im-/export, for export calling com.sun.star.comp.Impress.oox.PowerPointExport
implementation PowerPointExport from sd/source/filter/eppt/epptooxml.hxx) for no
good reason, so the com.sun.star.oox.PowerPointExport new-style service is
supporting a hack that should rather be cleaned up.

Conflicts:
	offapi/UnoApi_offapi.mk

Change-Id: I875192a68a8e3458dbfd74b4981a6a2e86ce44d7
2013-06-03 15:33:39 +02:00
e89ab73fa0 remove ShapeList::getNextShape(SdrObject* pObj)
The getNextShape(pObj) method is just used for iterating over the complete
ShapeList. But the complexity for this operation is exponential.
When using getNextShape() iterating over the list have linear complexity.
In short: it is much faster.

Change-Id: I3896af2247f348153d62f2bcdd207c5a75239689
Reviewed-on: https://gerrit.libreoffice.org/4132
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-06-03 10:36:25 +00:00
8d28110439 fix broken service name "com.sun.star.rendering.VCLCanvas"
The service is actually called "com.sun.star.rendering.Canvas.VCL"
It looks like the code in SidebarPanel is a copy'n'paste from
PresenterHelper, and it looks like the PresenterHelper code has been
broken since 2008.

Change-Id: I78a0fa3bf9333d6473a743cffdb1dc41a7a1266d
2013-06-03 10:00:02 +02:00
f0545c4440 Resolves: #i121863# Corrected D&D from MasterPage view
source SlideSorter, target 2nd DocumentView

(cherry picked from commit 2136f4599bdc6f44bc0cc551189bfa565d3fbe71)

Conflicts:
	sd/source/core/drawdoc3.cxx

Change-Id: I2ba9f2c062b464d3ab3fb28ab115c908b0a7e450
2013-05-31 16:07:06 +01:00
018c22d378 UniString::CompareToAscii(RTL_CONSTASCII_STRINGPARAM("x"))==COMPARE_EQUAL ...
...corresponds to OUString::startsWith("x"), not
UniString::CompareToAscii("x")==COMPARE_EQUAL.  Regression introduced with
5b26722ace02f71c79573b3795b2bf7b9412090f "Remove RTL_CONSTASCII_(U)STRINGPARAM
(sd)."

Change-Id: I116defec056ff1e2260a20ba5279180683eefd87
2013-05-31 11:01:19 +02:00
a400b31069 Remove #define A2S() in PanelFactory.cxx
Change-Id: I650e5826d26b3a86dcddd517ae1f917d1edaedd1
Reviewed-on: https://gerrit.libreoffice.org/4108
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-31 07:26:01 +00:00
5b26722ace Remove RTL_CONSTASCII_(U)STRINGPARAM (sd)
Change-Id: I179208d5ffe94e95719c7c6d0ea4eb354141531a
Reviewed-on: https://gerrit.libreoffice.org/4107
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-05-31 07:25:26 +00:00
651d5fd580 drop stray SAL_DEBUG
Change-Id: I7e67c7dc06388d95d8143f5419116bae4deb5e4b
2013-05-30 17:20:45 +01:00
8079f40743 Make use of IsStarSymbol()
Change-Id: I7a2e3a6f11bbaaaff50e8163e4ce3e2583b1d03c
Reviewed-on: https://gerrit.libreoffice.org/4077
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-30 15:54:47 +00:00
66a10f2817 make impress start again without crashing
triggered by commit 0143805a565418d2a114c16b7eeba3b784176d9e

from Implementation::Update the mpViewShellManagerLock.reset is triggering
reentry to the same method, this time in the other branch and calling
mpViewShellManagerLock.release and delete pLock

it's all a bit appalling really

==15411== Invalid read of size 8
==15411==    at 0x214B62F4: boost::detail::shared_count::~shared_count() (shared_count.hpp:371)
==15411==    by 0x216C3EE3: boost::shared_ptr<sd::ViewShellManager>::~shared_ptr() (shared_ptr.hpp:328)
==15411==    by 0x21883EE8: sd::ViewShellManager::UpdateLock::~UpdateLock() (in /home/caolan/LibreOffice/core/solver/unxlngx6/lib/libsdlo.so)
==15411==    by 0x21972275: std::auto_ptr<sd::ViewShellManager::UpdateLock>::reset(sd::ViewShellManager::UpdateLock*) (auto_ptr.h:244)
==15411==    by 0x21969F20: sd::ToolBarManager::Implementation::Update(std::auto_ptr<(anonymous namespace)::LayouterLock>) (ToolBarManager.cxx:957)
==15411==    by 0x21969C46: sd::ToolBarManager::Implementation::UnlockUpdate() (ToolBarManager.cxx:884)
==15411==    by 0x21968053: sd::ToolBarManager::UnlockUpdate() (ToolBarManager.cxx:540)
==15411==    by 0x216E03A4: sd::ToolBarManager::UpdateLock::~UpdateLock() (in /home/caolan/LibreOffice/core/solver/unxlngx6/lib/libsdlo.so)
==15411==    by 0x216E051C: void boost::checked_delete<sd::ToolBarManager::UpdateLock>(sd::ToolBarManager::UpdateLock*) (checked_delete.hpp:34)
==15411==    by 0x216E0484: boost::scoped_ptr<sd::ToolBarManager::UpdateLock>::~scoped_ptr() (scoped_ptr.hpp:82)
==15411==    by 0x216E04FC: boost::scoped_ptr<sd::ToolBarManager::UpdateLock>::reset(sd::ToolBarManager::UpdateLock*) (scoped_ptr.hpp:88)
==15411==    by 0x216E01D6: sd::framework::ToolBarModule::HandleUpdateEnd() (ToolBarModule.cxx:203)
==15411==    by 0x216DFEA5: sd::framework::ToolBarModule::notifyConfigurationChange(com::sun::drawing::framework::ConfigurationChangeEvent const&) (ToolBarModule.cxx:125)
==15411==    by 0x2169D2F6: sd::framework::ConfigurationControllerBroadcaster::NotifyListeners(std::__debug::vector<sd::framework::ConfigurationControllerBroadcaster::ListenerDescriptor, std::allocator<sd::framework::ConfigurationControllerBroadcaster::ListenerDescriptor> > const&, com::sun::drawing::framework::ConfigurationChangeEvent const&) (ConfigurationControllerBroadcaster.cxx:104)
==15411==    by 0x2169D62C: sd::framework::ConfigurationControllerBroadcaster::NotifyListeners(com::sun::drawing::framework::ConfigurationChangeEvent const&) (ConfigurationControllerBroadcaster.cxx:132)
==15411==    by 0x216A9A49: sd::framework::ConfigurationUpdater::UpdateConfiguration() (ConfigurationUpdater.cxx:202)
==15411==    by 0x216A9692: sd::framework::ConfigurationUpdater::RequestUpdate(com::sun::uno::Reference<com::sun::drawing::framework::XConfiguration> const&) (ConfigurationUpdater.cxx:124)
==15411==    by 0x2168D0AE: sd::framework::ChangeRequestQueueProcessor::ProcessOneEvent() (ChangeRequestQueueProcessor.cxx:186)
==15411==    by 0x2168CE39: sd::framework::ChangeRequestQueueProcessor::ProcessEvent(void*) (ChangeRequestQueueProcessor.cxx:139)
==15411==    by 0x2168CDFA: sd::framework::ChangeRequestQueueProcessor::LinkStubProcessEvent(void*, void*) (ChangeRequestQueueProcessor.cxx:131)
==15411==    by 0x90D9283: Link::Call(void*) const (link.hxx:123)
==15411==    by 0x96A2CC3: ImplHandleUserEvent(ImplSVEvent*) (winproc.cxx:1986)
==15411==    by 0x96A422A: ImplWindowFrameProc(Window*, SalFrame*, unsigned short, void const*) (winproc.cxx:2601)
==15411==    by 0x96B28CA: SalFrame::CallCallback(unsigned short, void const*) const (in /home/caolan/LibreOffice/core/solver/unxlngx6/lib/libvcllo.so)
==15411==    by 0x96B2355: SalGenericDisplay::DispatchInternalEvent() (gendisp.cxx:91)
==15411==    by 0x16DB2069: GtkData::userEventFn(void*) (gtkdata.cxx:935)
==15411==    by 0x16DB20C4: call_userEventFn (gtkdata.cxx:945)
==15411==    by 0x3795647A54: g_main_context_dispatch (gmain.c:2715)
==15411==    by 0x3795647D87: g_main_context_iterate.isra.24 (gmain.c:3290)
==15411==    by 0x3795647E43: g_main_context_iteration (gmain.c:3351)
==15411==    by 0x16DB0F2D: GtkData::Yield(bool, bool) (gtkdata.cxx:574)
==15411==    by 0x16DB4ACD: GtkInstance::Yield(bool, bool) (gtkinst.cxx:404)
==15411==    by 0x90F2FEF: ImplYield(bool, bool) (svapp.cxx:422)
==15411==    by 0x90EF588: Application::Yield(bool) (svapp.cxx:456)
==15411==    by 0x90EF529: Application::Execute() (svapp.cxx:401)
==15411==    by 0x4EC7147: desktop::Desktop::Main() (app.cxx:1720)
==15411==    by 0x90FBA70: ImplSVMain() (svmain.cxx:162)
==15411==    by 0x90FBB59: SVMain() (svmain.cxx:198)
==15411==    by 0x4F098B5: soffice_main (sofficemain.cxx:82)
==15411==    by 0x400967: sal_main (main.c:48)
==15411==    by 0x400948: main (main.c:47)
==15411==  Address 0x1f2a66b8 is 8 bytes inside a block of size 16 free'd
==15411==    at 0x4A073CC: operator delete(void*) (vg_replace_malloc.c:480)
==15411==    by 0x21969E8B: sd::ToolBarManager::Implementation::Update(std::auto_ptr<(anonymous namespace)::LayouterLock>) (ToolBarManager.cxx:936)
==15411==    by 0x21969C46: sd::ToolBarManager::Implementation::UnlockUpdate() (ToolBarManager.cxx:884)
==15411==    by 0x21968053: sd::ToolBarManager::UnlockUpdate() (ToolBarManager.cxx:540)
==15411==    by 0x216E03A4: sd::ToolBarManager::UpdateLock::~UpdateLock() (in /home/caolan/LibreOffice/core/solver/unxlngx6/lib/libsdlo.so)
==15411==    by 0x21967962: sd::ToolBarManager::ResetToolBars(sd::ToolBarManager::ToolBarGroup) (ToolBarManager.cxx:410)
==15411==    by 0x219AC02F: sd::DrawViewShell::ChangeEditMode(EditMode, bool) (drviews1.cxx:363)
==15411==    by 0x219CC31E: sd::DrawViewShell::ReadFrameViewData(sd::FrameView*) (drviews5.cxx:295)
==15411==    by 0x21A45CBA: sd::ViewShell::Activate(unsigned char) (viewshel.cxx:350)
==15411==    by 0x219AB09E: sd::DrawViewShell::Activate(unsigned char) (drviews1.cxx:93)
==15411==    by 0x663DA02: SfxShell::DoActivate_Impl(SfxViewFrame*, unsigned char) (shell.cxx:571)
==15411==    by 0x69853B7: SfxDispatcher::FlushImpl() (in /home/caolan/LibreOffice/core/solver/unxlngx6/lib/libsfxlo.so)
==15411==    by 0x652A459: SfxDispatcher::Flush() (dispatch.hxx:237)
==15411==    by 0x6974199: SfxViewShell::AddSubShell(SfxShell&) (viewsh.cxx:1409)
==15411==    by 0x21986D9B: sd::ViewShellManager::Implementation::UpdateShellStack() (ViewShellManager.cxx:963)
==15411==    by 0x21986785: sd::ViewShellManager::Implementation::UnlockUpdate() (ViewShellManager.cxx:881)
==15411==    by 0x21983F27: sd::ViewShellManager::UnlockUpdate() (ViewShellManager.cxx:425)
==15411==    by 0x21883EDC: sd::ViewShellManager::UpdateLock::~UpdateLock() (in /home/caolan/LibreOffice/core/solver/unxlngx6/lib/libsdlo.so)
==15411==    by 0x21972275: std::auto_ptr<sd::ViewShellManager::UpdateLock>::reset(sd::ViewShellManager::UpdateLock*) (auto_ptr.h:244)
==15411==    by 0x21969F20: sd::ToolBarManager::Implementation::Update(std::auto_ptr<(anonymous namespace)::LayouterLock>) (ToolBarManager.cxx:957)
==15411==    by 0x21969C46: sd::ToolBarManager::Implementation::UnlockUpdate() (ToolBarManager.cxx:884)
==15411==    by 0x21968053: sd::ToolBarManager::UnlockUpdate() (ToolBarManager.cxx:540)
==15411==    by 0x216E03A4: sd::ToolBarManager::UpdateLock::~UpdateLock() (in /home/caolan/LibreOffice/core/solver/unxlngx6/lib/libsdlo.so)
==15411==    by 0x216E051C: void boost::checked_delete<sd::ToolBarManager::UpdateLock>(sd::ToolBarManager::UpdateLock*) (checked_delete.hpp:34)
==15411==    by 0x216E0484: boost::scoped_ptr<sd::ToolBarManager::UpdateLock>::~scoped_ptr() (scoped_ptr.hpp:82)
==15411==    by 0x216E04FC: boost::scoped_ptr<sd::ToolBarManager::UpdateLock>::reset(sd::ToolBarManager::UpdateLock*) (scoped_ptr.hpp:88)
==15411==    by 0x216E01D6: sd::framework::ToolBarModule::HandleUpdateEnd() (ToolBarModule.cxx:203)
==15411==    by 0x216DFEA5: sd::framework::ToolBarModule::notifyConfigurationChange(com::sun::drawing::framework::ConfigurationChangeEvent const&) (ToolBarModule.cxx:125)
==15411==    by 0x2169D2F6: sd::framework::ConfigurationControllerBroadcaster::NotifyListeners(std::__debug::vector<sd::framework::ConfigurationControllerBroadcaster::ListenerDescriptor, std::allocator<sd::framework::ConfigurationControllerBroadcaster::ListenerDescriptor> > const&, com::sun::drawing::framework::ConfigurationChangeEvent const&) (ConfigurationControllerBroadcaster.cxx:104)
==15411==    by 0x2169D62C: sd::framework::ConfigurationControllerBroadcaster::NotifyListeners(com::sun::drawing::framework::ConfigurationChangeEvent const&) (ConfigurationControllerBroadcaster.cxx:132)
==15411==    by 0x216A9A49: sd::framework::ConfigurationUpdater::UpdateConfiguration() (ConfigurationUpdater.cxx:202)
==15411==    by 0x216A9692: sd::framework::ConfigurationUpdater::RequestUpdate(com::sun::uno::Reference<com::sun::drawing::framework::XConfiguration> const&) (ConfigurationUpdater.cxx:124)
==15411==    by 0x2168D0AE: sd::framework::ChangeRequestQueueProcessor::ProcessOneEvent() (ChangeRequestQueueProcessor.cxx:186)
==15411==    by 0x2168CE39: sd::framework::ChangeRequestQueueProcessor::ProcessEvent(void*) (ChangeRequestQueueProcessor.cxx:139)
==15411==    by 0x2168CDFA: sd::framework::ChangeRequestQueueProcessor::LinkStubProcessEvent(void*, void*) (ChangeRequestQueueProcessor.cxx:131)
==15411==    by 0x90D9283: Link::Call(void*) const (link.hxx:123)
==15411==    by 0x96A2CC3: ImplHandleUserEvent(ImplSVEvent*) (winproc.cxx:1986)
==15411==    by 0x96A422A: ImplWindowFrameProc(Window*, SalFrame*, unsigned short, void const*) (winproc.cxx:2601)
==15411==    by 0x96B28CA: SalFrame::CallCallback(unsigned short, void const*) const (in /home/caolan/LibreOffice/core/solver/unxlngx6/lib/libvcllo.so)
==15411==    by 0x96B2355: SalGenericDisplay::DispatchInternalEvent() (gendisp.cxx:91)
==15411==    by 0x16DB2069: GtkData::userEventFn(void*) (gtkdata.cxx:935)
==15411==    by 0x16DB20C4: call_userEventFn (gtkdata.cxx:945)
==15411==    by 0x3795647A54: g_main_context_dispatch (gmain.c:2715)
==15411==    by 0x3795647D87: g_main_context_iterate.isra.24 (gmain.c:3290)
==15411==    by 0x3795647E43: g_main_context_iteration (gmain.c:3351)
==15411==    by 0x16DB0F2D: GtkData::Yield(bool, bool) (gtkdata.cxx:574)
==15411==    by 0x16DB4ACD: GtkInstance::Yield(bool, bool) (gtkinst.cxx:404)
==15411==    by 0x90F2FEF: ImplYield(bool, bool) (svapp.cxx:422)
==15411==    by 0x90EF588: Application::Yield(bool) (svapp.cxx:456)
==15411==    by 0x90EF529: Application::Execute() (svapp.cxx:401)

Change-Id: I0171225067dd0f7f8da1400beb9c97727a0c414f
2013-05-30 14:28:48 +01:00
0ff751efaa Resolves: #i122096# apply default bullet numbering rule on toggle on...
if the current numbering rule is not a bullet numbering rule.

- improve application default bullet numbering rule by add corresponding
  spacing to the first list level
- refactoring of code introduced for paragraph property panel to handle toggle
  and set of bullets and numbering

(cherry picked from commit 8c142809c7e16853d5634487cc9ed4e53caa3f91)

Conflicts:
	editeng/inc/editeng/outliner.hxx
	editeng/source/outliner/outlin2.cxx
	editeng/source/outliner/outliner.cxx
	editeng/source/outliner/outlvw.cxx
	sd/source/ui/func/fuolbull.cxx

Change-Id: If2807b2b81f8ade1e5b3282aa636cc2c0d8ea76a
2013-05-30 14:28:48 +01:00
4908bc6111 WaE: unreachable code
Change-Id: I86080d7849b58f39623c22494992b2d84d9ed6de
2013-05-29 13:26:55 +03:00
0143805a56 Resolves: #i122332# Don't change sidebar context when switching...
to other application window

(cherry picked from commit 604502e2a4b53f35aedbf0205598a9b691c0d532)

Conflicts:
	sd/source/ui/view/drviewsa.cxx
	sfx2/inc/sfx2/shell.hxx
	sfx2/source/control/shell.cxx
	svx/inc/svx/sidebar/SelectionAnalyzer.hxx
	svx/inc/svx/sidebar/SelectionChangeHandler.hxx

Change-Id: Id3c427e02714ef0d6686a78094e2f7f3b390a693
2013-05-28 17:03:22 +01:00
12a4200e8f Related: #i120498# Enhanced Undo/Redo and user experience...
when editing texts in graphic objects and/or tables

(cherry picked from commit a096725779b210c7a2706e72596fd7c80e049fdd)

Conflicts:
	editeng/inc/editeng/editeng.hxx
	editeng/inc/editeng/editund2.hxx
	editeng/inc/editeng/outliner.hxx
	editeng/source/editeng/editundo.cxx
	editeng/source/editeng/impedit.hxx
	editeng/source/outliner/outliner.cxx
	sd/source/core/undo/undomanager.cxx
	sd/source/ui/view/drviewse.cxx
	svx/Library_svxcore.mk
	svx/Package_inc.mk
	svx/inc/svx/svdedxv.hxx
	svx/source/svdraw/svdedxv.cxx

Change-Id: I40e3ef2dff681f9b6f2f6b5d35507071f8110533

Comment unused variable pNewEditUndoManager to silence the compiler

(cherry picked from commit 568655083af7830e7b9edf56ef862ddf9a99003b)

Change-Id: Ib7179ee6c34ce03a75942978831c3a55968f161f

Removed unused variable

(cherry picked from commit 0bbde4414badfd40234de4a4c9f750194f5d1d5e)

Change-Id: I39e7f25426e8e7d1367102d603b0f6c84d96622f
2013-05-28 15:55:23 +01:00
a0f85534a7 be case-insensitive for open/starsymbol comparison
Change-Id: I7a342c809a723f5f9c03271c6145d9c367cea6de
Reviewed-on: https://gerrit.libreoffice.org/4015
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-27 15:42:33 +00:00
c05c16635b Resolves: #i119753# fix audio video object lost when save .ppt file
Reported by: Li Feng Wang
Patch by: Ying Sun
Review by: Jian Yuan Li

(cherry picked from commit fbb7e8d8957877922f2f3a971e88685589f43939)

Conflicts:
	filter/inc/filter/msfilter/escherex.hxx
	filter/source/msfilter/escherex.cxx

Change-Id: I545a9e95c23cfba0cc918c9c4243528570734b2d
2013-05-27 10:23:07 +01:00
28f2af669f Resolves: #i119866# ppt default outline area bullet lost
Reported by: Li Feng Wang
Patch by: Ying Sun
Review by: Jian Yuan Li
(cherry picked from commit 8d04823a6038d32f6ac9821925616da7c5cc44c9)

Conflicts:
	filter/inc/filter/msfilter/svdfppt.hxx
	sd/source/filter/ppt/pptin.cxx

Change-Id: I222003a9e8d474ebc4dd9bc83cdcceded88a79f4
2013-05-26 15:14:07 +01:00
88b8bd644e Resolves: #i119874 Fixed text alignment in RTL layout
This reverts commit 979def88090633bfee0e0445b19999a1dac71ed4,
this time manually confirmed that the import layout does change, but that it
appears to be all desirable changes

Change-Id: Iee5e5ebd16989f65569b02f8b4f6570985157dfc
2013-05-25 12:11:51 +01:00
979def8809 Revert "Resolves: #i119874 Fixed text alignment in RTL layout."
This reverts commit 54c679f481647890f18151f4db05cfc3eff5d98b.

pushed that too soon before verifying if it does what it says
it does
2013-05-24 20:58:32 +01:00
a602bd1a69 Fix memory leak in DrawViewShell::GetAttrState().
DrawViewShell::GetAttrState() might create a temporary new SvxNumRule
object. Make sure it gets deleted when done.

Change-Id: I33ddd9df983193fe87dd076267043d202cdfc3d5
Reviewed-on: https://gerrit.libreoffice.org/4020
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-24 19:25:57 +00:00
54c679f481 Resolves: #i119874 Fixed text alignment in RTL layout.
Reported by: Li Feng Wang
Patch by: Jianyuan Li
Review by: Andre Fischer
(cherry picked from commit 57fdcdd79d1682ee7d5e88fbab3803631496afa2)

Conflicts:
	filter/inc/filter/msfilter/svdfppt.hxx
	filter/source/msfilter/svdfppt.cxx

Change-Id: I6adae6d40ff106caeea2b9310a57228257d79404

Related: #i119874# Missing part of patch.

Patch by: Jianyuan Li
(cherry picked from commit a7dc3e8b82c87b138c973f1434717d634ed8dc67)

Change-Id: Icff3e1167ab780612ad47775aaa39c9baa99c70f
2013-05-24 18:55:27 +01:00
6cf3094075 WaE: implicit conversion of NULL constant to nullptr_t
Change-Id: I2eefbca1ef986219f04504cba4ca09a22972e8cb
2013-05-24 12:40:46 +03:00
ab0360c309 Resolves: #i122247# Improved focus traveling in sidebar
(cherry picked from commit 4b0aafb8182b1f86b9edf947a4c62ff9948c6676)

Change-Id: Ieae8e44fe147309cc3ff447a6dbc375d1b2f34d0
2013-05-23 19:59:31 +01:00
adc8f8d3c2 Resolves: #i119951# Animation effect still exist after the shape grouped
(cherry picked from commit 164d3096008c529462adc06099795fe037c0d2a7)

Change-Id: I29956f976e7ac38a9d06d973bb2b3d2d06e1e341
2013-05-23 16:29:27 +01:00
f975e00501 Resolves: #i119988# crash when modify the animation effect's...
Text Animation properties to "As one object" and check "Animate attached shape"
option

(cherry picked from commit 897637ec83365f6e78c766fa3354de5d92aedfeb)

Change-Id: Ifbe4f6dbbaebde7afc2d800652dca731ba1c039f
2013-05-23 16:27:03 +01:00
febce41648 Resolves: #i119458# fix master's subtitle is modified when save .pot template
Reported by: liupingtan
Patch by: Ying Sun
Review by: Jian Yuan Li(cherry picked from commit a19ed1cba504e1531df54de9131960f9dc2c94f9)

Change-Id: Ied47d7f1421d3e27d8c7ad6529234f188af23787
2013-05-23 15:19:10 +01:00
5481d32d28 Secured SlideSorterModel::DeleteSlide for negative page indices
(cherry picked from commit f6bff98d6f13bf71fc4bce53c189598c002343c2)

Change-Id: I8c7ca633043ec224df4e4ab08c20d44f969a8059

Corrected signed/unsigned mix

(cherry picked from commit 20a3aee5359f143a6e4bf0bcb7fdef4675b3dd83)

Change-Id: I6f8ffc6f541c2a06c9e97ef06711f312adc438f2
2013-05-22 20:35:10 +01:00
0314533d3b Resolves: #i122354# Fix notification of slide change when...
caused by slide sorter key event

(cherry picked from commit a3d234a12b037327688d4743c82f76da732ec70e)

Change-Id: I6ac1667d10b5ecd8cc3f96b7657d7ffe49a7ac3f
2013-05-22 20:03:28 +01:00
94b868141e Resolves: #ii122335# Disabling the old task pane
(cherry picked from commit f19d927b19ec6263ffedc9a20585d0fa2e74fc54)

Change-Id: I084b132f3a2f2a103c16edab1de6196d3219b468
2013-05-22 19:10:41 +01:00
d19421db94 WaE: unsafe mix of type 'bool' and type 'sal_Bool'
Change-Id: Ief8e7c0fe01809b6059aa85a4cc8d2ba713f902a
2013-05-22 15:13:23 +03:00
6a043e9c0a Use the new type-checking Reference constructor to reduce code noise
Also create a Clang compiler plugin to detect such cases.

Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752
Reviewed-on: https://gerrit.libreoffice.org/4001
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-22 10:44:29 +00:00
38b7f28268 adapt code to use masterlayoutdlg .ui
Change-Id: I4fd8530d461701c736beaf15ca6cf66dfdf58f86
2013-05-22 09:19:33 +01:00