[Libreoffice-bugs] [Bug 100670] Writer crashes

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100670

Matej  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
Version|5.1.3.2 release |5.1.2.2 release
 Ever confirmed|1   |0

--- Comment #2 from Matej  ---
So... renaming profile changed nothing, it still crashes. I tryed to repeat
crash on another PC, with LO 5.1.2.2 version, running on Win10 (another pc in
the office); it crashes too. But home, on LO 5.0.3.2. on Linux mint, its not.

I reinstalled version to latest 5.1.4.2 and easily repeared crash.

Note i probably should mention earlier: I do install x86 version of LO on x64
Windows, because x64 version caused some troubles in the past (on the matter of
scanning devices and something else I cant remember).

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


[Libreoffice-bugs] [Bug 100677] FILEOPEN Two text boxes instead of one

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100677

ekari  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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100679] FILEOPEN Bad formating

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100679

ekari  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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100680] FILEOPEN Header is malformed

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100680

ekari  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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100663] HLOOKUP returns wrong value

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100663

--- Comment #6 from Prasad  ---
Well i had tried putting the 4th parameter as 0 but it did not work. but today
i recd an update notification of libre calc and after update things are working
fine.

thanks

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


Re: A toolbar option that makes it easier to type using unicode

2016-06-29 Thread Tor Lillqvist
LibreOffice should use the built-in input methods of the platform, not come
up with its own.

What current platforms don't come with fonts supporting all the scripts
that it has keyboard layouts and input methods for?

--tml
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 98124] Crash on copying cells (openCL)

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=98124

--- Comment #28 from Tor Lillqvist  ---
Yeah, sorry, I was confused. Probably the crash happens while LibreOffice is
gathering the information it is going to write to the OpenCL-related log and
xml files.

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


[Libreoffice-bugs] [Bug 100664] AutoCorrect Options . . . Crash

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100664

Joel Madero  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #5 from Joel Madero  ---
No longer an issue in recent build. Closing

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


[Libreoffice-bugs] [Bug 100677] FILEOPEN Two text boxes instead of one

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100677

--- Comment #2 from ekari  ---
Created attachment 125997
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125997=edit
Screenshot

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


[Libreoffice-bugs] [Bug 100679] FILEOPEN Bad formating

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100679

--- Comment #4 from ekari  ---
Yes, your screenshot shows the problem

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


[Libreoffice-bugs] [Bug 100675] FILEOPEN Header image hides a bit of the text

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100675

--- Comment #6 from ekari  ---
I don't have MS word to test

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


[Libreoffice-bugs] [Bug 100680] FILEOPEN Header is malformed

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100680

--- Comment #3 from ekari  ---
Yes that's the bug, thanks for clarifying

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


A toolbar option that makes it easier to type using unicode

2016-06-29 Thread Samiur Rahman
There is the need for an "unicode editor" to be implemented in LiberOffice.

It will allow you to select a certain unicode range, such as a specific
language or script, and then choose from a number of fonts that support
that range, or give the opportunity to download or buy a font that supports
that range.

Liboffice apps can offer a choice between "type mode" and "unicode mode."

Libreoffice should come with all free unicode fonts.

There should be an option on the toolbar that asks you to select mode, and
you can select from "type" and "unicode."

After you've selected mode, there should be a box that asks you to select
an unicode range, and then another box should ask to select from an number
of unicode fonts.

The boxes should say "Select unicode range" and "Select unicode font."

Right now, there are countless unicode fonts but only Arial Unicode MS
that's publicly available. For users of different scripts and languages,
they need to install extra fonts. Putting in all free unicode fonts in the
package will make it easier to type in non-western european characters. You
don't need to buy extra fonts and have the ability to select from multiple
unicode fonts that support a certain range.

Users don't need to know which Unicode fonts that support their range. They
simply input their range of choice, and the software tells them the fonts
that they can use. The software itself should come with all free Unicod
fonts, and give the option of buying market ones.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Different behavior of same code in Linux and Windows

2016-06-29 Thread Laurent BP
Hello,

I've got some code which compiles well on my Linux PC and works as expected.
But Jenkins don't calculate the same things on Windows and hang out in unit
test on Windows.
The code is about best fraction representation in Calc. I localized the
problem in this *while* loop :



On Linux, *sal_uLong nFrac* and *nDev* are modified and tend to a solution.
My tests on Windows, thanks to Jenkin, show that *nFrac* and *nDev* keep the
same values (respectively 0 and 1). So there is an infinite loop with this
*while* when testing fractions in unit tests.

I suppose I made an error, but testing code is quite long with Jenkin (I
don't have a Windows PC which can compile LibO code). Does someone can give
me an opinion on what may go different between Linux and Windows with this
code?

All details of context and tests on https://gerrit.libreoffice.org/26621

Many thanks in advance.

Laurent BP



-
LibreOffice 5.1.4.1
--
View this message in context: 
http://nabble.documentfoundation.org/Different-behavior-of-same-code-in-Linux-and-Windows-tp4187462.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 48300] UI: Window doesn' t take focus when opening an already open document

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=48300

--- Comment #45 from Robert Gonzalez MX  ---
I confirm that the problem is solved.

Tested with Version: 5.2.0.1
Build ID: fcbcb4963bda8633ba72bd2108ca1e802aad557d
CPU Threads: 8; OS Version: Windows 6.2; UI Render: default; 
Locale: es-MX (es_MX)on Windows 10

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


[Libreoffice-bugs] [Bug 100675] FILEOPEN Header image hides a bit of the text

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100675

--- Comment #5 from Gert Van Waelvelde  ---
Simply resizing the image fixes the problem, so this may not be a bug but
sloppy formatting from the user who created the document.

Could anyone perhaps check whether this issue occurs in MS Word as well? If the
document renders perfectly in Word, it is a bug.
If the same issue occurs in Word, it's sloppy formatting and not a bug.

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


[Libreoffice-commits] core.git: Branch 'feature/fixes25' - 3 commits -

2016-06-29 Thread László Németh
 0 files changed

New commits:
commit 6b3974278e9501eba939573e88e2b439edd9a2db
Author: László Németh 
Date:   Thu Jun 30 01:11:53 2016 +0200

empty commit (repeat)

Change-Id: I57f8b4976e4c2bdcb967acb6708a373183705786
commit 40f054ae81e92cf7887c5f632ba66a0c3098f047
Author: László Németh 
Date:   Thu Jun 30 01:11:44 2016 +0200

empty commit (repeat)

Change-Id: I032ee189ab4994fba5983224bb939ed38cc55fd8
commit e70c102d50e5f1cfe556412eb5c39adb76e70849
Author: László Németh 
Date:   Thu Jun 30 01:10:48 2016 +0200

empty commit (new)

Change-Id: Iaf67a81320038f2d423ee203139994a8ced71362
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100677] FILEOPEN Two text boxes instead of one

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100677

Gert Van Waelvelde  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||gvanwaelvelde+libreoffice@g
   ||mail.com
 Ever confirmed|0   |1

--- Comment #1 from Gert Van Waelvelde  ---
I can't seem to reproduce this bug.
Could you please explain where you see 'two text boxes instead of one'?

Thank you.

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


[Libreoffice-bugs] [Bug 100679] FILEOPEN Bad formating

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100679

Gert Van Waelvelde  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||gvanwaelvelde+libreoffice@g
   ||mail.com
 Ever confirmed|0   |1

--- Comment #3 from Gert Van Waelvelde  ---
Could you please confirm whether my screenshot shows the bad formatting you
reported? If not, please describe your problem in detail and/or provide a
screenshot of your own.

Thank you.

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


[Libreoffice-bugs] [Bug 100679] FILEOPEN Bad formating

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100679

--- Comment #2 from Gert Van Waelvelde  ---
Created attachment 125996
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125996=edit
Screenshot of bug

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


[Libreoffice-bugs] [Bug 100680] FILEOPEN Header is malformed

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100680

Gert Van Waelvelde  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #2 from Gert Van Waelvelde  ---
When I open this document, the part of the line just underneath the logo in the
header appears lower than the rest of the line (see my screenshot).

Is this the malformation you mean? 
It is important to describe these things in great detail in your bug reports.
Always describe the exact problem, as well as what you think it is supposed to
look like.
Otherwise it may not be clear what the exact bug is.

Thanks.

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


[Libreoffice-bugs] [Bug 100680] FILEOPEN Header is malformed

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100680

--- Comment #1 from Gert Van Waelvelde  ---
Created attachment 125995
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125995=edit
Screenshot of supposed bug

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


[Libreoffice-commits] core.git: bin/bffvalidator.sh.in configure.ac .gitignore

2016-06-29 Thread Thorsten Behrens
 .gitignore |1 +
 bin/bffvalidator.sh.in |3 +++
 configure.ac   |   11 ++-
 3 files changed, 14 insertions(+), 1 deletion(-)

New commits:
commit 76c2125ee3eeb64a95501c26c2fa660cd0f8818c
Author: Thorsten Behrens 
Date:   Wed Jun 29 15:32:00 2016 +0200

Add MS binary format validator support for wine

Run bffvalidator also from Linux, reportedly works from wine 1.9
upwards. Wraps stuff in a shell for path name conversion.

Change-Id: I3093b10bbbf89aaff97f63485b8ccadb417b3561
Reviewed-on: https://gerrit.libreoffice.org/26784
Reviewed-by: Thorsten Behrens 
Tested-by: Thorsten Behrens 

diff --git a/.gitignore b/.gitignore
index 01e57e1..cbdc3e98 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,6 +55,7 @@
 /config_build_lang.mk
 /configure
 /lo.xcent
+/bin/bffvalidator.sh
 /Makefile
 /NEWS
 /TODO
diff --git a/bin/bffvalidator.sh.in b/bin/bffvalidator.sh.in
new file mode 100644
index 000..e435227
--- /dev/null
+++ b/bin/bffvalidator.sh.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+wine @BFFVALIDATOR_EXE@ `winepath -w $1`
diff --git a/configure.ac b/configure.ac
index d99b4b4..39bc17f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2796,7 +2796,14 @@ if test "$with_bffvalidator" != "no"; then
 else
 AC_MSG_ERROR([bffvalidator not found, but required by 
--with-bffvalidator])
 fi
-elif test -n "$BFFVALIDATOR" -a -e "$BFFVALIDATOR"; then
+elif test -n "$BFFVALIDATOR"; then
+# We are not in CygWin but need to run Windows binary with wine
+AC_PATH_PROGS(WINE, wine)
+
+# so swap in a shell wrapper that converts paths transparently
+BFFVALIDATOR_EXE="$BFFVALIDATOR"
+BFFVALIDATOR="$SRC_ROOT/bin/bffvalidator.sh"
+AC_SUBST(BFFVALIDATOR_EXE)
 AC_MSG_RESULT($BFFVALIDATOR)
 else
 AC_MSG_ERROR([bffvalidator not found, but required by 
--with-bffvalidator])
@@ -4657,6 +4664,7 @@ if test "$cross_compiling" = "yes"; then
 config_host_lang.mk.in \
 Makefile.in \
 lo.xcent.in \
+bin/bffvalidator.sh.in \
 instsetoo_native/util/openoffice.lst.in \
 config_host/*.in \
 sysui/desktop/macosx/Info.plist.in \
@@ -12991,6 +12999,7 @@ AC_CONFIG_FILES([config_host.mk
  config_host_lang.mk
  Makefile
  lo.xcent
+ bin/bffvalidator.sh
  instsetoo_native/util/openoffice.lst
  sysui/desktop/macosx/Info.plist
  ios/lo.xcconfig])
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100671] DOCX: chapter numbers imported as text, not as references in numbering captions

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100671

Gert Van Waelvelde  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from Gert Van Waelvelde  ---
I can reproduce this in LO 5.2.0.1.0

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


[Libreoffice-bugs] [Bug 45617] Make Impress masterpages copyable

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=45617

--- Comment #10 from kolAflash  ---
Still open after three years :-/


Workaround:

1. Save presentation and make a copy of the file.

2. Change the name of one (or more) master page(s).

3. If not already the case, apply the changed master page(s each) to at least
one normal page.

4. Open the original file.

5. Copy one of the normal pages with the changed master page(s) applied to the
original presentation.

6. Now there should be a copy of that master with the changed name.

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


[Libreoffice-bugs] [Bug 100674] Scrambled text

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100674

--- Comment #3 from V Stuart Foote  ---
Tools -> Options -> View: checkbox "Use OpenGL for all rendering (on restart)";
uncheck that and restart LibreOffice. Retest.

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


[Libreoffice-bugs] [Bug 100674] Scrambled text

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100674

--- Comment #2 from Graham Kent  ---
Apologies - I do not know how to disable OpenGL rendering.

Due to the content of the sheet I am reporting on, I cannot share it. I will
attempt to recreate the issue in an new file.

Additional info -
> The sheet was created as a CSV and is being displayed in CALC.
> when first opened, the header row does not have Autofilter enabled and the 
> header row is displayed correctly. Once the Autofilter is enabled, the header 
> becomes scrambled.
> If the Autofilter is removed the header row remains scrambled.

hope this helps.

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


[Libreoffice-bugs] [Bug 98124] Crash on copying cells (openCL)

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=98124

--- Comment #27 from mar...@patzel.de ---
Ok, I understand.
But normally the OpenCL checkbox in the options dialog box is marked and with
this setting I get the crash.

If I switch off the OpenCL marker, everything is fine.

So I think the problem has something to do with OpenCL.

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


[Libreoffice-bugs] [Bug 100674] Scrambled text

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100674

V Stuart Foote  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||vstuart.fo...@utsa.edu
 Ever confirmed|0   |1

--- Comment #1 from V Stuart Foote  ---
And if you disable OpenGL rendering?

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


[Libreoffice-bugs] [Bug 98124] Crash on copying cells (openCL)

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=98124

--- Comment #26 from Tor Lillqvist  ---
Please don't keep bringing up OpenGL. There is no way this could be related to
OpenGL. If you don't get any OpenCL logs, then you don't have OpenCL. Which is
fine. Then the crash must be caused by something else.

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


[Libreoffice-bugs] [Bug 100663] HLOOKUP returns wrong value

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100663

m.a.riosv  changed:

   What|Removed |Added

 CC||miguelangelrv@libreoffice.o
   ||rg

--- Comment #5 from m.a.riosv  ---
Created attachment 125994
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125994=edit
Test file with modified.

Sometimes is good to earth what people with acknowledgement says.

All works fine with the 4th parameter as cero.
In F31 you don't get the expected value because you have not in F30 "Siddesh D"
the same text than in H1 "Siddhesh D", there is an 'h' after 'dd' in H1.

Attached your test file corrected.

Resolved as not a bug.

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


[Libreoffice-bugs] [Bug 100663] HLOOKUP returns wrong value

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100663

m.a.riosv  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |NOTABUG

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


[Libreoffice-bugs] [Bug 98124] Crash on copying cells (openCL)

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=98124

mar...@patzel.de changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #25 from mar...@patzel.de ---
Alpha version 5.3.0.0.alpha0+
(libo-master-2016-06-24_23.12.13_LibreOfficeDev_5.3.0.0.alpha0_Win_x86) also
crashes.

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


[Libreoffice-bugs] [Bug 98124] Crash on copying cells (openCL)

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=98124

--- Comment #24 from mar...@patzel.de ---
Created attachment 125993
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125993=edit
GL device log and crash files

Test with 5.2.0.1 also crashes. Available debug files are attached.

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


[Libreoffice-bugs] [Bug 93329] FTest algorithm bug - wrong result for specific matrices

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93329

--- Comment #5 from Regina Henschel  ---

(In reply to Regina Henschel from comment #4)
> The case distinction to get F>1 has to be removed in the code.

Seems I was wrong here. The swapping makes it possible to get results near zero
in case one variance is huge.

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


[Libreoffice-bugs] [Bug 98124] Crash on copying cells (openCL)

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=98124

--- Comment #23 from mar...@patzel.de ---
Created attachment 125992
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125992=edit
open *GL* _device.log

Problem still exists with 5.1.4.2.
In C:\Users\User_name\AppData\Roaming\LibreOffice\4\cache only a
opengl_device.log exists.
No sc_opencl_device_profile.dat exists as described in comment_12.

opengl_device.log is attached.

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


[Libreoffice-bugs] [Bug 89616] UI: Find Toolbar retains previous search but arrows inactive

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=89616

Samuel Mehrbrodt (CIB)  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |samuel.mehrbr...@cib.de
   |desktop.org |

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


[Libreoffice-bugs] [Bug 100629] [FILEOPEN]: view of formula from files .doc imports not correctly

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100629

MM  changed:

   What|Removed |Added

   Keywords||regression
Version|5.1.3.2 release |5.0.0.0.beta3

--- Comment #6 from MM  ---
Tested some more on mint 17.3 x64.
V4.4.7.2 is still good; broken in v5.0.6.3 and 5.0.0.0.beta3. Set as
regression.

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


[Libreoffice-bugs] [Bug 87597] PERSONAS: Search should use English, not localized category names

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87597

Samuel Mehrbrodt (CIB)  changed:

   What|Removed |Added

   Keywords||difficultyInteresting,
   ||easyHack, skillCpp, topicUI
 CC||samuel.mehrbr...@cib.de

--- Comment #4 from Samuel Mehrbrodt (CIB)  ---
EasyHack:
Code is in
http://opengrok.libreoffice.org/xref/core/cui/source/options/personalization.cxx
UI file is
http://opengrok.libreoffice.org/xref/core/cui/uiconfig/ui/select_persona_dialog.ui

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


[Libreoffice-commits] core.git: compilerplugins/Makefile-clang.mk

2016-06-29 Thread Michael Stahl
 compilerplugins/Makefile-clang.mk |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 11f69994b0231a760231b712d9faf6806334232f
Author: Michael Stahl 
Date:   Wed Jun 29 22:34:02 2016 +0200

compilerplugins: -isystem /usr/include breaks the build

... on Fedora 24, and it's a Bad Idea in general because it breaks
"#include_next" ordering of GCC's and glibc's variously distributed
headers.

Change-Id: I0c8b51a6d7191ec9cc5187636ea2717e8fd97715

diff --git a/compilerplugins/Makefile-clang.mk 
b/compilerplugins/Makefile-clang.mk
index 868b5b0..cc2bdc7 100644
--- a/compilerplugins/Makefile-clang.mk
+++ b/compilerplugins/Makefile-clang.mk
@@ -25,7 +25,8 @@ CLANGCXXFLAGS=-O2 -Wall -Wextra -Wundef -g
 # Clang headers require these.
 CLANGDEFS=-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS 
-D__STDC_LIMIT_MACROS -fno-rtti
 # All include locations needed.
-CLANGINCLUDES=-isystem $(CLANGDIR)/include -isystem 
$(CLANGDIR)/tools/clang/include
+CLANGINCLUDES=$(if $(filter /usr,$(CLANGDIR)),,-isystem $(CLANGDIR)/include) \
+ -isystem $(CLANGDIR)/tools/clang/include
 
 # Clang/LLVM libraries are intentionally not linked in, they are usually built 
as static libraries, which means the resulting
 # plugin would be big (even though the clang binary already includes it all) 
and it'd be necessary to explicitly specify
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 89616] UI: Find Toolbar retains previous search but arrows inactive

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=89616

Samuel Mehrbrodt (CIB)  changed:

   What|Removed |Added

 CC||samuel.mehrbr...@cib.de
   Hardware|x86-64 (AMD64)  |All
 OS|Windows (All)   |All

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


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

2016-06-29 Thread Caolán McNamara
 sw/source/core/access/accfrmobj.cxx |5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 71bf7daf530cd633b0308db7cf0bc16d49bab0b9
Author: Caolán McNamara 
Date:   Wed Jun 29 21:25:42 2016 +0100

dynamic_cast followed by static_cast

Change-Id: I9ebdc33ceabc8aaa34dc897cc47e692fedde9199

diff --git a/sw/source/core/access/accfrmobj.cxx 
b/sw/source/core/access/accfrmobj.cxx
index c6986d9..cf3e295 100644
--- a/sw/source/core/access/accfrmobj.cxx
+++ b/sw/source/core/access/accfrmobj.cxx
@@ -98,9 +98,8 @@ SwAccessibleChild::SwAccessibleChild( const SwFrame* pFrame,
 void SwAccessibleChild::Init( const SdrObject* pDrawObj )
 {
 mpDrawObj = pDrawObj;
-mpFrame = mpDrawObj && dynamic_cast( mpDrawObj) 
!=  nullptr
-? static_cast < const SwVirtFlyDrawObj * >( mpDrawObj 
)->GetFlyFrame()
-: nullptr;
+const SwVirtFlyDrawObj* pFlyDrawObj = dynamic_cast(mpDrawObj);
+mpFrame = pFlyDrawObj ? pFlyDrawObj->GetFlyFrame() : nullptr;
 mpWindow = nullptr;
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 67974] UI: Add a search box in function wizard in Spreadsheet

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=67974

Samuel Mehrbrodt (CIB)  changed:

   What|Removed |Added

Version|4.1.0.4 release |Inherited From OOo

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


[Libreoffice-bugs] [Bug 67974] UI: Add a search box in function wizard in Spreadsheet

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=67974

Samuel Mehrbrodt (CIB)  changed:

   What|Removed |Added

   Keywords||difficultyInteresting,
   ||easyHack, skillCpp, topicUI
 CC||samuel.mehrbr...@cib.de
Summary|Other: Add a search box in  |UI: Add a search box in
   |function wizard in  |function wizard in
   |Spreadsheet |Spreadsheet

--- Comment #6 from Samuel Mehrbrodt (CIB)  ---
EasyHack:
The glade files are formula/uiconfig/ui/formuladialog.ui and
formula/uiconfig/ui/functionpage.ui.

Please put the search box below the category in functionpage.ui.

The code is in the class "FuncPage" in formula/source/ui/dlg/funcpage.cxx.

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


[Libreoffice-bugs] [Bug 93329] FTest algorithm bug - wrong result for specific matrices

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93329

Regina Henschel  changed:

   What|Removed |Added

 CC||rb.hensc...@t-online.de

--- Comment #4 from Regina Henschel  ---
Created attachment 125991
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125991=edit
Compare LO algorithm with Gnumeric algorithm

Calc toggles the variances, so that always the test statistic F is larger as 1.
It assumes, that then the right tail probability will be smaller than 0.5. That
is true in cases where the amount of data in the two series are large and
nearly equal. But you can construct cases, where this assumption is wrong.

The example file contains the correct algorithm in steps, so that it can be
easily transfered to the code. The case distinction to get F>1 has to be
removed in the code.

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


[Libreoffice-commits] core.git: compilerplugins/clang

2016-06-29 Thread Stephan Bergmann
 compilerplugins/clang/badstatics.cxx |6 ++
 1 file changed, 6 insertions(+)

New commits:
commit ded8e74df2ed808177620a6c2458beb6d03fd18d
Author: Stephan Bergmann 
Date:   Wed Jun 29 21:51:28 2016 +0200

loplugin:badstatics: whitelist some more statics

...which use std containers and are only found at all with the libc++ 
container
implementations, not the libstdc++ ones.

Change-Id: Ic9af06139823befad4af1a9a825cba10c115aceb

diff --git a/compilerplugins/clang/badstatics.cxx 
b/compilerplugins/clang/badstatics.cxx
index f316b4d..4904e1a 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -142,6 +142,12 @@ public:
 // sw/source/core/text/blink.cxx, _TextFinit()
 || name == "s_pIconCache"
 // sd/source/ui/tools/IconCache.cxx, leaked
+|| name == "maInstanceMap"
+// sd/source/ui/framework/tools/FrameworkHelper.cxx, would
+// leak ViewShellBase* keys if that map is not empty at 
exit
+|| name == "theAddInAsyncTbl"
+// sc/source/core/tool/adiasync.cxx, would leak
+// ScAddInAsync* keys if that set is not empty at exit
) // these variables appear unproblematic
 {
 return true;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-06-29 Thread Stephan Bergmann
 sc/source/core/inc/adiasync.hxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bd9988ee969a73690a254fc7e6ada110b8681dc1
Author: Stephan Bergmann 
Date:   Wed Jun 29 21:49:25 2016 +0200

No need for a derived class

Change-Id: I42e96a0c7818abdaff15f5cd2b839aa771e6

diff --git a/sc/source/core/inc/adiasync.hxx b/sc/source/core/inc/adiasync.hxx
index c8e5b71..b34bcec 100644
--- a/sc/source/core/inc/adiasync.hxx
+++ b/sc/source/core/inc/adiasync.hxx
@@ -70,7 +70,7 @@ struct CompareScAddInAsync
 {
   bool operator()( ScAddInAsync* const& lhs, ScAddInAsync* const& rhs ) const 
{ return (*lhs)<(*rhs); }
 };
-class ScAddInAsyncs : public std::set {};
+using ScAddInAsyncs = std::set;
 
 extern ScAddInAsyncs theAddInAsyncTbl;  // in adiasync.cxx
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 48300] UI: Window doesn' t take focus when opening an already open document

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=48300

--- Comment #44 from Luca  ---
This is solved, but the real problem is bug 75471. Still there in 5.2.

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


[Libreoffice-bugs] [Bug 75471] Newly opened LibO document frames stay in background ( i. e. LibO does not get focus)

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=75471

--- Comment #32 from Luca  ---
Still here in v. 5.2.0.1.

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


[Libreoffice-bugs] [Bug 37048] Implement "Live Preview"

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=37048

Samuel Mehrbrodt (CIB)  changed:

   What|Removed |Added

   Keywords|needsDevEval|

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


[Libreoffice-bugs] [Bug 65346] Search bar shouldn't remain open across sessions

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=65346

Samuel Mehrbrodt (CIB)  changed:

   What|Removed |Added

   Keywords|easyHack, needsDevEval, |
   |topicUI |
 CC||samuel.mehrbr...@cib.de

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


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

2016-06-29 Thread Stephan Bergmann
 sc/source/core/inc/adiasync.hxx  |2 --
 sc/source/core/tool/adiasync.cxx |   36 +---
 2 files changed, 13 insertions(+), 25 deletions(-)

New commits:
commit 3d97b2000979200db53f77db20e882e85c66c0b6
Author: Stephan Bergmann 
Date:   Wed Jun 29 21:15:40 2016 +0200

Simplify finding elements of theAddInAsyncTbl

Change-Id: Id9a2d84e1efb86a89e620dca5cd35274979aa1b9

diff --git a/sc/source/core/inc/adiasync.hxx b/sc/source/core/inc/adiasync.hxx
index 237470d..c8e5b71 100644
--- a/sc/source/core/inc/adiasync.hxx
+++ b/sc/source/core/inc/adiasync.hxx
@@ -50,8 +50,6 @@ public:
 // cTor only if ScAddInAsync::Get fails.
 // nIndex: Index from FunctionCollection
 ScAddInAsync(sal_uLong nHandle, LegacyFuncData* pFuncData, ScDocument* 
pDoc);
-// default-cTor only for that single, global aSeekObj!
-ScAddInAsync();
 virtual ~ScAddInAsync();
 static ScAddInAsync*Get( sal_uLong nHandle );
 static void CallBack( sal_uLong nHandle, void* pData );
diff --git a/sc/source/core/tool/adiasync.cxx b/sc/source/core/tool/adiasync.cxx
index 19179dd..06e22f1 100644
--- a/sc/source/core/tool/adiasync.cxx
+++ b/sc/source/core/tool/adiasync.cxx
@@ -17,6 +17,10 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include 
+
+#include 
+
 #include 
 
 #include "adiasync.hxx"
@@ -28,7 +32,6 @@
 #include 
 
 ScAddInAsyncs theAddInAsyncTbl;
-static ScAddInAsync aSeekObj;
 
 extern "C" {
 void CALLTYPE ScAddInAsyncCallBack( double& nHandle, void* pData )
@@ -37,16 +40,6 @@ void CALLTYPE ScAddInAsyncCallBack( double& nHandle, void* 
pData )
 }
 }
 
-ScAddInAsync::ScAddInAsync() :
-SvtBroadcaster(),
-pDocs( nullptr ),
-mpFuncData( nullptr ),
-nHandle( 0 ),
-meType( ParamType::NONE ),
-bValid( false )
-{   // nur fuer aSeekObj !
-}
-
 ScAddInAsync::ScAddInAsync(sal_uLong nHandleP, LegacyFuncData* pFuncData, 
ScDocument* pDoc) :
 SvtBroadcaster(),
 pStr( nullptr ),
@@ -62,25 +55,22 @@ ScAddInAsync::ScAddInAsync(sal_uLong nHandleP, 
LegacyFuncData* pFuncData, ScDocu
 
 ScAddInAsync::~ScAddInAsync()
 {
-// aSeekObj does not have that, handle 0 does not exist otherwise
-if ( nHandle )
-{
-// in dTor because of theAddInAsyncTbl.DeleteAndDestroy in 
ScGlobal::Clear
-mpFuncData->Unadvice( (double)nHandle );
-if ( meType == ParamType::PTR_STRING && pStr )  // include type 
comparison because of union
-delete pStr;
-delete pDocs;
-}
+// in dTor because of theAddInAsyncTbl.DeleteAndDestroy in ScGlobal::Clear
+mpFuncData->Unadvice( (double)nHandle );
+if ( meType == ParamType::PTR_STRING && pStr )  // include type 
comparison because of union
+delete pStr;
+delete pDocs;
 }
 
 ScAddInAsync* ScAddInAsync::Get( sal_uLong nHandleP )
 {
 ScAddInAsync* pRet = nullptr;
-aSeekObj.nHandle = nHandleP;
-ScAddInAsyncs::iterator it = theAddInAsyncTbl.find(  );
+ScAddInAsyncs::iterator it = std::find_if(
+theAddInAsyncTbl.begin(), theAddInAsyncTbl.end(),
+[nHandleP](ScAddInAsync const * el)
+{ return el->nHandle == nHandleP; });
 if ( it != theAddInAsyncTbl.end() )
 pRet = *it;
-aSeekObj.nHandle = 0;
 return pRet;
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-06-29 Thread Stephan Bergmann
 cui/source/options/optopencl.cxx |2 +-
 cui/source/options/optopencl.hxx |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8775290658df28f331bfc2611a072fd691620417
Author: Stephan Bergmann 
Date:   Wed Jun 29 20:50:28 2016 +0200

loplugin:staticmethods

Change-Id: I506f1e79a7500ab79dd0f199150949face091931

diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index 3fd5848..ec8f432 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -130,7 +130,7 @@ void SvxOpenCLTabPage::EnableOpenCLHdl(VclFrame* pFrame, 
bool aEnable)
 }
 
 
-IMPL_LINK_NOARG_TYPED(SvxOpenCLTabPage, EnableOpenCLHdl, Button*, void)
+IMPL_STATIC_LINK_NOARG_TYPED(SvxOpenCLTabPage, EnableOpenCLHdl, Button*, void)
 {
 }
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cui/source/options/optopencl.hxx b/cui/source/options/optopencl.hxx
index f66f3f4..d637968 100644
--- a/cui/source/options/optopencl.hxx
+++ b/cui/source/options/optopencl.hxx
@@ -36,7 +36,7 @@ private:
 
 VclPtr clUsed;
 
-DECL_LINK_TYPED(EnableOpenCLHdl, Button*, void);
+DECL_STATIC_LINK_TYPED(SvxOpenCLTabPage, EnableOpenCLHdl, Button*, void);
 
 static void EnableOpenCLHdl(VclFrame* pFrame, bool aEnable);
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-06-29 Thread Laurent Balland-Poirier
 svl/source/numbers/zformat.cxx |   29 ++---
 1 file changed, 10 insertions(+), 19 deletions(-)

New commits:
commit 97fda453bc43fbae3d0a9fd05259e92d3205fd06
Author: Laurent Balland-Poirier 
Date:   Sat Jun 25 22:27:11 2016 +0200

tdf#100594 Calculate nFrac with fNumber for Forced Denominator

nFrac was calculated with fraction value = nFrac/nDiv which could be rounded
in case of few digits in nDiv

Change-Id: I568121b0e7b5ea0b67bbff737d2c272c3691
Reviewed-on: https://gerrit.libreoffice.org/26663
Tested-by: Jenkins 
Reviewed-by: Eike Rathke 
Tested-by: Eike Rathke 

diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index a80fc53..8a02885 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -2042,23 +2042,6 @@ OUString lcl_GetNumeratorString(const 
ImpSvNumberformatInfo , sal_uInt16 n
 return aNumeratorString.makeStringAndClear();
 }
 
-// TODO: More optimizations?
-void lcl_ForcedDenominator(sal_uLong , sal_uLong , sal_uLong 
nForcedDiv)
-{
-double fFrac = (double)nFrac / (double)nDiv;
-double fMultiplier = (double)nForcedDiv / (double)nDiv;
-nFrac = (sal_uLong)( (double)nFrac * fMultiplier );
-
-double fFracNew = (double)nFrac / (double)nForcedDiv;
-double fFracNew1 = (double)(nFrac + 1) / (double)nForcedDiv;
-double fDiff = fFrac - fFracNew;
-if( fDiff > ( fFracNew1 - fFrac ) )
-{
-nFrac++;
-}
-nDiv = nForcedDiv;
-}
-
 }
 
 OUString SvNumberformat::GetDenominatorString( sal_uInt16 nNumFor ) const
@@ -2644,9 +2627,17 @@ bool SvNumberformat::ImpGetFractionOutput(double fNumber,
 }
 }
 
-if( sal_Int32 nForcedDiv = lcl_GetDenominatorString(NumFor[nIx].Info(), 
nAnz).toInt32() )
+if( sal_Int32 nForcedDiv = lcl_GetDenominatorString(rInfo, nAnz).toInt32() 
)
 {
-lcl_ForcedDenominator(nFrac, nDiv, nForcedDiv);
+nDiv = (sal_uLong) nForcedDiv;
+nFrac = (sal_uLong)floor ( fNumber * nDiv );
+double fFracNew = (double)nFrac / (double)nDiv;
+double fFracNew1 = (double)(nFrac + 1) / (double)nDiv;
+double fDiff = fNumber - fFracNew;
+if( fDiff > ( fFracNew1 - fNumber ) )
+{
+nFrac++;
+}
 if( nFrac >= nDiv )
 {
 nFrac = nDiv = 0;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-06-29 Thread Laurent Balland-Poirier
 sc/qa/unit/data/contentCSV/numberFormat.csv |2 +-
 sc/qa/unit/data/ods/formats.ods |binary
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b3bba0b8452d1e5798bd01f09a642718bcecf30f
Author: Laurent Balland-Poirier 
Date:   Wed Jun 22 21:18:32 2016 +0200

tdf#97837 Add qa unit test

Add a number format with "/ " at the begining like in bug report

Change-Id: I98ae12434608e16c8e202a1c4acfda50df4db6f1
Reviewed-on: https://gerrit.libreoffice.org/26576
Tested-by: Jenkins 
Reviewed-by: Eike Rathke 
Tested-by: Eike Rathke 

diff --git a/sc/qa/unit/data/contentCSV/numberFormat.csv 
b/sc/qa/unit/data/contentCSV/numberFormat.csv
index 8159839..c6aaf5a 100644
--- a/sc/qa/unit/data/contentCSV/numberFormat.csv
+++ b/sc/qa/unit/data/contentCSV/numberFormat.csv
@@ -6,4 +6,4 @@
 FALSE,TRUE
 />
 258.9E3,-953E-06
-0.5  
+0.5  ,"/ 123.46"
diff --git a/sc/qa/unit/data/ods/formats.ods b/sc/qa/unit/data/ods/formats.ods
index ba9440e..27a0601 100644
Binary files a/sc/qa/unit/data/ods/formats.ods and 
b/sc/qa/unit/data/ods/formats.ods differ
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100675] FILEOPEN Header image hides a bit of the text

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100675

Cor Nouws  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
 Whiteboard||TooBusyNowNeedsFurtherTesti
   ||ngForPossibleRegressionAndP
   ||ossibleDuplicates

--- Comment #4 from Cor Nouws  ---
Ah yes, thanks, It's not that much, but..

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


Re: GSoC Progress

2016-06-29 Thread Mohammed Abdul Azeem
Hi,

*Progress for week5:*
When trying to adopt LegacyFastParser in place of old parser, we hit quite
a few problems. Some of the XDocumentHandlers were using
namespacePrefix:foo kind of comparision directly on element name and some
expect namespace declarations explicitly and tries to resolve the already
resolved name in case of LegacyFastParser.

I thought of pushing xmlns: declaration through unknown attributes (
https://gerrit.libreoffice.org/#/c/26661/ ), but as Michael said, it would
affect the performance where XFastParser is already being used. So I've
reconsidered and thinking of implementing some kind of namespace handler
and keep the bit away from usual cases of XFastParser. I'm currently
looking into all places where XParser is used and where Document
Handler misuses
defined namespaces without resolving them. I'm hoping to write a
comprehensive test to cover all these cases within this week.

Regards,
Azeem
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2016-06-29 Thread Laurent Balland-Poirier
 sc/source/filter/oox/numberformatsbuffer.cxx |   44 +--
 1 file changed, 42 insertions(+), 2 deletions(-)

New commits:
commit 7c6a8f404bad90fb4d96dbf75e8824f673e16899
Author: Laurent Balland-Poirier 
Date:   Sun Jun 19 09:18:41 2016 +0200

tdf#81939 Remove escape char only for fraction

In XLSX files, in number format, all escape characters were removed.
But it is only necessary for space character in fraction.
Preserve escape character in other cases.

Change-Id: I6f82b7285cf91726725b723b0bb109bcced066b8
Reviewed-on: https://gerrit.libreoffice.org/26466
Tested-by: Jenkins 
Reviewed-by: Eike Rathke 
Tested-by: Eike Rathke 

diff --git a/sc/source/filter/oox/numberformatsbuffer.cxx 
b/sc/source/filter/oox/numberformatsbuffer.cxx
index cc8ede8..278a61c8 100644
--- a/sc/source/filter/oox/numberformatsbuffer.cxx
+++ b/sc/source/filter/oox/numberformatsbuffer.cxx
@@ -1875,6 +1875,30 @@ NumberFormatFinalizer::NumberFormatFinalizer( const 
WorkbookHelper& rHelper ) :
 OSL_ENSURE( mxNumFmts.is(), "NumberFormatFinalizer::NumberFormatFinalizer 
- cannot get number formats" );
 }
 
+sal_Int32 lclPosToken ( const OUString& sFormat, const OUString& sSearch, 
sal_Int32 nStartPos )
+{
+sal_Int32 nLength = sFormat.getLength();
+for ( sal_Int32 i = nStartPos; i < nLength && i >= 0 ; i++ )
+{
+switch(sFormat[i])
+{
+case '\"' : // skip text
+i = sFormat.indexOf('\"',i+1);
+break;
+case '['  : // skip condition
+i = sFormat.indexOf(']',i+1);
+break;
+default :
+if ( sFormat.match(sSearch, i) )
+return i;
+break;
+}
+if ( i < 0 )
+i--;
+}
+return -2;
+}
+
 } // namespace
 
 NumberFormat::NumberFormat( const WorkbookHelper& rHelper ) :
@@ -1884,11 +1908,27 @@ NumberFormat::NumberFormat( const WorkbookHelper& 
rHelper ) :
 
 void NumberFormat::setFormatCode( const OUString& rFmtCode )
 {
-// especiall for a fraction code '\ ?/?' is passed to us in xml, the '\' 
is not
+// Special case for fraction code '\ ?/?', it is passed to us in xml, the 
'\' is not
 // an escape character but merely should be telling the formatter to 
display the next
 // char in the format ( afaics it does that anyhow )
+sal_Int32 nPosEscape = 0;
+sal_Int32 nErase = 0;
+sal_Int32 nLastIndex = rFmtCode.getLength() - 1;
+OUStringBuffer sFormat = rFmtCode;
 
-maModel.maFmtCode = rFmtCode.replaceAll("\\", "");
+while ( ( nPosEscape = lclPosToken( rFmtCode, "\\ ", nPosEscape ) ) > 0 )
+{
+sal_Int32 nPos = nPosEscape + 2;
+while ( nPos < nLastIndex && ( rFmtCode[nPos] == '?' || rFmtCode[nPos] 
== '#' || rFmtCode[nPos] == '0' ) )
+nPos++;
+if ( nPos < nLastIndex && rFmtCode[nPos] == '/' )
+{
+sFormat.remove(nPosEscape - nErase, 1);
+nErase ++;
+}  // tdf#81939 preserve other escape characters
+nPosEscape = lclPosToken( rFmtCode, ";", nPosEscape ); // skip to next 
format
+}
+maModel.maFmtCode = sFormat.makeStringAndClear();
 }
 
 void NumberFormat::setFormatCode( const Locale& rLocale, const sal_Char* 
pcFmtCode )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100687] New: Custom fill color panel doesn't apply color when clicked

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100687

Bug ID: 100687
   Summary: Custom fill color panel doesn't apply color when
clicked
   Product: LibreOffice
   Version: 5.1.2.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: documentfoundat...@londonlight.org

Fill Color icon > Custom Color https://i.imgur.com/5kBXWfM.png
This seems to be the only panel where I can actually set a color using hex
values https://i.imgur.com/XBMxJaw.png
Yet it does not allow one to edit any of the "named" colors (Tools > Options >
LibreOffice > Colors, you can add and modify colors there, but there is no hex
input field, and the one I mentioned above does not let me edit any of those
colors).

Furthermore, if I select a Text Box which has no background color set and then
I click that Fill Color button, nothing happens. One must first right-click on
the frame of the Text Box, select Area in the context menu, set Fill to any
color in the window which pops up https://i.imgur.com/NFlgzst.png , close the
window, and only then does clicking on the Fill button work. That is entirely
unintuitive and not user-friendly.

And one cannot use the Fill button to set the slide's background color, which
means that even though I have the color that I want the background to have
copied in the clipboard in hex values, I must now go to the Custom Color dialog
only to write down the RGB decimal values on a piece of paper, or go to a
website to convert hex to dec, then close that window because I cannot do
anything there, then go to Tools > Options > LibreOffice > Colors, and set a
new custom color using the decimal values from the piece of paper, only to be
able to set the slide's background color. Entirely unintuitive and not
user-friendly.

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


[Libreoffice-bugs] [Bug 47849] EDITING: Spell & grammar check "seems" it isn't working

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=47849

--- Comment #14 from Neo  ---
Guys, I know that LibreOffice is extremely complicated and I know that people
are writing it for little or no compensation, however, much better quality
control is needed to weed out such fundamental bugs.  I can confirm that spell
check is not working on my system (latest version, Windows 8.1).  I've read
about corrupt user profiles and deleting other configuration files.  This is
not acceptable.  I say this as a software engineer myself. Unfortunately I've
come to conclude that this software is still too immature to be a viable
replacement for MS Office.  I was recently working on a document and spell
check didn't work. I am beyond caring about the reasons why it fails because I
am now in a position where I have to produce results. This is extremely
important to me because I am trying to get my local city government to abandon
MS Office and its costly licenses but the average secretary will not care why
spell check doesn't work. She will simply complain to the supervisor who will
say that Libreoffice is not worth the trouble and that they should switch back
to MS Office. I'm on your side, but stuff like this really needs to never
happen.

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


[Libreoffice-bugs] [Bug 100686] New: UI: Impress shows wrong used font family in 75% of the cases

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100686

Bug ID: 100686
   Summary: UI: Impress shows wrong used font family in 75% of the
cases
   Product: LibreOffice
   Version: 5.1.3.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: szots...@gmail.com

Created attachment 125990
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125990=edit
Test document

1.) First install Arial and Roboto TTF fonts (latter can be found here:
https://google-webfonts-helper.herokuapp.com/api/fonts/roboto?download=zip=latin=regular
)
2.) Open the attached ODP.
3.) Click into the textbox. The written text (Test) font family is Roboto,
however Impress guesses (?) 75% of time it's Arial. If you click out and in
again, again and again it shows the correct Roboto. It even shows that the
first line is in 30pt size (when its guess is Arial).
4.) Try to add a new sublist and repeat this click in-and-out again if the 3rd
point wouldn't work for you.

OS: openSUSE 42.1, x64, KDE 5.

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


[Libreoffice-bugs] [Bug 100685] New: Tools > Options > LibreOffice > Colors lacks hex input

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100685

Bug ID: 100685
   Summary: Tools > Options > LibreOffice > Colors lacks hex input
   Product: LibreOffice
   Version: 5.1.2.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: documentfoundat...@londonlight.org

Tools > Options > LibreOffice > Colors only allows decimal RGB input. Please
add a hex input field.

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


GSoC Week 5 Report

2016-06-29 Thread Rosemary Sebastian
Hello everyone

This week I got the export of addition and deletion of text and paragraph
working. There is still the pending problem of getting the positions of the
changes after all the changes have been applied to the document. Next I'll
be working on the import filter.

Regards
Rosemary
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 100684] New: mergedlo.dll crash on start

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100684

Bug ID: 100684
   Summary: mergedlo.dll crash on start
   Product: LibreOffice
   Version: 5.1.4.2 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: phwe...@gmail.com

Created attachment 125989
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125989=edit
screen capture of error

I have an error with mergedlo.dll. The program not load. When the program
starts, there is a message "Libre Office 5.1 - Fatal Error" "load component
library

failed.

Then, the program is closed.

I´m using Windows 7, on AMD PhenoMn II X4.

The problem occurs with LibreOffice 5.1.1 and 5.1.4.

How can I fix it?

Thanks in advance,

Paulo Henrique

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


[Libreoffice-bugs] [Bug 100683] New: Slide background image relative size cannot upscale

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100683

Bug ID: 100683
   Summary: Slide background image relative size cannot upscale
   Product: LibreOffice
   Version: 5.1.2.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: documentfoundat...@londonlight.org

Slide > Page/Slide Properties > Fill > Bitmap
One can downscale an image, but it is impossible to upscale it. The maximum
width and height is 100%. Please allow the user to upscale.

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


[Libreoffice-bugs] [Bug 100668] FileOpen: Multiple instances of soffice.bin

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100668

Julien Nabet  changed:

   What|Removed |Added

Summary|FileOpen: Mulitple  |FileOpen: Multiple
   |instances of soffice.bin|instances of soffice.bin

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


[Libreoffice-bugs] [Bug 100682] New: Add slide background color hex input

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100682

Bug ID: 100682
   Summary: Add slide background color hex input
   Product: LibreOffice
   Version: 5.1.2.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Impress
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: documentfoundat...@londonlight.org

Created attachment 125988
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125988=edit
Fill color panel wasted space

Hello

Currently the only way to set a slide's background color is using the very
simple Format Slide > Background > Fill > Color combobox. There is no way to
enter HEX values, there is no colorwheel or other sort of color picker, it
feels very pre-90s. Please add the usual color selection functions to that
panel, as it has plenty of empty space.

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


[Libreoffice-bugs] [Bug 90336] Make it visible in "Options - LibreOffice - OpenCL" whether OpenCL will be used, and which implementation

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90336

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

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

tdf#90336, make it visible in options, if openCL will be used

It will be available in 5.3.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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 90336] Make it visible in "Options - LibreOffice - OpenCL" whether OpenCL will be used, and which implementation

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90336

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:5.3.0

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


[Libreoffice-commits] core.git: cui/source cui/uiconfig

2016-06-29 Thread JBurant
 cui/source/options/optopencl.cxx |  311 +-
 cui/source/options/optopencl.hxx |   32 ---
 cui/uiconfig/ui/optopenclpage.ui |  316 ++-
 3 files changed, 29 insertions(+), 630 deletions(-)

New commits:
commit c58ef7f10839d78859c470c160fe20ae2d49e6ab
Author: JBurant 
Date:   Tue Apr 5 20:47:12 2016 +0200

tdf#90336, make it visible in options, if openCL will be used

I tried to hide the black and white list settings and
to add the info, whether OpenCL will be used.

Change-Id: Ida7d34078bdb6fc2597376a61138cf9ec0c8eeaa
Reviewed-on: https://gerrit.libreoffice.org/23847
Tested-by: Jenkins 
Reviewed-by: Michael Meeks 

diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index e536445..3fd5848 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -23,6 +23,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include "optHeaderTabListbox.hxx"
@@ -46,64 +47,20 @@ SvxOpenCLTabPage::SvxOpenCLTabPage(vcl::Window* pParent, 
const SfxItemSet& rSet)
 {
 get(mpUseSwInterpreter, "useswinterpreter");
 get(mpUseOpenCL, "useopencl");
-get(mpBlackListTable, "blacklist");
-get(mpBlackListFrame,"blacklistframe");
-get(mpBlackListEdit, "bledit");
-get(mpBlackListAdd, "bladd");
-get(mpBlackListDelete, "bldelete");
-get(mpWhiteListTable, "whitelist");
-get(mpWhiteListFrame,"whitelistframe");
-get(mpWhiteListEdit, "wledit");
-get(mpWhiteListAdd, "wladd");
-get(mpWhiteListDelete, "wldelete");
-get(mpOS,"os");
-get(mpOSVersion,"osversion");
-get(mpDevice,"device");
-get(mpVendor,"vendor");
-get(mpDrvVersion,"driverversion");
+get(clUsed,"openclused");
 
 
mpUseSwInterpreter->Check(officecfg::Office::Common::Misc::UseSwInterpreter::get());
 
 mpUseOpenCL->Check(maConfig.mbUseOpenCL);
 mpUseOpenCL->SetClickHdl(LINK(this, SvxOpenCLTabPage, EnableOpenCLHdl));
 
-mpBlackListEdit->SetClickHdl(LINK(this, SvxOpenCLTabPage, 
BlackListEditHdl));
-mpBlackListAdd->SetClickHdl(LINK(this, SvxOpenCLTabPage, BlackListAddHdl));
-mpBlackListDelete->SetClickHdl(LINK(this, SvxOpenCLTabPage, 
BlackListDeleteHdl));
-
-mpWhiteListEdit->SetClickHdl(LINK(this, SvxOpenCLTabPage, 
WhiteListEditHdl));
-mpWhiteListAdd->SetClickHdl(LINK(this, SvxOpenCLTabPage, WhiteListAddHdl));
-mpWhiteListDelete->SetClickHdl(LINK(this, SvxOpenCLTabPage, 
WhiteListDeleteHdl));
-
-WinBits nBits = WB_SORT | WB_HSCROLL | WB_CLIPCHILDREN | WB_TABSTOP;
-mpBlackList = VclPtr::Create( *mpBlackListTable, nBits );
-mpWhiteList = VclPtr::Create( *mpWhiteListTable, nBits );
-
-HeaderBar  = mpBlackList->GetTheHeaderBar();
-HeaderBar  = mpWhiteList->GetTheHeaderBar();
-
-HeaderBarItemBits nHBits = HeaderBarItemBits::LEFT | 
HeaderBarItemBits::VCENTER | HeaderBarItemBits::CLICKABLE;
-rBlBar.InsertItem( 1, mpOS->GetText(), 0, nHBits );
-rBlBar.InsertItem( 2, mpOSVersion->GetText(),  0, nHBits );
-rBlBar.InsertItem( 3, mpVendor->GetText(), 0, nHBits );
-rBlBar.InsertItem( 4, mpDevice->GetText(), 0, nHBits );
-rBlBar.InsertItem( 5, mpDrvVersion->GetText(), 0, nHBits );
-
-rWiBar.InsertItem( 1, mpOS->GetText(), 0, nHBits );
-rWiBar.InsertItem( 2, mpOSVersion->GetText(),  0, nHBits );
-rWiBar.InsertItem( 3, mpVendor->GetText(), 0, nHBits );
-rWiBar.InsertItem( 4, mpDevice->GetText(), 0, nHBits );
-rWiBar.InsertItem( 5, mpDrvVersion->GetText(), 0, nHBits );
-
-long aTabs[] = {5, 0, 0, 0, 0, 0};
-aTabs[1] = rBlBar.GetTextWidth(rBlBar.GetItemText(1)) + 12;
-aTabs[2] = rBlBar.GetTextWidth(rBlBar.GetItemText(2)) + aTabs[1] + 12;
-aTabs[3] = rBlBar.GetTextWidth(rBlBar.GetItemText(3)) + aTabs[2] + 12;
-aTabs[4] = rBlBar.GetTextWidth(rBlBar.GetItemText(4)) + aTabs[3] + 12;
-aTabs[5] = rBlBar.GetTextWidth(rBlBar.GetItemText(5)) + aTabs[4] + 12;
-mpBlackList->SetTabs(aTabs, MAP_PIXEL);
-mpWhiteList->SetTabs(aTabs, MAP_PIXEL);
-
+cl_device_id idTest=opencl::gpuEnv.mpDevID;
+if(!idTest)
+{
+clUsed->SetText("Yes");
+}else{
+clUsed->SetText("No");
+}
 }
 
 SvxOpenCLTabPage::~SvxOpenCLTabPage()
@@ -113,30 +70,9 @@ SvxOpenCLTabPage::~SvxOpenCLTabPage()
 
 void SvxOpenCLTabPage::dispose()
 {
-   for ( sal_uLong i = 0; i < mpBlackList->GetEntryCount(); ++i )
-delete 
static_cast(mpBlackList->GetEntry(i)->GetUserData());
-for ( sal_uLong i = 0; i < mpWhiteList->GetEntryCount(); ++i )
-delete 
static_cast(mpWhiteList->GetEntry(i)->GetUserData());
-mpBlackList.disposeAndClear();
-mpWhiteList.disposeAndClear();
 
 mpUseSwInterpreter.clear();
 mpUseOpenCL.clear();
-mpBlackListFrame.clear();
-

[Libreoffice-bugs] [Bug 93992] Typos in Calc function names and error codes

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93992

--- Comment #15 from Eike Rathke  ---
Created attachment 125987
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125987=edit
Test document for function translations in 5.2

Updated with new function names in 5.2, see
https://wiki.documentfoundation.org/ReleaseNotes/5.2#New_spreadsheet_functions

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


[Libreoffice-bugs] [Bug 93992] Typos in Calc function names and error codes

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93992

--- Comment #14 from Eike Rathke  ---
Created attachment 125986
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125986=edit
Test document for function translations in 5.1

Note that for 5.1 four functions with *WEEKNUM* name exist in the UI, see
https://wiki.documentfoundation.org/ReleaseNotes/5.1#Compatibility_with_ODF_1.2

ISOWEEKNUM
WEEKNUM
WEEKNUM_EXCEL2003
WEEKNUM_OOO

These when saved and reloaded with 5.1 are mapped to

ISOWEEKNUM
WEEKNUM
WEEKNUM
ISOWEEKNUM

so unfortunately updating the attached document accordingly with all four
function names doesn't help.

However, I added ISOWEEKNUM. And disabled regular expressions so a . dot in the
function name doesn't lead to duplicates anymore ;-)

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


[Libreoffice-bugs] [Bug 100670] Writer crashes

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100670

Julien Nabet  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||serval2...@yahoo.fr
 Ever confirmed|0   |1

--- Comment #1 from Julien Nabet  ---
2 things you can do:
1) Rename your LO directory profile (see
https://wiki.documentfoundation.org/UserProfile#Windows)
2) Give a try to brand new 5.1.4

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


[Libreoffice-commits] core.git: compilerplugins/clang

2016-06-29 Thread Stephan Bergmann
 compilerplugins/clang/stringconstant.cxx |  539 ++-
 1 file changed, 313 insertions(+), 226 deletions(-)

New commits:
commit 8614502d737de5b00889c06cd88499b00867bb5d
Author: Stephan Bergmann 
Date:   Wed Jun 29 18:27:05 2016 +0200

Further clean-up

Change-Id: I884acbc85108f9cbd5e244c73a1f4c58a8c89613

diff --git a/compilerplugins/clang/stringconstant.cxx 
b/compilerplugins/clang/stringconstant.cxx
index ceb7654..fde3119 100644
--- a/compilerplugins/clang/stringconstant.cxx
+++ b/compilerplugins/clang/stringconstant.cxx
@@ -117,21 +117,21 @@ private:
 char const * rewriteFrom, char const * rewriteTo);
 
 void checkEmpty(
-CallExpr const * expr, std::string const & qname, TreatEmpty 
treatEmpty,
-unsigned size, std::string * replacement);
+CallExpr const * expr, FunctionDecl const * callee,
+TreatEmpty treatEmpty, unsigned size, std::string * replacement);
 
 void handleChar(
-CallExpr const * expr, unsigned arg, std::string const & qname,
+CallExpr const * expr, unsigned arg, FunctionDecl const * callee,
 std::string const & replacement, TreatEmpty treatEmpty, bool literal,
 char const * rewriteFrom = nullptr, char const * rewriteTo = nullptr);
 
 void handleCharLen(
 CallExpr const * expr, unsigned arg1, unsigned arg2,
-std::string const & qname, std::string const & replacement,
+FunctionDecl const * callee, std::string const & replacement,
 TreatEmpty treatEmpty);
 
 void handleOUStringCtor(
-CallExpr const * expr, unsigned arg, std::string const & qname,
+CallExpr const * expr, unsigned arg, FunctionDecl const * callee,
 bool explicitFunctionalCastNotation);
 
 std::stack calls_;
@@ -220,7 +220,6 @@ bool StringConstant::VisitCallExpr(CallExpr const * expr) {
 if (fdecl == nullptr) {
 return true;
 }
-std::string qname(fdecl->getQualifiedNameAsString());
 for (unsigned i = 0; i != fdecl->getNumParams(); ++i) {
 auto t = fdecl->getParamDecl(i)->getType();
 if (loplugin::TypeCheck(t).NotSubstTemplateTypeParmType()
@@ -230,186 +229,239 @@ bool StringConstant::VisitCallExpr(CallExpr const * 
expr) {
 if (!(isLhsOfAssignment(fdecl, i)
   || hasOverloads(fdecl, expr->getNumArgs(
 {
-handleOUStringCtor(expr, i, qname, true);
+handleOUStringCtor(expr, i, fdecl, true);
 }
 }
 }
+loplugin::DeclCheck dc(fdecl);
 //TODO: u.compareToAscii("foo") -> u.???("foo")
 //TODO: u.compareToIgnoreAsciiCaseAscii("foo") -> u.???("foo")
-if (qname == "rtl::OUString::createFromAscii" && fdecl->getNumParams() == 
1)
+if ((dc.Function("createFromAscii").Class("OUString").Namespace("rtl")
+ .GlobalNamespace())
+&& fdecl->getNumParams() == 1)
 {
 // OUString::createFromAscii("foo") -> OUString("foo")
 handleChar(
-expr, 0, qname, "rtl::OUString constructor",
+expr, 0, fdecl, "rtl::OUString constructor",
 TreatEmpty::DefaultCtor, true);
 return true;
 }
-if (qname == "rtl::OUString::endsWithAsciiL" && fdecl->getNumParams() == 2)
+if ((dc.Function("endsWithAsciiL").Class("OUString").Namespace("rtl")
+ .GlobalNamespace())
+&& fdecl->getNumParams() == 2)
 {
 // u.endsWithAsciiL("foo", 3) -> u.endsWith("foo"):
 handleCharLen(
-expr, 0, 1, qname, "rtl::OUString::endsWith", TreatEmpty::Error);
+expr, 0, 1, fdecl, "rtl::OUString::endsWith", TreatEmpty::Error);
 return true;
 }
-if (qname == "rtl::OUString::endsWithIgnoreAsciiCaseAsciiL"
+if ((dc.Function("endsWithIgnoreAsciiCaseAsciiL").Class("OUString")
+ .Namespace("rtl").GlobalNamespace())
 && fdecl->getNumParams() == 2)
 {
 // u.endsWithIgnoreAsciiCaseAsciiL("foo", 3) ->
 // u.endsWithIgnoreAsciiCase("foo"):
 handleCharLen(
-expr, 0, 1, qname, "rtl::OUString::endsWithIgnoreAsciiCase",
+expr, 0, 1, fdecl, "rtl::OUString::endsWithIgnoreAsciiCase",
 TreatEmpty::Error);
 return true;
 }
-if (qname == "rtl::OUString::equalsAscii" && fdecl->getNumParams() == 1) {
+if ((dc.Function("equalsAscii").Class("OUString").Namespace("rtl")
+ .GlobalNamespace())
+&& fdecl->getNumParams() == 1)
+{
 // u.equalsAscii("foo") -> u == "foo":
 handleChar(
-expr, 0, qname, "operator ==", TreatEmpty::CheckEmpty, false);
+expr, 0, fdecl, "operator ==", TreatEmpty::CheckEmpty, false);
 return true;
 }
-if (qname == "rtl::OUString::equalsAsciiL" && fdecl->getNumParams() == 2) {
+if ((dc.Function("equalsAsciiL").Class("OUString").Namespace("rtl")
+ .GlobalNamespace())
+&& fdecl->getNumParams() == 

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

2016-06-29 Thread Tor Lillqvist
 opencl/source/opencl_device.cxx |   17 ++---
 1 file changed, 14 insertions(+), 3 deletions(-)

New commits:
commit 68106cbac586f25836d3482c068eee2ffb7c99fc
Author: Tor Lillqvist 
Date:   Wed Jun 29 18:25:26 2016 +0300

Don't waste too much time evaluating the "score" for the "native CPU"

This code took tens of second typically, which is utterly pointless.
Instead run the loop for max a second, after which estimate how long
it would have taken to process all of the data.

Don't confuse the "native CPU" term here with a CPU-based device
of an actual OpenCL implementation. That is a completely different
thing. This "native CPU" thing here is just our way to estimate how
much time it takes to do calculations using normal C++ code on the
CPU.

Change-Id: I92f5eedc06bbaaef6a9b5322fefec9d41f0db505
Reviewed-on: https://gerrit.libreoffice.org/26774
Reviewed-by: Michael Meeks 
Tested-by: Jenkins 

diff --git a/opencl/source/opencl_device.cxx b/opencl/source/opencl_device.cxx
index 0a0d28e..3dc9a29 100644
--- a/opencl/source/opencl_device.cxx
+++ b/opencl/source/opencl_device.cxx
@@ -327,7 +327,8 @@ ds_status evaluateScoreForDevice(ds_device& rDevice, 
std::unique_ptroutputSize; j++)
+unsigned long j;
+for (j = 0; j < testData->outputSize; j++)
 {
 double fAverage = 0.0f;
 double fMin = DBL_MAX;
@@ -340,15 +341,25 @@ ds_status evaluateScoreForDevice(ds_device& rDevice, 
std::unique_ptrinputSize;
 testData->output[j] = fAverage + (fMin * fSoP);
+// Don't run for much longer than one second
+if (j > 0 && j % 100 == 0)
+{
+rDevice.fTime = timerCurrent();
+if (rDevice.fTime >= 1)
+break;
+}
 }
 
+rDevice.fTime = timerCurrent();
+
+// Scale time to how long it would have taken to go all the way to 
outputSize
+rDevice.fTime /= ((double) j / testData->outputSize);
+
 // InterpretTail - the S/W fallback is nothing like as efficient
 // as any good openCL implementation: no SIMD, tons of branching
 // in the inner loops etc. Generously characterise it as only 10x
 // slower than the above.
 float fInterpretTailFactor = 10.0;
-
-rDevice.fTime = timerCurrent();
 rDevice.fTime *= fInterpretTailFactor;
 rDevice.bErrors = false;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 84411] OpenCL: S/W interpreter throws std::out_of_range error

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=84411

Michael Meeks  changed:

   What|Removed |Added

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

--- Comment #14 from Michael Meeks  ---
Closing the bug then =)

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


[Libreoffice-bugs] [Bug 99090] Exported DOCX cannot be opened by Word 2013

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99090

Justin L  changed:

   What|Removed |Added

Crash report or||https://bugs.documentfounda
crash signature||tion.org/show_bug.cgi?id=92
   ||521
   Assignee|libreoffice-b...@lists.free |jl...@mail.com
   |desktop.org |

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


[Libreoffice-bugs] [Bug 99090] Exported DOCX cannot be opened by Word 2013

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99090

--- Comment #8 from Justin L  ---
proposed fix: https://gerrit.libreoffice.org/#/c/26771/

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


[Libreoffice-commits] core.git: Branch 'feature/dialog-screenshots' - 2 commits - sc/Module_sc.mk sc/qa sd/Module_sd.mk

2016-06-29 Thread Katarina Behrens
 sc/Module_sc.mk|1 +
 sc/qa/unit/screenshots/screenshots.cxx |2 +-
 sd/Module_sd.mk|4 
 3 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 06d36ffdaeb387a6014deb8c85fa355a2ffcb2a6
Author: Katarina Behrens 
Date:   Wed Jun 29 17:48:42 2016 +0200

Take screenshots during 'make slowcheck'

Change-Id: I666dfcb451367f5ac9f36207703cf090c1846b35

diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 0f6b29f..1e410d9 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -59,6 +59,7 @@ $(eval $(call gb_Module_add_slowcheck_targets,sc, \
CppunitTest_sc_opencl_test \
CppunitTest_sc_copypaste \
CppunitTest_sc_functions_test \
+   CppunitTest_sc_screenshots \
 ))
 
 # Disabled to allow the check tinderbox execute the sd tests
diff --git a/sd/Module_sd.mk b/sd/Module_sd.mk
index 80f31fa..5e067d3 100644
--- a/sd/Module_sd.mk
+++ b/sd/Module_sd.mk
@@ -44,6 +44,10 @@ $(eval $(call gb_Module_add_check_targets,sd,\
 ))
 endif
 
+$(eval $(call gb_Module_add_slowcheck_targets,sd, \
+CppunitTest_sd_dialogs_test \
+))
+
 $(eval $(call gb_Module_add_subsequentcheck_targets,sd,\
 JunitTest_sd_unoapi \
 ))
commit beb604fe5258350e004a8f9c8c739e0b63c79b55
Author: Katarina Behrens 
Date:   Wed Jun 29 14:40:23 2016 +0200

Don't leak windows

Change-Id: If39441d6419556d1ae7637626b17b81357d29c38

diff --git a/sc/qa/unit/screenshots/screenshots.cxx 
b/sc/qa/unit/screenshots/screenshots.cxx
index 46a5af2..d331ffa 100644
--- a/sc/qa/unit/screenshots/screenshots.cxx
+++ b/sc/qa/unit/screenshots/screenshots.cxx
@@ -339,7 +339,7 @@ void ScScreenshotTest::testOpeningModalDialogs()
 
 for ( sal_uInt32 i = 0; i < nDialogs; i++ )
 {
-VclAbstractDialog *pDialog = createDialogByID( i );
+std::unique_ptr pDialog( createDialogByID( i ) );
 
 dumpDialogToPath( *pDialog );
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100421] Crash when deleting nested tables

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100421

Markus Mohrhard  changed:

   What|Removed |Added

Crash report or|["SwFrame::Shrink(long,bool |["SwFrame::Shrink(long,bool
crash signature|,bool)+0x0"]|,bool)"]

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


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

2016-06-29 Thread Miklos Vajna
 framework/source/dispatch/dispatchdisabler.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f4f580f4a4683ab09c94cfd2dfa9d203881e3eb5
Author: Miklos Vajna 
Date:   Wed Jun 29 15:55:11 2016 +0200

framework: fix typo in dispatchdisabler

maDisabledURLs is a set, aDisabledURLs is a sequence, the intention is
to copy the set into the sequence, not to copy the (empty) set into
itself.

Change-Id: Ib262e863b1f1aa4c455bd7552df3dc2c3f73a400
Reviewed-on: https://gerrit.libreoffice.org/26765
Reviewed-by: Miklos Vajna 
Tested-by: Jenkins 

diff --git a/framework/source/dispatch/dispatchdisabler.cxx 
b/framework/source/dispatch/dispatchdisabler.cxx
index 7f1fe49..016d3ad 100644
--- a/framework/source/dispatch/dispatchdisabler.cxx
+++ b/framework/source/dispatch/dispatchdisabler.cxx
@@ -94,7 +94,7 @@ uno::Sequence< OUString > SAL_CALL
 {
 uno::Sequence< OUString > aDisabledURLs(maDisabledURLs.size());
 sal_Int32 n = 0;
-for (auto i = aDisabledURLs.begin(); i != aDisabledURLs.end(); ++i)
+for (auto i = maDisabledURLs.begin(); i != maDisabledURLs.end(); ++i)
 aDisabledURLs[n++] = *i;
 return aDisabledURLs;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100184] OpenGL-related crash upon exit

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100184

Markus Mohrhard  changed:

   What|Removed |Added

Crash report or|["ImplOpenGLTexture::Decrea |["ImplOpenGLTexture::Decrea
crash signature|seRefCount(int)+0x1c"]  |seRefCount(int)"]

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


[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.1' - external/firebird

2016-06-29 Thread Stephan Bergmann
 external/firebird/firebird-c++11.patch.1   |   26 +
 external/firebird/firebird-c++11replfn.patch.0 |6 -
 2 files changed, 27 insertions(+), 5 deletions(-)

New commits:
commit f99c457478d0791e32e636fcc3c6691681e8fb08
Author: Stephan Bergmann 
Date:   Tue Jan 19 16:19:44 2016 +0100

external/firebird: Adapt to GCC 6

...which switched defaults from C++03 to C++14, so causes some errors now.

Curiously, the throw(std::bad_alloc) vs. throw-anything mismatch between the
global operator new replacements and the standard headers is OK for GCC only
when there is no further declaration in between the standard header and the
replacmenet definition.

Change-Id: Ib54727fecf4ad07426b811a9cc04b08ea80e59dc
(cherry picked from commit 3179e8f7e6ce550bbe766ed730e68b0374944dd5)
Reviewed-on: https://gerrit.libreoffice.org/26768
Reviewed-by: Michael Stahl 
Tested-by: Jenkins 
(cherry picked from commit 0a5ec9de2d558a428fd31c258132bac0fe6d8e3f)

diff --git a/external/firebird/firebird-c++11.patch.1 
b/external/firebird/firebird-c++11.patch.1
index e8cb52d..2890577 100644
--- a/external/firebird/firebird-c++11.patch.1
+++ b/external/firebird/firebird-c++11.patch.1
@@ -1,4 +1,19 @@
 # -*- Mode: Diff -*-
+--- firebird/src/dudley/exe.epp
 firebird/src/dudley/exe.epp
+@@ -2884,9 +2884,9 @@
+   blr_parameter, 0, 0, 0,
+   blr_parameter, 0, 1, 0,
+   blr_parameter, 1, 0, 0,
+-  blr_end,
+-  blr_end,
+-  blr_end,
++  SCHAR(blr_end),
++  SCHAR(blr_end),
++  SCHAR(blr_end),
+   blr_eoc
+   };
+   static FB_API_HANDLE req_handle;
 --- firebird/src/gpre/c_cxx.cpp
 +++ firebird/src/gpre/c_cxx.cpp
 @@ -876,7 +876,7 @@
@@ -156,6 +171,17 @@
}
else {
sprintf(p, "%d", value);
+--- firebird/src/gpre/sqe.cpp
 firebird/src/gpre/sqe.cpp
+@@ -2529,7 +2529,7 @@
+   return par_stat(request);
+ 
+   if (MSC_match(KW_MINUS))
+-  return MSC_unary(nod_negate, par_primitive_value(request, 
false, paren_count, false));
++  return MSC_unary(nod_negate, par_primitive_value(request, 
false, paren_count, NULL));
+ 
+   MSC_match(KW_PLUS);
+ 
 --- firebird/src/common/classes/alloc.cpp
 +++ firebird/src/common/classes/alloc.cpp
 @@ -1100,7 +1100,7 @@
diff --git a/external/firebird/firebird-c++11replfn.patch.0 
b/external/firebird/firebird-c++11replfn.patch.0
index d14296c..53b1dd0 100644
--- a/external/firebird/firebird-c++11replfn.patch.0
+++ b/external/firebird/firebird-c++11replfn.patch.0
@@ -1,6 +1,6 @@
 --- src/common/classes/alloc.h
 +++ src/common/classes/alloc.h
-@@ -489,23 +489,11 @@
+@@ -489,23 +489,7 @@
  inline static MemoryPool* getDefaultMemoryPool() { return 
Firebird::MemoryPool::processMemoryPool; }
  
  // Global versions of operators new and delete
@@ -12,8 +12,6 @@
 -{
 -  return Firebird::MemoryPool::globalAlloc(s);
 -}
-+void* operator new(size_t s) THROW_BAD_ALLOC;
-+void* operator new[](size_t s) THROW_BAD_ALLOC;
  
 -inline void operator delete(void* mem) throw()
 -{
@@ -23,8 +21,6 @@
 -{
 -  Firebird::MemoryPool::globalFree(mem);
 -}
-+void operator delete(void* mem) throw();
-+void operator delete[](void* mem) throw();
  
  #ifdef DEBUG_GDS_ALLOC
  inline void* operator new(size_t s, Firebird::MemoryPool& pool, const char* 
file, int line)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100675] FILEOPEN Header image hides a bit of the text

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100675

ekari  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #3 from ekari  ---
Changing to unconfirmed

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


[Libreoffice-commits] core.git: editeng/source forms/source hwpfilter/source i18npool/source lotuswordpro/source onlineupdate/source sal/osl sal/rtl sc/source sd/source sfx2/source svx/source sw/sourc

2016-06-29 Thread Noel Grandin
 editeng/source/misc/unolingu.cxx  |3 
 forms/source/xforms/datatypes.cxx |   44 +-
 forms/source/xforms/datatypes_impl.hxx|   68 --
 hwpfilter/source/hwpreader.cxx|3 
 i18npool/source/localedata/localedata.cxx |5 -
 lotuswordpro/source/filter/lwpdoc.cxx |2 
 lotuswordpro/source/filter/lwpfont.cxx|3 
 lotuswordpro/source/filter/lwplayout.cxx  |3 
 lotuswordpro/source/filter/lwplaypiece.cxx|5 -
 onlineupdate/source/update/updater/updater.cxx|   15 ++--
 sal/osl/unx/nlsupport.cxx |5 +
 sal/rtl/alloc_cache.cxx   |6 +
 sc/source/ui/Accessibility/AccessibleCellBase.cxx |6 -
 sd/source/ui/unoidl/unomodel.cxx  |3 
 sfx2/source/doc/sfxbasemodel.cxx  |3 
 svx/source/engine3d/view3d.cxx|3 
 svx/source/unodraw/unoshap2.cxx   |   23 +++
 sw/source/core/frmedt/fefly1.cxx  |4 -
 sw/source/core/txtnode/ndtxt.cxx  |3 
 sw/source/core/unocore/unorefmk.cxx   |   33 +-
 vcl/unx/kde4/KDEXLib.cxx  |3 
 21 files changed, 102 insertions(+), 141 deletions(-)

New commits:
commit 42486dde49d9a9494c1f4889bbccde1f5aecd91e
Author: Noel Grandin 
Date:   Wed Jun 29 14:46:39 2016 +0200

move #includes to top of file

instead of being randomly embedded somewhere deep inside the CXX code.

Found with:
  git grep -nP '^#include' -- *.cxx | sort -g -k 2 -t :

Change-Id: I9ee432d3b665ecb6ec600bd51cc4b735a1b1127a
Reviewed-on: https://gerrit.libreoffice.org/26764
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 6337edf..def44d4 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -24,6 +24,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -758,8 +759,6 @@ uno::Reference< XDictionary >  SvxGetChangeAllList()
 return LinguMgr::GetChangeAllList();
 }
 
-#include 
-
 SvxAlternativeSpelling SvxGetAltSpelling(
 const css::uno::Reference< css::linguistic2::XHyphenatedWord > & 
rHyphWord )
 {
diff --git a/forms/source/xforms/datatypes.cxx 
b/forms/source/xforms/datatypes.cxx
index ce99368..90e307a 100644
--- a/forms/source/xforms/datatypes.cxx
+++ b/forms/source/xforms/datatypes.cxx
@@ -937,10 +937,48 @@ namespace xforms
 }
 
 
-#define DATATYPES_INCLUDED_BY_MASTER_HEADER
-#include "datatypes_impl.hxx"
-#undef DATATYPES_INCLUDED_BY_MASTER_HEADER
+template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS >
+ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::ODerivedDataType( 
const OUString& _rName, sal_Int16 _nTypeClass )
+:SUPERCLASS( _rName, _nTypeClass )
+,m_bPropertiesRegistered( false )
+{
+}
+
+
+template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS >
+::cppu::IPropertyArrayHelper* ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, 
SUPERCLASS >::createArrayHelper( ) const
+{
+css::uno::Sequence< css::beans::Property > aProps;
+ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS 
>::describeProperties( aProps );
+return new ::cppu::OPropertyArrayHelper( aProps );
+}
+
+
+template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS >
+css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL ODerivedDataType< 
CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::getPropertySetInfo() throw( 
css::uno::RuntimeException )
+{
+return ::cppu::OPropertySetHelper::createPropertySetInfo( 
getInfoHelper() );
+}
+
 
+template< typename CONCRETE_DATA_TYPE_IMPL, typename SUPERCLASS >
+::cppu::IPropertyArrayHelper& SAL_CALL ODerivedDataType< 
CONCRETE_DATA_TYPE_IMPL, SUPERCLASS >::getInfoHelper()
+{
+if ( !m_bPropertiesRegistered )
+{
+this->registerProperties();
+m_bPropertiesRegistered = true;
+}
+
+return *ODerivedDataType< CONCRETE_DATA_TYPE_IMPL, SUPERCLASS 
>::getArrayHelper();
+}
+
+
+template< typename VALUE_TYPE >
+OValueLimitedType< VALUE_TYPE >::OValueLimitedType( const OUString& _rName, 
sal_Int16 _nTypeClass )
+:OValueLimitedType_Base( _rName, _nTypeClass )
+{
+}
 
 } // namespace xforms
 
diff --git a/forms/source/xforms/datatypes_impl.hxx 
b/forms/source/xforms/datatypes_impl.hxx
deleted file mode 100644
index cfc44df..000
--- a/forms/source/xforms/datatypes_impl.hxx
+++ /dev/null
@@ -1,68 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the 

[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - solenv/gbuild

2016-06-29 Thread Michael Stahl
 solenv/gbuild/Output.mk |1 +
 1 file changed, 1 insertion(+)

New commits:
commit a466eee1683d0b2be21e220387d166c9d8001402
Author: Michael Stahl 
Date:   Tue Jun 28 22:10:06 2016 +0200

gbuild: recognize newfangled screen TERM=screen.xterm-256color

Seems to have changed from Fedora 23, where it was just "screen", to 24.

Change-Id: I9078c337093d12d62e9afe10b1f02aaf346d4b43
(cherry picked from commit 4dcba01d97b72db35885c505e647425059740a4c)
Reviewed-on: https://gerrit.libreoffice.org/26761
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/solenv/gbuild/Output.mk b/solenv/gbuild/Output.mk
index cd3682f..64bea4e 100644
--- a/solenv/gbuild/Output.mk
+++ b/solenv/gbuild/Output.mk
@@ -62,6 +62,7 @@ KNOWN_TERM:=Eterm aterm gnome kterm linux putty rxvt 
rxvt-unicode screen xterm x
 KNOWN_TERM+=$(patsubst %,%-color,$(KNOWN_TERM))
 KNOWN_TERM+=$(patsubst %-color,%-256color,$(KNOWN_TERM))
 KNOWN_TERM+=$(patsubst %-color,%+256color,$(KNOWN_TERM))
+KNOWN_TERM+=$(patsubst %,screen.%,$(KNOWN_TERM))
 ifneq ($(strip $(gb_COLOR)),)
 ifneq ($(filter $(TERM),$(KNOWN_TERM)),)
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-1-0' - 2 commits - loleaflet/dist loleaflet/src loolwsd/loolwsd-systemplate-setup

2016-06-29 Thread Pranav Kant
 loleaflet/dist/loleaflet.html|3 +++
 loleaflet/src/control/Control.Menubar.js |8 +++-
 loolwsd/loolwsd-systemplate-setup|4 ++--
 3 files changed, 12 insertions(+), 3 deletions(-)

New commits:
commit f4b713c82a26772db5b99980b9809285fc8c4b7e
Author: Pranav Kant 
Date:   Wed Jun 29 19:31:26 2016 +0530

loolwsd: Follow symlinks while copying fonts into systemplate

Change-Id: Iee7f5b1dd3cb1884ac51f58c1b6c1ba2b73a7c30
(cherry picked from commit d60da277e837ff2dcc988a9cdccf35c9b9f66199)

diff --git a/loolwsd/loolwsd-systemplate-setup 
b/loolwsd/loolwsd-systemplate-setup
index 27c760c..0d30524 100755
--- a/loolwsd/loolwsd-systemplate-setup
+++ b/loolwsd/loolwsd-systemplate-setup
@@ -80,11 +80,11 @@ mkdir -p $CHROOT/usr/bin/
 cd $CHROOT || exit 1
 
 mkdir -p usr/share || exit 1
-cp -r -p /usr/share/fonts usr/share
+cp -r -p -L /usr/share/fonts usr/share
 
 if [ -h usr/share/fonts/ghostscript ]; then
 mkdir usr/share/ghostscript || exit 1
-cp -r -p /usr/share/ghostscript/fonts usr/share/ghostscript
+cp -r -p -L /usr/share/ghostscript/fonts usr/share/ghostscript
 fi
 
 # Debugging only hackery to avoid confusion.
commit 0e492ecb683aebae9b679f69128f9bca74c320a0
Author: Pranav Kant 
Date:   Wed Jun 29 17:40:07 2016 +0530

loleaflet: Disable revision history option by default

Hosts are supposed to provide 'revisionhistory' parameter when
calling loleaflet.html

Change-Id: I6c1a89b602a739c0d30b7aeea680b4c577b37cc4
(cherry picked from commit 277c191eb0d99ab0406b497cf773f637b40cd8f8)

diff --git a/loleaflet/dist/loleaflet.html b/loleaflet/dist/loleaflet.html
index 21cd01e..d66e7df 100644
--- a/loleaflet/dist/loleaflet.html
+++ b/loleaflet/dist/loleaflet.html
@@ -105,7 +105,10 @@
 var host = '%HOST%';
 var permission = getParameterByName('permission') || 'edit';
 var timestamp = getParameterByName('timestamp');
+
 var closebutton = getParameterByName('closebutton');
+
+var revHistoryEnabled = getParameterByName('revisionhistory');
 if (wopiSrc === '' && filePath === '') {
 vex.dialog.alert(wrongwopisrc);
 }
diff --git a/loleaflet/src/control/Control.Menubar.js 
b/loleaflet/src/control/Control.Menubar.js
index 5f3629e..49a28aa 100644
--- a/loleaflet/src/control/Control.Menubar.js
+++ b/loleaflet/src/control/Control.Menubar.js
@@ -2,7 +2,7 @@
 * Control.Menubar
 */
 
-/* global $ _ map title vex */
+/* global $ _ map title vex revHistoryEnabled */
 L.Control.Menubar = L.Control.extend({
// TODO: Some mechanism to stop the need to copy duplicate menus (eg. 
Help)
options: {
@@ -330,6 +330,12 @@ L.Control.Menubar = L.Control.extend({
_createMenu: function(menu) {
var itemList = [];
for (var i in menu) {
+   if (menu[i].type === 'action' &&
+   menu[i].id === 'rev-history' &&
+   !revHistoryEnabled) {
+   continue;
+   }
+
var liItem = L.DomUtil.create('li', '');
var aItem = L.DomUtil.create('a', '', liItem);
aItem.innerHTML = menu[i].name;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - formula/source sc/source

2016-06-29 Thread Eike Rathke
 formula/source/core/resource/core_resource.src |2 +-
 sc/source/core/tool/compiler.cxx   |   22 ++
 2 files changed, 23 insertions(+), 1 deletion(-)

New commits:
commit 4c6685a93cc4b82d2a9300f9a4fd64c5c54fb568
Author: Eike Rathke 
Date:   Mon Jun 27 13:02:20 2016 +0200

tdf#100641 correct OOXML function name is EFFECT instead of EFFECTIVE

(cherry picked from commit ed5bcef57b678cb92c68bf842a72e50f4dd1e2ea)

accept EFFECTIVE as EFFECT in OOXML import

(cherry picked from commit f3f89f4f3180b0fd63c5290c665894c6a27f2ae2)

18a914972d69a37e9dcf5b18ffbea9177004dad7

Change-Id: Ieb7484afe210e378efd43ba3a181cd90d29619b9
Reviewed-on: https://gerrit.libreoffice.org/26704
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/formula/source/core/resource/core_resource.src 
b/formula/source/core/resource/core_resource.src
index af22f1b..a024aa0 100644
--- a/formula/source/core/resource/core_resource.src
+++ b/formula/source/core/resource/core_resource.src
@@ -663,7 +663,7 @@ Resource RID_STRLIST_FUNCTION_NAMES_ENGLISH_OOXML
 String SC_OPCODE_PPMT { Text = "PPMT" ; };
 String SC_OPCODE_CUM_IPMT { Text = "CUMIPMT" ; };
 String SC_OPCODE_CUM_PRINC { Text = "CUMPRINC" ; };
-String SC_OPCODE_EFFECTIVE { Text = "EFFECTIVE" ; };
+String SC_OPCODE_EFFECTIVE { Text = "EFFECT" ; };
 String SC_OPCODE_NOMINAL { Text = "NOMINAL" ; };
 String SC_OPCODE_SUB_TOTAL { Text = "SUBTOTAL" ; };
 String SC_OPCODE_DB_SUM { Text = "DSUM" ; };
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index a841c80..c6684c8 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -2672,6 +2672,28 @@ bool ScCompiler::IsOpCode( const OUString& rName, bool 
bInArray )
 }
 }
 }
+else if (mxSymbols->isOOXML())
+{
+// OOXML names that are not written in the current mapping but to be
+// recognized as old versions wrote them.
+struct FunctionName
+{
+const sal_Char* pName;
+OpCode  eOp;
+};
+static const FunctionName aOoxmlAliases[] = {
+{ "EFFECTIVE",  ocEffective }   // EFFECTIVE -> EFFECT
+};
+for (const FunctionName& rOoxmlAlias : aOoxmlAliases)
+{
+if (rName.equalsIgnoreAsciiCaseAscii( rOoxmlAlias.pName))
+{
+maRawToken.SetOpCode( rOoxmlAlias.eOp);
+bFound = true;
+break;  // for
+}
+}
+}
 if (!bFound)
 {
 OUString aIntName;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-06-29 Thread Takeshi Abe
 starmath/source/parse.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d5b05cafdec62209803e38010b3354660e3e67cd
Author: Takeshi Abe 
Date:   Wed Jun 29 14:54:09 2016 +0900

starmath: Replace OSL_ENSURE with assert

as negative n would be undefined for OUString::copy(..., n).

Change-Id: I950ec60656142450a5d5f6804324f6080c9c4c2a
Reviewed-on: https://gerrit.libreoffice.org/26753
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index b7a0cf0..a25b3a1 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -460,7 +460,7 @@ void SmParser::NextToken()
 --aRes.EndPos;
 }
 sal_Int32 n = aRes.EndPos - nRealStart;
-OSL_ENSURE( n >= 0, "length < 0" );
+assert(n >= 0);
 m_aCurToken.eType  = TNUMBER;
 m_aCurToken.cMathChar  = '\0';
 m_aCurToken.nGroup = TG::NONE;
@@ -482,7 +482,7 @@ void SmParser::NextToken()
 else if (aRes.TokenType & KParseType::IDENTNAME)
 {
 sal_Int32 n = aRes.EndPos - nRealStart;
-OSL_ENSURE( n >= 0, "length < 0" );
+assert(n >= 0);
 OUString aName( m_aBufferString.copy( nRealStart, n ) );
 const SmTokenTableEntry *pEntry = GetTokenTableEntry( aName );
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 88205] Adapt uses of css::uno::Sequence to use initializer_list ctor

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88205

--- Comment #13 from Commit Notification 
 ---
Arnold Dumas committed a patch related to this issue.
It has been pushed to "master":

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

tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor

It will be available in 5.3.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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 88205] Adapt uses of css::uno::Sequence to use initializer_list ctor

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88205

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:5.3.0

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


[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - vcl/unx

2016-06-29 Thread Michael Stahl
 vcl/unx/gtk/gtksys.cxx |   18 +++---
 1 file changed, 15 insertions(+), 3 deletions(-)

New commits:
commit 92cdfa1cb576cfe5048c17b10208eac71445d3c2
Author: Michael Stahl 
Date:   Wed Jun 29 13:06:41 2016 +0200

vcl: GTK: fix libstdc++ "irreflexive" assert

/usr/include/c++/6.1.1/bits/stl_algo.h:4737:
Error: comparison doesn't meet irreflexive requirements, assert(!(a < a)).

GdkRectangleCoincident is clearly not a less-than operator as required
for std::sort.

Change-Id: If2e65d420dc8cdf0707081361a40d4eaea28424e
(cherry picked from commit e2b267b1906817cc45f0e4896bed58cff5b6b0f9)
Reviewed-on: https://gerrit.libreoffice.org/26767
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/vcl/unx/gtk/gtksys.cxx b/vcl/unx/gtk/gtksys.cxx
index e663bb9..a29e721 100644
--- a/vcl/unx/gtk/gtksys.cxx
+++ b/vcl/unx/gtk/gtksys.cxx
@@ -62,6 +62,17 @@ GtkSalSystem::GetDisplayXScreenCount()
 namespace
 {
 
+struct GdkRectangleCoincidentLess
+{
+// fdo#78799 - detect and elide overlaying monitors of different sizes
+bool operator()(GdkRectangle const& rLeft, GdkRectangle const& rRight)
+{
+return
+rLeft.x < rRight.x
+|| rLeft.y < rRight.y
+;
+}
+};
 struct GdkRectangleCoincident
 {
 // fdo#78799 - detect and elide overlaying monitors of different sizes
@@ -101,10 +112,11 @@ GtkSalSystem::countScreenMonitors()
 gdk_screen_get_monitor_geometry(pScreen, j, );
 aGeometries.push_back(aGeometry);
 }
-GdkRectangleCoincident aCmp;
-std::sort(aGeometries.begin(), aGeometries.end(), aCmp);
+std::sort(aGeometries.begin(), aGeometries.end(),
+GdkRectangleCoincidentLess());
 const std::vector::iterator aUniqueEnd(
-std::unique(aGeometries.begin(), aGeometries.end(), aCmp));
+std::unique(aGeometries.begin(), aGeometries.end(),
+GdkRectangleCoincident()));
 nMonitors = std::distance(aGeometries.begin(), aUniqueEnd);
 }
 maScreenMonitors.push_back(std::make_pair(pScreen, nMonitors));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-06-29 Thread Arnold Dumas
 accessibility/source/extended/AccessibleGridControlBase.cxx |3 +--
 accessibility/source/extended/accessibletabbar.cxx  |3 +--
 accessibility/source/extended/accessibletabbarpage.cxx  |3 +--
 accessibility/source/extended/accessibletabbarpagelist.cxx  |3 +--
 4 files changed, 4 insertions(+), 8 deletions(-)

New commits:
commit 9742ee52a842653f7118c4ad8e38c02a6e43e97a
Author: Arnold Dumas 
Date:   Wed Jun 29 14:05:05 2016 +0200

tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor

Change-Id: I6fc54accb6c08e34909db2131e0abc84d32da2f5
Reviewed-on: https://gerrit.libreoffice.org/26763
Tested-by: Jenkins 
Reviewed-by: Stephan Bergmann 

diff --git a/accessibility/source/extended/AccessibleGridControlBase.cxx 
b/accessibility/source/extended/AccessibleGridControlBase.cxx
index 088d56f..74d4214 100644
--- a/accessibility/source/extended/AccessibleGridControlBase.cxx
+++ b/accessibility/source/extended/AccessibleGridControlBase.cxx
@@ -274,8 +274,7 @@ sal_Bool SAL_CALL 
AccessibleGridControlBase::supportsService(
 Sequence< OUString > SAL_CALL 
AccessibleGridControlBase::getSupportedServiceNames()
 throw ( uno::RuntimeException, std::exception )
 {
-const OUString aServiceName( 
"com.sun.star.accessibility.AccessibleContext" );
-return Sequence< OUString >( , 1 );
+return { "com.sun.star.accessibility.AccessibleContext" };
 }
 // internal virtual methods
 
diff --git a/accessibility/source/extended/accessibletabbar.cxx 
b/accessibility/source/extended/accessibletabbar.cxx
index 750a376..26ac2e7 100644
--- a/accessibility/source/extended/accessibletabbar.cxx
+++ b/accessibility/source/extended/accessibletabbar.cxx
@@ -202,8 +202,7 @@ namespace accessibility
 
 Sequence< OUString > AccessibleTabBar::getSupportedServiceNames() throw 
(RuntimeException, std::exception)
 {
-Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBar" };
-return aNames;
+return  { "com.sun.star.awt.AccessibleTabBar" };
 }
 
 
diff --git a/accessibility/source/extended/accessibletabbarpage.cxx 
b/accessibility/source/extended/accessibletabbarpage.cxx
index c1d0a48..9d50f48 100644
--- a/accessibility/source/extended/accessibletabbarpage.cxx
+++ b/accessibility/source/extended/accessibletabbarpage.cxx
@@ -230,8 +230,7 @@ namespace accessibility
 
 Sequence< OUString > AccessibleTabBarPage::getSupportedServiceNames() 
throw (RuntimeException, std::exception)
 {
-Sequence< OUString > aNames { "com.sun.star.awt.AccessibleTabBarPage" 
};
-return aNames;
+return { "com.sun.star.awt.AccessibleTabBarPage" };
 }
 
 
diff --git a/accessibility/source/extended/accessibletabbarpagelist.cxx 
b/accessibility/source/extended/accessibletabbarpagelist.cxx
index 17e1fe9..9e80a3f 100644
--- a/accessibility/source/extended/accessibletabbarpagelist.cxx
+++ b/accessibility/source/extended/accessibletabbarpagelist.cxx
@@ -378,8 +378,7 @@ namespace accessibility
 
 Sequence< OUString > AccessibleTabBarPageList::getSupportedServiceNames() 
throw (RuntimeException, std::exception)
 {
-Sequence< OUString > aNames { 
"com.sun.star.awt.AccessibleTabBarPageList" };
-return aNames;
+return { "com.sun.star.awt.AccessibleTabBarPageList" };
 }
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - external/boost

2016-06-29 Thread Michael Stahl
 external/boost/UnpackedTarball_boost.mk  |1 +
 external/boost/boost.function.Wplacement-new.patch.1 |   16 
 2 files changed, 17 insertions(+)

New commits:
commit 0a15048b075a9a610ce7b660dabd3b723d489a6a
Author: Michael Stahl 
Date:   Wed Jun 29 15:09:41 2016 +0200

boost: suppress GCC6 -Wplacement-new=

function_base.hpp line 308
error: placement new constructing an object of type "boost::..." and
size ‘16’ in a region of type ‘char’ and size ‘1’

Change-Id: If905d56bd21dd30a957b50fa3d5eed3a63899d62
Reviewed-on: https://gerrit.libreoffice.org/26769
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/external/boost/UnpackedTarball_boost.mk 
b/external/boost/UnpackedTarball_boost.mk
index e52f6cd..af1210f 100644
--- a/external/boost/UnpackedTarball_boost.mk
+++ b/external/boost/UnpackedTarball_boost.mk
@@ -64,6 +64,7 @@ boost_patches += boost.wunused.patch
 boost_patches += boost.wdeprecated-auto_ptr.patch.0
 boost_patches += boost.signal2.Wshadow.warnings.patch
 boost_patches += boost.boost_static_assert_unused_attribute.patch.0
+boost_patches += boost.function.Wplacement-new.patch.1
 
 boost_patches += ubsan.patch.0
 boost_patches += rtti.patch.0
diff --git a/external/boost/boost.function.Wplacement-new.patch.1 
b/external/boost/boost.function.Wplacement-new.patch.1
new file mode 100644
index 000..88908f1
--- /dev/null
+++ b/external/boost/boost.function.Wplacement-new.patch.1
@@ -0,0 +1,16 @@
+GCC 6 warns about function_buffer::data
+
+--- boost/boost/function/function_base.hpp.orig2   2016-06-29 
13:54:55.270121431 +0200
 boost/boost/function/function_base.hpp 2016-06-29 13:58:50.343103199 
+0200
+@@ -37,6 +37,11 @@
+ #include 
+ #include 
+ 
++#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 600)
++# pragma GCC diagnostic push
++# pragma GCC diagnostic ignored "-Wplacement-new="
++#endif
++
+ #if defined(BOOST_MSVC)
+ #   pragma warning( push )
+ #   pragma warning( disable : 4793 ) // complaint about native code generation
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 99053] Software interpreter: Absolute and relative cell references produce unexpected results when using summation function

2016-06-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99053

--- Comment #17 from Michael Meeks  ---
$ git log libreoffice-5.1.0.2..libreoffice-5.1.3.2 --
sc/source/core/inc/arraysumfunctor.hxx

commit 9b7f72203f2b9f6b95d927c695f7f48b86b251ee
Author: Marco Cecchetti 
Date:   Mon Feb 29 22:18:23 2016 +0100

tdf#97369/#97587 - Further fix SUMming in the software interpreter

commit aa064e8209e57ac91f16305d38e657d12a42093f
Author: Tor Lillqvist 
Date:   Fri Feb 5 14:58:11 2016 +0200

tdf#97587: Treat plain NaNs as zero in the software interpreter for SUM

Could be a duplicate of either of these fixes; feedback appreciated =)

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


[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - solenv/gbuild

2016-06-29 Thread Michael Stahl
 solenv/gbuild/Output.mk |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1ddc2f93c49660cf651f4faeb1f0f596eab953e2
Author: Michael Stahl 
Date:   Tue Jun 28 22:10:06 2016 +0200

gbuild: recognize newfangled screen TERM=screen.xterm-256color

Seems to have changed from Fedora 23, where it was just "screen", to 24.

Change-Id: I9078c337093d12d62e9afe10b1f02aaf346d4b43
(cherry picked from commit 4dcba01d97b72db35885c505e647425059740a4c)
Reviewed-on: https://gerrit.libreoffice.org/26766
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/solenv/gbuild/Output.mk b/solenv/gbuild/Output.mk
index cd3682f..64bea4e 100644
--- a/solenv/gbuild/Output.mk
+++ b/solenv/gbuild/Output.mk
@@ -62,6 +62,7 @@ KNOWN_TERM:=Eterm aterm gnome kterm linux putty rxvt 
rxvt-unicode screen xterm x
 KNOWN_TERM+=$(patsubst %,%-color,$(KNOWN_TERM))
 KNOWN_TERM+=$(patsubst %-color,%-256color,$(KNOWN_TERM))
 KNOWN_TERM+=$(patsubst %-color,%+256color,$(KNOWN_TERM))
+KNOWN_TERM+=$(patsubst %,screen.%,$(KNOWN_TERM))
 ifneq ($(strip $(gb_COLOR)),)
 ifneq ($(filter $(TERM),$(KNOWN_TERM)),)
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - canvas/source vcl/headless vcl/inc

2016-06-29 Thread David Tardon
 canvas/source/cairo/cairo_canvasbitmap.cxx |7 +
 vcl/headless/svpgdi.cxx|   36 -
 vcl/inc/headless/svpgdi.hxx|   12 +
 3 files changed, 34 insertions(+), 21 deletions(-)

New commits:
commit c25738dd7704b0cdc1d750cbac14af88183f21a7
Author: David Tardon 
Date:   Mon Jun 27 20:37:25 2016 +0200

update other places that read data from cairo image surface

Change-Id: Icb8761e5ff89e1c0e0e034a751fe9a50ad5ab90a
(cherry picked from commit cff87aac4ec77957569377d690bc4aa8f7146e0d)
Reviewed-on: https://gerrit.libreoffice.org/26759
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/canvas/source/cairo/cairo_canvasbitmap.cxx 
b/canvas/source/cairo/cairo_canvasbitmap.cxx
index 2e5f886..6857e8d2 100644
--- a/canvas/source/cairo/cairo_canvasbitmap.cxx
+++ b/canvas/source/cairo/cairo_canvasbitmap.cxx
@@ -152,10 +152,17 @@ namespace cairocanvas
 sal_uInt32 *pPix = reinterpret_cast(pSrc + nStride * y);
 for( unsigned long x = 0; x < (unsigned long) 
aSize.Width(); x++ )
 {
+#if defined OSL_BIGENDIAN
+sal_uInt8 nB = (*pPix >> 24);
+sal_uInt8 nG = (*pPix >> 16) & 0xff;
+sal_uInt8 nR = (*pPix >> 8) & 0xff;
+sal_uInt8 nAlpha = *pPix & 0xff;
+#else
 sal_uInt8 nAlpha = (*pPix >> 24);
 sal_uInt8 nR = (*pPix >> 16) & 0xff;
 sal_uInt8 nG = (*pPix >> 8) & 0xff;
 sal_uInt8 nB = *pPix & 0xff;
+#endif
 if( nAlpha != 0 && nAlpha != 255 )
 {
 // Cairo uses pre-multiplied alpha - we do 
not => re-multiply
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 2ddc8e5..5d6549e 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -1059,9 +1059,9 @@ void SvpSalGraphics::drawMask( const SalTwoRect& rTR,
 unsigned char *data = row + (rTR.mnSrcX * 4);
 for (sal_Int32 x = rTR.mnSrcX; x < rTR.mnSrcX + rTR.mnSrcWidth; ++x)
 {
-sal_uInt8 b = unpremultiply(data[0], data[3]);
-sal_uInt8 g = unpremultiply(data[1], data[3]);
-sal_uInt8 r = unpremultiply(data[2], data[3]);
+sal_uInt8 b = unpremultiply(data[SVP_CAIRO_BLUE], 
data[SVP_CAIRO_ALPHA]);
+sal_uInt8 g = unpremultiply(data[SVP_CAIRO_GREEN], 
data[SVP_CAIRO_ALPHA]);
+sal_uInt8 r = unpremultiply(data[SVP_CAIRO_RED], 
data[SVP_CAIRO_ALPHA]);
 if (r == 0 && g == 0 && b == 0)
 {
 data[0] = SALCOLOR_BLUE(nMaskColor);
@@ -1125,15 +1125,9 @@ SalColor SvpSalGraphics::getPixel( long nX, long nY )
 unsigned char *surface_data = cairo_image_surface_get_data(m_pSurface);
 unsigned char *row = surface_data + (nStride*nY);
 unsigned char *data = row + (nX * 4);
-# if defined OSL_BIGENDIAN
-sal_uInt8 b = unpremultiply(data[3], data[0]);
-sal_uInt8 g = unpremultiply(data[2], data[0]);
-sal_uInt8 r = unpremultiply(data[1], data[0]);
-#else
-sal_uInt8 b = unpremultiply(data[0], data[3]);
-sal_uInt8 g = unpremultiply(data[1], data[3]);
-sal_uInt8 r = unpremultiply(data[2], data[3]);
-#endif
+sal_uInt8 b = unpremultiply(data[SVP_CAIRO_BLUE], data[SVP_CAIRO_ALPHA]);
+sal_uInt8 g = unpremultiply(data[SVP_CAIRO_GREEN], data[SVP_CAIRO_ALPHA]);
+sal_uInt8 r = unpremultiply(data[SVP_CAIRO_RED], data[SVP_CAIRO_ALPHA]);
 return MAKE_SALCOLOR(r, g, b);
 }
 
@@ -1342,15 +1336,15 @@ void SvpSalGraphics::releaseCairoContext(cairo_t* cr, 
bool bXorModeAllowed, cons
 unsigned char *xor_data = xor_row + (nExtentsLeft * 4);
 for (sal_Int32 x = nExtentsLeft; x < nExtentsRight; ++x)
 {
-sal_uInt8 b = unpremultiply(true_data[0], true_data[3]) ^
-  unpremultiply(xor_data[0], xor_data[3]);
-sal_uInt8 g = unpremultiply(true_data[1], true_data[3]) ^
-  unpremultiply(xor_data[1], xor_data[3]);
-sal_uInt8 r = unpremultiply(true_data[2], true_data[3]) ^
-  unpremultiply(xor_data[2], xor_data[3]);
-true_data[0] = premultiply(b, true_data[3]);
-true_data[1] = premultiply(g, true_data[3]);
-true_data[2] = premultiply(r, true_data[3]);
+sal_uInt8 b = unpremultiply(true_data[SVP_CAIRO_BLUE], 
true_data[SVP_CAIRO_ALPHA]) ^
+  unpremultiply(xor_data[SVP_CAIRO_BLUE], 
xor_data[SVP_CAIRO_ALPHA]);
+

[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - vcl/headless vcl/inc

2016-06-29 Thread David Tardon
 vcl/headless/svpgdi.cxx |6 ++
 vcl/inc/headless/svpgdi.hxx |4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

New commits:
commit d0a111a397e8fe882ebb7b0431ff4077c611c66f
Author: David Tardon 
Date:   Mon Jun 27 14:17:38 2016 -0400

rhbz#1341064 fix OutputDevice test on big endian systems

Change-Id: I902acd90797ab26304bc5b239b862cae9f3075ef
(cherry picked from commit e9ef81eeefba5c4ec6de3fe72aefb6af26de30c4)
Reviewed-on: https://gerrit.libreoffice.org/26758
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 2cbfb23..2ddc8e5 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -1125,9 +1125,15 @@ SalColor SvpSalGraphics::getPixel( long nX, long nY )
 unsigned char *surface_data = cairo_image_surface_get_data(m_pSurface);
 unsigned char *row = surface_data + (nStride*nY);
 unsigned char *data = row + (nX * 4);
+# if defined OSL_BIGENDIAN
+sal_uInt8 b = unpremultiply(data[3], data[0]);
+sal_uInt8 g = unpremultiply(data[2], data[0]);
+sal_uInt8 r = unpremultiply(data[1], data[0]);
+#else
 sal_uInt8 b = unpremultiply(data[0], data[3]);
 sal_uInt8 g = unpremultiply(data[1], data[3]);
 sal_uInt8 r = unpremultiply(data[2], data[3]);
+#endif
 return MAKE_SALCOLOR(r, g, b);
 }
 
diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx
index dc88a60..0d88195 100644
--- a/vcl/inc/headless/svpgdi.hxx
+++ b/vcl/inc/headless/svpgdi.hxx
@@ -37,8 +37,10 @@
 //which is internal in that case, to swap the rgb components so that
 //cairo then matches the OpenGL GL_RGBA format so we can use it there
 //where we don't have GL_BGRA support.
-#ifdef ANDROID
+#if defined ANDROID
 #   define SVP_CAIRO_FORMAT (ScanlineFormat::N32BitTcRgba | 
ScanlineFormat::TopDown)
+#elif defined OSL_BIGENDIAN
+#   define SVP_CAIRO_FORMAT (ScanlineFormat::N32BitTcArgb | 
ScanlineFormat::TopDown)
 #else
 #   define SVP_CAIRO_FORMAT (ScanlineFormat::N32BitTcBgra | 
ScanlineFormat::TopDown)
 #endif
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - vcl/unx

2016-06-29 Thread Michael Stahl
 vcl/unx/gtk/gtksys.cxx |   18 +++---
 1 file changed, 15 insertions(+), 3 deletions(-)

New commits:
commit 8851333f8aafe84ca9479faf24d9164035aff520
Author: Michael Stahl 
Date:   Wed Jun 29 13:06:41 2016 +0200

vcl: GTK: fix libstdc++ "irreflexive" assert

/usr/include/c++/6.1.1/bits/stl_algo.h:4737:
Error: comparison doesn't meet irreflexive requirements, assert(!(a < a)).

GdkRectangleCoincident is clearly not a less-than operator as required
for std::sort.

Change-Id: If2e65d420dc8cdf0707081361a40d4eaea28424e
(cherry picked from commit e2b267b1906817cc45f0e4896bed58cff5b6b0f9)
Reviewed-on: https://gerrit.libreoffice.org/26762
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/vcl/unx/gtk/gtksys.cxx b/vcl/unx/gtk/gtksys.cxx
index ac24256..80831d6 100644
--- a/vcl/unx/gtk/gtksys.cxx
+++ b/vcl/unx/gtk/gtksys.cxx
@@ -62,6 +62,17 @@ GtkSalSystem::GetDisplayXScreenCount()
 namespace
 {
 
+struct GdkRectangleCoincidentLess
+{
+// fdo#78799 - detect and elide overlaying monitors of different sizes
+bool operator()(GdkRectangle const& rLeft, GdkRectangle const& rRight)
+{
+return
+rLeft.x < rRight.x
+|| rLeft.y < rRight.y
+;
+}
+};
 struct GdkRectangleCoincident
 {
 // fdo#78799 - detect and elide overlaying monitors of different sizes
@@ -101,10 +112,11 @@ GtkSalSystem::countScreenMonitors()
 gdk_screen_get_monitor_geometry(pScreen, j, );
 aGeometries.push_back(aGeometry);
 }
-GdkRectangleCoincident aCmp;
-std::sort(aGeometries.begin(), aGeometries.end(), aCmp);
+std::sort(aGeometries.begin(), aGeometries.end(),
+GdkRectangleCoincidentLess());
 const std::vector::iterator aUniqueEnd(
-std::unique(aGeometries.begin(), aGeometries.end(), aCmp));
+std::unique(aGeometries.begin(), aGeometries.end(),
+GdkRectangleCoincident()));
 nMonitors = std::distance(aGeometries.begin(), aUniqueEnd);
 }
 maScreenMonitors.push_back(std::make_pair(pScreen, nMonitors));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-06-29 Thread Michael Stahl
 sw/source/uibase/dbui/dbmgr.cxx |1 -
 1 file changed, 1 deletion(-)

New commits:
commit 2d5ffa8635a2cd64b46f0f30a4adb6fb8181c08e
Author: Michael Stahl 
Date:   Mon Jun 27 17:28:05 2016 +0200

tdf#100495 sw: Exchange Database shouldn't delete the created odb file

(regression from f01f31201f9b26b3071ab25f9a5a3a0311ff7423)

Change-Id: Ie5b83a82711229bda045b7ef7a9167cfd873f616
(cherry picked from commit 5a042dad2779eefc76269e14b888bd84df590aac)
Reviewed-on: https://gerrit.libreoffice.org/26722
Tested-by: Jenkins 
Reviewed-by: Caolán McNamara 
Tested-by: Caolán McNamara 

diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx
index ea26ebc..be17f00 100644
--- a/sw/source/uibase/dbui/dbmgr.cxx
+++ b/sw/source/uibase/dbui/dbmgr.cxx
@@ -2714,7 +2714,6 @@ OUString SwDBManager::LoadAndRegisterDataSource(const 
DBConnURITypes type, const
 // Cannot embed, as embedded data source would need the URL of 
the parent document.
 OUString sHomePath(SvtPathOptions().GetWorkPath());
 utl::TempFile aTempFile(sNewName, true, , pDestDir 
? pDestDir : );
-aTempFile.EnableKillingFile();
 OUString sTmpName = aTempFile.GetURL();
 xStore->storeAsURL(sTmpName, 
uno::Sequence());
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


  1   2   3   >