[Libreoffice-commits] core.git: sw/source

2015-11-11 Thread Tor Lillqvist
 sw/source/core/inc/rootfrm.hxx   |2 +-
 sw/source/core/layout/dumpfilter.cxx |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 5af873303aeb056dddf5604fc7d9054e470dc94c
Author: Tor Lillqvist 
Date:   Wed Nov 11 10:11:45 2015 +0200

Avoid a default parameter that was under-used anyway 
(loplugin:defaultparams)

Change-Id: I845e2ceab1cf35a021eea2363229c8f43362

diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx
index 562fff6..91a0919 100644
--- a/sw/source/core/inc/rootfrm.hxx
+++ b/sw/source/core/inc/rootfrm.hxx
@@ -254,7 +254,7 @@ public:
 static void AssertPageFlys( SwPageFrm * );
 
 /// Invalidate all Content, Size or PrtArea
-void InvalidateAllContent( sal_uInt8 nInvalidate = INV_SIZE );
+void InvalidateAllContent( sal_uInt8 nInvalidate );
 
 /**
  * Invalidate/re-calculate the position of all floating
diff --git a/sw/source/core/layout/dumpfilter.cxx 
b/sw/source/core/layout/dumpfilter.cxx
index be559b4..525117a 100644
--- a/sw/source/core/layout/dumpfilter.cxx
+++ b/sw/source/core/layout/dumpfilter.cxx
@@ -99,7 +99,7 @@ namespace sw
 pXDoc->GetDocShell()->GetWrtShell()->StartAction();
 Rectangle aRect( 0, 0, 26000, 21000 );
 pXDoc->GetDocShell()->SetVisArea( aRect );
-pLayout->InvalidateAllContent( );
+pLayout->InvalidateAllContent( INV_SIZE );
 pXDoc->GetDocShell()->GetWrtShell()->EndAction();
 
 // Dump the layout XML into the XOutputStream
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.0' - sd/source

2015-11-11 Thread Andrzej Hunt
 sd/source/ui/unoidl/unomodel.cxx |   11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

New commits:
commit 6b71b2a7bc0634811675f20bda02a59239d3b85b
Author: Andrzej Hunt 
Date:   Tue Nov 10 19:45:13 2015 +0100

sd lok: ccu#1295 force async image swap

This helps ensure that images are swapped in when we actually
render tiles. Previously we'd sometimes have placeholders
instead of the image, which results in either an invalidate
(+rerender of that tile) once the image is swapped in (for
normal tiles) or a permanently missing image in the preview tiles.

Change-Id: I1a16a913faf9fad20e40a5d1aad3de187038c7a2
Reviewed-on: https://gerrit.libreoffice.org/19890
Reviewed-by: Andrzej Hunt 
Tested-by: Andrzej Hunt 

diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index d2c6b5e..9475ff5 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2380,14 +2380,21 @@ void SdXImpressDocument::initializeForTiledRendering()
 
 mpDoc->setTiledRendering(true);
 
-// Disable map mode, so that it's possible to send mouse event coordinates
-// in logic units.
 if (DrawViewShell* pViewShell = GetViewShell())
 {
+// Disable map mode, so that it's possible to send mouse event 
coordinates
+// in logic units.
 if (sd::Window* pWindow = pViewShell->GetActiveWindow())
 {
 pWindow->EnableMapMode(false);
 }
+
+// Forces all images to be swapped in synchronously, this
+// ensures that images are available when paintTile is called
+// (whereas with async loading images start being loaded after
+//  we have painted the tile, resulting in an invalidate, followed
+//  by the tile being rerendered - which is wasteful and ugly).
+pViewShell->GetDrawView()->SetSwapAsynchron(false);
 }
 // tdf#93154: in tiled rendering LO doesn't always detect changes
 SvtMiscOptions aMiscOpt;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95488] CRASH: When open Report wizard Step 2

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95488

raal  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||r...@post.cz
 Resolution|--- |FIXED

--- Comment #6 from raal  ---
fixed, see comment 5

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95740] Copy/Paste page from wikipedia in Writer crashes LO and no images are shown

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95740

Rpnpif  changed:

   What|Removed |Added

Summary|Copy/Paste page from|Copy/Paste page from
   |wikipedia in Writer crashes |wikipedia in Writer crashes
   |LO and no images|LO and no images are shown

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95184] Online Update tab is missing in LibreOffice 5.x x86

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95184

--- Comment #8 from Pedro  ---
(In reply to V Stuart Foote from comment #4)
> With my usual "Online Update" optional components deselected -- Windows 7
> and 8.1 had no issue and showed the entry in the Tools -> Options menu and
> the Help menu.  But, for Vista sp2 on initial install it did not.  Hmmm.

So maybe the bug also occurs on Vista SP2 x86, since your procedure is always
the same?

> Don't know why the Online Update is missing on initial install, but if
> confirmed by other 32-bit XP sp3 users, this seems like a reasonable
> workaround.

Unfortunately that was not the problem. I also do a Custom Install but I leave
the Online Update checked (because I want the component to be installed).

I even tried running Appwiz.cpl, unchecking the Online Update, running
LibreOffice and then running Appwiz.cpl again and checking the Online Update
option hoping that this would force an install of the module. Unfortunately
there was no change.

I believe the priority on this bug should be raised.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: help request on proposed VCL code patch

2015-11-11 Thread Caolán McNamara
On Fri, 2015-10-30 at 11:31 +0100, Lionel Elie Mamane wrote:
> Hi,
> 
> There is patch attached to tdf#94069, nominally a rather annoying 
> Base UI bug (crash!), but which touches the VCL event loop (not 
> specific to Base) in a way that I don't understand the consequences 
> of

If I look at the behaviour in an older version of LibreOffice pre idle
tweaking then on moving that widget it "jumps" around a lot and is
shown rendering in the original location and then the new one and so
on. So it didn't really work right in the first place as far as I can
see.

Looking at the UnoControl PushButton etc which don't suffer from this
problem I see that when setDesignMode is called for everything else
they set the "real" widget to hidden (it gets drawn via a different
mechanism than the real Paint in this case) so when its moved around it
doesn't generate Invalidate events.

So, I think the right solution may be to make the GridControl behave
like the other UnoControl widgets in that design mode turns off
visibility. So I've done that as
 a7816853bad55ada597092c16ba9a0a761e067d0 and it seems to work well.

I don't really "use" these things day to day, so testing appreciated
for this and follow up 44daaebf835bb60fb7e442e928cd30191f15af52 to
tweak how the grid control is laid out, to ensure I haven't busted
anything horribly.

C.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 95645] Freeze on access on network-drive in Win7Pro

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95645

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #2 from Beluga  ---
You could try debugging:
https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: Help compiling an idl for an Add-in

2015-11-11 Thread Stephan Bergmann

On 11/11/2015 12:42 AM, lucass wrote:

To be sure i ran ./setsdkenv_unix --force-configure

My configurations:

  
  *
  * SDK environment is prepared for Linux
  *
  * SDK = /usr/lib/libreoffice/sdk
  * Office = /usr/lib/libreoffice
  * Make = /usr/bin
  * Zip = /usr/bin
  * cat = /bin
  * sed = /bin
  * C++ Compiler = /usr/bin
  * Java = /home/lucas/Programs/jdk1.8.0_25
  * SDK Output directory = /home/lucas/loOut/libreoffice5.0_sdk
  * Auto deployment = YES
  *
  

Still having the same compilation error.


It is very unlikely, even regarding in whatever way Ubuntu apparently 
broke its version of LO SDK, that the way the LO SDK's idlc picks a 
preprocessor is influenced by any settings done through the SDK's 
setsdkenv_unix.  (As such, my "that is maybe also the reason why the 
Ubuntu-provided LO SDK does not work for you" remark was not very 
useful, and is more than likely false.)


My understanding is that this is a bug in Ubuntu, as per Björn's "Ubuntu 
uses cpp as provided by gcc" (which I interpret to mean "Ubuntu uses cpp 
as provided by gcc as the preprocessor called from idlc").

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: filter/source

2015-11-11 Thread Xisco Fauli
 filter/source/svg/svgreader.cxx |6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit e44119c5803a807ce414d45fa060e329db1856e2
Author: Xisco Fauli 
Date:   Tue Nov 10 00:24:41 2015 +0100

SVG: tdf#95714 stop-color can be defined once too

Change-Id: I8a660281a255d28981e23d3cf30ff6c337f0424d
Reviewed-on: https://gerrit.libreoffice.org/19876
Tested-by: Jenkins 
Reviewed-by: Armin Le Grand 

diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index 04d8e01..4dfc072 100644
--- a/filter/source/svg/svgreader.cxx
+++ b/filter/source/svg/svgreader.cxx
@@ -513,8 +513,12 @@ struct AnnotatingVisitor
 return true; // cannot write style, svm import case
 
 // do we have a gradient fill? then write out gradient as well
-if( rState.meFillType == GRADIENT && 
rState.maFillGradient.maStops.size() > 1 )
+if( rState.meFillType == GRADIENT && 
rState.maFillGradient.maStops.size() > 0 )
 {
+// if only one stop-color is defined
+if( rState.maFillGradient.maStops.size() == 1 )
+
rState.maFillGradient.maStops.push_back(rState.maFillGradient.maStops[0]);
+
 // TODO(F3): ODF12 supposedly also groks 
svg:linear/radialGradient. But CL says: nope.
 xAttrs->AddAttribute( "draw:name", getStyleName("svggradient", 
rState.maFillGradient.mnId) );
 if( rState.maFillGradient.meType == Gradient::LINEAR )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95631] Performance issue of Libre Office in citrix xen desktop

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95631

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #1 from Beluga  ---
What is the performance issue exactly?
What is needed to observer the issue?
A particular document?
An empty document?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95481] FILEOPEN: LibO crashes loading .odg

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95481

--- Comment #16 from Commit Notification 
 ---
Armin Le Grand committed a patch related to this issue.
It has been pushed to "libreoffice-5-0":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=5a86268e5dabaa5c02cf912e3793ce0f44c03a0b=libreoffice-5-0

tdf#95481 catch out-of-range access in vcl bitmap

It will be available in 5.0.4.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 92220] Easy activation and deactivation of sidebar mode

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92220

--- Comment #6 from Yousuf (Jay) Philips  ---
Some information about sidebar mode was placed in the redmine forum.

https://redmine.documentfoundation.org/boards/1/topics/163

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 91609] CRASH when pasting several cropped images from Draw as GDI Metafile in Writer (LanguageTool extension)

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91609

Armin Le Grand  changed:

   What|Removed |Added

   Hardware|x86-64 (AMD64)  |Other

--- Comment #11 from Armin Le Grand  ---
@Beluga: How do I 'invent a new whiteboard' ...?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95741] New: Import values into a table by clipboard

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95741

Bug ID: 95741
   Summary: Import values into a table by clipboard
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: Other
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: jennes...@gmail.com

Created attachment 120475
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120475=edit
Example

In OO/LO there was never a possibility to import data-values create by a
different program into a LO-writer-table by clipboard. For me that's a big bug,
because other office-programs like MS-word have no problems with this
functionality.

Every day I use template-documents with large text and some tables. Then I
create data by an mathematical program that have to be imported into the tables
of the template. - And I use MS-Office to do that, because LO can't do it
without workarounds.

Of course I know the workarounds, but I hate them and I will never use them. Is
it an ideological problem or why is this problem never solved?

I think the principle is clear: For example I have 4 values, separated by a
tab-character or an different separator (you can ask for that) and for example
cr/lf for row change (may differ is no problem) in my clipboard. Now I go to my
table and mark 4 cells. Last I click 'paste'. Ready!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: sd/source

2015-11-11 Thread Stephan Bergmann
 sd/source/ui/animations/SlideTransitionPane.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1bea36ddadae18a66d2e6043681b5b6fa37e4da1
Author: Stephan Bergmann 
Date:   Wed Nov 11 10:57:33 2015 +0100

loplugin:override

Change-Id: Idc3530ee5afab268ce54a34d7258b2494525af74

diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx 
b/sd/source/ui/animations/SlideTransitionPane.cxx
index aa0e1a2..536df31 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -377,7 +377,7 @@ public:
 }
 virtual ~TransitionPane() { disposeOnce(); }
 
-virtual Size GetOptimalSize() const
+virtual Size GetOptimalSize() const override
 {
 return LogicToPixel(Size(70, 88), MAP_APPFONT);
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95630] Double-clicking a file to import into Calc opens import window on another workspace

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95630

Richard Wiseman  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #2 from Richard Wiseman  
---
I'm using Linux Mint 17.2 with LibreOffice 4.4.3.2 (the latest for Mint).

I'm assuming DE is Desktop Environment.  I'm using Cinnamon 2.6.13.

I checked again and it definitely is happening with this combination of
software.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93243] replace boost::bind with C++11 lambdas

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93243

--- Comment #14 from Commit Notification 
 ---
Fabio Buso committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=c21ddcdb30b8dd7be56176e00bc2d4780cb342e1

tdf#93243 replace boost::bind with c++11 lambdas in vcl/source tree

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: vcl/source

2015-11-11 Thread Fabio Buso
 vcl/source/control/combobox.cxx  |6 +++--
 vcl/source/control/lstbox.cxx|   12 +++
 vcl/source/filter/wmf/enhwmf.cxx |   42 +--
 vcl/source/filter/wmf/wmf.cxx|6 -
 4 files changed, 40 insertions(+), 26 deletions(-)

New commits:
commit c21ddcdb30b8dd7be56176e00bc2d4780cb342e1
Author: Fabio Buso 
Date:   Tue Nov 10 23:08:55 2015 +0100

tdf#93243 replace boost::bind with c++11 lambdas in vcl/source tree

Change-Id: Id12333cce50e14698e32195c49863d2e0cb448e4
Reviewed-on: https://gerrit.libreoffice.org/19893
Reviewed-by: Michael Stahl 
Tested-by: Jenkins 

diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index faa2dc7..94dc649 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -215,7 +215,8 @@ void ComboBox::ImplInit( vcl::Window* pParent, WinBits 
nStyle )
 
 m_pImpl->m_pBtn = VclPtr::Create( this, WB_NOLIGHTBORDER | 
WB_RECTSTYLE );
 ImplInitDropDownButton( m_pImpl->m_pBtn );
-m_pImpl->m_pBtn->buttonDownSignal.connect( boost::bind( 
::Impl::ImplClickButtonHandler, m_pImpl.get(), _1 ));
+m_pImpl->m_pBtn->buttonDownSignal.connect( [this]( ImplBtn* pImplBtn )
+   { 
this->m_pImpl->ImplClickButtonHandler( pImplBtn ); } );
 m_pImpl->m_pBtn->Show();
 
 nEditStyle |= WB_NOBORDER;
@@ -247,7 +248,8 @@ void ComboBox::ImplInit( vcl::Window* pParent, WinBits 
nStyle )
 m_pImpl->m_pImplLB->SetSelectHdl( LINK(m_pImpl.get(), ComboBox::Impl, 
ImplSelectHdl) );
 m_pImpl->m_pImplLB->SetCancelHdl( LINK(m_pImpl.get(), ComboBox::Impl, 
ImplCancelHdl) );
 m_pImpl->m_pImplLB->SetDoubleClickHdl( LINK(m_pImpl.get(), ComboBox::Impl, 
ImplDoubleClickHdl) );
-m_pImpl->m_pImplLB->userDrawSignal.connect( boost::bind( 
::Impl::ImplUserDrawHandler, m_pImpl.get(), _1 ) );
+m_pImpl->m_pImplLB->userDrawSignal.connect( [this]( UserDrawEvent* 
pUserDrawEvent )
+{ 
this->m_pImpl->ImplUserDrawHandler( pUserDrawEvent ); } );
 m_pImpl->m_pImplLB->SetSelectionChangedHdl( LINK(m_pImpl.get(), 
ComboBox::Impl, ImplSelectionChangedHdl) );
 m_pImpl->m_pImplLB->SetListItemSelectHdl( LINK(m_pImpl.get(), 
ComboBox::Impl, ImplListItemSelectHdl) );
 m_pImpl->m_pImplLB->Show();
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index 2858c08..4574618 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -137,15 +137,18 @@ void ListBox::ImplInit( vcl::Window* pParent, WinBits 
nStyle )
 mpFloatWin->GetDropTarget()->addDropTargetListener(xDrop);
 
 mpImplWin = VclPtr::Create( this, (nStyle & 
(WB_LEFT|WB_RIGHT|WB_CENTER))|WB_NOBORDER );
-mpImplWin->buttonDownSignal.connect( boost::bind( 
::ImplClickButtonHandler, this, _1 ));
-mpImplWin->userDrawSignal.connect( boost::bind( 
::ImplUserDrawHandler, this, _1 ) );
+mpImplWin->buttonDownSignal.connect( [this]( Control* pControl )
+ { this->ImplClickButtonHandler( 
pControl ); } );
+mpImplWin->userDrawSignal.connect( [this]( UserDrawEvent* 
pUserDrawEvent )
+   { this->ImplUserDrawHandler( 
pUserDrawEvent ); } );
 mpImplWin->Show();
 mpImplWin->GetDropTarget()->addDropTargetListener(xDrop);
 mpImplWin->SetEdgeBlending(GetEdgeBlending());
 
 mpBtn = VclPtr::Create( this, WB_NOLIGHTBORDER | WB_RECTSTYLE 
);
 ImplInitDropDownButton( mpBtn );
-mpBtn->buttonDownSignal.connect( boost::bind( 
::ImplClickButtonHandler, this, _1 ));
+mpBtn->buttonDownSignal.connect( [this]( Control* pControl )
+ { this->ImplClickButtonHandler( 
pControl ); } );
 mpBtn->Show();
 mpBtn->GetDropTarget()->addDropTargetListener(xDrop);
 }
@@ -158,7 +161,8 @@ void ListBox::ImplInit( vcl::Window* pParent, WinBits 
nStyle )
 mpImplLB->SetScrollHdl( LINK( this, ListBox, ImplScrollHdl ) );
 mpImplLB->SetCancelHdl( LINK( this, ListBox, ImplCancelHdl ) );
 mpImplLB->SetDoubleClickHdl( LINK( this, ListBox, ImplDoubleClickHdl ) );
-mpImplLB->userDrawSignal.connect( boost::bind( 
::ImplUserDrawHandler, this, _1 ) );
+mpImplLB->userDrawSignal.connect( [this]( UserDrawEvent* pUserDrawEvent )
+  { this->ImplUserDrawHandler( 
pUserDrawEvent ); } );
 mpImplLB->SetFocusHdl( LINK( this, ListBox, ImplFocusHdl ) );
 mpImplLB->SetListItemSelectHdl( LINK( this, ListBox, ImplListItemSelectHdl 
) );
 mpImplLB->SetPosPixel( Point() );
diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx
index eabb1fd..a55709b 100644
--- a/vcl/source/filter/wmf/enhwmf.cxx
+++ b/vcl/source/filter/wmf/enhwmf.cxx
@@ 

[Bug 93243] replace boost::bind with C++11 lambdas

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93243

--- Comment #14 from Commit Notification 
 ---
Fabio Buso committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=c21ddcdb30b8dd7be56176e00bc2d4780cb342e1

tdf#93243 replace boost::bind with c++11 lambdas in vcl/source tree

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 95742] New: PRINTING multiple tables in Calc

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95742

Bug ID: 95742
   Summary: PRINTING multiple tables in Calc
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: minor
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: libreoff...@mail.christosoft.de

The printing dialog in calc has an to print the "selected tables". But what
this does, it prints the _current_ table. There is no way to select multiple
tables that you want to print (other than printing all tables). You have to go
to each table and print it separately if you do not want to print all of them.

I would expect a list of tables with checkboxes where the current table is
preselected and I can select more tables.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: 3 commits - include/svx sd/source svx/source

2015-11-11 Thread Caolán McNamara
 include/svx/gridctrl.hxx   |4 -
 sd/source/ui/inc/ViewShellBase.hxx |1 
 svx/source/fmcomp/fmgridif.cxx |2 
 svx/source/fmcomp/gridctrl.cxx |   82 -
 4 files changed, 74 insertions(+), 15 deletions(-)

New commits:
commit 44daaebf835bb60fb7e442e928cd30191f15af52
Author: Caolán McNamara 
Date:   Wed Nov 11 10:43:45 2015 +

Resolves: tdf#95723 arrange GridControl buttons to be always visible

as long as there's space for them

Change-Id: Id96069b5c50483309611381afdf62bb0d30e9c38

diff --git a/include/svx/gridctrl.hxx b/include/svx/gridctrl.hxx
index b795a8e..5046f63 100644
--- a/include/svx/gridctrl.hxx
+++ b/include/svx/gridctrl.hxx
@@ -161,7 +161,6 @@ public:
 VclPtr  m_aNextBtn; // ImageButton for 'go to the 
next record'
 VclPtr  m_aLastBtn; // ImageButton for 'go to the 
last record'
 VclPtr  m_aNewBtn;  // ImageButton for 'go to a 
new record'
-sal_uInt16   m_nDefaultWidth;
 sal_Int32m_nCurrentPos;
 
 bool m_bPositioning; // protect PositionDataSource 
against recursion
@@ -191,7 +190,7 @@ public:
 void InvalidateState(sal_uInt16 nWhich) {SetState(nWhich);}
 void SetState(sal_uInt16 nWhich);
 bool GetState(sal_uInt16 nWhich) const;
-sal_uInt16 GetDefaultWidth() const {return m_nDefaultWidth;}
+sal_uInt16 ArrangeControls();
 
 protected:
 virtual void Resize() override;
@@ -200,7 +199,6 @@ public:
 
 private:
 DECL_LINK_TYPED(OnClick, Button*, void);
-sal_uInt16 ArrangeControls();
 
 void PositionDataSource(sal_Int32 nRecord);
 };
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index aaba9fd..5348090 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -343,7 +343,6 @@ DbGridControl::NavigationBar::NavigationBar(vcl::Window* 
pParent, WinBits nStyle
   ,m_aNextBtn(VclPtr::Create(this, 
WB_REPEAT|WB_RECTSTYLE|WB_NOPOINTERFOCUS))
   ,m_aLastBtn(VclPtr::Create(this, 
WB_RECTSTYLE|WB_NOPOINTERFOCUS))
   ,m_aNewBtn(VclPtr::Create(this, 
WB_RECTSTYLE|WB_NOPOINTERFOCUS))
-  ,m_nDefaultWidth(0)
   ,m_nCurrentPos(-1)
   ,m_bPositioning(false)
 {
@@ -372,8 +371,6 @@ DbGridControl::NavigationBar::NavigationBar(vcl::Window* 
pParent, WinBits nStyle
 m_aRecordOf->SetText(SVX_RESSTR(RID_STR_REC_FROM_TEXT));
 m_aRecordCount->SetText(OUString('?'));
 
-m_nDefaultWidth = ArrangeControls();
-
 m_aFirstBtn->Disable();
 m_aPrevBtn->Disable();
 m_aNextBtn->Disable();
@@ -437,8 +434,9 @@ sal_uInt16 DbGridControl::NavigationBar::ArrangeControls()
 // positioning of the controls
 // calculate base size
 Rectangle   
aRect(static_cast(GetParent())->GetControlArea());
-const long  nH  = aRect.GetSize().Height();
-SizeaBorder = LogicToPixel(Size(2, 2),MAP_APPFONT);
+long nH = aRect.GetSize().Height();
+long nW = GetParent()->GetOutputSizePixel().Width();
+Size aBorder = LogicToPixel(Size(2, 2),MAP_APPFONT);
 aBorder = Size(CalcZoom(aBorder.Width()), CalcZoom(aBorder.Height()));
 sal_uInt16  nX = 1;
 sal_uInt16  nY = 0;
@@ -470,7 +468,7 @@ sal_uInt16 DbGridControl::NavigationBar::ArrangeControls()
 OUString textPattern(hairSpace);
 textPattern += sevenDigits;
 textPattern += hairSpace;
-nTextWidth = m_aAbsolute->GetTextWidth( textPattern );
+nTextWidth = m_aAbsolute->GetTextWidth(textPattern);
 m_aAbsolute->SetPosPixel(Point(nX,nY));
 m_aAbsolute->SetSizePixel(Size(nTextWidth, nH));
 nX = sal::static_int_cast< sal_uInt16 >(nX + nTextWidth + aBorder.Width());
@@ -482,7 +480,7 @@ sal_uInt16 DbGridControl::NavigationBar::ArrangeControls()
 nX = sal::static_int_cast< sal_uInt16 >(nX + nTextWidth + aBorder.Width());
 
 textPattern = sevenDigits + " * (" + sevenDigits + ")";
-nTextWidth = m_aRecordCount->GetTextWidth( textPattern );
+nTextWidth = m_aRecordCount->GetTextWidth(textPattern);
 m_aRecordCount->SetPosPixel(Point(nX,nY));
 m_aRecordCount->SetSizePixel(Size(nTextWidth,nH));
 nX = sal::static_int_cast< sal_uInt16 >(nX + nTextWidth + aBorder.Width());
@@ -497,6 +495,68 @@ sal_uInt16 DbGridControl::NavigationBar::ArrangeControls()
 
 nX = sal::static_int_cast< sal_uInt16 >(aButtonPos.X() + 1);
 
+nW -= GetSettings().GetStyleSettings().GetScrollBarSize();
+
+if (nX > nW)
+{
+aButtonPos.X() = nW-nH;
+m_aNewBtn->SetPosPixel(aButtonPos);
+aButtonPos.X() -= nH;
+m_aLastBtn->SetPosPixel(aButtonPos);
+aButtonPos.X() -= nH;
+m_aNextBtn->SetPosPixel(aButtonPos);
+aButtonPos.X() -= nH;
+m_aPrevBtn->SetPosPixel(aButtonPos);
+aButtonPos.X() -= nH;
+

Base QA request

2015-11-11 Thread Lionel Elie Mamane
Hi,

In the context of tdf#94069 and tdf#95723, the author of the fixes
(not a Base user, thanks for fixing this!) requests checking that his
fix (which just came in, will be in nightlies tomorrow) doesn't break
anything else.

Any takers?

Thanks in advance.

On Wed, Nov 11, 2015 at 10:59:46AM +, Caolán McNamara wrote:
> On Fri, 2015-10-30 at 11:31 +0100, Lionel Elie Mamane wrote:
> > Hi,
> > 
> > There is patch attached to tdf#94069, nominally a rather annoying 
> > Base UI bug (crash!), but which touches the VCL event loop (not 
> > specific to Base) in a way that I don't understand the consequences 
> > of
> 
> If I look at the behaviour in an older version of LibreOffice pre idle
> tweaking then on moving that widget it "jumps" around a lot and is
> shown rendering in the original location and then the new one and so
> on. So it didn't really work right in the first place as far as I can
> see.
> 
> Looking at the UnoControl PushButton etc which don't suffer from this
> problem I see that when setDesignMode is called for everything else
> they set the "real" widget to hidden (it gets drawn via a different
> mechanism than the real Paint in this case) so when its moved around it
> doesn't generate Invalidate events.
> 
> So, I think the right solution may be to make the GridControl behave
> like the other UnoControl widgets in that design mode turns off
> visibility. So I've done that as
>  a7816853bad55ada597092c16ba9a0a761e067d0 and it seems to work well.
> 
> I don't really "use" these things day to day, so testing appreciated
> for this and follow up 44daaebf835bb60fb7e442e928cd30191f15af52 to
> tweak how the grid control is laid out, to ensure I haven't busted
> anything horribly.
> 
> C.
> 
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: CAD software integration

2015-11-11 Thread Jacobo Aragunde Pérez
Hi Gastón,

first of all, thanks for your interest in LibreOffice and in open source.

El 10/11/15 a las 19:42, Gastón J. Avila escribió:
> Hi all,
> 
> With a number of people we have been evaluating open-source CAD
> applications. We would like to know if you think it would be a good idea
> to start a working on adding to the set of applications offered by
> libreoffice, one CAD application.
> 

In LibreOffice community you can find around 80 different monthly code
contributors, and that's not even counting QA, localization or
documentation. Still, some pieces of our package are not as good as we
would like (I'm looking at you, Base).

You can see where my answer is going: the effort of developing and
maintaining a new piece in this puzzle is huge. Even more with something
so complex as CAD software. The existing community won't be able to
absorb that workload, even in case they/we wanted to.

> There are a number of opensource alternatives to products like autocad
> but none of them seem actively developed, so we would like to know to
> which extent it is possible to have a libreoffice application be
> developed outside the current choices of language+build system.
> 

It's really unfortunate there is a lack of FLOSS offer in such an
important area, but that shouldn't be put on the shoulders of the LO
community. Trying to gather a community around one of the existing tools
or a new one, ideally with some actors providing funding in the shape of
development time or money to hire it, should be a more successful (but
difficult and costly) approach.

Best regards,
-- 
Jacobo Aragunde
Software Engineer at Igalia
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: svx/inc

2015-11-11 Thread Noel Grandin
 svx/inc/pch/precompiled_svxcore.hxx |1 -
 1 file changed, 1 deletion(-)

New commits:
commit 12bf19b8e6cff6309f70675ebaaeb7b356b1967b
Author: Noel Grandin 
Date:   Wed Nov 11 11:36:12 2015 +0200

remove boost/ptr_vector from pch file

Change-Id: I040d1298780e8440a8a18f193d5f32cd0e3bcd4f

diff --git a/svx/inc/pch/precompiled_svxcore.hxx 
b/svx/inc/pch/precompiled_svxcore.hxx
index cf4860d..91e1a28 100644
--- a/svx/inc/pch/precompiled_svxcore.hxx
+++ b/svx/inc/pch/precompiled_svxcore.hxx
@@ -94,7 +94,6 @@
 #include 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95634] Inconsistent em-dash behavior

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95634

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #1 from Beluga  ---
Not reproduced.

Maybe try:
https://wiki.documentfoundation.org/UserProfile#Resolving_corruption_in_the_user_profile

You could also uninstall 4.4 and install the latest 5.0.3.

Are you using Windows, Linux or Mac?

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided further test results.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: UnoControls/inc UnoControls/source

2015-11-11 Thread Noel Grandin
 UnoControls/inc/basecontainercontrol.hxx   |  177 +
 UnoControls/inc/basecontrol.hxx|  404 +++--
 UnoControls/inc/multiplexer.hxx|  223 ++-
 UnoControls/source/base/basecontrol.cxx|2 
 UnoControls/source/controls/framecontrol.cxx   |2 
 UnoControls/source/controls/statusindicator.cxx|2 
 UnoControls/source/inc/OConnectionPointContainerHelper.hxx |  112 ---
 UnoControls/source/inc/OConnectionPointHelper.hxx  |  167 -
 UnoControls/source/inc/framecontrol.hxx|  108 +--
 UnoControls/source/inc/progressbar.hxx |  275 
 UnoControls/source/inc/progressmonitor.hxx |  211 +-
 UnoControls/source/inc/statusindicator.hxx |  166 +
 12 files changed, 411 insertions(+), 1438 deletions(-)

New commits:
commit c504477e7c3c7109fc4439988d8f3eb11a267c74
Author: Noel Grandin 
Date:   Wed Nov 11 11:19:43 2015 +0200

com::sun::star->css in UnoControls/

and remove some noise comments

Change-Id: I290ec365b58fa1b21838a6faf84006434c3e7bbd
Reviewed-on: https://gerrit.libreoffice.org/19904
Reviewed-by: Noel Grandin 
Tested-by: Noel Grandin 

diff --git a/UnoControls/inc/basecontainercontrol.hxx 
b/UnoControls/inc/basecontainercontrol.hxx
index c4f2295..e62b9af 100644
--- a/UnoControls/inc/basecontainercontrol.hxx
+++ b/UnoControls/inc/basecontainercontrol.hxx
@@ -42,28 +42,18 @@ namespace unocontrols{
 
 struct IMPL_ControlInfo
 {
-::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl > 
xControl;
-OUStringsName;
+css::uno::Reference< css::awt::XControl > xControl;
+OUString  sName;
 };
 
-class BaseContainerControl  : public ::com::sun::star::awt::XControlModel
-, public ::com::sun::star::awt::XControlContainer
+class BaseContainerControl  : public css::awt::XControlModel
+, public css::awt::XControlContainer
 , public BaseControl
 {
 
-//  public methods
-
 public:
 
-//  construct/destruct
-
-
/**___
-*/
-
-   BaseContainerControl( const ::com::sun::star::uno::Reference< 
::com::sun::star::uno::XComponentContext >& rxContext );
-
-
/**___
-*/
+   BaseContainerControl( const css::uno::Reference< 
css::uno::XComponentContext >& rxContext );
 
 virtual ~BaseContainerControl();
 
@@ -82,9 +72,9 @@ public:
 @onerrorA RuntimeException is thrown.
 */
 
-virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
-const ::com::sun::star::uno::Type& aType
-) throw( ::com::sun::star::uno::RuntimeException, std::exception ) 
override;
+virtual css::uno::Any SAL_CALL queryInterface(
+const css::uno::Type& aType
+) throw( css::uno::RuntimeException, std::exception ) override;
 
 //  XTypeProvider
 
@@ -96,181 +86,88 @@ public:
 @onerrorA RuntimeException is thrown.
 */
 
-virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > 
SAL_CALL getTypes()
-throw( ::com::sun::star::uno::RuntimeException, std::exception ) 
override;
+virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes()
+throw( css::uno::RuntimeException, std::exception ) override;
 
 //  XAggregation
 
-
/**___
-*/
-
-virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(
-const ::com::sun::star::uno::Type& aType
-) throw( ::com::sun::star::uno::RuntimeException, std::exception ) 
override;
+virtual css::uno::Any SAL_CALL queryAggregation(
+const css::uno::Type& aType
+) throw( css::uno::RuntimeException, std::exception ) override;
 
 //  XControl
 
-
/**___
-*/
-
 virtual void SAL_CALL createPeer(
-const ::com::sun::star::uno::Reference< 
::com::sun::star::awt::XToolkit >&  xToolkit ,
-const ::com::sun::star::uno::Reference< 
::com::sun::star::awt::XWindowPeer >&   xParent
-) throw( ::com::sun::star::uno::RuntimeException, std::exception ) 
override;
-
-
/**___
-*/
+const css::uno::Reference< css::awt::XToolkit >&  xToolkit ,
+const css::uno::Reference< css::awt::XWindowPeer >&   xParent
+) throw( 

[Libreoffice-bugs] [Bug 49853] EDITING: Attempting paste/select all into find bar with Cmd-V or Cmd-A on OS X pastes into document not into search bar

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=49853

--- Comment #109 from Takeshi Abe  ---
(In reply to Jan Holesovsky from comment #108)
> Can anybody with a mac add SAL_DEBUG to vcl::KeyCode::GetFunction() and see
> if it returns the PASTE there?
I have tried debugging by setting a breakpoint at vcl::KeyCode::GetFunction()
with lldb.
Then typing Cmd+V does not enter the path, i.e., it does not call the
KeyCode::GetFunction() at all while usual keys such as 'a' do.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 94843] OpenGL messes up interface with black flashing refreshes etc. on Windows with 5.1, while 5.0 is ok

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94843

Beluga  changed:

   What|Removed |Added

 CC||ba...@quipo.it

--- Comment #2 from Beluga  ---
*** Bug 95628 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95628] UI: dropdown menus completely black for a while at opening (OpenGL enabled)

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95628

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||todven...@suomi24.fi
 Resolution|--- |DUPLICATE

--- Comment #1 from Beluga  ---
You seem to have the same situation as me, so closing as dupe and confirming my
older report.

*** This bug has been marked as a duplicate of bug 94843 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95574] missing files on installation

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95574

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #2 from Beluga  ---
Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED
WORKSFORME, if the problem went away.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95633] Find and Replace ‘italic’ brings faulty results or hangs LO.

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95633

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
Version|5.0.3.2 release |3.5.0 release
 Ever confirmed|0   |1
   Severity|normal  |major

--- Comment #4 from Beluga  ---
Reproduced with the example file.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+
Build ID: 6da681442b17c723f9408a806e8d2367441ad65a
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-07_23:13:46
Locale: fi-FI (fi_FI)

3.5.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95537] consistency in use of CTL+CLICK and SHIFT+CLICK

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95537

Beluga  changed:

   What|Removed |Added

   Priority|medium  |low
 Status|UNCONFIRMED |NEW
Version|unspecified |Inherited From OOo
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1
 Whiteboard||needsDevEval
   Severity|normal  |trivial
 OS|Linux (All) |All

--- Comment #2 from Beluga  ---
(In reply to A (Andy) from comment #1)
> For me it works the same in WRITER, DRAW and IMPRESS with LO 5.0.3.2, Win
> 8.1.
> For which components does it work differently for you?

In Draw, Ctrl-click for me does not deselect objects. It also does not add to
the selection.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

3.5.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95507] no dashed rectangles over Start Center sidebar items when you click tab key (OpenGL enabled)

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95507

Beluga  changed:

   What|Removed |Added

 Blocks||93529

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95630] Double-clicking a file to import into Calc opens import window on another workspace

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95630

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #1 from Beluga  ---
Not reproduced. CSV import dialog opens in the workspace with no LibO yet open.

Which Linux distro and DE are you using? Which LibO version?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.

Ubuntu 15.10 64-bit 
Version: 5.0.2.2
Build ID: 00m0(Build:2)
Locale: en-US (en_US.UTF-8)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: ucbhelper/source

2015-11-11 Thread Noel Grandin
 ucbhelper/source/client/interceptedinteraction.cxx   |6 
 ucbhelper/source/provider/contenthelper.cxx  |   82 
+-
 ucbhelper/source/provider/contentidentifier.cxx  |2 
 ucbhelper/source/provider/contentinfo.cxx|   53 ++
 ucbhelper/source/provider/interactionrequest.cxx |8 
 ucbhelper/source/provider/propertyvalueset.cxx   |6 
 ucbhelper/source/provider/providerhelper.cxx |   33 +---
 ucbhelper/source/provider/resultset.cxx  |   27 +--
 ucbhelper/source/provider/resultsethelper.cxx|   56 +++---
 ucbhelper/source/provider/simplecertificatevalidationrequest.cxx |2 
 ucbhelper/source/provider/simplenameclashresolverequest.cxx  |   22 +-
 11 files changed, 141 insertions(+), 156 deletions(-)

New commits:
commit ee74decafeb524a014ec186a13015a8d539a763c
Author: Noel Grandin 
Date:   Wed Nov 11 10:14:35 2015 +0200

com::sun::star->css in ucbhelper/

Change-Id: I01e3046caefdcfbf630f4a794f12e8890be6db40
Reviewed-on: https://gerrit.libreoffice.org/19902
Reviewed-by: Noel Grandin 
Tested-by: Noel Grandin 

diff --git a/ucbhelper/source/client/interceptedinteraction.cxx 
b/ucbhelper/source/client/interceptedinteraction.cxx
index 99c0e25..8dff803 100644
--- a/ucbhelper/source/client/interceptedinteraction.cxx
+++ b/ucbhelper/source/client/interceptedinteraction.cxx
@@ -39,7 +39,7 @@ void InterceptedInteraction::setInterceptions(const 
::std::vector< InterceptedRe
 
 InterceptedInteraction::EInterceptionState InterceptedInteraction::intercepted(
 const InterceptedRequest&,
-const ::com::sun::star::uno::Reference< 
::com::sun::star::task::XInteractionRequest >&)
+const css::uno::Reference< css::task::XInteractionRequest >&)
 {
 // default behaviour! see impl_interceptRequest() for further information 
...
 return E_NOT_INTERCEPTED;
@@ -69,7 +69,7 @@ void SAL_CALL InterceptedInteraction::handle(const 
css::uno::Reference< css::tas
 impl_handleDefault(xRequest);
 }
 
-void InterceptedInteraction::impl_handleDefault(const 
::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest 
>& xRequest)
+void InterceptedInteraction::impl_handleDefault(const css::uno::Reference< 
css::task::XInteractionRequest >& xRequest)
 {
 EInterceptionState eState = impl_interceptRequest(xRequest);
 
@@ -98,7 +98,7 @@ void InterceptedInteraction::impl_handleDefault(const 
::com::sun::star::uno::Ref
 }
 }
 
-InterceptedInteraction::EInterceptionState 
InterceptedInteraction::impl_interceptRequest(const 
::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest 
>& xRequest)
+InterceptedInteraction::EInterceptionState 
InterceptedInteraction::impl_interceptRequest(const css::uno::Reference< 
css::task::XInteractionRequest >& xRequest)
 {
 css::uno::Any  
  aRequest   = xRequest->getRequest();
 css::uno::Type 
  aRequestType   = aRequest.getValueType();
diff --git a/ucbhelper/source/provider/contenthelper.cxx 
b/ucbhelper/source/provider/contenthelper.cxx
index 4e75bdc..f4126d4 100644
--- a/ucbhelper/source/provider/contenthelper.cxx
+++ b/ucbhelper/source/provider/contenthelper.cxx
@@ -124,7 +124,7 @@ ContentImplHelper::ContentImplHelper(
 const uno::Reference< uno::XComponentContext >& rxContext,
 const rtl::Reference< ContentProviderImplHelper >& rxProvider,
 const uno::Reference<
-com::sun::star::ucb::XContentIdentifier >& Identifier )
+css::ucb::XContentIdentifier >& Identifier )
 : m_pImpl( new ContentImplHelper_Impl ),
   m_xContext( rxContext ),
   m_xIdentifier( Identifier ),
@@ -162,14 +162,14 @@ void SAL_CALL ContentImplHelper::release()
 uno::Any SAL_CALL ContentImplHelper::queryInterface( const uno::Type & rType )
 throw( uno::RuntimeException, std::exception )
 {
-com::sun::star::uno::Any aRet = cppu::queryInterface( rType,
+css::uno::Any aRet = cppu::queryInterface( rType,
 static_cast< lang::XTypeProvider * >(this),
 static_cast< lang::XServiceInfo * >(this),
 static_cast< lang::XComponent * >(this),
-static_cast< com::sun::star::ucb::XContent * >(this),
-static_cast< com::sun::star::ucb::XCommandProcessor * >(this),
+static_cast< css::ucb::XContent * >(this),
+static_cast< css::ucb::XCommandProcessor * >(this),
 static_cast< beans::XPropertiesChangeNotifier * >(this),
-static_cast< com::sun::star::ucb::XCommandInfoChangeNotifier * 
>(this),
+static_cast< css::ucb::XCommandInfoChangeNotifier * >(this),
 static_cast< 

[Libreoffice-commits] core.git: desktop/source include/LibreOfficeKit include/vcl sc/inc sc/source sd/source sw/inc sw/source

2015-11-11 Thread Andrzej Hunt
 desktop/source/lib/init.cxx  |   69 +++
 include/LibreOfficeKit/LibreOfficeKitEnums.h |9 +++
 include/vcl/ITiledRenderable.hxx |3 +
 sc/inc/docuno.hxx|3 +
 sc/source/ui/unoobj/docuno.cxx   |   15 +
 sd/source/ui/inc/unomodel.hxx|2 
 sd/source/ui/unoidl/unomodel.cxx |   14 +
 sw/inc/unotxdoc.hxx  |2 
 sw/source/uibase/uno/unotxdoc.cxx|   11 
 9 files changed, 127 insertions(+), 1 deletion(-)

New commits:
commit 81b8ca683d44ba9c37f2dc8c74470a86ce70513f
Author: Andrzej Hunt 
Date:   Wed Nov 11 10:05:25 2015 +0100

Implement LOK_CALLBACK_MOUSE_POINTER

Change-Id: I8d1f63208baf277b0a9d15908f3ea7ff3b56bf10
Reviewed-on: https://gerrit.libreoffice.org/19883
Reviewed-by: Andrzej Hunt 
Tested-by: Andrzej Hunt 

diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 4523675..6d7d079 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -66,6 +66,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -174,6 +175,58 @@ static const ExtensionMap aDrawExtensionMap[] =
 { nullptr, nullptr }
 };
 
+/*
+ * Map directly to css cursor styles to avoid further mapping in the client.
+ * Gtk (via gdk_cursor_new_from_name) also supports the same css cursor styles.
+ *
+ * This was created partially with help of the mappings in gtkdata.cxx.
+ * The list is incomplete as some cursor style simply aren't supported
+ * by css, it might turn out to be worth mapping some of these missing cursors
+ * to available cursors?
+ */
+static const std::map  aPointerMap {
+{ PointerStyle::Arrow, "default" },
+// PointerStyle::Null ?
+{ PointerStyle::Wait, "wait" },
+{ PointerStyle::Text, "text" },
+{ PointerStyle::Help, "help" },
+{ PointerStyle::Cross, "crosshair" },
+{ PointerStyle::Move, "move" },
+{ PointerStyle::NSize, "n-resize" },
+{ PointerStyle::SSize, "s-resize" },
+{ PointerStyle::WSize, "w-resize" },
+{ PointerStyle::ESize, "e-resize" },
+{ PointerStyle::NWSize, "ne-resize" },
+{ PointerStyle::NESize, "ne-resize" },
+{ PointerStyle::SWSize, "sw-resize" },
+{ PointerStyle::SESize, "se-resize" },
+// WindowNSize through WindowSESize
+{ PointerStyle::HSplit, "col-resize" },
+{ PointerStyle::VSplit, "row-resize" },
+{ PointerStyle::HSizeBar, "col-resize" },
+{ PointerStyle::VSizeBar, "row-resize" },
+{ PointerStyle::Hand, "grab" },
+{ PointerStyle::RefHand, "grabbing" },
+// Pen, Magnify, Fill, Rotate
+// HShear, VShear
+// Mirror, Crook, Crop, MovePoint, MoveBezierWeight
+// MoveData
+{ PointerStyle::CopyData, "copy" },
+{ PointerStyle::LinkData, "alias" },
+// MoveDataLink, CopyDataLink
+//MoveFile, CopyFile, LinkFile
+// MoveFileLink, CopyFileLink, MoveFiless, CopyFiles
+{ PointerStyle::NotAllowed, "not-allowed" },
+// DrawLine through DrawCaption
+// Chart, Detective, PivotCol, PivotRow, PivotField, Chain, ChainNotAllowed
+// TimeEventMove, TimeEventSize
+// AutoScrollN through AutoScrollNSWE
+// Airbrush
+{ PointerStyle::TextVertical, "vertical-text" }
+// Pivot Delete, TabSelectS through TabSelectSW
+// PaintBrush, HideWhiteSpace, ShowWhiteSpace
+};
+
 static OUString getUString(const char* pString)
 {
 if (pString == nullptr)
@@ -1040,6 +1093,22 @@ static void doc_postMouseEvent(LibreOfficeKitDocument* 
pThis, int nType, int nX,
 }
 
 pDoc->postMouseEvent(nType, nX, nY, nCount, nButtons, nModifier);
+
+Pointer aPointer = pDoc->getPointer();
+
+// We don't map all possible pointers hence we need a default
+OString aPointerString = "default";
+auto aIt = aPointerMap.find(aPointer.GetStyle());
+if (aIt != aPointerMap.end())
+{
+aPointerString = aIt->second;
+}
+
+LibLODocument_Impl* pLib = static_cast(pThis);
+if (pLib->mpCallback && pLib->mpCallbackData)
+{
+pLib->mpCallback(LOK_CALLBACK_MOUSE_POINTER, aPointerString.getStr(), 
pLib->mpCallbackData);
+}
 }
 
 static void doc_setTextSelection(LibreOfficeKitDocument* pThis, int nType, int 
nX, int nY)
diff --git a/include/LibreOfficeKit/LibreOfficeKitEnums.h 
b/include/LibreOfficeKit/LibreOfficeKitEnums.h
index bf62675..37837ea 100644
--- a/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -202,7 +202,14 @@ typedef enum
  *
  * Rectangle format is the same as LOK_CALLBACK_INVALIDATE_TILES.
  */
-LOK_CALLBACK_CELL_CURSOR
+LOK_CALLBACK_CELL_CURSOR,
+
+/**
+ * The current mouse pointer style.
+ *
+ * Payload is a css mouse pointer style.
+ */
+LOK_CALLBACK_MOUSE_POINTER
 }
 

[Libreoffice-commits] core.git: libreofficekit/source

2015-11-11 Thread Andrzej Hunt
 libreofficekit/source/gtk/lokdocview.cxx |   11 +++
 1 file changed, 11 insertions(+)

New commits:
commit cc920bc27a0c37233d65ee1b20712e3ac6896c9a
Author: Andrzej Hunt 
Date:   Tue Nov 10 11:40:41 2015 +0100

lokdocview: support LOK_CALLBACK_MOUSE_POINTER

Change-Id: I2052e39fa2e25988a40f293389d5a183a625acd4
Reviewed-on: https://gerrit.libreoffice.org/19903
Reviewed-by: Andrzej Hunt 
Tested-by: Andrzej Hunt 

diff --git a/libreofficekit/source/gtk/lokdocview.cxx 
b/libreofficekit/source/gtk/lokdocview.cxx
index cff7889..550a922 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -282,6 +282,8 @@ callbackTypeToString (int nType)
 return "LOK_CALLBACK_CELL_CURSOR";
 case LOK_CALLBACK_HYPERLINK_CLICKED:
 return "LOK_CALLBACK_HYPERLINK_CLICKED";
+case LOK_CALLBACK_MOUSE_POINTER:
+return "LOK_CALLBACK_MOUSE_POINTER";
 case LOK_CALLBACK_STATE_CHANGED:
 return "LOK_CALLBACK_STATE_CHANGED";
 case LOK_CALLBACK_STATUS_INDICATOR_START:
@@ -736,6 +738,15 @@ callback (gpointer pData)
 priv->m_bCursorVisible = pCallback->m_aPayload == "true";
 }
 break;
+case LOK_CALLBACK_MOUSE_POINTER:
+{
+// The gtk docs claim that most css cursors should be supported, 
however
+// on my system at least this is not true and many cursors are 
unsupported.
+// In this case pCursor = null, which results in the default cursor 
being set.
+GdkCursor* pCursor = 
gdk_cursor_new_from_name(gtk_widget_get_display(GTK_WIDGET(pDocView)), 
pCallback->m_aPayload.c_str());
+gdk_window_set_cursor(gtk_widget_get_window(GTK_WIDGET(pDocView)), 
pCursor);
+}
+break;
 case LOK_CALLBACK_GRAPHIC_SELECTION:
 {
 if (pCallback->m_aPayload != "EMPTY")
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95740] New: Copy/Paste page from wikipedia in Writer crashes LO and no images

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95740

Bug ID: 95740
   Summary: Copy/Paste page from wikipedia in Writer crashes LO
and no images
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: rpn...@free.fr

To reproduce always this issue, do this steps:

1. Open in Firefox https://fr.wikipedia.org/wiki/D%C3%A9phasage
2. Select the text and the images from the title Déphasage to the "Cas
particuliers" paragraph.
3. Copy in the clipboard.
4. Paste in a blank page in Writer. The time to do this is too long, I think,
about one minute.
None images appears, only the frame and the hyperlink. Scrolling the page is
very slow.
5. Click-right on the image frame. Select compress then calculate.
LO crashes.

This bug is reproducible with other pages of wikipedia as
https://fr.wikipedia.org/wiki/Jules_Verne when only the beginning of the text
and the first image is copy/pasted.

I generated a backtrace following.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] online.git: 4 commits - loleaflet/src loolwsd/bundled loolwsd/LOKitClient.cpp loolwsd/LOOLSession.cpp

2015-11-11 Thread Andrzej Hunt
 loleaflet/src/layer/tile/TileLayer.js|   12 +--
 loleaflet/src/map/handler/Map.Mouse.js   |8 +++
 loolwsd/LOKitClient.cpp  |1 
 loolwsd/LOOLSession.cpp  |3 ++
 loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h |9 +++-
 5 files changed, 30 insertions(+), 3 deletions(-)

New commits:
commit 72c407e0ed5c3a9ffd2ae518f9f5d4407e1f5d61
Author: Andrzej Hunt 
Date:   Tue Nov 10 11:44:50 2015 +0100

loleaflet: support mouse cursor calback

diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index 8f446ea..eddb2bb 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -241,6 +241,9 @@ L.TileLayer = L.GridLayer.extend({
msg += 'height=' + this._docHeightTwips;
this._onInvalidateTilesMsg(msg);
}
+   else if (textMsg.startsWith('mousepointer:')) {
+   this._onMousePointerMsg(textMsg);
+   }
else if (textMsg.startsWith('partpagerectangles:')) {
this._onPartPageRectanglesMsg(textMsg);
}
@@ -376,6 +379,11 @@ L.TileLayer = L.GridLayer.extend({
this._onUpdateCellCursor();
},
 
+   _onMousePointerMsg: function (textMsg) {
+   textMsg = textMsg.substring(14); // "mousepointer: "
+   this._map._container.style.cursor = textMsg;
+   },
+
_onHyperlinkClickedMsg: function (textMsg) {
var link = textMsg.substring(18);
window.open(link, '_blank');
diff --git a/loleaflet/src/map/handler/Map.Mouse.js 
b/loleaflet/src/map/handler/Map.Mouse.js
index 6477be4..82c8c83 100644
--- a/loleaflet/src/map/handler/Map.Mouse.js
+++ b/loleaflet/src/map/handler/Map.Mouse.js
@@ -157,6 +157,14 @@ L.Map.Mouse = L.Handler.extend({
this._map.fire('handleautoscroll', { pos: 
e.containerPoint, map: this._map });
}
}
+   else if (e.type === 'mousemove' && !this._mouseDown) {
+   clearTimeout(this._mouseOverTimeout);
+   mousePos = docLayer._latLngToTwips(e.latlng);
+   this._mouseOverTimeout = setTimeout(L.bind(function() {
+   docLayer._postMouseEvent('move', mousePos.x, 
mousePos.y, 1, 0, modifier);
+ }, this),
+ 100);
+   }
else if (e.type === 'dblclick' || e.type === 'trplclick' || 
e.type === 'qdrplclick') {
mousePos = docLayer._latLngToTwips(e.latlng);
var clicks = {
commit 74edae8703d1e3533260009f931709f64f997574
Author: Andrzej Hunt 
Date:   Tue Nov 10 11:42:56 2015 +0100

loolwsd: support LOK_CALLBACK_MOUSE_POINTER

diff --git a/loolwsd/LOKitClient.cpp b/loolwsd/LOKitClient.cpp
index 481c3be..f72f8e6 100644
--- a/loolwsd/LOKitClient.cpp
+++ b/loolwsd/LOKitClient.cpp
@@ -53,6 +53,7 @@ extern "C"
 CASE(GRAPHIC_SELECTION);
 CASE(CELL_CURSOR);
 CASE(HYPERLINK_CLICKED);
+CASE(MOUSE_POINTER);
 CASE(STATE_CHANGED);
 CASE(STATUS_INDICATOR_START);
 CASE(STATUS_INDICATOR_SET_VALUE);
diff --git a/loolwsd/LOOLSession.cpp b/loolwsd/LOOLSession.cpp
index 7565470..1edd3fa 100644
--- a/loolwsd/LOOLSession.cpp
+++ b/loolwsd/LOOLSession.cpp
@@ -891,6 +891,9 @@ extern "C"
 case LOK_CALLBACK_CELL_CURSOR:
 srv->sendTextFrame("cellcursor: " + std::string(pPayload));
 break;
+case LOK_CALLBACK_MOUSE_POINTER:
+srv->sendTextFrame("mousepointer: " + std::string(pPayload));
+break;
 case LOK_CALLBACK_HYPERLINK_CLICKED:
 srv->sendTextFrame("hyperlinkclicked: " + std::string(pPayload));
 break;
commit 69325ce576cd04d4c1c950d42310fec4860d8317
Author: Andrzej Hunt 
Date:   Tue Nov 10 11:42:38 2015 +0100

loolwsd: update bundled headers to contain LOK_CALLBACK_MOUSE_POINTER

diff --git a/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h 
b/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h
index bf62675..37837ea 100644
--- a/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h
+++ b/loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKitEnums.h
@@ -202,7 +202,14 @@ typedef enum
  *
  * Rectangle format is the same as LOK_CALLBACK_INVALIDATE_TILES.
  */
-LOK_CALLBACK_CELL_CURSOR
+LOK_CALLBACK_CELL_CURSOR,
+
+/**
+ * The current mouse pointer style.
+ *
+ * Payload is a css mouse pointer style.
+ */
+LOK_CALLBACK_MOUSE_POINTER
 }
 LibreOfficeKitCallbackType;
 

[Libreoffice-bugs] [Bug 95740] Copy/Paste page from wikipedia in Writer crashes LO and no images

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95740

Rpnpif  changed:

   What|Removed |Added

 CC||rpn...@free.fr

--- Comment #1 from Rpnpif  ---
Created attachment 120474
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120474=edit
Backtrace

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 94605] LOOL UX: Cell highlight.

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94605

Jan Holesovsky  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Jan Holesovsky  ---
Fixed now, thank you Andrzej!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95639] Graphics corrupt when OpenGL enabled in Intel 530 Skylake GPU

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95639

Beluga  changed:

   What|Removed |Added

 Blocks||93529

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93529] Meta: VCL/OpenGL tracker bug for 5.0+

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93529

Beluga  changed:

   What|Removed |Added

 Depends on||95639

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95633] Find and Replace ‘italic’ brings faulty results or hangs LO.

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95633

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #3 from Beluga  ---
Created attachment 120477
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120477=edit
File to test with

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95640] FILEOPEN: Custom lists not imported from MSO XLSX files

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95640

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1
   Severity|normal  |enhancement

--- Comment #3 from Beluga  ---
Let's try enhancement to get this off unconfirmed status.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 70843] Other: XFilePicker's setDisplayDirectory and setDefaultName do not work

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=70843

Cor Nouws  changed:

   What|Removed |Added

  Component|Extensions  |BASIC

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95508] Impress images flicker, possibly related to editing/scrolling in notes view

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95508

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #6 from Beluga  ---
Not reproduced with attachment 120431. My Ubuntu is in a VM, though..

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Ubuntu 15.10 64-bit 
Version: 5.0.2.2
Build ID: 00m0(Build:2)
Locale: en-US (en_US.UTF-8)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 90507] Add option not to change formatting when applying autocorrect

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90507

Beluga  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=95
   ||433

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95530] Applying paragraph styles in tables in particular file makes LO crashing

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95530

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #7 from Beluga  ---
(In reply to Udo Forstmann from comment #5)
> Created attachment 120306 [details]
> backtrace LO 5.0.2.2 Ubuntu 14.04
> 
> This is my first backtrace, is it what you need?

The backtrace does not contain useful information. It just says "debugging
symbols not found".

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 94843] OpenGL messes up interface with black flashing refreshes etc. on Windows with 5.1, while 5.0 is ok

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94843

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #3 from Beluga  ---
New per tommy's report.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95731] Panel for Styles and formatting

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95731

Juraj Václavík  changed:

   What|Removed |Added

 Attachment #120449|0   |1
is obsolete||

--- Comment #9 from Juraj Václavík  ---
Created attachment 120476
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120476=edit
new concept - include buttons for adding table, graphic and frame

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-ux-advise] [Bug 95731] Panel for Styles and formatting

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95731

Juraj Václavík  changed:

   What|Removed |Added

 Attachment #120449|0   |1
is obsolete||

--- Comment #9 from Juraj Václavík  ---
Created attachment 120476
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120476=edit
new concept - include buttons for adding table, graphic and frame

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


Alex Fong license statement

2015-11-11 Thread Alex F
All of my past & future contributions to LibreOffice may be licensed under
the MPLv2/LGPLv3+ dual license.

Alex Fong



--
View this message in context: 
http://nabble.documentfoundation.org/Alex-Fong-license-statement-tp4165991.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 95623] FILEOPEN DOC Placement of images and frames wrong

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95623

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
Version|5.0.2.2 release |3.5.0 release
Summary|wrong formatting and|FILEOPEN DOC Placement of
   |performance issues  |images and frames wrong
 Ever confirmed|0   |1

--- Comment #1 from Beluga  ---
Confirmed with Word viewer.

I don't get the "not responding" thing.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+
Build ID: 6da681442b17c723f9408a806e8d2367441ad65a
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-07_23:13:46
Locale: fi-FI (fi_FI)

3.5.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: linguistic/source

2015-11-11 Thread Stephan Bergmann
 linguistic/source/hyphdsp.cxx  |4 
 linguistic/source/spelldta.cxx |1 +
 2 files changed, 5 insertions(+)

New commits:
commit a31b4f4c6eaa7a2e5e5986a4dee5acbd94ada8d1
Author: Stephan Bergmann 
Date:   Wed Nov 11 11:03:46 2015 +0100

Missing includes

Change-Id: I5cade452b4567886c5587be927af7caaa24d92b4

diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx
index 981e831..0ab8485 100644
--- a/linguistic/source/hyphdsp.cxx
+++ b/linguistic/source/hyphdsp.cxx
@@ -17,6 +17,10 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include 
+
+#include 
+
 #include 
 #include 
 #include 
diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx
index d066510..ffe8641 100644
--- a/linguistic/source/spelldta.cxx
+++ b/linguistic/source/spelldta.cxx
@@ -24,6 +24,7 @@
 #include 
 #include 
 
+#include 
 #include 
 
 #include "linguistic/spelldta.hxx"
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 91609] CRASH when pasting several cropped images from Draw as GDI Metafile in Writer (LanguageTool extension)

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91609

Beluga  changed:

   What|Removed |Added

 Whiteboard||needs32bit

--- Comment #12 from Beluga  ---
(In reply to Armin Le Grand from comment #11)
> @Beluga: How do I 'invent a new whiteboard' ...?

Well, I already did it for you :D
I can even add it and we will see, if it will catch on.

I just meant that the Whiteboard field accepts any words (different words must
be separated with spaces unlike Keywords).

Keywords, however, are pre-defined and you cannot invent them on a whim.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95592] Wrong calculations and results

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95592

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #3 from Beluga  ---
Should we close as dupe?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95587] position values do not follow base point setting

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95587

Beluga  changed:

   What|Removed |Added

   Keywords||regression
 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1
 Whiteboard||bibisectRequest
 OS|Windows (All)   |All
   Severity|major   |normal

--- Comment #4 from Beluga  ---
Repro.

Not major, though:
https://wiki.documentfoundation.org/images/0/06/Prioritizing_Bugs_Flowchart.jpg

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 6da681442b17c723f9408a806e8d2367441ad65a
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-07_23:13:46
Locale: fi-FI (fi_FI)

Ubuntu 15.10 64-bit 
Version: 5.1.0.0.alpha1+
Build ID: a148fe149c7af1995fd2aaab0a6e52242509b993
TinderBox: Linux-rpm_deb-x86_64@70-TDF-dbg, Branch:master, Time:
2015-11-08_23:54:51
Locale: en-US (en_US.UTF-8)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: sd/source

2015-11-11 Thread Stephan Bergmann
 sd/source/ui/animations/SlideTransitionPane.cxx |   34 
 sd/source/ui/animations/SlideTransitionPane.hxx |1 
 2 files changed, 17 insertions(+), 18 deletions(-)

New commits:
commit 3503873c7b54c013e7cfe8f73ce8485862348592
Author: Stephan Bergmann 
Date:   Wed Nov 11 11:00:23 2015 +0100

loplugin:staticmethods

Change-Id: I04b15122e73c527fbc695687079f6093ebcb5a5f

diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx 
b/sd/source/ui/animations/SlideTransitionPane.cxx
index 536df31..dc16de9 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -356,6 +356,23 @@ void lcl_FillSoundListBox(
  lcl_AppendSoundToListBox( rOutListBox ));
 }
 
+/// Returns an offset into the list of transition presets
+size_t getPresetOffset( const sd::impl::TransitionEffect  )
+{
+const sd::TransitionPresetList& rPresetList =
+sd::TransitionPreset::getTransitionPresetList();
+sd::TransitionPresetPtr pFound;
+
+size_t nIdx = 0;
+for( auto aIt: rPresetList )
+{
+if( rEffect.operator==( *aIt ))
+break;
+nIdx++;
+}
+return nIdx;
+}
+
 } // anonymous namespace
 
 namespace sd
@@ -997,23 +1014,6 @@ IMPL_LINK_NOARG_TYPED(SlideTransitionPane, 
TransitionSelected, ValueSet *, void)
 applyToSelectedPages();
 }
 
-/// Returns an offset into the list of transition presets
-size_t SlideTransitionPane::getPresetOffset( const impl::TransitionEffect 
 )
-{
-const sd::TransitionPresetList& rPresetList =
-sd::TransitionPreset::getTransitionPresetList();
-sd::TransitionPresetPtr pFound;
-
-size_t nIdx = 0;
-for( auto aIt: rPresetList )
-{
-if( rEffect.operator==( *aIt ))
-break;
-nIdx++;
-}
-return nIdx;
-}
-
 /// we use an integer offset into the list of transition presets
 void SlideTransitionPane::updateVariants( size_t nPresetOffset )
 {
diff --git a/sd/source/ui/animations/SlideTransitionPane.hxx 
b/sd/source/ui/animations/SlideTransitionPane.hxx
index c523447..6a45746 100644
--- a/sd/source/ui/animations/SlideTransitionPane.hxx
+++ b/sd/source/ui/animations/SlideTransitionPane.hxx
@@ -71,7 +71,6 @@ private:
 void updateControls();
 void updateControlState();
 void updateVariants(size_t nPresetOffset);
-size_t getPresetOffset(const impl::TransitionEffect );
 
 void updateSoundList();
 void openSoundFileDialog();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - oox/source sw/qa

2015-11-11 Thread Miklos Vajna
 oox/source/shape/ShapeContextHandler.cxx |2 +-
 sw/qa/core/data/ooxml/pass/tdf89088.docx |binary
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2c43db1ecfd9621f4eb6775a4f682d00987692f4
Author: Miklos Vajna 
Date:   Mon Nov 2 09:12:43 2015 +0100

tdf#89088 DOCX import: fix missing text due to throwing ShapeContextHandler

Regression from commit 866a4436d3cfac1ff42d7996250bf96fb703aeaa (oox:
handle textboxes in ShapeContextHandler::endFastElement(), 2014-06-04),
the problem was that code in ShapeContextHandler::endFastElement()
assumed that all the XShape implementation it may see provides a TextBox
UNO property (which is specific to Writer) of type bool, but this is not
true.

Fix the problem by assuming false in case it has an other type.

Testcase can be a simple "does it load" one, as in the meantime
exceptions such as trying to read a bool from an uno::Any make the DOCX
XFilter::filter() implementation return false, unlike in the originally
reported LibreOffice 4.4 version that just silently discarded the
remaining content of the document.

Change-Id: I81781a7ec28d085ceee50d386b8eda023f83c29f
(cherry picked from commit 4cae3689d4d78fabe6529c9df03c438b1e9d1611)
Reviewed-on: https://gerrit.libreoffice.org/19905
Reviewed-by: Michael Stahl 
Tested-by: Michael Stahl 

diff --git a/oox/source/shape/ShapeContextHandler.cxx 
b/oox/source/shape/ShapeContextHandler.cxx
index 39cc970..b69fc8c 100644
--- a/oox/source/shape/ShapeContextHandler.cxx
+++ b/oox/source/shape/ShapeContextHandler.cxx
@@ -356,7 +356,7 @@ void SAL_CALL 
ShapeContextHandler::endFastElement(::sal_Int32 Element)
 {
 uno::Reference xPropertySet(mxSavedShape, 
uno::UNO_QUERY);
 if (xPropertySet.is())
-bTextBox = 
xPropertySet->getPropertyValue("TextBox").get();
+xPropertySet->getPropertyValue("TextBox") >>= bTextBox;
 }
 if (bTextFrame || bTextBox)
 mxWpsContext.clear();
diff --git a/sw/qa/core/data/ooxml/pass/tdf89088.docx 
b/sw/qa/core/data/ooxml/pass/tdf89088.docx
new file mode 100644
index 000..fc67185
Binary files /dev/null and b/sw/qa/core/data/ooxml/pass/tdf89088.docx differ
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93399] UI - Context menus hang while spell check works

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93399

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #5 from Beluga  ---
(In reply to Larry from comment #2)
> Created attachment 120335 [details]
> Test file
> 
> Here's the test case requested by raal.  It's basically a 4000x6 cell data
> set, with a bunch of character strings that the spell checker wants to flag,
> preceded by a column of numbers from 1 to 4000.  The whole thing is auto
> filtered.  To reproduce the bug, filter the 1st column to only show 2 or 3
> rows.  Then, try to open the right-click menu.  You should find that the
> menu doesn't appear until the red squiggly lines show up from the spell
> checker.

Not reproduced.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Ubuntu 15.10 64-bit 
Version: 5.0.2.2
Build ID: 00m0(Build:2)
Locale: en-US (en_US.UTF-8)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: sfx2/source

2015-11-11 Thread Caolán McNamara
 sfx2/source/appl/appreg.cxx  |6 +++---
 sfx2/source/appl/module.cxx  |6 +++---
 sfx2/source/control/dispatch.cxx |2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

New commits:
commit 266abd09fd2d449351e356bc48f65c725b121247
Author: Caolán McNamara 
Date:   Wed Nov 11 11:25:23 2015 +

fix sfx2 build

Change-Id: Iff8317bc59b033b5765d2ba3356f8185cc40a6b3

diff --git a/sfx2/source/appl/appreg.cxx b/sfx2/source/appl/appreg.cxx
index 8ba3ca2..215478f 100644
--- a/sfx2/source/appl/appreg.cxx
+++ b/sfx2/source/appl/appreg.cxx
@@ -78,7 +78,7 @@ void SfxApplication::RegisterToolBoxControl_Impl( SfxModule 
*pMod, SfxTbxCtrlFac
 for ( size_t n=0; npTbxCtrlFac->size(); n++ )
 {
 SfxTbxCtrlFactory *pF = &(*pAppData_Impl->pTbxCtrlFac)[n];
-if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId &&
+if ( pF->nTypeId == pFact->nTypeId &&
 (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) )
 {
 SAL_INFO("sfx", "TbxController registration is not clearly 
defined!");
@@ -103,7 +103,7 @@ void SfxApplication::RegisterStatusBarControl_Impl( 
SfxModule *pMod, SfxStbCtrlF
 for ( size_t n=0; npStbCtrlFac->size(); n++ )
 {
 SfxStbCtrlFactory *pF = &(*pAppData_Impl->pStbCtrlFac)[n];
-if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId &&
+if ( pF->nTypeId == pFact->nTypeId &&
 (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) )
 {
 SAL_INFO("sfx", "StbController registration is not clearly 
defined!");
@@ -128,7 +128,7 @@ void SfxApplication::RegisterMenuControl_Impl( SfxModule 
*pMod, SfxMenuCtrlFacto
 for ( size_t n=0; npMenuCtrlFac->size(); n++ )
 {
 SfxMenuCtrlFactory *pF = &(*pAppData_Impl->pMenuCtrlFac)[n];
-if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId &&
+if ( pF->nTypeId == pFact->nTypeId &&
 (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) )
 {
 SAL_INFO("sfx", "MenuController register is not clearly defined!");
diff --git a/sfx2/source/appl/module.cxx b/sfx2/source/appl/module.cxx
index 99e7023..6de9ecb 100644
--- a/sfx2/source/appl/module.cxx
+++ b/sfx2/source/appl/module.cxx
@@ -242,7 +242,7 @@ void SfxModule::RegisterToolBoxControl( SfxTbxCtrlFactory 
*pFact )
 for ( size_t n=0; npTbxCtrlFac->size(); n++ )
 {
 SfxTbxCtrlFactory *pF = &(*pImpl->pTbxCtrlFac)[n];
-if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId &&
+if ( pF->nTypeId == pFact->nTypeId &&
 (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) )
 {
 SAL_INFO("sfx2.appl", "TbxController-Registering is not clearly 
defined!");
@@ -264,7 +264,7 @@ void SfxModule::RegisterStatusBarControl( SfxStbCtrlFactory 
*pFact )
 for ( size_t n=0; npStbCtrlFac->size(); n++ )
 {
 SfxStbCtrlFactory *pF = &(*pImpl->pStbCtrlFac)[n];
-if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId &&
+if ( pF->nTypeId == pFact->nTypeId &&
 (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) )
 {
 SAL_INFO("sfx2.appl", "TbxController-Registering is not clearly 
defined!");
@@ -286,7 +286,7 @@ void SfxModule::RegisterMenuControl( SfxMenuCtrlFactory 
*pFact )
 for ( size_t n=0; npMenuCtrlFac->size(); n++ )
 {
 SfxMenuCtrlFactory *pF = &(*pImpl->pMenuCtrlFac)[n];
-if ( pF->nTypeId && pF->nTypeId == pFact->nTypeId &&
+if ( pF->nTypeId == pFact->nTypeId &&
 (pF->nSlotId == pFact->nSlotId || pF->nSlotId == 0) )
 {
 SAL_INFO("sfx2.appl", "MenuController-Registering is not clearly 
defined!");
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index d61b0cd..8ec2ce8 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -1830,7 +1830,7 @@ bool SfxDispatcher::_FillState(const SfxSlotServer& rSvr, 
SfxItemSet& rState,
 {
 sal_uInt16 nSlotId = 
rState.GetPool()->GetSlotId(pItem->Which());
 SAL_INFO_IF(
-!pItem->IsA(pIF->GetSlot(nSlotId)->GetType()->Type()),
+typeid(pItem) != 
*pIF->GetSlot(nSlotId)->GetType()->Type(),
 "sfx.control",
 "item-type unequal to IDL (=> no BASIC) with SID: "
 << nSlotId << " in " << pIF->GetClassName());
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95743] New: printing two pages on one sheet does not working correctly

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95743

Bug ID: 95743
   Summary: printing two pages on one sheet does not working
correctly
   Product: LibreOffice
   Version: 5.0.2.2 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: minor
  Priority: medium
 Component: Printing and PDF export
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: lera.goncha...@gmail.com

Created attachment 120478
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120478=edit
a sample for testing

1. Open the file with an example
2. Select the main menu File -> Print...
3. Go to the Page Layout tab
4. Select 2 in the Pages per sheet list

Horizontal page in the example does not rotate vertically when there is viewing
or printing on a printer or in a file

The Page needs to rotate vertically that the scale does not decrease
excessively


tested on operating systems:
Kubuntu 14.04.3
FreeBSD 10.2

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 93529] Meta: VCL/OpenGL tracker bug for 5.0+

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93529

Beluga  changed:

   What|Removed |Added

 Depends on||95507

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95507] no dashed rectangles over Start Center sidebar items when you click tab key (OpenGL enabled)

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95507

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1
   Severity|normal  |minor

--- Comment #6 from Beluga  ---
Repro.

More testing encouraged.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 6da681442b17c723f9408a806e8d2367441ad65a
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-07_23:13:46
Locale: fi-FI (fi_FI)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95500] Improve editing of Master slides

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95500

Beluga  changed:

   What|Removed |Added

 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org,
   ||todven...@suomi24.fi
  Component|Impress |ux-advise
Summary|Enhance Masks edition   |Improve editing of Master
   ||slides
   Severity|normal  |enhancement

--- Comment #5 from Beluga  ---
UX: what do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-ux-advise] [Bug 95500] Improve editing of Master slides

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95500

Beluga  changed:

   What|Removed |Added

 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org,
   ||todven...@suomi24.fi
  Component|Impress |ux-advise
Summary|Enhance Masks edition   |Improve editing of Master
   ||slides
   Severity|normal  |enhancement

--- Comment #5 from Beluga  ---
UX: what do you think?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-bugs] [Bug 95552] Imagemap links dont longer work with ctrl+click

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95552

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi
   Severity|normal  |minor

--- Comment #4 from Beluga  ---
No repro. Pressing ctrl and hovering turns the pointer into hand and I am able
to click.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+
Build ID: 6da681442b17c723f9408a806e8d2367441ad65a
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-07_23:13:46
Locale: fi-FI (fi_FI)

Ubuntu 15.10 64-bit 
Version: 5.1.0.0.alpha1+
Build ID: a148fe149c7af1995fd2aaab0a6e52242509b993
TinderBox: Linux-rpm_deb-x86_64@70-TDF-dbg, Branch:master, Time:
2015-11-08_23:54:51
Locale: en-US (en_US.UTF-8)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95662] XHTML-Export: Export to html produces wrong decimalseparator together with bullets

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95662

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1
   Severity|normal  |minor

--- Comment #6 from Beluga  ---
I get
min-width:NaNcm;

Setting to NEW.

Ubuntu 15.10 64-bit 
Version: 5.0.2.2
Build ID: 00m0(Build:2)
Locale: en-US (en_US.UTF-8)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-ux-advise] [Bug 93837] Allow customization of the Context Menus

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93837

Maxim Monastirsky  changed:

   What|Removed |Added

  Component|ux-advise   |UI

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-bugs] [Bug 95574] missing files on installation

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95574

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Beluga  ---
Ok, let's set this to INVALID.
Maybe next time you can try uninstalling first and then doing a complete
reinstall for 5.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-ux-advise] [Bug 93837] Allow customization of the Context Menus

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93837

--- Comment #15 from Maxim Monastirsky  ---
I forgot to put the bug ID in some commits:

http://cgit.freedesktop.org/libreoffice/core/commit/?id=0c6305a01f13f5c09dc4c000d5b250319fffe0e4

http://cgit.freedesktop.org/libreoffice/core/commit/?id=72e426c4c04051320f6f43542911a3e63f36bcfa

More to come.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-bugs] [Bug 95676] When creating labels in Hebrew -- right to left -- the first letters on right are cut off

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95676

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #1 from Beluga  ---
Created attachment 120479
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120479=edit
PDF export of the example file

I'm not seeing any cut off letters.

Win 7 Pro 64-bit, Version: 5.0.3.2 (x64)
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale: fi-FI (fi_FI)

Version: 5.1.0.0.alpha1+
Build ID: 6da681442b17c723f9408a806e8d2367441ad65a
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-07_23:13:46
Locale: fi-FI (fi_FI)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: wizards/source

2015-11-11 Thread Jean-Pierre Ledure
 wizards/source/access2base/Database.xba|  404 +
 wizards/source/access2base/DoCmd.xba   |   38 ++
 wizards/source/access2base/Recordset.xba   |6 
 wizards/source/access2base/Utils.xba   |   58 +++-
 wizards/source/access2base/acConstants.xba |   11 
 5 files changed, 502 insertions(+), 15 deletions(-)

New commits:
commit 32686b0d0a15a653f831d0645e5b7c1145860570
Author: Jean-Pierre Ledure 
Date:   Wed Nov 11 14:37:29 2015 +0100

Access2Base - Implements OutputTo table/query in HTML format

Functions to export database data contents into an HTML table
with - template file
 - use of classes for CSS styling

Change-Id: Ib62b103445ba47e2fe77c45109a62b2e49fcbbc5

diff --git a/wizards/source/access2base/Database.xba 
b/wizards/source/access2base/Database.xba
index a8fd3e2..4d605d0 100644
--- a/wizards/source/access2base/Database.xba
+++ b/wizards/source/access2base/Database.xba
@@ -582,6 +582,104 @@ Error_NotApplicable:
 End Function OpenSQL V1.1.0
 
 REM 
---
+Public Function OutputTo(ByVal pvObjectType As Variant _
+   , ByVal Optional 
pvObjectName As Variant _
+   , ByVal Optional 
pvOutputFormat As Variant _
+   , ByVal Optional 
pvOutputFile As Variant _
+   , ByVal Optional 
pvAutoStart As Variant _
+   , ByVal Optional 
pvTemplateFile As Variant _
+   , ByVal Optional 
pvEncoding As Variant _
+   , ByVal Optional 
pvQuality As Variant _
+   ) As Boolean
+Supported:   acFormatHTML for tables and queries
+
+   If _ErrorHandler() Then On Local Error Goto Error_Function
+Const cstThisSub = Database.OutputTo
+   Utils._SetCalledSub(cstThisSub)
+
+   OutputTo = False
+   
+   If Not Utils._CheckArgument(pvObjectType, 1, Utils._AddNumeric(), 
Array(acOutputTable, acOutputQuery)) Then Goto Exit_Function
+   If IsMissing(pvObjectName) Then Call _TraceArguments()
+   If Not Utils._CheckArgument(pvObjectName, 2, vbString) Then Goto 
Exit_Function
+   If IsMissing(pvOutputFormat) Then pvOutputFormat = 
+   If Not Utils._CheckArgument(pvOutputFormat, 3, vbString) Then Goto 
Exit_Function
+   If pvOutputFormat   Then
+   If Not Utils._CheckArgument(UCase(pvOutputFormat), 3, vbString, 
Array(UCase(acFormatHTML), HTML, )) _
+   Then Goto Exit_Function 
  A 2nd time to allow case unsensitivity
+   End If
+   If IsMissing(pvOutputFile) Then pvOutputFile = 
+   If Not Utils._CheckArgument(pvOutputFile, 4, vbString) Then Goto 
Exit_Function
+   If IsMissing(pvAutoStart) Then pvAutoStart = False
+   If Not Utils._CheckArgument(pvAutoStart, 5, vbBoolean) Then Goto 
Exit_Function
+   If IsMissing(pvTemplateFile) Then pvTemplateFile = 
+   If Not Utils._CheckArgument(pvTemplateFile, 6, vbString) Then Goto 
Exit_Function
+   If IsMissing(pvEncoding) Then pvEncoding = 0
+   If Not Utils._CheckArgument(pvEncoding, 7, _AddNumeric(), Array(0, 
acUTF8Encoding)) Then Goto Exit_Function
+   If IsMissing(pvQuality) Then pvQuality = acExportQualityPrint
+   If Not Utils._CheckArgument(pvQuality, 7, _AddNumeric(), 
Array(acExportQualityPrint, acExportQualityScreen)) Then Goto Exit_Function
+
+Dim sOutputFile As String, bFound As Boolean, i As Integer, iCount As Integer, 
oTable As Object
+Dim sOutputFormat As String, iTemplate As Integer, iOutputFile As Integer, 
bOutput As Boolean
+   Find applicable table or query
+   bFound = False
+   If pvObjectType = acOutputTable Then iCount = TableDefs.Count Else 
iCount = Querydefs.Count
+   For i = 0 To iCount
+   If pvObjectType = acOutputTable Then Set oTable = TableDefs(i) 
Else Set oTable = Querydefs(i)
+   If UCase(oTable._Name) = UCase(pvObjectName) Then
+   bFound = True
+   Exit For
+   End If
+   Next i
+   If Not bFound Then Goto Error_NotFound
+   
+   Determine format and parameters
+   If pvOutputFormat =  Then
+   sOutputFormat = _PromptFormat()   Prompt 
user for format
+   If sOutputFormat =  Then Goto Exit_Function
+   If Not Utils._CheckArgument(UCase(pvOutputFormat), 3, vbString, 
Array(UCase(acFormatHTML), HTML, )) _
+   Then Goto Exit_Function   
Today only value, later maybe Calc ?
+ 

[Libreoffice-bugs] [Bug 95630] Double-clicking a file to import into Calc opens import window on another workspace

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95630

--- Comment #5 from Richard Wiseman  
---
Thanks for the suggestion about LibreOffice 5.  I don't usually install
software this way and I'm struggling to work out how to tell it to install v5.

I've followed the instructions on adding the ppa:libreoffice/libreoffice-5-0
PPA but now it's there I don't know how to specifically search for and install
v5.  I do "apt-cache search libreoffice" and get loads back but without version
numbers.  there doesn't appear to be a libreoffice-5-0 or anything like that. 
Can you give me some pointers please?  Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95741] Import values into a table by clipboard

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95741

V Stuart Foote  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||vstuart.fo...@utsa.edu
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=37
   ||223
 Ever confirmed|0   |1
 OS|Windows (All)   |All
   Severity|normal  |enhancement

--- Comment #1 from V Stuart Foote  ---
Some would argue that this duplicates bug 37223 -- "Target for paste cells from
column in Calc into TABLE will be single cell instead of column" and dupes, but
specific issue here is handling paste of columnar or row data from the OS/DE
clipboard filling cells in a Writer table.  Handling both formatted and
unformatted text insertion into table cells.

Any solution to this would probably also address the more troubling issue of
tdf#37223, or vice-versa.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 37223] Target for paste cells from column in Calc into TABLE will be single cell instead of column

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=37223

V Stuart Foote  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=95
   ||741

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] dev-tools.git: helpauthoring/description.xml helpauthoring/HelpAuthoring

2015-11-11 Thread Jan Holesovsky
 helpauthoring/HelpAuthoring/_Main.xba |2 +-
 helpauthoring/description.xml |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 16f2e724a370c603145d55c72d1210e2fde7c2e9
Author: Jan Holesovsky 
Date:   Wed Nov 11 18:21:03 2015 +0100

helpauthoring: Release the new version 3.1.4.

Change-Id: I6911ddcb76271bdecc5188e2bf6c1d214a064df7

diff --git a/helpauthoring/HelpAuthoring/_Main.xba 
b/helpauthoring/HelpAuthoring/_Main.xba
index d7c982c..d661100 100644
--- a/helpauthoring/HelpAuthoring/_Main.xba
+++ b/helpauthoring/HelpAuthoring/_Main.xba
@@ -24,7 +24,7 @@
  #   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  #
 
-Global Const Version = v3.1.3
+Global Const Version = v3.1.4
 
 Global Const strErr_NoHelpFile = Not a Help File
 
diff --git a/helpauthoring/description.xml b/helpauthoring/description.xml
index ce3dc93..1b9cf64 100644
--- a/helpauthoring/description.xml
+++ b/helpauthoring/description.xml
@@ -23,7 +23,7 @@
 
 
 
-
+
 
 Help authoring extension
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 2 commits - sfx2/source tools/source

2015-11-11 Thread Caolán McNamara
 sfx2/source/doc/objxtor.cxx|1 +
 tools/source/generic/poly.cxx  |2 --
 tools/source/generic/poly2.cxx |2 --
 3 files changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 8557a8a74dc692ef7ec83d95413ddc3186aa0695
Author: Caolán McNamara 
Date:   Wed Nov 11 17:20:46 2015 +

coverity#1338604 Uninitialized scalar field

Change-Id: Ifb5bdfe677127911303455735997fcf271e80aa6

diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index 55322b1..d9523d5 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -237,6 +237,7 @@ SfxObjectShell_Impl::SfxObjectShell_Impl( SfxObjectShell& 
_rDocShell )
 ,bQueryLoadTemplate( true )
 ,bLoadReadonly( false )
 ,bUseUserData( true )
+,bUseThumbnailSave( true )
 ,bSaveVersionOnClose( false )
 ,m_bSharedXMLFlag( false )
 ,m_bAllowShareControlFileClean( true )
commit d7627da5c9b0b351e8150b08febf64273ba0231e
Author: Caolán McNamara 
Date:   Wed Nov 11 13:25:33 2015 +

stream version doesn't matter here

Change-Id: I318b0268143bef376f324afdd42692991c3bab4c

diff --git a/tools/source/generic/poly.cxx b/tools/source/generic/poly.cxx
index c92895e..ada7051 100644
--- a/tools/source/generic/poly.cxx
+++ b/tools/source/generic/poly.cxx
@@ -1586,8 +1586,6 @@ SvStream& ReadPolygon( SvStream& rIStream, 
tools::Polygon& rPoly )
 
 SvStream& WritePolygon( SvStream& rOStream, const tools::Polygon& rPoly )
 {
-SAL_WARN_IF( !rOStream.GetVersion(), "tools", "Polygon::<< - Solar-Version 
not set on rOStream" );
-
 sal_uInt16  i;
 sal_uInt16  nPoints = rPoly.GetSize();
 
diff --git a/tools/source/generic/poly2.cxx b/tools/source/generic/poly2.cxx
index 80ace37..65db27e 100644
--- a/tools/source/generic/poly2.cxx
+++ b/tools/source/generic/poly2.cxx
@@ -645,8 +645,6 @@ void PolyPolygon::Write( SvStream& rOStream ) const
 {
 VersionCompat aCompat( rOStream, StreamMode::WRITE, 1 );
 
-SAL_WARN_IF( !rOStream.GetVersion(), "tools", "PolyPolygon::<< - 
Solar-Version not set on rOStream" );
-
 // Write number of polygons
 sal_uInt16 nPolyCount = mpImplPolyPolygon->mnCount;
 rOStream.WriteUInt16( nPolyCount );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95748] New: Not calculated the formula in cell in xls file

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95748

Bug ID: 95748
   Summary: Not calculated the formula in cell in xls file
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ruslan...@gmail.com

Created attachment 120482
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120482=edit
File with problem

In cell G3 formula is =F3*L3, where L3 is percent value. Instead value i get
error:522. For ods, xlsx this problem doesn't exist

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95737] Fontwork Object incompatible

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95737

--- Comment #4 from MM  ---
Unconfirmed with v5.0.3.2 under mint 17.2 x64.
Font shows normally.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: 9 commits - i18npool/inc i18npool/source javaunohelper/source sd/source

2015-11-11 Thread Caolán McNamara
 i18npool/inc/localedata.hxx   |   14 +++---
 i18npool/source/localedata/localedata.cxx |   14 +++---
 javaunohelper/source/javaunohelper.cxx|6 ++
 sd/source/filter/eppt/pptx-epptooxml.cxx  |3 ++-
 4 files changed, 18 insertions(+), 19 deletions(-)

New commits:
commit e08fbe4c592b25fb88828157ff054431ac8e2d8b
Author: Caolán McNamara 
Date:   Wed Nov 11 17:37:29 2015 +

coverity#1338592 Explicit null dereferenced

Change-Id: Ief5c2effbddebe29fc7a4d38ed0af4fed72de40e

diff --git a/javaunohelper/source/javaunohelper.cxx 
b/javaunohelper/source/javaunohelper.cxx
index d4a9722..83c9643 100644
--- a/javaunohelper/source/javaunohelper.cxx
+++ b/javaunohelper/source/javaunohelper.cxx
@@ -69,8 +69,6 @@ jboolean 
Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1writeInfo(
 osl::Module lib(aLibName, SAL_LOADMODULE_LAZY | SAL_LOADMODULE_GLOBAL);
 if (lib.is())
 {
-lib.release();
-
 // = LATEST VERSION =
 oslGenericFunction pSym = lib.getFunctionSymbol(COMPONENT_GETENV);
 if (pSym)
@@ -124,6 +122,7 @@ jboolean 
Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1writeInfo(
 }
 }
 }
+lib.release();
 }
 #endif
 return bRet ? JNI_TRUE : JNI_FALSE;
@@ -159,8 +158,6 @@ jobject 
Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory(
 osl::Module lib(aLibName, SAL_LOADMODULE_LAZY | SAL_LOADMODULE_GLOBAL);
 if (lib.is())
 {
-lib.release();
-
 // = LATEST VERSION =
 oslGenericFunction pSym = lib.getFunctionSymbol(COMPONENT_GETENV);
 if (pSym)
@@ -228,6 +225,7 @@ jobject 
Java_com_sun_star_comp_helper_SharedLibraryLoader_component_1getFactory(
 }
 }
 }
+lib.release();
 }
 #endif
 return joSLL_cpp;
commit 2d0341a23f95e322990006d78d3f514a9448ed84
Author: Caolán McNamara 
Date:   Wed Nov 11 17:33:31 2015 +

coverity#1338596 Uncaught exception

Change-Id: Ic8b4c6a1718a10d0b9a5a99b069ef4e98de87518

diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx
index 300e756..9ef4ca9 100644
--- a/i18npool/inc/localedata.hxx
+++ b/i18npool/inc/localedata.hxx
@@ -111,7 +111,7 @@ public:
 virtual OUString SAL_CALL getIndexKeysByAlgorithm( const 
css::lang::Locale& rLocale, const OUString& algorithm ) 
throw(css::uno::RuntimeException);
 virtual OUString SAL_CALL getIndexModuleByAlgorithm( const 
css::lang::Locale& rLocale, const OUString& algorithm ) 
throw(css::uno::RuntimeException);
 virtual css::uno::Sequence< UnicodeScript > SAL_CALL getUnicodeScripts( 
const css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, 
std::exception);
-virtual css::uno::Sequence< OUString > SAL_CALL getFollowPageWords( const 
css::lang::Locale& rLocale ) throw(css::uno::RuntimeException);
+virtual css::uno::Sequence< OUString > SAL_CALL getFollowPageWords( const 
css::lang::Locale& rLocale ) throw(css::uno::RuntimeException, std::exception);
 virtual bool SAL_CALL hasPhonetic( const css::lang::Locale& rLocale ) 
throw(css::uno::RuntimeException);
 virtual bool SAL_CALL isPhonetic( const css::lang::Locale& rLocale, const 
OUString& algorithm ) throw(css::uno::RuntimeException);
 virtual OUString SAL_CALL getHangingCharacters( const css::lang::Locale& 
rLocale ) throw(css::uno::RuntimeException, std::exception);
diff --git a/i18npool/source/localedata/localedata.cxx 
b/i18npool/source/localedata/localedata.cxx
index 318a34d..9f0931b 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -1122,7 +1122,7 @@ LocaleDataImpl::getUnicodeScripts( const Locale& rLocale 
) throw(RuntimeExceptio
 }
 
 Sequence< OUString > SAL_CALL
-LocaleDataImpl::getFollowPageWords( const Locale& rLocale ) 
throw(RuntimeException)
+LocaleDataImpl::getFollowPageWords( const Locale& rLocale ) 
throw(RuntimeException, std::exception)
 {
 MyFunc_Type func = reinterpret_cast(getFunctionSymbol( 
rLocale, "getFollowPageWords" ));
 
commit e660a0515889ce42e95c57af8c3815a1afc2f1dc
Author: Caolán McNamara 
Date:   Wed Nov 11 17:32:54 2015 +

coverity#1338597 Uncaught exception

Change-Id: I1bcb4a70a2b2621a8718e5d4d0741e8eed3848cf

diff --git a/i18npool/inc/localedata.hxx b/i18npool/inc/localedata.hxx
index 365ae37..300e756 100644
--- a/i18npool/inc/localedata.hxx
+++ b/i18npool/inc/localedata.hxx
@@ -110,7 +110,7 @@ public:
 virtual OUString SAL_CALL getDefaultIndexAlgorithm( const 
css::lang::Locale& rLocale ) throw(css::uno::RuntimeException);
 virtual OUString SAL_CALL getIndexKeysByAlgorithm( const 
css::lang::Locale& rLocale, const OUString& algorithm ) 
throw(css::uno::RuntimeException);
 virtual 

[Libreoffice-commits] core.git: sc/inc

2015-11-11 Thread Maxim Monastirsky
 sc/inc/sc.hrc |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d01a81338abe84491684b9f3925ba98c43163fe7
Author: Maxim Monastirsky 
Date:   Thu Nov 5 01:39:13 2015 +0200

Comment about reserved SID

Change-Id: I4e0fefebfb1b5212eb73a94130a3509848fcd98b

diff --git a/sc/inc/sc.hrc b/sc/inc/sc.hrc
index f49b3fd..afd7c5b 100644
--- a/sc/inc/sc.hrc
+++ b/sc/inc/sc.hrc
@@ -297,7 +297,7 @@
 
 #define SID_DEL_ROWS(EDIT_MENU_START + 16)//JN
 #define SID_DEL_COLS(EDIT_MENU_START + 17)//JN
-
+// EDIT_MENU_START + 18 is defined in include/sfx2/sfxsids.hrc
 #define FID_CHG_SHOW(EDIT_MENU_START + 19)
 
 #define EDIT_MENU_END   (EDIT_MENU_START + 20)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 67364] Autocorrect collisions between 2 hyphens (--) for en-dash an 3 hyphens (---) for em-dash

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=67364

tommy27  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=95
   ||669

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95669] new AutoCorrect replace rules for two-em dash (U+2E3A) and three-em dash (U+2E3B)

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95669

tommy27  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=67
   ||364

--- Comment #4 from tommy27  ---
we should also be aware of potential autocorrect conflicts like those reported
in Bug 67364

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 87995] settings : missing a checkbox in order to avoid thumbnail saving

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87995

Adolfo Jayme  changed:

   What|Removed |Added

 Status|RESOLVED|NEW
 Resolution|FIXED   |---

--- Comment #16 from Adolfo Jayme  ---
Oh, good point.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 88352] Freeze with simple animation Impress

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88352

--- Comment #12 from Armin Le Grand  ---
Could now reproduce, has to do with basegfx::triangulator which seems to go to
endless loops in some cases. Looking deeper...

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95669] Require two new replace rules for AutoCorrect

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95669

Beluga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1

--- Comment #2 from Beluga  ---
Sounds reasonable -> NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: connectivity/source

2015-11-11 Thread Caolán McNamara
 connectivity/source/drivers/flat/EConnection.cxx |2 +-
 connectivity/source/inc/flat/EConnection.hxx |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a201f0cc675ea5b5b1ef71d6cef7ea7ef4e74923
Author: Caolán McNamara 
Date:   Wed Nov 11 17:22:06 2015 +

coverity#1338603 Uncaught exception

Change-Id: I8aa233446f1bc8cc94332830d7b1813f1674202b

diff --git a/connectivity/source/drivers/flat/EConnection.cxx 
b/connectivity/source/drivers/flat/EConnection.cxx
index 9c04ae0..1d1d196 100644
--- a/connectivity/source/drivers/flat/EConnection.cxx
+++ b/connectivity/source/drivers/flat/EConnection.cxx
@@ -60,7 +60,7 @@ IMPLEMENT_SERVICE_INFO(OFlatConnection, 
"com.sun.star.sdbc.drivers.flat.Connecti
 
 
 void OFlatConnection::construct(const OUString& url,const Sequence< 
PropertyValue >& info)
-throw(css::sdbc::SQLException, css::uno::RuntimeException)
+throw(css::sdbc::SQLException, css::uno::RuntimeException, std::exception)
 {
 osl_atomic_increment( _refCount );
 
diff --git a/connectivity/source/inc/flat/EConnection.hxx 
b/connectivity/source/inc/flat/EConnection.hxx
index 0112e04..0e84b72 100644
--- a/connectivity/source/inc/flat/EConnection.hxx
+++ b/connectivity/source/inc/flat/EConnection.hxx
@@ -40,7 +40,7 @@ namespace connectivity
 OFlatConnection(ODriver*_pDriver);
 virtual ~OFlatConnection();
 
-virtual void construct(const OUString& _rUrl,const 
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& 
_rInfo ) throw(css::sdbc::SQLException, css::uno::RuntimeException) override;
+virtual void construct(const OUString& _rUrl,const 
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& 
_rInfo ) throw(css::sdbc::SQLException, css::uno::RuntimeException, 
std::exception) override;
 
 // own methods
 inline bool isHeaderLine()  const { return 
m_bHeaderLine;   }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95740] Copy/Paste page from wikipedia in Writer crashes LO and no images are shown

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95740

--- Comment #2 from MM  ---
Looks like a duplicate of bug 93971

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95704] Arabic writing isn't well supported

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95704

--- Comment #4 from Maxim Monastirsky  ---
(In reply to mahmoudarea10 from comment #3)
> but it doesn't solve the problem.
What do you mean by "it doesn't solve the problem"? Do you click the
"Right-to-Left" button and it doesn't work? Please provide a detailed
step-by-step instruction to reproduce the problem. Thanks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


New Defects reported by Coverity Scan for LibreOffice

2015-11-11 Thread scan-admin

Hi,

Please find the latest report on new defect(s) introduced to LibreOffice found 
with Coverity Scan.

14 new defect(s) introduced to LibreOffice found with Coverity Scan.
64 defect(s), reported by Coverity Scan earlier, were marked fixed in the 
recent build analyzed by Coverity Scan.

New defect(s) Reported-by: Coverity Scan
Showing 14 of 14 defect(s)


** CID 1338605:  FindBugs: Dodgy code  (FB.REC_CATCH_EXCEPTION)
/xmerge/source/bridge/java/XMergeBridge.java: 449 in 
XMergeBridge$_XMergeBridge.convert(com.sun.star.io.XInputStream, 
com.sun.star.io.XOutputStream, boolean, java.lang.String, java.lang.String, 
java.lang.String, java.lang.String)()



*** CID 1338605:  FindBugs: Dodgy code  (FB.REC_CATCH_EXCEPTION)
/xmerge/source/bridge/java/XMergeBridge.java: 449 in 
XMergeBridge$_XMergeBridge.convert(com.sun.star.io.XInputStream, 
com.sun.star.io.XOutputStream, boolean, java.lang.String, java.lang.String, 
java.lang.String, java.lang.String)()
443 }
444 
445 }
446 }
447 ConverterInfoMgr.removeByJar(jarName);
448 }
>>> CID 1338605:  FindBugs: Dodgy code  (FB.REC_CATCH_EXCEPTION)
>>> Catching RuntimeExceptions, perhaps unintentionally, with a catch block 
>>> for Exception.
449 catch (Exception ex1) {
450 /* Satisfy coverity */
451 newxos.flush();
452 newxos.close();
453 newxos = null;
454 xis.close();

** CID 1338604:  Uninitialized members  (UNINIT_CTOR)
/sfx2/source/doc/objxtor.cxx: 274 in 
SfxObjectShell_Impl::SfxObjectShell_Impl(SfxObjectShell &)()



*** CID 1338604:  Uninitialized members  (UNINIT_CTOR)
/sfx2/source/doc/objxtor.cxx: 274 in 
SfxObjectShell_Impl::SfxObjectShell_Impl(SfxObjectShell &)()
268 ,m_bModifyPasswordEntered( false )
269 {
270 SfxObjectShell* pDoc = &_rDocShell;
271 SfxObjectShellArr_Impl  = SfxGetpApp()->GetObjectShells_Impl();
272 rArr.push_back( pDoc );
273 bInList = true;
>>> CID 1338604:  Uninitialized members  (UNINIT_CTOR)
>>> Non-static class member "bUseThumbnailSave" is not initialized in this 
>>> constructor nor in any functions that it calls.
274 }
275 
276 
277 
278 SfxObjectShell_Impl::~SfxObjectShell_Impl()
279 {

** CID 1338603:  Error handling issues  (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/flat/EConnection.cxx: 62 in 
connectivity::flat::OFlatConnection::construct(const rtl::OUString &, const 
com::sun::star::uno::Sequence &)()



*** CID 1338603:  Error handling issues  (UNCAUGHT_EXCEPT)
/connectivity/source/drivers/flat/EConnection.cxx: 62 in 
connectivity::flat::OFlatConnection::construct(const rtl::OUString &, const 
com::sun::star::uno::Sequence &)()
56 
57 // XServiceInfo
58 
59 IMPLEMENT_SERVICE_INFO(OFlatConnection, 
"com.sun.star.sdbc.drivers.flat.Connection", "com.sun.star.sdbc.Connection")
60 
61 
>>> CID 1338603:  Error handling issues  (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" is thrown but the throw list 
>>> "throw(com::sun::star::uno::RuntimeException, 
>>> com::sun::star::sdbc::SQLException)" doesn't allow it to be thrown. This 
>>> will cause a call to unexpected() which usually calls terminate().
62 void OFlatConnection::construct(const OUString& url,const Sequence< 
PropertyValue >& info)
63 throw(css::sdbc::SQLException, css::uno::RuntimeException)
64 {
65 osl_atomic_increment( _refCount );
66 
67 const PropertyValue *pBegin  = info.getConstArray();

** CID 1338602:  Error handling issues  (UNCAUGHT_EXCEPT)
/i18npool/source/localedata/localedata.cxx: 1210 in 
com::sun::star::i18n::LocaleDataImpl::getHangingCharacters(const 
com::sun::star::lang::Locale &)()



*** CID 1338602:  Error handling issues  (UNCAUGHT_EXCEPT)
/i18npool/source/localedata/localedata.cxx: 1210 in 
com::sun::star::i18n::LocaleDataImpl::getHangingCharacters(const 
com::sun::star::lang::Locale &)()
1204 ForbiddenCharacters chars1;
1205 return chars1;
1206 }
1207 }
1208 
1209 OUString SAL_CALL
>>> CID 1338602:  Error handling issues  (UNCAUGHT_EXCEPT)
>>> An exception of type "std::length_error" is thrown but the throw list 
>>> "throw(com::sun::star::uno::RuntimeException)" doesn't allow it to be 
>>> thrown. This will cause a call to unexpected() which usually 

[Libreoffice-commits] core.git: sw/source

2015-11-11 Thread Miklos Vajna
 sw/source/uibase/docvw/PostItMgr.cxx |   11 +++
 1 file changed, 11 insertions(+)

New commits:
commit c4ef30ea916752ba5a057b49960a60a55f70c84c
Author: Miklos Vajna 
Date:   Wed Nov 11 18:05:45 2015 +0100

sw lok: fix sidebarwindows::SwSidebarWin pixel position

So SwSidebarWin member functions don't get twip values when they call
GetPosPixel().

Change-Id: Ied4ff7f49d0320766b045d78f731900af92d37ef

diff --git a/sw/source/uibase/docvw/PostItMgr.cxx 
b/sw/source/uibase/docvw/PostItMgr.cxx
index 1abe5c4..b0f62a0 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -593,6 +593,10 @@ void SwPostItMgr::PreparePageContainer()
 
 void SwPostItMgr::LayoutPostIts()
 {
+bool bEnableMapMode = comphelper::LibreOfficeKit::isActive() && 
!mpEditWin->IsMapModeEnabled();
+if (bEnableMapMode)
+mpEditWin->EnableMapMode();
+
 if ( !mvPostItFields.empty() && !mbWaitingForCalcRects )
 {
 mbLayouting = true;
@@ -809,6 +813,9 @@ void SwPostItMgr::LayoutPostIts()
 
 mbLayouting = false;
 }
+
+if (bEnableMapMode)
+mpEditWin->EnableMapMode(false);
 }
 
 bool SwPostItMgr::BorderOverPageBorder(unsigned long aPage) const
@@ -856,6 +863,8 @@ void SwPostItMgr::PaintTile(OutputDevice& rRenderContext, 
const Rectangle& /*rRe
 if (!pPostIt)
 continue;
 
+bool bEnableMapMode = !mpEditWin->IsMapModeEnabled();
+mpEditWin->EnableMapMode();
 rRenderContext.Push(PushFlags::MAPMODE);
 Point aOffset(mpEditWin->PixelToLogic(pPostIt->GetPosPixel()));
 MapMode aMapMode(rRenderContext.GetMapMode());
@@ -867,6 +876,8 @@ void SwPostItMgr::PaintTile(OutputDevice& rRenderContext, 
const Rectangle& /*rRe
 pPostIt->PaintTile(rRenderContext, aRectangle);
 
 rRenderContext.Pop();
+if (bEnableMapMode)
+mpEditWin->EnableMapMode(false);
 }
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 95704] Arabic writing isn't well supported

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95704

--- Comment #3 from mahmoudare...@yahoo.com ---
I enabled CTL support through Tools->Options...->Language Settings->Languages
, but it doesn't solve the problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95704] Arabic writing isn't well supported

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95704

mahmoudare...@yahoo.com changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95746] New: Pasting table causes Libreoffice process going to 100% CPU load

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95746

Bug ID: 95746
   Summary: Pasting table causes Libreoffice process going to 100%
CPU load
   Product: LibreOffice
   Version: 5.0.3.2 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: germano.massu...@gmail.com

Created attachment 120481
  --> https://bugs.documentfoundation.org/attachment.cgi?id=120481=edit
screenshot 1

How to reproduce:
I have two Calc files (let's call them A and B), containing two different
tables.
You want to erase and replace the content of B with the contents of a selection
of A, so:
1) in file B, you click on the little square (see screenshot 1) to select the
whole table, then you press delete button on your keyboard;
2) in file A, you select a part of the table, then you copy it;
3) in file B, while you still have the whole table selected, you press CTRL+v
on your keyboard to paste the content.
You will see Libreoffice hanging and increasing RAM usage while having 100% CPU
load.

For anybody that is thinking about the amount of copied data, I can say that I
experienced the problem with a 11 lines-4 coloumns table.

OS: Fedora 23 64 bit

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95747] New: General error. General input/output error opening a presentation

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95747

Bug ID: 95747
   Summary: General error. General input/output error opening a
presentation
   Product: LibreOffice
   Version: 5.0.2.2 release
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: eugene.savit...@gmail.com

URL: http://video.1c-bitrix.ru/cms15/cms15_video.pptx

It is a 556Mb presentation, opening it carouses a 
General error. 
General input/output error

LO closes itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 94739] PDF Exporting Diagonal

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94739

--- Comment #19 from Michael Meeks  ---
Looks like an interesting row-stride problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 95669] Require two new replace rules for AutoCorrect

2015-11-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95669

tommy27  changed:

   What|Removed |Added

 CC||nem...@numbertext.org

--- Comment #3 from tommy27  ---
@ General Kutuzov
you can already set  your own replacement in the autocorrect replacement table.

maybe something like .*-2-.* for the "two-em dash" character and .*-3-.* for
the "three-em dash"

@Lazlo
what you think about? is this something we could set in the default autocorrect
lists? do you have a better idea about the key sequence?

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


HelpAuthoring-3.1.4.oxt released

2015-11-11 Thread Jan Holesovsky
Hi,

I've released a new version of the HelpAuthoring extension.  It is
available here:

  http://dev-www.libreoffice.org/helpauthoring/

Please upgrade to this version, it is recommended for real use - please
help us creating the help pages!  It needs LibreOffice 4.4 or later.

The following has been improved in the version 3.1.4:

+ tdf#94201: No 'localize' on the 'switch' element (Regina)
+ tdf#94201 Dont import blank visibility attribute of  tag 
(Regina)
+ tdf#93981 Attribute localize=(false|true) is deleted (Regina)
+ correct path help/ to helpcontent2 and clarify (Eike)
+ make sure to select the full title line in wizard (Jay)
+ tdf#95509 Retain image size on save (Jay)

If you find bugs, please check the bugzilla if it is already reported,
and if not, report it, and set it as blocking the tracker bug:

  https://bugs.documentfoundation.org/show_bug.cgi?id=93580

Or of course try to fix it, it is not that hard :-)  How to hack it is
described here:

  
http://cgit.freedesktop.org/libreoffice/contrib/dev-tools/tree/helpauthoring/README

All the best,
Kendy

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


  1   2   3   4   >