[Libreoffice-bugs] [Bug 91017] [Regression] Black squares hide content of WMF image

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91017

--- Comment #8 from Armin Le Grand  ---
Just checked, already happens in LO4.4.7.1, saw that this is the case since
2013, I thought this is more current. Checked LO4.0.6.2, looks good there (just
by ignoring these actions and not handling them, what do they do then...?)

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


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

2016-01-21 Thread David Tardon
 vcl/Module_vcl.mk   |1 +
 vcl/source/gdi/dibtools.cxx |   11 +++
 2 files changed, 12 insertions(+)

New commits:
commit a5ebee938e7c77c93f22284b4a2c3a4333c8703a
Author: David Tardon 
Date:   Thu Jan 21 10:19:13 2016 +0100

Revert "disable test that suddenly eats GBs of memory"

This reverts commit e1367aaf7d9cc93bbbe3ba64015fde3469c61c6e.

diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk
index bedb0e7..299ffb1 100644
--- a/vcl/Module_vcl.mk
+++ b/vcl/Module_vcl.mk
@@ -100,6 +100,7 @@ $(eval $(call gb_Module_add_check_targets,vcl,\
CppunitTest_vcl_font \
CppunitTest_vcl_fontmetric \
CppunitTest_vcl_complextext \
+   CppunitTest_vcl_filters_test \
CppunitTest_vcl_outdev \
CppunitTest_vcl_app_test \
CppunitTest_vcl_wmf_test \
commit 32b0e02e5b82a8a13822e115574c6b77e30127ef
Author: David Tardon 
Date:   Thu Jan 21 12:28:19 2016 +0100

at least partially sanitize image dimensions

... to avoid enormous allocations later.

Change-Id: I8ffb050f095bd7ba2fee5be738bb30cd45170b82

diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx
index 59db04c..e5b67fa 100644
--- a/vcl/source/gdi/dibtools.cxx
+++ b/vcl/source/gdi/dibtools.cxx
@@ -301,6 +301,17 @@ bool ImplReadDIBInfoHeader(SvStream& rIStm, DIBV5Header& 
rHeader, bool& bTopDown
 return false;
 }
 
+if (rHeader.nCompression == 0)
+{
+sal_uInt64 nMaxSize = rIStm.remainingSize();
+if (rHeader.nHeight != 0)
+nMaxSize /= rHeader.nHeight;
+if (rHeader.nPlanes != 0)
+nMaxSize /= rHeader.nPlanes;
+if (sal_Int64(nMaxSize) < rHeader.nWidth)
+return false;
+}
+
 return rIStm.good();
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 91017] [Regression] Black squares hide content of WMF image

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91017

--- Comment #9 from Armin Le Grand  ---
Very strange - teh isolated wmf shows the diagram, but with shadow. When
looking at the read Bitmaps these are all-black, 24bit, no alpha. Independent
from painting, there may be something wrong with DIB import.

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


[Libreoffice-bugs] [Bug 97270] copying formatting with paint brush does not copy/apply (some?) paragraph properties (line spacing, distance above)

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97270

--- Comment #5 from Daniel  ---
Thanks for the information.

However, if something needs to be explicitly explained and furthermore when
there are multiple bug reports regarding this feature, we could assume that
this behaviour is non-standard and unexpected by users.

I am not sure how other systems (MS Office, Google Docs) handle this, but if
there is some common ground, it would be beneficial to change it in accordance
from the UX point of view.

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


[Libreoffice-bugs] [Bug 78558] FILEOPEN: Excel chart with transparent background imported over blue frame

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=78558

--- Comment #23 from Christian Lohmaier  ---
see also https://bz.apache.org/ooo/show_bug.cgi?id=125222 (cf
https://bz.apache.org/ooo/show_bug.cgi?id=119287#c12 "I used the wrong Issue ID
in the commit, sorry.")

That one is supposed to have the fix for the regression (blue background
instead of no background) identified as caused by
https://svn.apache.org/viewvc?view=revision=1344740 ) - unfortunately
it is already applied for LO
http://cgit.freedesktop.org/libreoffice/core/commit/?id=d07778f62ed386672a60ef7570a89b5fa109e026

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


[Libreoffice-bugs] [Bug 48783] Clipboard cleared on exit on Linux

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=48783

Cor Nouws  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||c...@nouenoff.nl
 Resolution|--- |FIXED

--- Comment #23 from Cor Nouws  ---
I close this one
See
 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=f1358edf469e70df1fb044bb58cd888fea15173c

Please check in a daily build tomorrow or soon thereafter.

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

--- Comment #11 from Mindaugas Baranauskas  ---
Thanks for suggestion, but fortunately I had multiple Linux ISO
(LiveCD/LiveDVD/LiveUSB) images with different openSUSE+LibreOffice versions ;)

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


[Libreoffice-bugs] [Bug 34303] PDF export predefined destination folder

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=34303

--- Comment #34 from Klaus Langguth  ---
The bug is still present and it is not solved.
Saving pdfs within the same folder of the opened file will not work.
LO saves it somewhere else. This is a very anoying bug as pdfs saving is a main
feature of LO.
We use W7 / W10 home an pro versions. None works.
Please fix that
Thank you
Klaus

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


[Libreoffice-bugs] [Bug 97086] Encryption as XLSX truncates password to 15 characters

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97086

--- Comment #4 from Katarina Behrens (CIB)  ---
No regression, it's been like this since the beginning of time. 

There's indeed 15 char length limit on passwords in LO, restricted to MSO
formats. I can't quite see why as it's impossible to search commit history so
far back into the past. 

Likely because of this:
https://msdn.microsoft.com/en-us/library/dd772916%28v=office.12%29.aspx It
looks like such limit used to exist in binary MSO formats (.doc, .xls)

Couldn't find any info on password limits in OOXML standard, just that this 15
char limit exists in MS Excel on Mac platform:
https://support.office.com/en-us/article/Require-a-password-to-open-or-modify-a-workbook-10579f0e-b2d9-4c05-b9f8-4109a6bce643
probably independent of file format.

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


[Libreoffice-commits] core.git: 5 commits - offapi/com oox/source solenv/gbuild svx/source writerfilter/source

2016-01-21 Thread Michael Stahl
 offapi/com/sun/star/i18n/ParseResult.idl |   10 
 oox/source/ppt/pptshape.cxx  |  392 +++
 oox/source/token/namespaces-strict.txt   |2 
 solenv/gbuild/CustomTarget.mk|   11 
 svx/source/unodraw/unoshap4.cxx  |6 
 writerfilter/source/ooxml/model.xml  |2 
 6 files changed, 211 insertions(+), 212 deletions(-)

New commits:
commit 6c81b5fc685b487f4c777cca2bae77d21cf4fac2
Author: Michael Stahl 
Date:   Thu Jan 21 10:41:22 2016 +0100

offapi: ParseResult documentation makes no sense

fix confusion between characters, code points and code units

Change-Id: I315735e103799ff2fb53e99442d500b998f50304

diff --git a/offapi/com/sun/star/i18n/ParseResult.idl 
b/offapi/com/sun/star/i18n/ParseResult.idl
index 4c6910f..22b2ccb 100644
--- a/offapi/com/sun/star/i18n/ParseResult.idl
+++ b/offapi/com/sun/star/i18n/ParseResult.idl
@@ -31,15 +31,15 @@ module com {  module sun {  module star {  module i18n {
 
 published struct ParseResult
 {
-/** Count of ignored leading whitespace, in code points, not
-characters. */
+/** Count of ignored leading whitespace, in UTF-16 code units, not
+Unicode code points. */
 longLeadingWhiteSpace;
 
-/** Code point index of first unprocessed character. */
+/** UTF-16 code unit index of first unprocessed character. */
 longEndPos;
 
-/** Number of characters (not code points) of the parsed token, not
-including leading whitespace. */
+/** Number of code points (not UTF-16 code units) of the parsed token,
+not including leading whitespace. */
 longCharLen;
 
 /** Value of token in case of numeric. */
commit e7279e5bab5aece2f759c134e29fa1760bed157e
Author: Michael Stahl 
Date:   Wed Jan 20 11:57:48 2016 +0100

svx: use SAL_WARN_IF

Change-Id: Ic638636aef8c42635cd166ab779564434d5daecf

diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index d4afc83..093d164 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -303,12 +303,8 @@ bool SvxOle2Shape::getPropertyValueImpl( const OUString& 
rName, const SfxItemPro
 // usage. Removed it, former fallback is used now
 if ( pProperty->nWID == OWN_ATTR_OLEMODEL || pProperty->nWID 
== OWN_ATTR_OLE_EMBEDDED_OBJECT )
 {
-#if OSL_DEBUG_LEVEL > 0
 const bool bSuccess(pObj->AddOwnLightClient());
-OSL_ENSURE( bSuccess, "An object without client is 
provided!" );
-#else
-pObj->AddOwnLightClient();
-#endif
+SAL_WARN_IF(!bSuccess, "svx.svdraw", "An object without 
client is provided!");
 }
 
 if ( pProperty->nWID == OWN_ATTR_OLEMODEL )
commit 1bceacf3ade2417e4a038964b3369b18f2729c94
Author: Michael Stahl 
Date:   Tue Jan 19 16:08:18 2016 +0100

oox: fix indentation of PPTShape::addShape()

Change-Id: Ic878535d3bc2d57dc24cc1821d8ce8403482b253

diff --git a/oox/source/ppt/pptshape.cxx b/oox/source/ppt/pptshape.cxx
index ce9b835..4ba58af 100644
--- a/oox/source/ppt/pptshape.cxx
+++ b/oox/source/ppt/pptshape.cxx
@@ -118,201 +118,204 @@ void PPTShape::addShape(
 // only placeholder from layout are being inserted
 if ( mnSubType && ( meShapeLocation == Master ) )
 return;
+
+OUString sServiceName( msServiceName );
+if (sServiceName.isEmpty())
+return;
 try
 {
-OUString sServiceName( msServiceName );
-if( !sServiceName.isEmpty() )
-{
-oox::drawingml::TextListStylePtr aMasterTextListStyle;
-Reference< lang::XMultiServiceFactory > xServiceFact( 
rFilterBase.getModel(), UNO_QUERY_THROW );
-bool bClearText = false;
+oox::drawingml::TextListStylePtr aMasterTextListStyle;
+Reference 
xServiceFact(rFilterBase.getModel(), UNO_QUERY_THROW);
+bool bClearText = false;
 
-if ( sServiceName != "com.sun.star.drawing.GraphicObjectShape" &&
- sServiceName != "com.sun.star.drawing.OLE2Shape" )
+if (sServiceName != "com.sun.star.drawing.GraphicObjectShape" &&
+sServiceName != "com.sun.star.drawing.OLE2Shape")
+{
+const OUString 
sOutlinerShapeService("com.sun.star.presentation.OutlinerShape");
+SAL_INFO("oox.ppt","has master: " << std::hex << 
rSlidePersist.getMasterPersist().get());
+switch (mnSubType)
 {
-const OUString sOutlinerShapeService( 
"com.sun.star.presentation.OutlinerShape"  );
-SAL_INFO("oox.ppt","has master: " << std::hex << 
rSlidePersist.getMasterPersist().get());
-switch( mnSubType )
+case XML_ctrTitle :
+case XML_title :
 {
-case XML_ctrTitle :
- 

[Libreoffice-bugs] [Bug 97123] data range created by drag'n drop from base window loses database name on save

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97123

Beluga  changed:

   What|Removed |Added

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

--- Comment #1 from Beluga  ---
Reproduced.

Dragging the table like that seems to be a new feature as it is not possible in
4.3.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 6b65a0e83c4798f117be61af91dbaebdc85e94b7
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-21_03:41:08
Locale: fi-FI (fi_FI)

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


[Libreoffice-bugs] [Bug 97126] listbox in table control: read only property without effect

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97126

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #3 from Beluga  ---
Listbox control in Form? Not reproduced here. It is greyed out.

Unable to test with 5.0.4 due to some Java problem..

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 6b65a0e83c4798f117be61af91dbaebdc85e94b7
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-21_03:41:08
Locale: fi-FI (fi_FI)

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

--- Comment #3 from Mindaugas Baranauskas  ---
I use openSUSE 13.2 (64-bit) Linux

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


[Libreoffice-bugs] [Bug 97298] Wrong color of background graphics in PDF export

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97298

--- Comment #1 from Ofir  ---
Created attachment 122129
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122129=edit
PDF exported with PowerPoint 2013 showing the expected result

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


[Libreoffice-bugs] [Bug 97298] Wrong color of background graphics in PDF export

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97298

--- Comment #2 from Ofir  ---
Created attachment 122130
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122130=edit
PDF exported from Impress showing the dark blue circle on the right

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


[Libreoffice-bugs] [Bug 97085] window list is often incomplete

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97085

--- Comment #5 from Beluga  ---
Ok, does it make a difference with the problem, if you launch LibreOffice from
the command line like this:
SAL_USE_VCLPLUGIN=gen soffice

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

--- Comment #9 from Mindaugas Baranauskas  ---
Created attachment 122131
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122131=edit
LibreOffice 3.4.2 – not affected (webm video)

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


[Libreoffice-bugs] [Bug 97141] dot on numeric pad shows as comma with Brazilian ABNT keyboards

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97141

--- Comment #4 from Alexandre Monobe  ---
(In reply to Beluga from comment #2)
> See this:
> https://help.libreoffice.org/Common/Languages#Decimal_separator_key_-
> _Same_as_locale_setting

Confirmed. This configuration works.

But it's counterintuitive cause you need to uncheck the option "Same as locale
setting" which comes checked by default.

And yes my default locale is set right (pt_BR.UTF-8)


Without this option checked everything works great. Thanks!

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


[Libreoffice-bugs] [Bug 97141] dot on numeric pad shows as comma with Brazilian ABNT keyboards

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97141

--- Comment #3 from Alexandre Monobe  ---
Confirmed. This configuration works.

But it's counterintuitive cause you need to uncheck the option "Same as locale
setting" which comes checked by default.

And yes my default locale is set right (pt_BR.UTF-8)


Without this option checked everything works great. Thanks!

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


[Libreoffice-bugs] [Bug 97054] Table: The results are inconsistent when you insert a copied table inside a cell of an existing table using paste.

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97054

Beluga  changed:

   What|Removed |Added

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

--- Comment #2 from Beluga  ---
Would enhancement request bug 90602 solve this for you?

Set to NEEDINFO.
Change back to UNCONFIRMED, if not. Change to RESOLVED DUPLICATE of bug 90602,
if yes.

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


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

2016-01-21 Thread Caolán McNamara
 vcl/unx/gtk3/gtk3gtkinst.cxx |   47 ---
 1 file changed, 36 insertions(+), 11 deletions(-)

New commits:
commit 3819b97da3cddb463948c37300c47e804bd66464
Author: Caolán McNamara 
Date:   Thu Jan 21 11:28:50 2016 +

Resolves: rhbz#1240591 gtk3: store clipboard when LibreOffice is closed

now contents copied to clipboard persist after LibreOffice exits

Change-Id: I4433543944fb9664f87ade43da1198dcdd4e2a7c
(cherry picked from commit f1358edf469e70df1fb044bb58cd888fea15173c)

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index f1a9ddc..a3f3068 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -13,12 +13,12 @@
 #include "com/sun/star/lang/XServiceInfo.hpp"
 #include "com/sun/star/lang/XSingleServiceFactory.hpp"
 #include "com/sun/star/lang/XInitialization.hpp"
-#include "com/sun/star/lang/DisposedException.hpp"
 #include "com/sun/star/datatransfer/XTransferable.hpp"
 #include "com/sun/star/datatransfer/clipboard/XClipboard.hpp"
 #include "com/sun/star/datatransfer/clipboard/XClipboardEx.hpp"
 #include "com/sun/star/datatransfer/clipboard/XClipboardNotifier.hpp"
 #include "com/sun/star/datatransfer/clipboard/XClipboardListener.hpp"
+#include "com/sun/star/datatransfer/clipboard/XFlushableClipboard.hpp"
 #include "com/sun/star/datatransfer/clipboard/XSystemClipboard.hpp"
 #include "com/sun/star/datatransfer/dnd/XDragSource.hpp"
 #include "com/sun/star/datatransfer/dnd/XDropTarget.hpp"
@@ -275,6 +275,7 @@ static void clipboard_owner_init(ClipboardOwner *)
 class VclGtkClipboard :
 public cppu::WeakComponentImplHelper<
 datatransfer::clipboard::XSystemClipboard,
+datatransfer::clipboard::XFlushableClipboard,
 XServiceInfo>
 {
 GdkAtom  m_nSelection;
@@ -326,6 +327,12 @@ public:
 throw(RuntimeException, std::exception) override;
 
 /*
+ * XFlushableClipboard
+ */
+virtual void SAL_CALL flushClipboard()
+throw(RuntimeException, std::exception) override;
+
+/*
  * XClipboardNotifier
  */
 virtual void SAL_CALL addClipboardListener(
@@ -502,7 +509,8 @@ namespace
 }
 
 VclGtkClipboard::VclGtkClipboard(GdkAtom nSelection)
-: cppu::WeakComponentImplHelper
+: cppu::WeakComponentImplHelper
 (m_aMutex)
 , m_nSelection(nSelection)
 {
@@ -513,6 +521,16 @@ VclGtkClipboard::VclGtkClipboard(GdkAtom nSelection)
 m_pOwner->m_pThis = this;
 }
 
+void VclGtkClipboard::flushClipboard()
+  throw (RuntimeException, std::exception)
+{
+if (GDK_SELECTION_CLIPBOARD != m_nSelection)
+return;
+
+GtkClipboard* clipboard = gtk_clipboard_get(m_nSelection);
+gtk_clipboard_store(clipboard);
+}
+
 VclGtkClipboard::~VclGtkClipboard()
 {
 GtkClipboard* clipboard = gtk_clipboard_get(m_nSelection);
@@ -524,7 +542,7 @@ VclGtkClipboard::~VclGtkClipboard()
 void VclGtkClipboard::setContents(
 const Reference< css::datatransfer::XTransferable >& xTrans,
 const Reference< css::datatransfer::clipboard::XClipboardOwner >& 
xClipboardOwner )
-throw( RuntimeException, std::exception )
+throw(RuntimeException, std::exception)
 {
 osl::ClearableMutexGuard aGuard( m_aMutex );
 Reference< datatransfer::clipboard::XClipboardOwner > xOldOwner( m_aOwner 
);
@@ -584,6 +602,7 @@ void VclGtkClipboard::setContents(
 //if we have gained or lost ownership of the clipboard
 gtk_clipboard_set_with_owner(clipboard, aGtkTargets.data(), 
aGtkTargets.size(),
 ClipboardGetFunc, ClipboardClearFunc, 
G_OBJECT(m_pOwner));
+gtk_clipboard_set_can_store(clipboard, aGtkTargets.data(), 
aGtkTargets.size());
 }
 m_aGtkTargets = aGtkTargets;
 }
commit b88646fc68cfc1c3840024fe3a59727c9eb9f95d
Author: Dennis Francis 
Date:   Fri Dec 11 09:19:22 2015 +0530

Fix memleak of strings allocated in VclGtkClipboard::makeGtkTargetEntry

This leak is produced when copy and paste of text/numbers
is done in Calc/Writer.

Following is the trace produced by valgrind (trimmed)

  malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
  g_malloc (in /usr/lib64/libglib-2.0.so.0.4600.2)
  g_strdup (in /usr/lib64/libglib-2.0.so.0.4600.2)
  VclGtkClipboard::makeGtkTargetEntry(...) (gtk3gtkinst.cxx:467)
  VclGtkClipboard::setContents(...) (gtk3gtkinst.cxx:557)
  TransferableHelper::CopyToSelection(vcl::Window*) const 
(transfer.cxx:1019)
  ScTabView::CheckSelectionTransfer() (tabview3.cxx:319)
  ScTabView::UpdateAutoFillMark() (tabview3.cxx:144)
  

[Libreoffice-bugs] [Bug 97166] Writer: Import .docx: Some formulas aren't correctly imported

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97166

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl
 Whiteboard||TooBusyNowNeedsFurtherTesti
   ||ngForPossibleRegressionAndP
   ||ossibleDuplicates

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


[Libreoffice-bugs] [Bug 97085] window list is often incomplete

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97085

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #2 from Beluga  ---
What desktop environment are you using?

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


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

2016-01-21 Thread Michael Stahl
 sw/inc/IMark.hxx |   26 --
 1 file changed, 26 deletions(-)

New commits:
commit d6d5c6057ffaccf82b7060a46ded573b46ab5fed
Author: Michael Stahl 
Date:   Thu Jan 21 12:45:50 2016 +0100

sw: MSVC 2013 --enable-dbgutil does not need 3 overloads...

... of these structs so remove them again, sorry for the noise.

Change-Id: Ic1b5fc0fd3d778cf8ab915774a12efecd5c5b451

diff --git a/sw/inc/IMark.hxx b/sw/inc/IMark.hxx
index 5f891b8..a132b6a 100644
--- a/sw/inc/IMark.hxx
+++ b/sw/inc/IMark.hxx
@@ -137,22 +137,8 @@ namespace sw { namespace mark
 {
 return pMark->StartsAfter(rPos);
 }
-#ifdef DBG_UTIL
-bool operator()(std::shared_ptr const& pMark,
-SwPosition const& rPos)
-{
-return pMark->StartsBefore(rPos);
-}
-bool operator()(std::shared_ptr const& pMark1,
-std::shared_ptr const& pMark2)
-{
-return (*pMark1) < (*pMark2);
-}
-#endif
 };
 
-// MSVC 2008 with _DEBUG calls this with parameters in wrong order
-// so it needs 3 overloads...
 struct CompareIMarkStartsBefore
 {
 bool operator()(std::shared_ptr const& pMark,
@@ -160,18 +146,6 @@ namespace sw { namespace mark
 {
 return pMark->StartsBefore(rPos);
 }
-#ifdef DBG_UTIL
-bool operator()(SwPosition const& rPos,
-std::shared_ptr const& pMark)
-{
-return pMark->StartsAfter(rPos);
-}
-bool operator()(std::shared_ptr const& pMark1,
-std::shared_ptr const& pMark2)
-{
-return (*pMark1) < (*pMark2);
-}
-#endif
 };
 
 OUString ExpandFieldmark(IFieldmark* pBM);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97294] LibreOffice Writer Freeze

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97294

--- Comment #2 from Kroontje  ---
Hello Cor

This with a normal file. Like .doc or .ods

I re install my PC to Ubuntu 14.04 64bit. three weeks ago.
I install LibreOffice 4 out of the box. Then the problems come up. So i install
version 5.
That had the same problem. When i select a text to change the size it freeze.
Before that i use 14.04 32bit. No problems.

Regards
Kroontje

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


[Libreoffice-bugs] [Bug 97165] Writer: Import .docx: Some formulas aren't centered

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97165

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl
 Whiteboard||TooBusyNowNeedsFurtherTesti
   ||ngForPossibleRegressionAndP
   ||ossibleDuplicates

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


[Libreoffice-bugs] [Bug 97164] Writer: Import .docx: Writer doesn't show percent symbol in formula

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97164

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl
 Whiteboard||TooBusyNowNeedsFurtherTesti
   ||ngForPossibleRegressionAndP
   ||ossibleDuplicates

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


[Libreoffice-bugs] [Bug 97133] MAILMERGE write protection automatically enforced and cannot be turned off

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97133

Beluga  changed:

   What|Removed |Added

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

--- Comment #1 from Beluga  ---
What is your operating system?

Could you test with 5.1 latest release candidate
http://www.libreoffice.org/download/pre-releases/

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED
WORKSFORME, if the problem went away.

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


[Libreoffice-bugs] [Bug 97085] window list is often incomplete

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97085

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #3 from raal  ---
Hello 
For the test, could you rename your LibreOffice directory profile (see
https://wiki.documentfoundation.org/UserProfile) and give it a new try?

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

--- Comment #6 from Mindaugas Baranauskas  ---
I can reproduce in openSUSE 12.3 Linux + LibreOffice 4.0.1.2

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


[Libreoffice-bugs] [Bug 97085] window list is often incomplete

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97085

--- Comment #4 from bugs bunny  ---
(In reply to Beluga from comment #2)
> What desktop environment are you using?

 @Beluga comment 2 :

 the desktop environment I'm using is kde-5 :

kdelibs  4.14.14-4.fc23.x86_64
kdelibs-common   4.14.14-4.fc23.x86_64
...
kf5-kdelibs4support-libs 5.18.0-1.fc23.x86_64
kf5-kdeclarative 5.18.0-1.fc23.x86_64
kf5-kded 5.18.0-1.fc23.x86_64
kf5-kdelibs4support  5.18.0-1.fc23.x86_64
kf5-kdelibs4support-libs 5.18.0-1.fc23.x86_64
kf5-kdesu5.18.0-1.fc23.x86_64
kf5-kdewebkit5.18.0-1.fc23.x86_64
...
kde-cli-tools5.5.3-1.fc23.x86_64
kde-style-breeze 5.5.3-1.fc23.x86_64
kdecoration  5.5.3-1.fc23.x86_64
kdeplasma-addons 5.5.3-1.fc23.x86_64
kdesu5.5.3-1.fc23.x86_64
qt   4.8.7-5.fc23.x86_64
qt-common4.8.7-5.fc23.noarch
qt-mysql 4.8.7-5.fc23.x86_64
qt-x11   4.8.7-5.fc23.x86_64
...
qt4-style-oxygen 5.5.3-1.fc23.x86_64
qt5-designer 5.5.1-2.fc23.x86_64
qt5-linguist 5.5.1-2.fc23.x86_64
qt5-qdoc 5.5.1-11.fc23.x86_64
qt5-qhelpgenerator   5.5.1-2.fc23.x86_64
qt5-qtbase   5.5.1-11.fc23.x86_64
qt5-qtbase-common5.5.1-11.fc23.noarch
qt5-qtbase-devel 5.5.1-11.fc23.x86_64
qt5-qtbase-gui   5.5.1-11.fc23.x86_64

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

Beluga  changed:

   What|Removed |Added

Version|4.3.3.2 release |4.0.1.2 release

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

Beluga  changed:

   What|Removed |Added

   Keywords|bibisectRequest |
Version|4.0.1.2 release |3.5.0 release

--- Comment #10 from Beluga  ---
Oh dear, after undo I was able to reproduce in 3.5 as well :(

This means it cannot be bibisected, unfortunately.

But at least we know the range where the problem appeared: between 3.4.2 and
3.5.0

Mindaugas: in the future, you can use this method:
https://wiki.documentfoundation.org/Installing_in_parallel/Linux

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


[Libreoffice-bugs] [Bug 97182] PRINTING Calc wants to print wrong document and exits with unsaved changes

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97182

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl

--- Comment #5 from Cor Nouws  ---
Thanks for reporting back, Thomas!

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

--- Comment #5 from Mindaugas Baranauskas  ---
I can reproduce in openSUSE 13.1 (32 bit) Linux + LibreOffice 4.3.3.2
ID: 9bb7eadab57b6755b1265afa86e04bf45fbfc644

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


[Libreoffice-bugs] [Bug 97298] New: Wrong color of background graphics in PDF export

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97298

Bug ID: 97298
   Summary: Wrong color of background graphics in PDF export
   Product: LibreOffice
   Version: 5.1.0.0.beta1
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Printing and PDF export
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ofirr@gmail.com

Created attachment 122128
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122128=edit
pptx showing the issue

The attached pptx has background graphics in the master slide - white circles.
When exporting to PDF, the circle on the right turns to dark blue.

The pptx is created with PowerPoint 2013 with the ion template.


Tested with:
LO 5.0.4.2 on Windows 7
LO 5.1.0.0.beta1-buildfix1 (from ppa) on Ubuntu 14.04

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


[Libreoffice-bugs] [Bug 97157] Cannot open a particular XLS with forms in 5.2+

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97157

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #2 from Beluga  ---
Could open, said Syntax error for line
controle.Text = “

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 6b65a0e83c4798f117be61af91dbaebdc85e94b7
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-21_03:41:08
Locale: fi-FI (fi_FI)

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


[Libreoffice-bugs] [Bug 91017] [Regression] Black squares hide content of WMF image

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91017

--- Comment #7 from Armin Le Grand  ---
Indeed, RasterOp ROP_XOR makes problems. Looks as if it is not correctly
handled throughout the paint layer. It is converted to primtive
(InvertPrimitive2D which is a grouping primitive), but the masking buffers and
evtl. the paint to DirectDraw on Win may not use it, checking...

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


[Libreoffice-bugs] [Bug 34303] PDF export predefined destination folder

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=34303

Klaus Langguth  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
Version|4.0.4.2 release |5.0.2.2 release
 Resolution|FIXED   |---

--- Comment #33 from Klaus Langguth  ---
Sorry but this bug isnt solved yet. It still does not work.
The files opened within LO can not be saved as pdfs in the same folder as the
orignial file was. This is very anoying bug as export pdfs is a important
feature.
It will not work on windows 7 nor on windows 10.
Please fix it. 
Thank you so much
Klaus

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


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

2016-01-21 Thread Miklos Vajna
 desktop/source/lib/lokclipboard.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 11f71656025763073c2167bce0e86b727704990e
Author: Miklos Vajna 
Date:   Mon Oct 26 14:25:26 2015 +0100

gtktiledviwer: try to paste as html, then as plain text

This commit (as a side effect) fixes LOKTransferable::getTransferData()
to not assume that the string is null-terminated, so it makes sense to
backport it even without gtktiledviewer. Otherwise rtl_str_getLength()
will read memory up till it finds a 0 byte, so it might read
uninitialized memory -> garbage at the end of the string.

(cherry picked from commit 080bd44f0b0300075ff18d377f31deebbc4009ed)

Conflicts:
libreofficekit/qa/gtktiledviewer/gtktiledviewer.cxx

Change-Id: I8e1c93fd36fb903c0625b29f9f73825438c9e113

diff --git a/desktop/source/lib/lokclipboard.cxx 
b/desktop/source/lib/lokclipboard.cxx
index 50d5705..376bcd7 100644
--- a/desktop/source/lib/lokclipboard.cxx
+++ b/desktop/source/lib/lokclipboard.cxx
@@ -43,7 +43,7 @@ throw(datatransfer::UnsupportedFlavorException, 
io::IOException, uno::RuntimeExc
 if (rFlavor.DataType == cppu::UnoType::get())
 {
 sal_Char* pText = reinterpret_cast(m_aSequence.getArray());
-aRet <<= OUString(pText, rtl_str_getLength(pText), 
RTL_TEXTENCODING_UTF8);
+aRet <<= OUString(pText, m_aSequence.getLength(), 
RTL_TEXTENCODING_UTF8);
 }
 else
 aRet <<= m_aSequence;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97232] Links to files: connecting two stings with a number doesn't work

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97232

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl
Summary|When file link, string  |Links to files: connecting
   |connect with number, not|two stings with a number
   |work|doesn't work

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


[Libreoffice-bugs] [Bug 97181] Formatting comments is enabled in menu Format even if there is no comment the writer document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97181

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl
   Hardware|x86-64 (AMD64)  |All
Version|5.1.0.2 rc  |5.1.0.0.alpha0+ Master
 OS|Windows (All)   |All

--- Comment #5 from Cor Nouws  ---
The menu item is new in 5.1.~

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


[Libreoffice-bugs] [Bug 59029] Format Paintbrush default changed to paste character formatting

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=59029

Cor Nouws  changed:

   What|Removed |Added

 CC||kdeb...@staznosti.sk

--- Comment #20 from Cor Nouws  ---
*** Bug 97270 has been marked as a duplicate of this bug. ***

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

--- Comment #7 from Mindaugas Baranauskas  ---
In openSUSE 12.1 (32 bit) + LibreOffice 3.5.3.2
I can reproduce from first try only sometimes, but (if not reproduced) after
doing undo and trying again – I can reproduce bug!

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


[Libreoffice-bugs] [Bug 97270] copying formatting with paint brush does not copy/apply (some?) paragraph properties (line spacing, distance above)

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97270

--- Comment #6 from Cor Nouws  ---
(In reply to Daniel from comment #5)

> However, if something needs to be explicitly explained and furthermore when
> there are multiple bug reports regarding this feature, we could assume that
> this behaviour is non-standard and unexpected by users.

A better tool tip? Look eg. at "Zoom & Pan (CTRL to zoom out, SHIFT to pan)" on
the tool bar Zoom in Draw.

Maybe you want to write an issue/enhancement request for that?

> I am not sure how other systems (MS Office, Google Docs) handle this, but if
> there is some common ground, it would be beneficial to change it in
> accordance from the UX point of view.

I've no idea either. But seeing the number of similar issues, it would have
been poped up already if people expect something different from what they know
from X and Y ?

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

--- Comment #8 from Mindaugas Baranauskas  ---
I can not reproduce in openSUSE 11.4 (32-bit) + LibreOffice 3.4.2

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


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

2016-01-21 Thread Stephan Bergmann
 lotuswordpro/source/filter/LotusWordProImportFilter.cxx |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 8608b276aee2075ce06ff33bcbac8899d427ad51
Author: Stephan Bergmann 
Date:   Thu Jan 21 11:59:18 2016 +0100

-fsanitize=function

Change-Id: I6293e2bbe5e61bcc538cddf86370b1d770f361af

diff --git a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx 
b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx
index 3f7cab5..7fe4cc9 100644
--- a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx
+++ b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx
@@ -99,7 +99,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL 
TestImportLWP(const OUString 
 
 extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
 LotusWordProImportFilter_get_implementation(
-css::uno::XComponentContext *context)
+css::uno::XComponentContext *context,
+css::uno::Sequence const &)
  {
 return cppu::acquire(new LotusWordProImportFilter(context));
  }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97294] LibreOffice Writer Freeze

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97294

Cor Nouws  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||c...@nouenoff.nl
 Ever confirmed|0   |1

--- Comment #1 from Cor Nouws  ---
Hi Kroontje,

Thanks for reporting.
Is this with a specific file?

>From what you write, it's only a problem on the 64 bits and not 32 bits Ubuntu?

regards,
Cor

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


[Libreoffice-bugs] [Bug 97230] Improper handling of the file

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97230

Cor Nouws  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||c...@nouenoff.nl
 Ever confirmed|0   |1

--- Comment #1 from Cor Nouws  ---
Hi Zuev142,

thanks for reporting here.
Can you please attach a sample file with instructions?

Best,
Cor

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


[Libreoffice-bugs] [Bug 97270] copying formatting with paint brush does not copy/apply (some?) paragraph properties (line spacing, distance above)

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97270

Cor Nouws  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
Summary|copying styles does not |copying formatting with
   |copy line spacing   |paint brush does not
   ||copy/apply (some?)
   ||paragraph properties (line
   ||spacing, distance above)

--- Comment #3 from Cor Nouws  ---
Thanks Daniel.
I confirm the problem.

TODO: check for regression and duplicates

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


[Libreoffice-bugs] [Bug 97297] New: disappears text typed DS Crystal font

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97297

Bug ID: 97297
   Summary: disappears text typed DS Crystal font
   Product: LibreOffice
   Version: 5.0.0.5 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: 79045_79...@mail.ru

Created attachment 122126
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122126=edit
font DS Crystal

0. Install font from attach in your OS
1. Create new text document (Writer)
2. Select font DS Crystal
3. Type character (example: favorite)
4. Type [Space] or any number
5. String dissapears
6. Push key enter
7. Type character -> new string visible
8. Type [Space] or any number
9. New String dissapears

link on ru-forum with description of this problem
http://forumooo.ru/index.php/topic,5393.0.html

it's regression. reproduced since version 5.0 on Windows and Linux

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


floating point comparison plugin results

2016-01-21 Thread Noel Grandin

Hi

(For further discussion)

This is the list of source locations where my new fpcomparison clang plugin 
detects the use of == or != on floating
point values.

Summary: only 252 source lines, which is less than I thought we'd have.

Regards, Noel Grandin


basegfx/source/color/bcolortools.cxx:120:17
basegfx/source/color/bcolortools.cxx:124:22
basegfx/source/color/bcolortools.cxx:46:17
basegfx/source/color/bcolortools.cxx:48:22
basegfx/source/polygon/b2dlinegeometry.cxx:718:24
basegfx/source/polygon/b2dpolygontools.cxx:1591:16
basegfx/source/polygon/b2dpolygontools.cxx:1591:37
basegfx/source/polygon/b2dpolygontools.cxx:1613:21
basegfx/source/polygon/b2dpolygontools.cxx:1613:41
basegfx/source/polygon/b2dpolygontools.cxx:1630:20
basegfx/source/polygon/b2dpolygontools.cxx:1676:20
basegfx/source/polygon/b2dpolygontools.cxx:1676:40
basegfx/source/polygon/b2dpolygontools.cxx:203:32
basegfx/source/polygon/b2dpolygontools.cxx:2238:24
basegfx/source/polygon/b2dpolygontools.cxx:2469:24
basegfx/source/polygon/b2dpolygontools.cxx:2487:20
basegfx/source/polygon/b2dpolygontools.cxx:2534:31
basegfx/source/polygon/b2dpolygontools.cxx:2534:62
basegfx/source/polygon/b2dpolygontools.cxx:273:24
basegfx/source/polygon/b2dpolygontools.cxx:2773:16
basegfx/source/polygon/b2dpolygontools.cxx:858:36
basegfx/source/polygon/b2dpolypolygontools.cxx:236:16
basegfx/source/polygon/b2dpolypolygontools.cxx:330:20
basegfx/source/polygon/b2dpolypolygontools.cxx:381:16
basegfx/source/polygon/b2dpolypolygontools.cxx:581:25
basegfx/source/polygon/b2dsvgpolypolygon.cxx:474:33
basegfx/source/polygon/b2dsvgpolypolygon.cxx:474:49
basegfx/source/polygon/b2dsvgpolypolygon.cxx:477:33
basegfx/source/polygon/b2dsvgpolypolygon.cxx:477:47
basegfx/source/polygon/b2dsvgpolypolygon.cxx:860:52
basegfx/source/polygon/b2dsvgpolypolygon.cxx:861:52
basegfx/source/tools/gradienttools.cxx:179:36
basegfx/source/tools/gradienttools.cxx:256:36
basegfx/test/boxclipper.cxx:55:13
basic/source/classes/sbunoobj.cxx:1031:21
basic/source/runtime/methods1.cxx:2621:9
basic/source/sbx/sbxbool.cxx:87:33
basic/source/sbx/sbxdate.cxx:284:21
basic/source/sbx/sbxform.cxx:90:9
canvas/source/tools/verifyinput.cxx:631:17
canvas/source/tools/verifyinput.cxx:632:17
chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx:80:17
chart2/source/view/axes/VCartesianAxis.cxx:315:8
chart2/source/view/charttypes/Splines.cxx:426:13
chart2/source/view/charttypes/Splines.cxx:438:9
chart2/source/view/main/LabelPositionHelper.cxx:121:9
chart2/source/view/main/LabelPositionHelper.cxx:164:9
chart2/source/view/main/LabelPositionHelper.cxx:206:9
chart2/source/view/main/LabelPositionHelper.cxx:248:9
chart2/source/view/main/LabelPositionHelper.cxx:291:9
chart2/source/view/main/LabelPositionHelper.cxx:323:9
chart2/source/view/main/LabelPositionHelper.cxx:355:9
chart2/source/view/main/LabelPositionHelper.cxx:387:9
chart2/source/view/main/ShapeFactory.cxx:98:9
connectivity/source/drivers/calc/CTable.cxx:344:30
cppcanvas/source/mtfrenderer/mtftools.cxx:129:34
cppcanvas/source/mtfrenderer/mtftools.cxx:130:34
cppcanvas/source/mtfrenderer/mtftools.cxx:132:35
cppu/source/uno/eq.hxx:152:17
cppu/source/uno/eq.hxx:161:17
cppu/source/uno/eq.hxx:311:21
cppu/source/uno/eq.hxx:313:21
cppu/source/uno/eq.hxx:336:21
cppu/source/uno/eq.hxx:338:21
cppu/source/uno/eq.hxx:360:21
cppu/source/uno/eq.hxx:362:21
cppu/source/uno/eq.hxx:385:21
cppu/source/uno/eq.hxx:387:21
cppu/source/uno/eq.hxx:409:21
cppu/source/uno/eq.hxx:411:21
cppu/source/uno/eq.hxx:434:21
cppu/source/uno/eq.hxx:436:21
cppu/source/uno/eq.hxx:462:17
cppu/source/uno/eq.hxx:466:17
cppu/source/uno/eq.hxx:476:21
cppu/source/uno/eq.hxx:478:21
cppu/source/uno/eq.hxx:480:21
cppu/source/uno/eq.hxx:482:21
cppu/source/uno/eq.hxx:484:21
cppu/source/uno/eq.hxx:486:21
cppu/source/uno/eq.hxx:488:17
cppu/source/uno/eq.hxx:492:21
cppu/source/uno/eq.hxx:494:21
cppu/source/uno/eq.hxx:502:21
cppu/source/uno/eq.hxx:504:21
cppu/source/uno/eq.hxx:506:21
cppu/source/uno/eq.hxx:508:21
cppu/source/uno/eq.hxx:510:21
cppu/source/uno/eq.hxx:512:21
cppu/source/uno/eq.hxx:514:17
cppu/source/uno/eq.hxx:518:21
cppu/source/uno/eq.hxx:520:21
drawinglayer/source/primitive2d/metafileprimitive2d.cxx:2060:32
drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx:158:16
drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx:261:20
drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx:971:28
drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx:979:28
editeng/source/items/borderline.cxx:186:26
filter/source/msfilter/msdffimp.cxx:1169:26
filter/source/msfilter/msdffimp.cxx:1199:26
idlc/source/astexpression.cxx:510:34
idlc/source/astexpression.cxx:514:34
include/basegfx/tuple/b2dtuple.hxx:257:13
include/basegfx/tuple/b2dtuple.hxx:258:13
include/basegfx/tuple/b3dtuple.hxx:311:13
include/basegfx/tuple/b3dtuple.hxx:312:13
include/basegfx/tuple/b3dtuple.hxx:313:13
include/rtl/math.hxx:251:10
include/rtl/math.hxx:265:10
include/vcl/vclenum.hxx:99:12
include/vcl/vclenum.hxx:99:28

[Libreoffice-bugs] [Bug 97176] UI: Libreoffice save dialog does not change extension anymore when changing saving format

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97176

--- Comment #3 from Cor Nouws  ---
Check 'automatic file name extension'?
Screen shot?

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


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

2016-01-21 Thread Caolán McNamara
 sax/source/tools/fastserializer.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6c0535b2b0e3f6d4bd5a9515a2c1a43e32e22a25
Author: Caolán McNamara 
Date:   Sun Jan 17 20:32:07 2016 +

crashtesting: plain-text import allows liberal with the UTF-8 input

see ImplConvertUtf8ToUnicode which allows surrogates, so we need a 
non-liberal
utf-input there if we want to enfore non-liberal utf-output here.

Change-Id: I713818d7b6d79922d9b08f2b137a803384eccb65
(cherry picked from commit 734cadff24b3e8555b40c58b4abd1f1c366c25cb)
Signed-off-by: Michael Stahl 

diff --git a/sax/source/tools/fastserializer.cxx 
b/sax/source/tools/fastserializer.cxx
index 8437ff0..b81886e 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -94,7 +94,7 @@ namespace sax_fastparser {
 
 void FastSaxSerializer::write( const OUString& sOutput, bool bEscape )
 {
-write( sOutput.toUtf8(), bEscape );
+write( OUStringToOString(sOutput, RTL_TEXTENCODING_UTF8), bEscape );
 
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

--- Comment #4 from Mindaugas Baranauskas  ---
I can reproduce in openSUSE Leap 42.1 Linux also.

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


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

2016-01-21 Thread Miklos Vajna
 sw/qa/extras/uiwriter/data/tdf96943.odt |binary
 sw/qa/extras/uiwriter/uiwriter.cxx  |   19 +++
 sw/source/core/inc/pagefrm.hxx  |3 +++
 sw/source/core/layout/calcmove.cxx  |   32 ++--
 sw/source/core/layout/pagechg.cxx   |   28 
 sw/source/core/text/widorp.cxx  |9 -
 6 files changed, 64 insertions(+), 27 deletions(-)

New commits:
commit 258f344021e7a229ae146e0214af19e45c59c032
Author: Miklos Vajna 
Date:   Thu Jan 7 12:30:23 2016 +0100

tdf#96943 sw Hide Whitespace: don't create pages for widow / orphan ...

... paragraphs that would otherwise fit nominal size of the page frame

(cherry picked from commits 6d8da2b2deb4be2182ca1852cec7eb38a4c654eb and
59ae2d11d5884ffdf77dec95d8cd2566943fd789)

Conflicts:
sw/qa/extras/uiwriter/uiwriter.cxx

Change-Id: I90c3de9150b17c951e1ac4158babb7a71afee9ee
Reviewed-on: https://gerrit.libreoffice.org/21445
Tested-by: Jenkins 
Reviewed-by: Ashod Nakashian 
Tested-by: Ashod Nakashian 

diff --git a/sw/qa/extras/uiwriter/data/tdf96943.odt 
b/sw/qa/extras/uiwriter/data/tdf96943.odt
new file mode 100644
index 000..1ee5b9f
Binary files /dev/null and b/sw/qa/extras/uiwriter/data/tdf96943.odt differ
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx 
b/sw/qa/extras/uiwriter/uiwriter.cxx
index eea54df..bff3a4b 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -173,6 +173,7 @@ public:
 void testTdf77014();
 void testTdf92648();
 void testTdf96515();
+void testTdf96943();
 void testTdf96479();
 void testTdf96536();
 
@@ -256,6 +257,7 @@ public:
 CPPUNIT_TEST(testTdf77014);
 CPPUNIT_TEST(testTdf92648);
 CPPUNIT_TEST(testTdf96515);
+CPPUNIT_TEST(testTdf96943);
 CPPUNIT_TEST(testTdf96479);
 CPPUNIT_TEST(testTdf96536);
 CPPUNIT_TEST_SUITE_END();
@@ -2908,6 +2910,23 @@ void SwUiWriterTest::testTdf96515()
 CPPUNIT_ASSERT_EQUAL(1, getPages());
 }
 
+void SwUiWriterTest::testTdf96943()
+{
+// Enable hide whitespace mode.
+SwDoc* pDoc = createDoc("tdf96943.odt");
+SwWrtShell* pWrtShell = pDoc->GetDocShell()->GetWrtShell();
+SwViewOption aViewOptions(*pWrtShell->GetViewOptions());
+aViewOptions.SetHideWhitespaceMode(true);
+pWrtShell->ApplyViewOptions(aViewOptions);
+
+// Insert a new character at the end of the document.
+pWrtShell->SttEndDoc(/*bStt=*/false);
+pWrtShell->Insert("d");
+
+// This was 2, a new page was created for the new layout line.
+CPPUNIT_ASSERT_EQUAL(1, getPages());
+}
+
 void SwUiWriterTest::testTdf96479()
 {
 // We want to verify the empty input text field in the bookmark
diff --git a/sw/source/core/inc/pagefrm.hxx b/sw/source/core/inc/pagefrm.hxx
index 840c580..2df4c1d 100644
--- a/sw/source/core/inc/pagefrm.hxx
+++ b/sw/source/core/inc/pagefrm.hxx
@@ -334,6 +334,9 @@ public:
 static const vcl::Font& GetEmptyPageFont();
 
 static SwTwips GetSidebarBorderWidth( const SwViewShell* );
+
+/// Adjust a bottom-of-page-frame - bottom-of-text-frame difference in 
case whitespace is hidden.
+void HandleWhitespaceHiddenDiff(SwTwips& nDiff);
 };
 
 inline SwContentFrame *SwPageFrame::FindFirstBodyContent()
diff --git a/sw/source/core/layout/calcmove.cxx 
b/sw/source/core/layout/calcmove.cxx
index 21d479a..84daf90 100644
--- a/sw/source/core/layout/calcmove.cxx
+++ b/sw/source/core/layout/calcmove.cxx
@@ -1522,32 +1522,12 @@ void SwContentFrame::MakeAll(vcl::RenderContext* 
/*pRenderContext*/)
 const long nPrtBottom = (GetUpper()->*fnRect->fnGetPrtBottom)();
 long nBottomDist = (Frame().*fnRect->fnBottomDist)(nPrtBottom);
 
-SwViewShell* pShell = getRootFrame()->GetCurrShell();
-if (pShell && pShell->GetViewOptions()->IsWhitespaceHidden())
-{
-// When whitespace is hidden, the page frame has two heights: the
-// nominal (defined by the frame format), and the actual (which is
-// at most the nominal height, but can be smaller in case there is
-// no content for the whole page).
-// The layout size is the actual one, but we want to move the
-// content frame to a new page only in case it doesn't fit the
-// nominal size.
-if (nBottomDist < 0)
-{
-// Content frame doesn't fit the actual size, check if it fits 
the nominal one.
-SwPageFrame* pPageFrame = FindPageFrame();
-const SwFrameFormat* pPageFormat = static_cast(pPageFrame->GetRegisteredIn());
-const Size& rPageSize = pPageFormat->GetFrameSize().GetSize();
-long nWhitespace = rPageSize.getHeight() - 
pPageFrame->Frame().Height();
-if (nWhitespace > -nBottomDist)

[Libreoffice-bugs] [Bug 97296] "(No-) Transparency" option for Picture as Data Point Symbol used with error bar

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97296

--- Comment #1 from burnu...@gmail.com ---
Created attachment 122127
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122127=edit
Example for a combined Timeline-value chart

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


[Libreoffice-bugs] [Bug 97229] Tables are split after saving as .doc

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97229

Nicolas Mailhot  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW

--- Comment #2 from Nicolas Mailhot  ---
1. open the file in LOO : no table is split on multiple pages
2. save as .doc
3. open the result in Word 97 : tables are split on multiple pages

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


[Libreoffice-bugs] [Bug 96914] MAILMERGE crash on first run after DB registration

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96914

--- Comment #3 from Jan-Marek Glogowski  ---
I don't understand, why it crashes, but here is the test case:

1. Have a document with MM fields but no embedded DB
1.1 Deregister the DB of the fields, if it is already registered
(F4, Right Click, Registered DBs... , Delete DB)
2. Register the DB via MM Wizard
   (Go to step three and select the datasource)
  => The DB is registered as an embedded DB.
3. Cancel the Wizard
4 Use File -> Print... -> MM
5. Run any MM with the DB from this document
6. Crash, as an Exception from

The actual crash is the DisposedException() from
   ::connectivity::checkDisposed(m_rBHelper.bDisposed);
in void ORowSetBase::checkCache()

"Fun" facts: 
 * If you open a second document with MM fields from the same DB, no crash
 * If you reopen the MM wizard and use the DB, no crash
 * If you save and load the document, no crash

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


[Libreoffice-bugs] [Bug 97159] Writer crashed when adding files to master documents

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97159

Beluga  changed:

   What|Removed |Added

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

--- Comment #1 from Beluga  ---
I could reproduce the crash with 5.0.4, but not with 5.1 or 5.2.

Could you test with 5.1? Maybe close as WORKSFORME, if ok?

Set to NEEDINFO.

Win 7 Pro 64-bit, Version: 5.0.4.2 (x64)
Build ID: 2b9802c1994aa0b7dc6079e128979269cf95bc78
Locale: fi-FI (fi_FI)

Version: 5.2.0.0.alpha0+
Build ID: 6b65a0e83c4798f117be61af91dbaebdc85e94b7
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-21_03:41:08
Locale: fi-FI (fi_FI)

Version: 5.1.0.2 (x64)
Build ID: ecd3574d51754b043f865cf5bafee286d24db7cc
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: fi-FI (fi_FI)

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


Re: Problem in build: make check stuck in vcl_filters_test

2016-01-21 Thread David Tardon
Hi,

On Thu, Jan 21, 2016 at 09:29:13AM +0100, Stephan Bergmann wrote:
> On 01/20/2016 09:53 PM, Giuseppe Castagno wrote:
> >[build CUT] vcl_complextext
> >[build CUT] vcl_filters_test
> >
> >stuck on HDU access, actually freezing the PC
> >
> >After around 10 minutes waiting, I killed the build.
> 
> see 
> 
> "disable test that suddenly eats GBs of memory"

Should be fixed by
https://gerrit.libreoffice.org/gitweb?p=core.git;a=commit;h=32b0e02e5b82a8a13822e115574c6b77e30127ef
"at least partially sanitize image dimensions", so I re-enabled the test.

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


[Libreoffice-bugs] [Bug 97176] UI: Libreoffice save dialog does not change extension anymore when changing saving format

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97176

Cor Nouws  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||c...@nouenoff.nl
 Ever confirmed|0   |1

--- Comment #1 from Cor Nouws  ---
Hi Sergio,

Thanks for your report.
I do not see the problem.
What Linux distro?
What file browser (Tools > Options > General)
Can you post a screen print of the dialog?

thanks,
Cor

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


[Libreoffice-bugs] [Bug 97296] New: "(No-) Transparency" option for Picture as Data Point Symbol used with error bar

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97296

Bug ID: 97296
   Summary: "(No-) Transparency" option for Picture as Data Point
Symbol used with error bar
   Product: LibreOffice
   Version: unspecified
  Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Chart
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: burnu...@gmail.com

You can create a timeline-chart in LO Calc like the following with error-bars:
http://www.vertex42.com/ExcelArticles/create-a-timeline.html
Even with pictures as shown in Figure 2.

Info also here:
https://www.officetimeline.com/excel-timeline
and here:
https://forum.openoffice.org/en/forum/viewtopic.php?f=9=32185

The only shortcomming is, that if I use a picture as Data Point Symbol, it is
(in LO) transparent against the used error-bar. (Not transparent against a
regular chart line!)

It would be really nice, if the picture could be made "not transparent" against
an error-bar too.

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


missed change in uno api since LO5.0?

2016-01-21 Thread Winfried Donkers
Hi,

Our ERP system uses basic scripts to create Calc documents. This worked fine 
from the first LO version (3.2?) till 4.4.7, but no longer with LO5.0.

The example below shows the problem.
***
option explicit

Dim oCalcDoc, oSheet, cURL
Dim oServiceManager, oDesktop, oDispatcher

sub main
 cURL = "file:///c|/temp/test.ods"

  Set oServiceManager = CreateObject("com.sun.star.ServiceManager")
  set oDispatcher = oServiceManager.createInstance 
("com.sun.star.frame.DispatchHelper")
  Set oDesktop = oServiceManager.createInstance ("com.sun.star.frame.Desktop")

  set oCalcDoc = oDesktop.loadComponentFromURL( "private:factory/scalc", 
"_blank", 0, _
   Array( makePropertyValue( "Hidden", false ) ) )
  set oSheet = oCalcDoc.getSheets( ).getByIndex( 0 ) ' get the zero'th sheet

  oSheet.getCellByPosition( 1, 1 ).setString( " * test * " )

'all works fine till here
'next line 'does not execute' with LO5.0 and works fine with older versions
  call execDispatch( ".uno:GoToCell", Array( MakePropertyValue( "ToPoint", 
"$B$3" ) ) )

  
  set oDesktop= nothing
  set oServiceManager = nothing
  set oDispatcher = nothing
end sub 'main


Sub execDispatch(slotName, params())
  call oDispatcher.executeDispatch (oDeskTop.CurrentFrame, slotname, "", 0, 
params)
End Sub


Public Function MakePropertyValue( cName, uValue )
  Dim oPropertyValue

  set oPropertyValue= 
oServiceManager.Bridge_GetStruct("com.sun.star.beans.PropertyValue")
  oPropertyValue.Name   = cName
  oPropertyValue.Value  = uValue
  set MakePropertyValue = oPropertyValue
End Function
***

Any clues what needs to be changed to make it work with versions 4 and 5?

Winfried

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


[Libreoffice-bugs] [Bug 97266] CRASH: Calc hangs when selecting data ranges in chart

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97266

raal  changed:

   What|Removed |Added

 CC||r...@post.cz
  Component|Calc|Chart

--- Comment #1 from raal  ---
I can not confirm on win7 Version: 5.2.0.0.alpha0+
Build ID: f4e703aa39e9c294441b6dd86189d8aff32db8bf
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default;

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


[Libreoffice-bugs] [Bug 97176] UI: Libreoffice save dialog does not change extension anymore when changing saving format

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97176

--- Comment #2 from sergio.calleg...@gmail.com ---
Hi,

- I am using LibO 5.1.0.2 on Kubuntu 15.10.
- I use the Libreoffice file dialogs because I find the system ones to be
extremely bad for the Insert->Image stuff where you basically cannot get a
preview of what you are inserting.

The steps to reproduce the issue on my system are extremely easy. The minimal
example showing that the extension is not plugged in automatically is the
following:

1) libreoffice5.1 --writer
2) Put some text in the page
3) File->Save as
4) Keep all the defaults and press save

You get a file in the odt format with name "Untitled 1".
You should get "Untitled 1.odt"

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


[Libreoffice-bugs] [Bug 97270] copying formatting with paint brush does not copy/apply (some?) paragraph properties (line spacing, distance above)

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97270

Cor Nouws  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from Cor Nouws  ---
Ah, it's a feature :)
 https://bugs.documentfoundation.org/show_bug.cgi?id=59029#c5
(I never use it, so didn't know it from the top of my head.)

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

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


[Libreoffice-bugs] [Bug 97141] dot on numeric pad shows as comma with Brazilian ABNT keyboards

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97141

Beluga  changed:

   What|Removed |Added

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

--- Comment #2 from Beluga  ---
See this:
https://help.libreoffice.org/Common/Languages#Decimal_separator_key_-_Same_as_locale_setting

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


[Libreoffice-bugs] [Bug 48783] Clipboard cleared on exit on Linux

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=48783

Cor Nouws  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #24 from Cor Nouws  ---
"(14:58:56) caolan: CorNouws: only for the gtk3 vclplug, not globally under
Linux, just with that one specific backend"

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


[Libreoffice-bugs] [Bug 48783] Clipboard cleared on exit on Linux

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=48783

Cor Nouws  changed:

   What|Removed |Added

 Status|REOPENED|NEW

--- Comment #25 from Cor Nouws  ---
So sorry, not all fixed

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


[Libreoffice-bugs] [Bug 97295] New: Crash when switch odt files, direct opened from browser

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97295

Bug ID: 97295
   Summary: Crash when switch odt files, direct opened from
browser
   Product: LibreOffice
   Version: 5.2.0.0.alpha0+ Master
  Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: baffc...@yahoo.co.jp

crash when switch odt files, direct opened via browser

Steps to Reproduce:
1. Start Web Browser(Firefox)
2. Open https://bugs.documentfoundation.org/show_bug.cgi?id=94865
3. Click a attachment#119395
   http://bugs.documentfoundation.org/attachment.cgi?id=119395
4. Appear download Dialog
5. Select "Open with [LibreOfficeDev]" and click a [OK]
6. Open a en_US.odt on LibODev (background)
7. Click a attachment#119424
   http://bugs.documentfoundation.org/attachment.cgi?id=119424
8. Appear download Dialog
9. Select "Open with [LibreOfficeDev]" and click a [OK]
10. Open a accelerators_en_USmaster.odt on LibODev (background)
11. Minimumed Web Browser(Firefox)
12. Two LibODev Window opens
13. Click a Front LibODev Window
14. Click a Back LibODev Window
15. Crash a LibODev


Windows 7 Pro(x86)
Version: 5.2.0.0.alpha0+
Build ID: a8860122fecbaa932a48f41a38077f621275be9d
Threads 4; Ver: Windows 6.1; Render: GL;
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-27_10:34:00
Locale: ja-JP (ja_JP)

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


[Libreoffice-bugs] [Bug 97229] Tables are split after saving as .doc

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97229

Cor Nouws  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||c...@nouenoff.nl
 Ever confirmed|0   |1

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


[Libreoffice-commits] core.git: 6 commits - lotuswordpro/source vcl/headless vcl/source vcl/unx xmloff/source

2016-01-21 Thread Caolán McNamara
 lotuswordpro/source/filter/lwpbackgroundstuff.cxx |2 
 lotuswordpro/source/filter/lwpcelllayout.cxx  |6 -
 lotuswordpro/source/filter/lwpdrawobj.cxx |   60 +-
 lotuswordpro/source/filter/lwpgrfobj.cxx  |   20 +++---
 lotuswordpro/source/filter/lwppagelayout.cxx  |   16 ++--
 lotuswordpro/source/filter/lwppara.cxx|   14 ++--
 lotuswordpro/source/filter/lwppara1.cxx   |8 +-
 lotuswordpro/source/filter/lwpsdwgrouploaderv0102.cxx |6 -
 lotuswordpro/source/filter/lwpsilverbullet.cxx|   14 ++--
 lotuswordpro/source/filter/lwpstory.cxx   |2 
 lotuswordpro/source/filter/lwptablelayout.cxx |4 -
 lotuswordpro/source/filter/xfilter/xfpagemaster.hxx   |2 
 vcl/headless/svpvd.cxx|1 
 vcl/source/filter/igif/gifread.cxx|   29 +++-
 vcl/source/filter/wmf/enhwmf.cxx  |6 -
 vcl/source/filter/wmf/winmtf.cxx  |   10 +--
 vcl/source/filter/wmf/winmtf.hxx  |2 
 vcl/source/filter/wmf/winwmf.cxx  |4 -
 vcl/source/outdev/transparent.cxx |6 -
 vcl/unx/generic/desktopdetect/desktopdetector.cxx |2 
 vcl/unx/gtk3/gtk3gtkinst.cxx  |   25 ++-
 xmloff/source/chart/SchXMLExport.cxx  |4 -
 22 files changed, 129 insertions(+), 114 deletions(-)

New commits:
commit f1358edf469e70df1fb044bb58cd888fea15173c
Author: Caolán McNamara 
Date:   Thu Jan 21 11:28:50 2016 +

Resolves: rhbz#1240591 gtk3: store clipboard when LibreOffice is closed

now contents copied to clipboard persist after LibreOffice exits

Change-Id: I4433543944fb9664f87ade43da1198dcdd4e2a7c

diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx
index f1a9ddc..a3f3068 100644
--- a/vcl/unx/gtk3/gtk3gtkinst.cxx
+++ b/vcl/unx/gtk3/gtk3gtkinst.cxx
@@ -13,12 +13,12 @@
 #include "com/sun/star/lang/XServiceInfo.hpp"
 #include "com/sun/star/lang/XSingleServiceFactory.hpp"
 #include "com/sun/star/lang/XInitialization.hpp"
-#include "com/sun/star/lang/DisposedException.hpp"
 #include "com/sun/star/datatransfer/XTransferable.hpp"
 #include "com/sun/star/datatransfer/clipboard/XClipboard.hpp"
 #include "com/sun/star/datatransfer/clipboard/XClipboardEx.hpp"
 #include "com/sun/star/datatransfer/clipboard/XClipboardNotifier.hpp"
 #include "com/sun/star/datatransfer/clipboard/XClipboardListener.hpp"
+#include "com/sun/star/datatransfer/clipboard/XFlushableClipboard.hpp"
 #include "com/sun/star/datatransfer/clipboard/XSystemClipboard.hpp"
 #include "com/sun/star/datatransfer/dnd/XDragSource.hpp"
 #include "com/sun/star/datatransfer/dnd/XDropTarget.hpp"
@@ -275,6 +275,7 @@ static void clipboard_owner_init(ClipboardOwner *)
 class VclGtkClipboard :
 public cppu::WeakComponentImplHelper<
 datatransfer::clipboard::XSystemClipboard,
+datatransfer::clipboard::XFlushableClipboard,
 XServiceInfo>
 {
 GdkAtom  m_nSelection;
@@ -326,6 +327,12 @@ public:
 throw(RuntimeException, std::exception) override;
 
 /*
+ * XFlushableClipboard
+ */
+virtual void SAL_CALL flushClipboard()
+throw(RuntimeException, std::exception) override;
+
+/*
  * XClipboardNotifier
  */
 virtual void SAL_CALL addClipboardListener(
@@ -502,7 +509,8 @@ namespace
 }
 
 VclGtkClipboard::VclGtkClipboard(GdkAtom nSelection)
-: cppu::WeakComponentImplHelper
+: cppu::WeakComponentImplHelper
 (m_aMutex)
 , m_nSelection(nSelection)
 {
@@ -513,6 +521,16 @@ VclGtkClipboard::VclGtkClipboard(GdkAtom nSelection)
 m_pOwner->m_pThis = this;
 }
 
+void VclGtkClipboard::flushClipboard()
+  throw (RuntimeException, std::exception)
+{
+if (GDK_SELECTION_CLIPBOARD != m_nSelection)
+return;
+
+GtkClipboard* clipboard = gtk_clipboard_get(m_nSelection);
+gtk_clipboard_store(clipboard);
+}
+
 VclGtkClipboard::~VclGtkClipboard()
 {
 GtkClipboard* clipboard = gtk_clipboard_get(m_nSelection);
@@ -524,7 +542,7 @@ VclGtkClipboard::~VclGtkClipboard()
 void VclGtkClipboard::setContents(
 const Reference< css::datatransfer::XTransferable >& xTrans,
 const Reference< css::datatransfer::clipboard::XClipboardOwner >& 
xClipboardOwner )
-throw( RuntimeException, std::exception )
+throw(RuntimeException, std::exception)
 {
 osl::ClearableMutexGuard aGuard( m_aMutex );
 Reference< datatransfer::clipboard::XClipboardOwner > xOldOwner( m_aOwner 
);
@@ -584,6 +602,7 @@ void VclGtkClipboard::setContents(
 //if we have gained or 

[Libreoffice-bugs] [Bug 90192] Images placed in docx are misplaced when opening with libreoffice

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90192

Beluga  changed:

   What|Removed |Added

 CC||todven...@suomi24.fi

--- Comment #4 from Beluga  ---
(In reply to A (Andy) from comment #2)
> Reproducible with LO 4.4.1.2, Win 8.1
> 
> Several buggy issues are reproducible:
> - Page 1: Header and footer text backgrounds are white

WFM.

> - Page 1: Main text frame is cornered instead of rounded

Confirmed. Could be expressed as: all rounded frames in document have sharp
corners in LibO.

> - Page 2: The left symbol in the title is missing

WFM.

> - Page 2: Text objects with a frame have a white background

WFM.

> - Page 2: Text in the three frames at the bottom is lifted up a little bit

Confirmed. NOTE: the text is laid out in a silly manner: by entering empty
paragraphs!!

> - Page 2: The flipping of pages corners in the three frames at the bottom
> are missing

Confirmed.

> - Page 3: An additional image is added

Confirmed image of random dude in the header.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 6b65a0e83c4798f117be61af91dbaebdc85e94b7
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-21_03:41:08
Locale: fi-FI (fi_FI)

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

Beluga  changed:

   What|Removed |Added

   Keywords||regression
   Priority|medium  |high
 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
 Ever confirmed|0   |1
   Severity|normal  |critical

--- Comment #2 from Beluga  ---
Reproduced with 5.2

NOT reproduced with 3.5.

I got this debug output for the hang in Windbg:

(1c7c.bd0): C++ EH exception - code e06d7363 (first chance)
(1c7c.bd0): C++ EH exception - code e06d7363 (first chance)
(1c7c.bd0): C++ EH exception - code e06d7363 (first chance)
ModLoad: 0ae2 0afb5000   C:\Program Files (x86)\LibreOfficeDev
5\program\i18npoollo.dll


Mindaugas: what operating system did you use? Linux?

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 6b65a0e83c4798f117be61af91dbaebdc85e94b7
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-21_03:41:08
Locale: fi-FI (fi_FI)

LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735

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


[Libreoffice-bugs] [Bug 48331] FORMATTING: Format Painter have undefined behavior

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=48331

Cor Nouws  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||c...@nouenoff.nl
 Resolution|--- |DUPLICATE

--- Comment #7 from Cor Nouws  ---
Hi Kenneth,

I expect this to designed behaviour.
Please see comment  5 in the issue tdf#59029

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

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


[Libreoffice-bugs] [Bug 59029] Format Paintbrush default changed to paste character formatting

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=59029

Cor Nouws  changed:

   What|Removed |Added

 CC||kenneth.styrberg@saabgroup.
   ||com

--- Comment #21 from Cor Nouws  ---
*** Bug 48331 has been marked as a duplicate of this bug. ***

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

Beluga  changed:

   What|Removed |Added

   Keywords||bibisectRequest

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


[Libreoffice-bugs] [Bug 97139] LibreOffice unresponsible after entering | symbol in particular document

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97139

Beluga  changed:

   What|Removed |Added

Version|5.0.4.2 release |4.3.3.2 release

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


[Libreoffice-bugs] [Bug 91017] [Regression] Black squares hide content of WMF image

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91017

--- Comment #10 from Armin Le Grand  ---
Found that indeed for EMR_ALPHABLEND the MS docu at
https://msdn.microsoft.com/en-us/library/cc230613.aspx defines alpha
possibilities for the to-be-loaded bitmap which the implementation of
EMR_ALPHABLEND does not support. It creates a temp file to be able to use
ReadDIB which itself is not capable of reading alpha.
This means that the whole old patch is not complete and only works when
BLENDFUNCTION AlphaFormat is 0x00 and SrcConstantAlpha is 0xff (which means to
copy the bitmap).
I checked with the bugdoc and it contains alpha data which is not read. Adding
stuff to read it is not easy (best chance is to create a temp file to use
ReadDIBV5 I would guess).

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


New Defects reported by Coverity Scan for LibreOffice

2016-01-21 Thread scan-admin

Hi,

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

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

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


** CID 1349759:  Null pointer dereferences  (FORWARD_NULL)
/qadevOOo/tests/java/ifc/io/_XOutputStream.java: 90 in 
ifc.io._XOutputStream._writeBytes()()



*** CID 1349759:  Null pointer dereferences  (FORWARD_NULL)
/qadevOOo/tests/java/ifc/io/_XOutputStream.java: 90 in 
ifc.io._XOutputStream._writeBytes()()
84 }
85 
86 byte[][] readData = new byte[1][data.length];
87 XInputStream xInStream = checker.getInStream();
88 if (xInStream == null) {
89 try {
>>> CID 1349759:  Null pointer dereferences  (FORWARD_NULL)
>>> Calling a method on null object "xInStream".
90 xInStream.readBytes(readData, data.length);
91 } catch(com.sun.star.io.IOException e) {
92 log.println("Couldn't read data:" + e);
93 res = false;
94 }
95 } else {

** CID 1349758:  Null pointer dereferences  (FORWARD_NULL)
/vcl/source/window/menu.cxx: 2517 in 
MenuBar::DeactivateMenuBar(VclPtr &)()



*** CID 1349758:  Null pointer dereferences  (FORWARD_NULL)
/vcl/source/window/menu.cxx: 2517 in 
MenuBar::DeactivateMenuBar(VclPtr &)()
2511 pMenuWin->PopupClosed(pMenu);
2512 }
2513 
2514 void MenuBar::DeactivateMenuBar(VclPtr& xFocusId)
2515 {
2516 MenuBarWindow* pMenuWin = getMenuBarWindow();
>>> CID 1349758:  Null pointer dereferences  (FORWARD_NULL)
>>> Comparing "pMenuWin" to null implies that "pMenuWin" might be null.
2517 xFocusId = pMenuWin ? pMenuWin->GetFocusId() : nullptr;
2518 if (xFocusId != nullptr)
2519 {
2520 pMenuWin->SetFocusId(nullptr);
2521 ImplGetSVData()->maWinData.mbNoDeactivate = false;
2522 }

** CID 1349757:  Error handling issues  (CHECKED_RETURN)
/hwpfilter/source/hfont.cxx: 83 in HWPFont::Read(HWPFile &)()



*** CID 1349757:  Error handling issues  (CHECKED_RETURN)
/hwpfilter/source/hfont.cxx: 83 in HWPFont::Read(HWPFile &)()
77 //printf("HWPFont::Read : lang = %d\n",NLanguage);
78 for(lang = 0; lang < NLanguage; lang++)
79 {
80 hwpf.Read2b(, 1);
81 if (!(nfonts > 0 && nfonts < MAXFONTS))
82 {
>>> CID 1349757:  Error handling issues  (CHECKED_RETURN)
>>> Calling "SetState" without checking return value (as is done elsewhere 
>>> 28 out of 29 times).
83 hwpf.SetState(HWP_InvalidFileFormat);
84 return;
85 }
86 fontnames[lang] = new char[nfonts * FONTNAMELEN];
87 
88 memset(fontnames[lang], 0, nfonts * FONTNAMELEN);



To view the defects in Coverity Scan visit, 
https://scan.coverity.com/projects/libreoffice?tab=overview

To manage Coverity Scan email notifications for 
"libreoffice@lists.freedesktop.org", click 
https://scan.coverity.com/subscriptions/edit?email=libreoffice%40lists.freedesktop.org=d6481d718a775246b2340f282ebe5939

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


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

2016-01-21 Thread Caolán McNamara
 hwpfilter/source/hfont.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2af991dc232bbf96557dc5efe5bd2ce9b6b99f9b
Author: Caolán McNamara 
Date:   Thu Jan 21 14:05:53 2016 +

coverity#1349757 Unchecked return value

Change-Id: Ia2286fa9e1c351c4e4c9579b31b94ce1eac3b841

diff --git a/hwpfilter/source/hfont.cxx b/hwpfilter/source/hfont.cxx
index a16905c..70e3942 100644
--- a/hwpfilter/source/hfont.cxx
+++ b/hwpfilter/source/hfont.cxx
@@ -80,7 +80,7 @@ void HWPFont::Read(HWPFile & hwpf)
 hwpf.Read2b(, 1);
 if (!(nfonts > 0 && nfonts < MAXFONTS))
 {
-hwpf.SetState(HWP_InvalidFileFormat);
+(void)hwpf.SetState(HWP_InvalidFileFormat);
 return;
 }
 fontnames[lang] = new char[nfonts * FONTNAMELEN];
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-21 Thread Giuseppe Castagno
 include/svtools/PlaceEditDialog.hxx|1 +
 include/svtools/ServerDetailsControls.hxx  |3 +++
 svtools/source/dialogs/PlaceEditDialog.cxx |   11 ---
 3 files changed, 12 insertions(+), 3 deletions(-)

New commits:
commit 936da92dd854a1d5c16e564fc62b14bee0214fe9
Author: Giuseppe Castagno 
Date:   Thu Dec 31 12:04:13 2015 +0100

Related tdf#96833: hide user and password for WebDAV servers...

...because they are asked for and stored in a successive user
interaction.

Change-Id: I09a3a1e59fe3819a28d7565e83b0db968dfee74b
Reviewed-on: https://gerrit.libreoffice.org/21040
Tested-by: Jenkins 
Reviewed-by: jan iversen 
Tested-by: jan iversen 
(cherry picked from commit 3113ecb2fcb6d868a213c5dc978159e18f4e2efa)
Reviewed-on: https://gerrit.libreoffice.org/21486
Reviewed-by: Giuseppe Castagno 
Reviewed-by: Miklos Vajna 

diff --git a/include/svtools/PlaceEditDialog.hxx 
b/include/svtools/PlaceEditDialog.hxx
index f682580..2c274c4 100644
--- a/include/svtools/PlaceEditDialog.hxx
+++ b/include/svtools/PlaceEditDialog.hxx
@@ -34,6 +34,7 @@ private:
 std::shared_ptr< DetailsContainer > m_xCurrentDetails;
 
 VclPtr m_pEDUsername;
+VclPtrm_pFTUsernameLabel;
 VclPtr m_pCBPassword;
 VclPtr m_pEDPassword;
 VclPtrm_pFTPasswordLabel;
diff --git a/include/svtools/ServerDetailsControls.hxx 
b/include/svtools/ServerDetailsControls.hxx
index 8a2289e..e9f4d4c 100644
--- a/include/svtools/ServerDetailsControls.hxx
+++ b/include/svtools/ServerDetailsControls.hxx
@@ -57,6 +57,8 @@ class DetailsContainer
 virtual void setUsername( const OUString& /*rUsername*/ ) { };
 virtual void setPassword( const OUString& ) { };
 
+virtual bool enableUserCredentials( ) { return true; };
+
 void setActive( bool bActive = true );
 
 protected:
@@ -98,6 +100,7 @@ class DavDetailsContainer : public HostDetailsContainer
 virtual ~DavDetailsContainer( ) { };
 
 virtual void show( bool bShow = true ) override;
+virtual bool enableUserCredentials( ) override { return false; };
 
 protected:
 virtual bool verifyScheme( const OUString& rScheme ) override;
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx 
b/svtools/source/dialogs/PlaceEditDialog.cxx
index 19634b7..b062b93 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -28,6 +28,7 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent)
 get( m_pEDServerName, "name" );
 get( m_pLBServerType, "type" );
 get( m_pEDUsername, "login" );
+get( m_pFTUsernameLabel, "loginLabel" );
 get( m_pBTOk, "ok" );
 get( m_pBTCancel, "cancel" );
 get( m_pBTDelete, "delete" );
@@ -61,6 +62,7 @@ PlaceEditDialog::PlaceEditDialog(vcl::Window* pParent, const 
std::shared_ptrshow();
 
-m_pCBPassword->Show( m_bShowPassword );
-m_pEDPassword->Show( m_bShowPassword );
-m_pFTPasswordLabel->Show( m_bShowPassword );
+m_pCBPassword->Show( m_bShowPassword && 
m_xCurrentDetails->enableUserCredentials() );
+m_pEDPassword->Show( m_bShowPassword && 
m_xCurrentDetails->enableUserCredentials() );
+m_pFTPasswordLabel->Show( m_bShowPassword && 
m_xCurrentDetails->enableUserCredentials() );
+m_pEDUsername->Show( m_xCurrentDetails->enableUserCredentials() );
+m_pFTUsernameLabel->Show( m_xCurrentDetails->enableUserCredentials() );
 
 SetSizePixel(GetOptimalSize());
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - configure.ac RepositoryExternal.mk

2016-01-21 Thread David Tardon
 RepositoryExternal.mk |2 +-
 configure.ac  |1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 17ee83f108c4e7c00218ea09dbbffdf9989da0ae
Author: David Tardon 
Date:   Wed Jan 13 14:21:10 2016 +0100

move def. of liblangtag inc. path to configure

Change-Id: Idef3015bf7b7bb5e0d984ac0b0a2163172cacc17
(cherry picked from commit 345135002ae030bd3cd3d4bde594c14affc860a2)
Reviewed-on: https://gerrit.libreoffice.org/21543
Tested-by: Jenkins 
Reviewed-by: Miklos Vajna 

diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 2a80542..8361961 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -1069,7 +1069,7 @@ $(eval $(call 
gb_Helper_register_packages_for_install,ooo,\
 define gb_LinkTarget__use_liblangtag
 $(call gb_LinkTarget_use_unpacked,$(1),langtag)
 $(call gb_LinkTarget_set_include,$(1),\
-   -I$(call gb_UnpackedTarball_get_dir,langtag) \
+   $(LIBLANGTAG_CFLAGS) \
$$(INCLUDE) \
 )
 $(call gb_LinkTarget_add_libs,$(1),$(LIBLANGTAG_LIBS))
diff --git a/configure.ac b/configure.ac
index cfef065..974276b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11853,6 +11853,7 @@ if test "$enable_liblangtag" = "yes" -o \
 SYSTEM_LIBLANGTAG=
 AC_MSG_RESULT([no])
 BUILD_TYPE="$BUILD_TYPE LIBLANGTAG"
+LIBLANGTAG_CFLAGS="-I${WORKDIR}/UnpackedTarball/langtag"
 if test "$COM" = "MSC"; then
 
LIBLANGTAG_LIBS="${WORKDIR}/UnpackedTarball/langtag/liblangtag/.libs/liblangtag.lib"
 else
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Failures in OS X builds - too many errors?

2016-01-21 Thread Stephan Bergmann

On 01/21/2016 03:46 AM, Chris Sherlock wrote:

I think that something odd is happening in the compilation of the boost
library, I’m getting an error on Jenkins that there are too many
failures in the compilation process.


Yes, multiple -Werror,-Wunknown-pragmas caused by my 
 
"Does that help old GCC that don't know -Wplacement-new."  (And it is 
normal behavior that the compiler quits with a "too many errors" message 
when it has encountered a large amount of errors in a compilation, 
assuming something is so broken with that input that it doesn't make 
much sense to present ever more error messages to the user.)  This 
problem should be fixed with 
 
"Fix for Jenkins Gerrit Mac builds."


What is worrying is that this problem only showed up in Jenkins Gerrit 
builds, not in Jenkins tinderbox builds.  The two Jenkins Mac 
tinderboxes on master, Jenkins_MacOSX and Jenkins_MacOSX_Dbg, stayed 
green after 2c9d652dc7f7a1e2d0d8ea0cfcdcf47608a3d84e.


Quoting IRC: " shm_get_, cloph, Jenkins_MacOSX tinderbox is a 
mystery to me; in 
 
build it broke when compiling sal/cppunittester/cppunittester.cxx; 
according to , the 
next build of that tb was 
, 
and that doesn't mention building sal/cppunittester/cppunittester.cxx at 
all, and succeeds; how can that be?"


(I didn't notice any problems with my local Mac builds, as I only do 
them with a trunk Clang, which does know the offending pragmas,  The 
only other Mac tinderbox on master, MacOSX_x86_64_49-TDF operated by 
cloph, appears to be down and hasn't reported any builds in quite some 
time now.)

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


[Libreoffice-bugs] [Bug 33944] [PRESENTATION] [UI]: Option to export or print slides selected by custom slide show

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=33944

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl
  Component|Impress |filters and storage
Version|3.3.0 release   |Inherited From OOo
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=33
   ||982
Summary|[PRESENTATION] [PDFEXPORT]  |[PRESENTATION] [UI]: Option
   |[PRINTING] [UI]: Option to  |to export or print slides
   |export or print slides  |selected by custom slide
   |selected by custom slide|show
   |show|

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


[Libreoffice-bugs] [Bug 33982] [UI] Add option to print / export only selected slides from Slides Pane

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=33982

Cor Nouws  changed:

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 97292] FORMATTING: crash when setting area colour on multiple textboxes via properties sidebar

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97292

b.an...@unisensor.de changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

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


[Libreoffice-bugs] [Bug 97292] FORMATTING: crash when setting area colour on multiple textboxes via properties sidebar

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97292

--- Comment #4 from b.an...@unisensor.de ---
Created attachment 122123
  --> https://bugs.documentfoundation.org/attachment.cgi?id=122123=edit
.odg to test the bug


select all textboxes

in the properties sidebar goto "Area"

in the "Fill" dropdown select "Colour"

=> crash

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


[Libreoffice-bugs] [Bug 97292] FORMATTING: crash when setting area colour on multiple textboxes via properties sidebar

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97292

raal  changed:

   What|Removed |Added

   Priority|medium  |high
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
   Severity|normal  |major

--- Comment #5 from raal  ---
Confirm .
Version: 5.2.0.0.alpha0+
Build ID: f4e703aa39e9c294441b6dd86189d8aff32db8bf
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 

If possible, please follow the instructions provided at this link <
https://wiki.documentfoundation.org/How_to_get_a_backtrace_with_WinDbg > and
submit a backtrace. That way a developer can look into the underlying reason of
the crash.

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


[Libreoffice-commits] online.git: Branch 'distro/collabora/milestone-7' - loleaflet/src

2016-01-21 Thread Marco Cecchetti
 loleaflet/src/control/Search.js   |   27 ++-
 loleaflet/src/layer/tile/TileLayer.js |   14 +-
 2 files changed, 11 insertions(+), 30 deletions(-)

New commits:
commit 1a7fead463f742cb6bc072e2836f30c155f36e60
Author: Marco Cecchetti 
Date:   Thu Jan 21 10:54:24 2016 +0100

text doc - search - normal search does not discard highlighting

Improved search behavior for text documents:now when a normal search is
performed with the same search string utilized by a previous searchAll
action, search results highlighting is not removed.

diff --git a/loleaflet/src/control/Search.js b/loleaflet/src/control/Search.js
index 136f97b..5528a08 100644
--- a/loleaflet/src/control/Search.js
+++ b/loleaflet/src/control/Search.js
@@ -6,27 +6,9 @@ L.Map.include({
if (all === undefined) {
all = 0;
}
-
-   // check if there is a cached searchAll result for this phrase
-   // if there is update index for next/prev iteration
-   if (this._docLayer._searchResults && text === 
this._docLayer._searchTerm) {
-   if (backward) {
-   if (this._docLayer._searchIndex > 0) {
-   this._docLayer._searchIndex--;
-   }
-   else {
-   this._docLayer._searchIndex = 
this._docLayer._searchResults.length - 1;
-   }
-   } else {
-   if (this._docLayer._searchIndex < 
this._docLayer._searchResults.length - 1) {
-   this._docLayer._searchIndex++;
-   }
-   else {
-   this._docLayer._searchIndex = 0;
-   }
-   }
-   
this.setPart(this._docLayer._searchResults[this._docLayer._searchIndex].part);
-   return;
+   if (this._docLayer._searchResults && text !== 
this._docLayer._searchTerm)
+   {
+   this._docLayer._clearSearchResults();
}
 
var searchCmd = {
@@ -61,6 +43,9 @@ L.Map.include({
},
 
searchAll: function (text, backward) {
+   if (this._docLayer._searchResults && text === 
this._docLayer._searchTerm) {
+   return;
+   }
this.search(text, backward, 1);
},
 
diff --git a/loleaflet/src/layer/tile/TileLayer.js 
b/loleaflet/src/layer/tile/TileLayer.js
index dcef8c7..bae33d6 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -482,7 +482,6 @@ L.TileLayer = L.GridLayer.extend({
},
 
_onSearchResultSelection: function (textMsg) {
-   this._clearSearchResults();
textMsg = textMsg.substring(23);
var obj = JSON.parse(textMsg);
var originalPhrase = obj.searchString;
@@ -497,22 +496,19 @@ L.TileLayer = L.GridLayer.extend({
}
// do not cache search results if there is only one result.
// this way regular searches works fine
-   if (this._docType === 'presentation' && count > 1)
+   if (count > 1)
{
-   this._map._socket.sendMessage('resetselection');
+   this._clearSearchResults();
this._searchResults = results;
-   this._searchTerm = originalPhrase;
-   this._searchIndex = 0;
-
this._map.setPart(results[0].part); // go to first 
result.
}
+   this._searchTerm = originalPhrase;
this._map.fire('search', {originalPhrase: originalPhrase, 
count: count, results: results});
},
 
_clearSearchResults: function() {
this._searchResults = null;
this._searchTerm = null;
-   this._searchIndex = null;
this._searchResultsLayer.clearLayers();
},
 
@@ -521,12 +517,12 @@ L.TileLayer = L.GridLayer.extend({
return;
}
this._searchResultsLayer.clearLayers();
-   for (var k=0; k < this._searchResults.length; k++)
+   for (var k = 0; k < this._searchResults.length; k++)
{
var result = this._searchResults[k];
if (result.part === this._selectedPart)
{
-   var _fillColor = (k === this._searchIndex) ? 
'#43ACE8' : '#CC';
+   var _fillColor = '#CC';
var strTwips = 

[Libreoffice-bugs] [Bug 96740] odt file with ole objects leads to a crash of LO (Fatal Error - Bad Allocation)

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96740

Oliver Specht  changed:

   What|Removed |Added

 CC||oliver.spe...@cib.de

--- Comment #6 from Oliver Specht  ---
It crashes because a stream with a size of 0x8800 is in use here. new is
called with a size of 0x88007f50

 KernelBase.dll!_RaiseException@16()Unknown
>   msvcr120d.dll!_CxxThrowException(void * pExceptionObject, const 
> _s__ThrowInfo * pThrowInfo) Line 154C++
 msvcr120d.dll!operator new(unsigned int size) Line 63C++
 tllo.dll!operator new[](unsigned int count) Line 6C++
 tllo.dll!SvMemoryStream::ReAllocateMemory(long nDiff) Line 1894C++
 tllo.dll!SvMemoryStream::SeekPos(unsigned __int64 nNewPos) Line 1851   
C++
 tllo.dll!SvStream::Seek(unsigned __int64 nFilePos) Line 1454C++
 tllo.dll!SvStream::SeekRel(__int64 nPos) Line 865C++
 tllo.dll!VersionCompat::~VersionCompat() Line 64C++
 vcllo.dll!MetaAction::ReadMetaAction(SvStream & rIStm, ImplMetaReadData *
pData) Line 265C++
 vcllo.dll!ReadGDIMetaFile(SvStream & rIStm, GDIMetaFile & rGDIMetaFile)
Line 2771C++
 vcllo.dll!ReadImpGraphic(SvStream & rIStm, ImpGraphic & rImpGraphic) Line
1518C++
...

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


[Libreoffice-bugs] [Bug 97174] Overlay Property not saving for X-Axis

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97174

Ajay Laddha  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
Version|unspecified |5.0.4.2 release
 Ever confirmed|1   |0

--- Comment #3 from Ajay Laddha  ---
HI There,

Libre Office Version: 5.0.4.2

For both windows 8 and ubuntu 14.04 checked.


OverLay Property of x-axis is always checked.

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


[Libreoffice-bugs] [Bug 97293] New: UI hangs when showing print dialog with unreachable IPP printer (CUPS)

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97293

Bug ID: 97293
   Summary: UI hangs when showing print dialog with unreachable
IPP printer (CUPS)
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Printing and PDF export
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: febor...@redhat.com

If I add an unreachable CUPS server to my /etc/cups/client.conf and try to open
the Print Dialog on LibreOffice, it freezes the whole UI.

Suggestion: the CUPS request for printers (cupsGetDests or http request) should
be done in another thread.

How to reproduce:
1. Open /etc/cups/client.conf
2. Append "ServerName cups.nikhef.nl" (with no quotes), and save.
3. Open any LibreOffice application and try to print something.

Actual results:
UI freezes

Expected results:
Print Dialog to show.

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


[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - include/o3tl

2016-01-21 Thread Stephan Bergmann
 include/o3tl/enumarray.hxx |   10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

New commits:
commit 05752e5d4d0534fedc94febf68ce69ffdae717ff
Author: Stephan Bergmann 
Date:   Tue Jan 19 10:46:13 2016 +0100

Make enumarray_iterator adhere to iterator requirements

...or else using it with GCC 6 libstdc++ std::find causes compilation 
failures

Change-Id: I95e674922348f72fab6da8f049b2b4fcbdc74d07
(cherry picked from commit 96fea1a05d2cfb0173f292f59018c997d2f63c89)
Reviewed-on: https://gerrit.libreoffice.org/21636
Tested-by: Jenkins 
Reviewed-by: Miklos Vajna 

diff --git a/include/o3tl/enumarray.hxx b/include/o3tl/enumarray.hxx
index d4a3705..9b2f054 100644
--- a/include/o3tl/enumarray.hxx
+++ b/include/o3tl/enumarray.hxx
@@ -22,6 +22,7 @@
 
 #include 
 #include 
+#include 
 
 namespace o3tl {
 
@@ -86,7 +87,10 @@ public:
 typedef typename EA::value_type value_type;
 typedef typename EA::key_type   key_type;
 typedef std::bidirectional_iterator_tag iterator_category; //should be 
random access, but that would require define subtraction operators on the enums
-typedef typename EA::key_type   difference_type;
+typedef
+typename std::make_signed<
+typename std::underlying_type::type>::type
+difference_type;
 typedef typename EA::value_type*   pointer;
 typedef typename EA::value_type&   reference;
 
@@ -95,8 +99,8 @@ public:
 value_type *()  { return (*m_buf)[static_cast(m_pos)]; }
 value_type *operator->() { return &(operator*()); }
 self_type  ++() { ++m_pos; return *this; }
-booloperator!=(const self_type& other) { return m_buf != 
other.m_buf || m_pos != other.m_pos; }
-booloperator==(const self_type& other) { return m_buf == 
other.m_buf && m_pos == other.m_pos; }
+booloperator!=(const self_type& other) const { return m_buf != 
other.m_buf || m_pos != other.m_pos; }
+booloperator==(const self_type& other) const { return m_buf == 
other.m_buf && m_pos == other.m_pos; }
 };
 
 }; // namespace o3tl
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-01-21 Thread Pranav Kant
 libreofficekit/source/gtk/lokdocview.cxx |   11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

New commits:
commit 3763ab42fa88d9f2a2248eba1854f3d97fcfbde8
Author: Pranav Kant 
Date:   Wed Jan 20 14:49:29 2016 +0530

lokdocview: Center the widget inside the allocation

Change-Id: I8d7f8ffb1c5ddd07ccf7d56bdf0ccc866c927401
Reviewed-on: https://gerrit.libreoffice.org/21624
Tested-by: Jenkins 
Reviewed-by: Pranav Kant 
(cherry picked from commit 070bfedb7c0bc01ada0c0b95622543472ccb4a1c)
Reviewed-on: https://gerrit.libreoffice.org/21638
Reviewed-by: Miklos Vajna 

diff --git a/libreofficekit/source/gtk/lokdocview.cxx 
b/libreofficekit/source/gtk/lokdocview.cxx
index 2ece638..4dff498 100644
--- a/libreofficekit/source/gtk/lokdocview.cxx
+++ b/libreofficekit/source/gtk/lokdocview.cxx
@@ -2406,14 +2406,21 @@ static void lok_doc_view_class_init (LOKDocViewClass* 
pClass)
 SAL_DLLPUBLIC_EXPORT GtkWidget*
 lok_doc_view_new (const gchar* pPath, GCancellable *cancellable, GError 
**error)
 {
-return GTK_WIDGET (g_initable_new (LOK_TYPE_DOC_VIEW, cancellable, error, 
"lopath", pPath == NULL ? LOK_PATH : pPath, NULL));
+return GTK_WIDGET (g_initable_new (LOK_TYPE_DOC_VIEW, cancellable, error,
+   "lopath", pPath == nullptr ? LOK_PATH : 
pPath,
+   "halign", GTK_ALIGN_CENTER,
+   nullptr));
 }
 
 SAL_DLLPUBLIC_EXPORT GtkWidget* lok_doc_view_new_from_widget(LOKDocView* 
pOldLOKDocView)
 {
 LOKDocViewPrivate& pOldPriv = getPrivate(pOldLOKDocView);
 GtkWidget* pNewDocView = GTK_WIDGET(g_initable_new(LOK_TYPE_DOC_VIEW, 
/*cancellable=*/nullptr, /*error=*/nullptr,
-   "lopath", 
pOldPriv->m_aLOPath, "lopointer", pOldPriv->m_pOffice, "docpointer", 
pOldPriv->m_pDocument, NULL));
+   "lopath", 
pOldPriv->m_aLOPath,
+   "lopointer", 
pOldPriv->m_pOffice,
+   "docpointer", 
pOldPriv->m_pDocument,
+   "halign", 
GTK_ALIGN_CENTER,
+   nullptr));
 
 // No documentLoad(), just a createView().
 LibreOfficeKitDocument* pDocument = 
lok_doc_view_get_document(LOK_DOC_VIEW(pNewDocView));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: FastSaxSerializer::write ...

2016-01-21 Thread David Tardon
Hi,

On Wed, Jan 20, 2016 at 11:54:41AM -0600, Norbert Thiebaud wrote:
> On Wed, Jan 20, 2016 at 9:37 AM, David Tardon  wrote:
> > Hi,
> >
> > On Mon, Jan 18, 2016 at 12:53:07PM +1100, Chris Sherlock wrote:
> >> I think a unit test might be helpful. They are actually quite easy to 
> >> write - in fact, I wrote a very simple one the other day.
> >>
> >> Have a look on master at vcl/qa/cppunit/font.cxx
> >
> > Note that you don't have to create a whole new CppunitTest every time.
> > You can add new source files to an existing one. You just have to make
> > sure that only one of the sources contains CPPUNIT_PLUGIN_IMPLEMENT(),
> > otherwise you'd get a linker error.
> >
> > Speaking about excessively granular tests: would anyone protest against
> > an Easy Hack to merge the tests in sal module into bigger groups, e.g.,
> > just one test for osl, one for rtl and another one for sal? I.e.,
> > reduction of the number of CppunitTest makefiles from 33 to 3.
> 
> Yeah but in general merging create trouble with parallelism
> if you have only 3 unit test, then that can use only 3 cores
> 
> This is particularly important for the larger one later, which
> consistently add long tail to the build, period of 30s to 2 minutes
> where the build is stuck on waiting for one or two tests to finish

I understand that. And I remember that some of the big import/export
tests have been artificially split for that reason (I was among those
who complained about too long running times). But we are not talking
about long running import/export tests here. We are talking about "real"
unit tests, testing a single class--with no heavyweight setup, no UNO
etc. IMHO a reasonable granularity for those is at the level of subdirs.
Possibly even whole modules if there's just a few of them ATM.

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


[Libreoffice-bugs] [Bug 33982] [UI] Add option to print / export only selected slides from Slides Pane

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=33982

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl

--- Comment #9 from Cor Nouws  ---
Hi all,

Please test a daily build soon.
This looks as if it implements the requested possibility:
 
http://cgit.freedesktop.org/libreoffice/core/commit/?id=f90f8329fe5e95f25ba449e307fd40d56d68d3bb

Ciao,
Cor

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


[Libreoffice-bugs] [Bug 97292] FORMATTING: crash when setting area colour on multiple textboxes via properties sidebar

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97292

--- Comment #1 from b.an...@unisensor.de ---
*** Bug 97291 has been marked as a duplicate of this bug. ***

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


[Libreoffice-bugs] [Bug 97292] FORMATTING: crash when setting area colour on multiple textboxes via properties sidebar

2016-01-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=97292

--- Comment #2 from b.an...@unisensor.de ---
I somehow managed to file the same bug twice, once without description
(https://bugs.documentfoundation.org/show_bug.cgi?id=97291) ...

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


  1   2   3   4   >