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

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

--- Comment #2 from kompilainenn <79045_79...@mail.ru> ---
(In reply to MM from comment #1)
> Unconfirmed with v5.1.4.2 under windows 7 x64.

In LibreOffice 5.1.3.2, 5.1.4.2, 5.2.0.1 (32 bit) on Windows 7 HB 32 bit -
repro

May be need install special font?

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


[Libreoffice-bugs] [Bug 100640] New: Loading error

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

Bug ID: 100640
   Summary: Loading error
   Product: LibreOffice
   Version: 5.0.6.3 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: robertalabas...@gmail.com

I am using Windows 8.1. In my Startup folder I have shortcuts to 8 Libre Office
calc files to automatically open when I login to my account. In version 4.3.7.2
of Libre Office all the files opened successfully. In this version (5.0.6.3) of
Libre Office it gets stuck, showing only the “Libre Office 5” splash logo, and
doesn't open any of the files.

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


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

2016-06-27 Thread tymyjan
 include/tools/zcodec.hxx   |   23 +++
 tools/source/zcodec/zcodec.cxx |   20 ++--
 2 files changed, 21 insertions(+), 22 deletions(-)

New commits:
commit 08fc0da4033b8ea2b3ae67aa06175e839771396b
Author: tymyjan 
Date:   Sat Jun 4 23:54:47 2016 +0200

tdf#75280 Cleaning up of sal_uIntPtr usage #1a

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

diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx
index 0238115..7cce2a4 100644
--- a/include/tools/zcodec.hxx
+++ b/include/tools/zcodec.hxx
@@ -40,13 +40,13 @@ class TOOLS_DLLPUBLIC ZCodec
 boolmbStatus;
 boolmbFinish;
 sal_uInt8*  mpInBuf;
-sal_uIntPtr mnInBufSize;
-sal_uIntPtr mnInToRead;
+size_t  mnInBufSize;
+size_t  mnInToRead;
 SvStream*   mpOStm;
 sal_uInt8*  mpOutBuf;
-sal_uIntPtr mnOutBufSize;
+size_t  mnOutBufSize;
 
-sal_uIntPtr mnCRC;
+sal_uInt32  mnCRC;
 int mnCompressLevel;
 boolmbUpdateCrc;
 boolmbGzLib;
@@ -55,7 +55,6 @@ class TOOLS_DLLPUBLIC ZCodec
 voidInitCompress();
 voidInitDecompress(SvStream & inStream);
 voidImplWriteBack();
-
 voidUpdateCRC( sal_uInt8* pSource, long nDatSize );
 
 public:
@@ -69,14 +68,14 @@ public:
 longDecompress( SvStream& rIStm, SvStream& rOStm );
 boolAttemptDecompression( SvStream& rIStm, SvStream& rOStm );
 
-voidWrite( SvStream& rOStm, const sal_uInt8* pData, 
sal_uIntPtr nSize );
-longRead( SvStream& rIStm, sal_uInt8* pData, sal_uIntPtr nSize 
);
-longReadAsynchron( SvStream& rIStm, sal_uInt8* pData, 
sal_uIntPtr nSize );
+voidWrite( SvStream& rOStm, const sal_uInt8* pData, sal_uInt32 
nSize );
+longRead( SvStream& rIStm, sal_uInt8* pData, sal_uInt32 nSize 
);
+longReadAsynchron( SvStream& rIStm, sal_uInt8* pData, 
sal_uInt32 nSize );
 
-voidSetBreak( sal_uIntPtr );
-sal_uIntPtr GetBreak();
-voidSetCRC( sal_uIntPtr nCurrentCRC );
-sal_uIntPtr GetCRC() { return mnCRC;}
+voidSetBreak( size_t );
+size_t  GetBreak();
+voidSetCRC( sal_uInt32 nCurrentCRC );
+sal_uInt32  GetCRC() { return mnCRC;}
 };
 
 #endif
diff --git a/tools/source/zcodec/zcodec.cxx b/tools/source/zcodec/zcodec.cxx
index e841888..839ef4c 100644
--- a/tools/source/zcodec/zcodec.cxx
+++ b/tools/source/zcodec/zcodec.cxx
@@ -134,7 +134,7 @@ void ZCodec::Compress( SvStream& rIStm, SvStream& rOStm )
 long ZCodec::Decompress( SvStream& rIStm, SvStream& rOStm )
 {
 int err;
-sal_uIntPtr nInToRead;
+size_t nInToRead;
 longnOldTotal_Out = PZSTREAM->total_out;
 
 assert(meState == STATE_INIT);
@@ -169,7 +169,7 @@ long ZCodec::Decompress( SvStream& rIStm, SvStream& rOStm )
 return ( mbStatus ) ? (long)(PZSTREAM->total_out - nOldTotal_Out) : -1;
 }
 
-void ZCodec::Write( SvStream& rOStm, const sal_uInt8* pData, sal_uIntPtr nSize 
)
+void ZCodec::Write( SvStream& rOStm, const sal_uInt8* pData, sal_uInt32 nSize )
 {
 if (meState == STATE_INIT)
 {
@@ -194,10 +194,10 @@ void ZCodec::Write( SvStream& rOStm, const sal_uInt8* 
pData, sal_uIntPtr nSize )
 }
 }
 
-long ZCodec::Read( SvStream& rIStm, sal_uInt8* pData, sal_uIntPtr nSize )
+long ZCodec::Read( SvStream& rIStm, sal_uInt8* pData, sal_uInt32 nSize )
 {
 int err;
-sal_uIntPtr nInToRead;
+size_t nInToRead;
 
 if ( mbFinish )
 return 0;   // PZSTREAM->total_out;
@@ -238,10 +238,10 @@ long ZCodec::Read( SvStream& rIStm, sal_uInt8* pData, 
sal_uIntPtr nSize )
 return (mbStatus ? (long)(nSize - PZSTREAM->avail_out) : -1);
 }
 
-long ZCodec::ReadAsynchron( SvStream& rIStm, sal_uInt8* pData, sal_uIntPtr 
nSize )
+long ZCodec::ReadAsynchron( SvStream& rIStm, sal_uInt8* pData, sal_uInt32 
nSize )
 {
 int err = 0;
-sal_uIntPtr nInToRead;
+size_t nInToRead;
 
 if ( mbFinish )
 return 0;   // PZSTREAM->total_out;
@@ -258,7 +258,7 @@ long ZCodec::ReadAsynchron( SvStream& rIStm, sal_uInt8* 
pData, sal_uIntPtr nSize
 {
 nInToRead = (mnInBufSize > mnInToRead) ? mnInToRead : mnInBufSize;
 
-sal_uInt64 const nRemaining = rIStm.remainingSize();
+sal_uInt32 const nRemaining = rIStm.remainingSize();
 if (nRemaining < nInToRead)
 {
 rIStm.SetError( ERRCODE_IO_PENDING );
@@ -305,17 +305,17 @@ void ZCodec::ImplWriteBack()
 }
 }
 
-void ZCodec::SetBreak( sal_uIntPtr nInToRead )
+void ZCodec::SetBreak( size_t nInToRead )
 {
 mnInToRead 

[Libreoffice-bugs] [Bug 100595] MacOs strange logs on startup with brand new profile

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

Alex Thurgood  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Alex Thurgood  ---
I remember seeing this once, so confirming.

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


[Libreoffice-commits] core.git: vcl/inc vcl/unx

2016-06-27 Thread Caolán McNamara
 vcl/inc/unx/gtk/gtkframe.hxx  |2 ++
 vcl/unx/gtk/gtksalmenu.cxx|2 +-
 vcl/unx/gtk3/gtk3gtkframe.cxx |9 +++--
 3 files changed, 10 insertions(+), 3 deletions(-)

New commits:
commit f7c888994db744396c69aa1be720c2089ada5798
Author: Caolán McNamara 
Date:   Mon Jun 27 11:12:20 2016 +0100

Resolves: rhbz#1342823 toolbar menus popdown immediately

Change-Id: I9cecf50fb85d84e108ccc23d22bf97d2ac510a9b

diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index 30c0743..610692e 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -536,6 +536,8 @@ public:
 
 static void KeyCodeToGdkKey(const vcl::KeyCode& rKeyCode,
 guint* pGdkKeyCode, GdkModifierType *pGdkModifiers);
+
+static guint32  GetLastInputEventTime();
 };
 
 #define OOO_TYPE_FIXED ooo_fixed_get_type()
diff --git a/vcl/unx/gtk/gtksalmenu.cxx b/vcl/unx/gtk/gtksalmenu.cxx
index c9974ef..75c19c3 100644
--- a/vcl/unx/gtk/gtksalmenu.cxx
+++ b/vcl/unx/gtk/gtksalmenu.cxx
@@ -360,7 +360,7 @@ bool GtkSalMenu::ShowNativePopupMenu(FloatingWindow* pWin, 
const Rectangle& rRec
 else
 {
 nButton = 0;
-nTime = gtk_get_current_event_time();
+nTime = GtkSalFrame::GetLastInputEventTime();
 }
 
 VclPtr xParent = pWin->ImplGetWindowImpl()->mpRealParent;
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index c6e1d5f..47e41dc 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -2013,6 +2013,11 @@ void GtkSalFrame::SetAlwaysOnTop( bool bOnTop )
 
 static guint32 nLastUserInputTime = GDK_CURRENT_TIME;
 
+guint32 GtkSalFrame::GetLastInputEventTime()
+{
+return nLastUserInputTime;
+}
+
 static void UpdateLastInputEventTime(guint32 nUserInputTime)
 {
 nLastUserInputTime = nUserInputTime;
@@ -2027,9 +2032,9 @@ void GtkSalFrame::ToTop( SalFrameToTop nFlags )
 else if( IS_WIDGET_MAPPED( m_pWindow ) )
 {
 if (!(nFlags & SalFrameToTop::GrabFocusOnly))
-gtk_window_present_with_time(GTK_WINDOW(m_pWindow), 
nLastUserInputTime);
+gtk_window_present_with_time(GTK_WINDOW(m_pWindow), 
GetLastInputEventTime());
 else
-gdk_window_focus(widget_get_window(m_pWindow), 
nLastUserInputTime);
+gdk_window_focus(widget_get_window(m_pWindow), 
GetLastInputEventTime());
 }
 else
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93408] ACOS Function returns erroneous output when referencing calculated cell value

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

Eike Rathke  changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

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


[Libreoffice-bugs] [Bug 93408] ACOS Function returns erroneous output when referencing calculated cell value

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

Eike Rathke  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||er...@redhat.com
 Resolution|--- |WONTFIX

--- Comment #2 from Eike Rathke  ---
As usual, this is due to binary representation of floating point values. 2.2
and 0.1 have no exact representation and are more like 2.2002 and
0.10001 which add up to 2.3003; 1.15 is more like
1.1499 so the division result in C2 is 2.0004 and the
subtraction result is -1.0004, which is an invalid argument to
ACOS().

In cell C3 the division is around 2.2998 / 1.1499 with
result 2, so 1-2=-1 is a good argument to ACOS().

Btw, Excel and Gnumeric show the same behavior.
We likely won't "fix" this.

To prevent this problem values have to be rounded at strategic places, e.g. in
cell B2 instead of =A2+0.1 use =ROUND(A2+0.1,1) or round only the argument in
cell C2 according to the expected decimals =ACOS(ROUND(1-B2/C1,2)), or even
rounding to 12 decimals will work in this case. Your mileage may vary..

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


[Libreoffice-bugs] [Bug 100595] MacOs strange logs on startup with brand new profile

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

Alex Thurgood  changed:

   What|Removed |Added

 OS|All |Mac OS X (All)

--- Comment #1 from Alex Thurgood  ---
@Julien : might it be the crash reporter trying to instantiate itself ?

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


[Libreoffice-bugs] [Bug 100222] No message to restart LO when disabling OpenCL, but keeping software interpreter enabled

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

--- Comment #8 from Commit Notification 
 ---
Tor Lillqvist committed a patch related to this issue.
It has been pushed to "libreoffice-5-2":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=aaeeb0288dfd9beb33efc0a693bc1a025986=libreoffice-5-2

tdf#100222: Show the dialog just once even if both toggles were changed

It will be available in 5.2.0.2.

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

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

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


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

2016-06-27 Thread Tor Lillqvist
 cui/source/options/optopencl.cxx |   10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

New commits:
commit aaeeb0288dfd9beb33efc0a693bc1a025986
Author: Tor Lillqvist 
Date:   Mon Jun 27 10:28:55 2016 +0300

tdf#100222: Show the dialog just once even if both toggles were changed

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

diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index 6f01523..52c8b08 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -155,9 +155,6 @@ bool SvxOpenCLTabPage::FillItemSet( SfxItemSet* )
 {
 
officecfg::Office::Common::Misc::UseSwInterpreter::set(mpUseSwInterpreter->IsChecked(),
 batch);
 bModified = true;
-
-ScopedVclPtrInstance aWarnBox(this, 
CUI_RES(RID_SVXSTR_OPTIONS_RESTART), VCL_MESSAGE_INFO);
-aWarnBox->Execute();
 }
 
 if (mpUseOpenCL->IsValueChangedFromSaved())
@@ -167,13 +164,14 @@ bool SvxOpenCLTabPage::FillItemSet( SfxItemSet* )
 {
 maConfig.set();
 bModified = true;
-
-ScopedVclPtrInstance aWarnBox(this, 
CUI_RES(RID_SVXSTR_OPTIONS_RESTART), VCL_MESSAGE_INFO);
-aWarnBox->Execute();
 }
 
 if (bModified)
+{
+ScopedVclPtrInstance aWarnBox(this, 
CUI_RES(RID_SVXSTR_OPTIONS_RESTART), VCL_MESSAGE_INFO);
+aWarnBox->Execute();
 batch->commit();
+}
 
 return bModified;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-06-27 Thread Mark Hung
 sd/source/filter/eppt/pptx-epptooxml.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 3dbc0bf907fb2872238746776532f2e2602bfbfd
Author: Mark Hung 
Date:   Wed Jun 22 01:40:08 2016 +0800

tdf92852 correct layout type mapping for 'Title, 6 Content'.

While creating slideLayouts, a number of layouts are iterated and
master pages are created temporarily. The layout property of the slide
is set based on the mapped value.
Old value (33) seems to be typo, and is not accessible by users via UI.
The layout contains a graphical object and hence generates unexpected
image in the exported PPTX document.

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

diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx 
b/sd/source/filter/eppt/pptx-epptooxml.cxx
index 3589abf..8236a99 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -153,7 +153,7 @@ static const PPTXLayoutInfo aLayoutInfo[LAYOUT_SIZE] = {
 { 16, "Title, 2 Content over Content", "twoObjOverTx" },  // not 
exactly, but close
 { 14, "Title, Content over Content", "objOverTx" },   // not 
exactly, but close
 { 18, "Title, 4 Content", "fourObj" },
-{ 33, "Title, 6 Content", "blank" }   // not 
defined => blank
+{ 34, "Title, 6 Content", "blank" }   // not 
defined => blank
 };
 
 int PowerPointExport::GetPPTXLayoutId( int nOffset )
@@ -193,7 +193,7 @@ int PowerPointExport::GetPPTXLayoutId( int nOffset )
 case 32:
 nId = LAYOUT_CENTERED_TEXT;
 break;
-case 33:
+case 34:
 nId = LAYOUT_TITLE_6CONTENT;
 break;
 case 20:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-06-27 Thread Jochen Nitschke
 sc/source/ui/view/tabview.cxx |2 --
 1 file changed, 2 deletions(-)

New commits:
commit 502793c4304228dcc477259630b006ea08ea6f4e
Author: Jochen Nitschke 
Date:   Mon Jun 27 07:45:04 2016 +

sc: remove leftover includes

boost::property_tree and std::stringstream usage was removed
in commit 3464bb16e667d6cabcb02eaaeb07c6938eb9d7a5

Change-Id: Ic752948b580d215ecc5c36e5da8c4b14b8174928
Reviewed-on: https://gerrit.libreoffice.org/26694
Tested-by: Jenkins 
Reviewed-by: Jochen Nitschke 

diff --git a/sc/source/ui/view/tabview.cxx b/sc/source/ui/view/tabview.cxx
index be17b1f..79f2ada 100644
--- a/sc/source/ui/view/tabview.cxx
+++ b/sc/source/ui/view/tabview.cxx
@@ -48,9 +48,7 @@
 
 #include 
 
-#include 
 #include 
-#include 
 
 #include 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-06-27 Thread Stephan Bergmann
 svtools/source/config/apearcfg.cxx|5 +++--
 svtools/source/config/fontsubstconfig.cxx |7 ---
 svtools/source/config/htmlcfg.cxx |   16 +---
 svtools/source/uno/treecontrolpeer.cxx|   23 ++-
 4 files changed, 26 insertions(+), 25 deletions(-)

New commits:
commit 11f623a32540d822d539b7f3978363892feb9fe4
Author: Stephan Bergmann 
Date:   Mon Jun 27 11:59:30 2016 +0200

Clean up uses of Any::getValue() in svtools

Change-Id: Id11dc4724fed4e43981534ffac5ec5358f9387b2

diff --git a/svtools/source/config/apearcfg.cxx 
b/svtools/source/config/apearcfg.cxx
index 19f16b4..bba8cd0a 100644
--- a/svtools/source/config/apearcfg.cxx
+++ b/svtools/source/config/apearcfg.cxx
@@ -20,6 +20,7 @@
 
 #include 
 
+#include 
 #include 
 #include 
 #include 
@@ -71,7 +72,7 @@ SvtTabAppearanceCfg::SvtTabAppearanceCfg()
 nDragMode = (DragMode)nTmp;
 break;
 }
-case  2: bMenuMouseFollow = *static_cast(pValues->getValue()); break; //"Menu/FollowMouse",
+case  2: bMenuMouseFollow = 
*o3tl::doAccess(*pValues); break; //"Menu/FollowMouse",
 case  3:
 {
 short nTmp;
@@ -81,7 +82,7 @@ SvtTabAppearanceCfg::SvtTabAppearanceCfg()
 }
 case  4: { short nTmp = 0; *pValues >>= nTmp; nMiddleMouse 
= static_cast(nTmp); break; } 
//"Dialog/MiddleMouseButton",
 #if defined( UNX )
-case  5: bFontAntialiasing = *static_cast(pValues->getValue()); break;// "FontAntialising/Enabled",
+case  5: bFontAntialiasing = 
*o3tl::doAccess(*pValues); break;// "FontAntialising/Enabled",
 case  6: *pValues >>= nAAMinPixelHeight; break;
 // "FontAntialising/MinPixelHeight",
 #endif
 }
diff --git a/svtools/source/config/fontsubstconfig.cxx 
b/svtools/source/config/fontsubstconfig.cxx
index 473c20b..6785a3f 100644
--- a/svtools/source/config/fontsubstconfig.cxx
+++ b/svtools/source/config/fontsubstconfig.cxx
@@ -20,6 +20,7 @@
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 
@@ -55,7 +56,7 @@ SvtFontSubstConfig::SvtFontSubstConfig() :
 Sequence aValues = GetProperties(aNames);
 DBG_ASSERT(aValues.getConstArray()[0].hasValue(), "no value available");
 if(aValues.getConstArray()[0].hasValue())
-bIsEnabled = *static_cast(aValues.getConstArray()[0].getValue());
+bIsEnabled = *o3tl::doAccess(aValues.getConstArray()[0]);
 
 OUString sPropPrefix(cFontPairs);
 Sequence aNodeNames = GetNodeNames(sPropPrefix, 
CONFIG_NAME_LOCAL_PATH);
@@ -81,8 +82,8 @@ SvtFontSubstConfig::SvtFontSubstConfig() :
 SubstitutionStruct aInsert;
 pNodeValues[nName++] >>= aInsert.sFont;
 pNodeValues[nName++] >>= aInsert.sReplaceBy;
-aInsert.bReplaceAlways = *static_cast(pNodeValues[nName++].getValue());
-aInsert.bReplaceOnScreenOnly = *static_cast(pNodeValues[nName++].getValue());
+aInsert.bReplaceAlways = *o3tl::doAccess(pNodeValues[nName++]);
+aInsert.bReplaceOnScreenOnly = 
*o3tl::doAccess(pNodeValues[nName++]);
 pImpl->aSubstArr.push_back(aInsert);
 }
 }
diff --git a/svtools/source/config/htmlcfg.cxx 
b/svtools/source/config/htmlcfg.cxx
index 53f6a8f..a558b0a 100644
--- a/svtools/source/config/htmlcfg.cxx
+++ b/svtools/source/config/htmlcfg.cxx
@@ -17,7 +17,9 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include 
 
+#include 
 #include 
 #include 
 #include 
@@ -127,11 +129,11 @@ void SvxHtmlOptions::Load( const Sequence< OUString >& 
aNames )
 switch(nProp)
 {
 case  0:
-if(*static_cast(pValues[nProp].getValue()))
+if(*o3tl::doAccess(pValues[nProp]))
 pImpl->nFlags |= HTMLCFG_UNKNOWN_TAGS;
 break;//"Import/UnknownTag",
 case  1:
-if(*static_cast(pValues[nProp].getValue()))
+if(*o3tl::doAccess(pValues[nProp]))
 pImpl->nFlags |= HTMLCFG_IGNORE_FONT_FAMILY;
 break;//"Import/FontSetting",
 case  2: pValues[nProp] >>= pImpl->aFontSizeArr[0]; 
break;//"Import/FontSize/Size_1",
@@ -157,19 +159,19 @@ void SvxHtmlOptions::Load( const Sequence< OUString >& 
aNames )
 }
 break;
 case 10:
-if(*static_cast(pValues[nProp].getValue()))
+if(*o3tl::doAccess(pValues[nProp]))
 pImpl->nFlags |= HTMLCFG_STAR_BASIC;
 break;//"Export/Basic",
 case 11:
-

[Libreoffice-bugs] [Bug 99626] Crash a LibreOffice when close main window with Wizard dialog

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

baffclan  changed:

   What|Removed |Added

Crash report or|["SwModule::GetRedlineMarkP |["SwModule::GetRedlineMarkP
crash signature|os()+0x4:"] |os()+0x4:"]
   ||["_RtlUserThreadStart"]

--- Comment #6 from baffclan  ---
http://crashreport.libreoffice.org/stats/crash_details/7fc9eaa3-847a-404e-ad87-495ee16fd8c7
["SwModule::GetRedlineMarkPos()"]

OS: Windows 7 Pro(x64)
Version: 5.2.0.1 (x64)
Build ID: fcbcb4963bda8633ba72bd2108ca1e802aad557d
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: ja-JP (ja_JP)


http://crashreport.libreoffice.org/stats/crash_details/900579c3-cae7-4029-9f20-900baa41d473
["_RtlUserThreadStart"]

OS: Windows 10(x86)
Version: 5.2.0.1
Build ID: fcbcb4963bda8633ba72bd2108ca1e802aad557d
CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL;
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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100639] New: FILEOPEN Page number doesn't display

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

Bug ID: 100639
   Summary: FILEOPEN Page number doesn't display
   Product: LibreOffice
   Version: 5.1.3.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Draw
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ekarist...@gmail.com

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

Page number displays only #

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


[Libreoffice-bugs] [Bug 100638] New: FILEOPEN Text that should be in the previous page is in the next, many line breakers etc

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

Bug ID: 100638
   Summary: FILEOPEN Text that should be in the previous page is
in the next, many line breakers etc
   Product: LibreOffice
   Version: 5.1.3.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ekarist...@gmail.com

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

Text that should be in the previous page is in the next, many line breakers
etc...

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


[Libreoffice-bugs] [Bug 100636] FILEOPEN Opening DOC File displays a page break not existing on original file

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

ekari  changed:

   What|Removed |Added

Version|5.1.4.2 release |5.1.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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100636] FILEOPEN Opening DOC File displays a page break not existing on original file

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

--- Comment #2 from ekari  ---
There are other bugs on the files like on second file the vodafone image mark
is in collision with text

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


[Libreoffice-bugs] [Bug 100636] FILEOPEN Opening DOC File displays a page break not existing on original file

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

--- Comment #1 from ekari  ---
Created attachment 125940
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125940=edit
Another example

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


[Libreoffice-bugs] [Bug 100637] New: Wrong result of nested IF() functions in array context

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

Bug ID: 100637
   Summary: Wrong result of nested IF() functions in array context
   Product: LibreOffice
   Version: Inherited From OOo
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: r...@post.cz

Created attachment 125939
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125939=edit
test case

The bug from https://bz.apache.org/ooo/show_bug.cgi?id=90060

if I input =IF(cond1; IF(cond2;);), where cond2 
is non-matrix thing, such as number, the result is wrong.
A test case is attached.

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


[Libreoffice-bugs] [Bug 100636] FILEOPEN Opening DOC File displays a page break not existing on original file

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

ekari  changed:

   What|Removed |Added

URL||http://downloads.vodafone.p
   ||t/PesquisaCategoria.htm?Cat
   ||egoryId=3

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


[Libreoffice-bugs] [Bug 100636] New: FILEOPEN Opening DOC File displays a page break not existing on original file

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

Bug ID: 100636
   Summary: FILEOPEN Opening DOC File displays a page break not
existing on original file
   Product: LibreOffice
   Version: 5.1.4.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ekarist...@gmail.com

Created attachment 125938
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125938=edit
contrato.doc

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


Re: Quick update about crash reporting and some open issues

2016-06-27 Thread Michael Stahl
On 27.06.2016 06:00, Markus Mohrhard wrote:
> Do we want to notify the crash reporter if there was a commit
> referencing a crash report? Similar to how bugzilla is automatically
> updated we could do something like this for the crash reporter. That
> might help with keeping track if there was already a fix for a crash and
> we are only seeing more reports because it is not yet in a released version.
> What would be the format of the reference?

so if we do the below anyway...

> For the bugzilla to crash report direction we had planned to handle it
> with a bot monitoring the crash report field in bugzilla and update the
> crash reporter website.

... can we do it such that the crash-reporter gets updated when the
bugzilla bug changes state, so you could then see in the crash-reporter
ui if it's already fixed?

> How do we want to handle stuff that requires user interaction? Examples
> are adding new versions, adding references to bug reports and possibly
> export of crash reports to bugzilla.

how about a button "create bugzilla bug", that is only displayed if
there isn't one already, and links to the create-bug page with the crash
metadata pre-filled.  then we can use bugzilla to add reproduction
steps, uninformed speculation, or whatever.

> There are maybe more tasks in the future that will require some actions
> that cause DB changes by users. Duplicating the login system from
> bugzilla seems like a horrible concept and will just cause us to have
> even more logins that nobody remembers.

yes, better to have any interaction go via bugzilla if that is possible.

> How do we want to handle old crash reports? We can't keep the reports
> forever and will most likely delete them as soon as a branch becomes
> EOL. The question is whether there is value in exporting them to some
> format (most likely json) and archive them or just forget completely
> about old reports.

what's the problem with keeping them?  surely there should be enough
space on the server to store them?


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


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

2016-06-27 Thread Miklos Vajna
 sw/source/core/inc/fntcache.hxx |   46 ++---
 sw/source/core/txtnode/fntcache.cxx |  328 ++--
 2 files changed, 187 insertions(+), 187 deletions(-)

New commits:
commit 85ce665ee43b1f20df593fc36f935c5799418f54
Author: Miklos Vajna 
Date:   Mon Jun 27 09:58:25 2016 +0200

sw: prefix members of SwFntObj

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

diff --git a/sw/source/core/inc/fntcache.hxx b/sw/source/core/inc/fntcache.hxx
index 053456b..33423b9 100644
--- a/sw/source/core/inc/fntcache.hxx
+++ b/sw/source/core/inc/fntcache.hxx
@@ -61,20 +61,20 @@ class SwFntObj : public SwCacheObj
 friend void InitCore();
 friend void FinitCore();
 
-vcl::Font aFont;
-vcl::Font *pScrFont;
-vcl::Font *pPrtFont;
-VclPtr pPrinter;
-sal_uInt16 nGuessedLeading;
-sal_uInt16 nExtLeading;
-sal_uInt16 nScrAscent;
-sal_uInt16 nPrtAscent;
-sal_uInt16 nScrHeight;
-sal_uInt16 nPrtHeight;
-sal_uInt16 nPropWidth;
-sal_uInt16 nZoom;
-bool bSymbol : 1;
-bool bPaintBlank : 1;
+vcl::Font m_aFont;
+vcl::Font *m_pScrFont;
+vcl::Font *m_pPrtFont;
+VclPtr m_pPrinter;
+sal_uInt16 m_nGuessedLeading;
+sal_uInt16 m_nExtLeading;
+sal_uInt16 m_nScrAscent;
+sal_uInt16 m_nPrtAscent;
+sal_uInt16 m_nScrHeight;
+sal_uInt16 m_nPrtHeight;
+sal_uInt16 m_nPropWidth;
+sal_uInt16 m_nZoom;
+bool m_bSymbol : 1;
+bool m_bPaintBlank : 1;
 
 static long nPixWidth;
 static MapMode *pPixMap;
@@ -87,12 +87,12 @@ public:
 
 virtual ~SwFntObj();
 
-inline   vcl::Font *GetScrFont() { return pScrFont; }
-inline   vcl::Font& GetFont(){ return aFont; }
-inline const vcl::Font& GetFont() const  { return aFont; }
+inline   vcl::Font *GetScrFont() { return m_pScrFont; }
+inline   vcl::Font& GetFont(){ return m_aFont; }
+inline const vcl::Font& GetFont() const  { return m_aFont; }
 
-inline sal_uInt16 GetGuessedLeading() const  { return nGuessedLeading; }
-inline sal_uInt16 GetExternalLeading() const  { return nExtLeading; }
+inline sal_uInt16 GetGuessedLeading() const  { return m_nGuessedLeading; }
+inline sal_uInt16 GetExternalLeading() const  { return m_nExtLeading; }
 
 sal_uInt16 GetFontAscent( const SwViewShell *pSh, const OutputDevice& rOut 
);
 sal_uInt16 GetFontHeight( const SwViewShell *pSh, const OutputDevice& rOut 
);
@@ -101,10 +101,10 @@ public:
 void GuessLeading( const SwViewShell& rSh, const FontMetric& rMet );
 
 void SetDevFont( const SwViewShell *pSh, OutputDevice& rOut );
-inline OutputDevice* GetPrt() const { return pPrinter; }
-inline sal_uInt16   GetZoom() const { return nZoom; }
-inline sal_uInt16   GetPropWidth() const { return nPropWidth; }
-inline bool IsSymbol() const { return bSymbol; }
+inline OutputDevice* GetPrt() const { return m_pPrinter; }
+inline sal_uInt16   GetZoom() const { return m_nZoom; }
+inline sal_uInt16   GetPropWidth() const { return m_nPropWidth; }
+inline bool IsSymbol() const { return m_bSymbol; }
 
 void   DrawText( SwDrawTextInfo  );
 /// determine the TextSize (of the printer)
diff --git a/sw/source/core/txtnode/fntcache.cxx 
b/sw/source/core/txtnode/fntcache.cxx
index 13791d2..f75e712 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -107,55 +107,55 @@ void SwFntCache::Flush( )
 
 SwFntObj::SwFntObj(const SwSubFont , const void *pOwn, SwViewShell const 
*pSh)
 : SwCacheObj(pOwn)
-, aFont(rFont)
-, pScrFont(nullptr)
-, pPrtFont()
-, pPrinter(nullptr)
-, nGuessedLeading(USHRT_MAX)
-, nExtLeading(USHRT_MAX)
-, nScrAscent(0)
-, nPrtAscent(USHRT_MAX)
-, nScrHeight(0)
-, nPrtHeight(USHRT_MAX)
-, nPropWidth(rFont.GetPropWidth())
+, m_aFont(rFont)
+, m_pScrFont(nullptr)
+, m_pPrtFont(_aFont)
+, m_pPrinter(nullptr)
+, m_nGuessedLeading(USHRT_MAX)
+, m_nExtLeading(USHRT_MAX)
+, m_nScrAscent(0)
+, m_nPrtAscent(USHRT_MAX)
+, m_nScrHeight(0)
+, m_nPrtHeight(USHRT_MAX)
+, m_nPropWidth(rFont.GetPropWidth())
 {
-nZoom = pSh ? pSh->GetViewOptions()->GetZoom() : USHRT_MAX;
-bSymbol = RTL_TEXTENCODING_SYMBOL == aFont.GetCharSet();
-bPaintBlank = ( LINESTYLE_NONE != aFont.GetUnderline()
- || LINESTYLE_NONE != aFont.GetOverline()
- || STRIKEOUT_NONE != aFont.GetStrikeout() )
- && !aFont.IsWordLineMode();
-aFont.SetLanguage(rFont.GetLanguage());
+m_nZoom = pSh ? pSh->GetViewOptions()->GetZoom() : USHRT_MAX;
+m_bSymbol = RTL_TEXTENCODING_SYMBOL == m_aFont.GetCharSet();
+m_bPaintBlank = ( LINESTYLE_NONE != m_aFont.GetUnderline()
+ 

[Libreoffice-bugs] [Bug 100635] New: crash after switching on the bibliography ' number entries' option (big file)

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

Bug ID: 100635
   Summary: crash after switching on the bibliography 'number
entries' option (big file)
   Product: LibreOffice
   Version: 5.1.3.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: yury.tarasiev...@gmail.com

The fairly big document (~145 pages, ~280 bibliography entries) has
bibliography index in which shortnames for entries are strings. When I try to
switch on the 'number entries' option, LO crashes.

Totally can't spend the time now on obfuscation of the content, so there will
be no actual 'proof'. Just be advised this definitely and reliably happens with
versions starting with 5.1.3.2 (downloaded earlier) and later, including 5.1.4
and 5.2.0dev, all of which are offered on libreoffice.org. Does NOT happen in
5.0.6 from libreoffice.org.

I'm keeping the 'offending' document version, so if there'll be some special
binary builds with fixes or something, I'd be able to test.

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


Re: About the Progress Bar on the Document Recovery Dialog

2016-06-27 Thread Caolán McNamara
On Fri, 2016-06-24 at 15:09 +0300, Muhammet Kara wrote:
> Hello Devs,
> 
> I am simplifying the Document Recovery Dialog.[0][1]
> 
> I made LO crash with many documents, and observed its behavior during
> recovery. And there was nothing in the blank space where the progress
> bar should appear. Thus, as the "Recovery document:" label along with
> the 'progress bar' under that seems broken/useless, I would like to
> kill them too. (Besides, the recovery progress is already being
> indicated in the list box below.)
> 
> What do you think? Any objections?

Its likely this went wrong during the migration to layout widgets and
the .ui file format.

No object to kill it off and simplify things.

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


[Libreoffice-bugs] [Bug 100492] SVG export adds extra arrow heads

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

Buovjaga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #10 from Buovjaga  ---
(In reply to Laurent Godard from comment #8)
> Created attachment 125935 [details]
> writer file with macro to reproduce

Repro with macro.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: ff25ea3d5ccf3a990767cbb1ef99037d3f84b072
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on June 26th 2016

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


[Libreoffice-bugs] [Bug 100626] From an initial LO Start Center session-- creating new Writer document doesn 't result in edit focus to the canvas of the new document

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

Aron Budea  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #7 from Aron Budea  ---
I could only reproduce in Windows with my method (Windows 7 in particular), but
could reproduce it consistently.
So, confirming it in Windows.

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


[Libreoffice-bugs] [Bug 100537] Table width and Relative checkbox disabled

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

Buovjaga  changed:

   What|Removed |Added

   Keywords||needsUXEval
 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

--- Comment #3 from Buovjaga  ---
Well, design team, what do you think?

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


[Libreoffice-bugs] [Bug 100545] Calc 5.0.6 crashes with file made in Calc 4

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

--- Comment #9 from Buovjaga  ---
(In reply to Tor Lillqvist from comment #8)
> M, please provide also a log file produced with
> SAL_LOG=+INFO.opencl+INFO.sc.opencl+WARN .

Detailed instructions:
https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#Windows:_how_to_get_OpenCL_debug_output

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


[Libreoffice-bugs] [Bug 50026] Calc does not save heights for empty rows in XLS or XLSX

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

Buovjaga  changed:

   What|Removed |Added

 CC||gan...@poczta.onet.pl

--- Comment #7 from Buovjaga  ---
(In reply to Bartosz Kosiorek from comment #6)
> This bug was already fixed in LibreOffice 5.2

Is it the fix for bug 98106? You can close this as duplicate of 98106, if yes.

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


[Libreoffice-bugs] [Bug 100571] PRINTING: LibreOffice does NOT see my printer

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

Buovjaga  changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

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


[Libreoffice-bugs] [Bug 78254] Substantial performance deterioration by scroll through cells via macro in LibreOffice Calc

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

--- Comment #9 from Michael Meeks  ---
Created attachment 125937
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125937=edit
profile result ...

I guess that ~all of the problem here is the 30k GetOptimalHeightsInColumn
calls which turns into 30 million separate GetOptimalHeight calls ... which
looks like a madness.

Surely we can iterate down the col/row tree and fetch the data more simply.

It is unclear why UpdateSelectionArea ends up doing a SetOptimalHeight anyway -
seems odd to me; ~all of the cost here comes from: the 'SelectionChanged' event
handling, which in turn comes from the VBA Range's "Select" method.

Hope that helps anyone wanting to have a poke at this.

ATB.

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


[Libreoffice-commits] core.git: writerfilter/source xmlsecurity/source

2016-06-27 Thread Noel Grandin
 writerfilter/source/dmapper/BorderHandler.cxx|3 -
 writerfilter/source/dmapper/BorderHandler.hxx|1 
 writerfilter/source/dmapper/DomainMapper.cxx |3 -
 writerfilter/source/dmapper/DomainMapperTableManager.cxx |3 -
 writerfilter/source/dmapper/DomainMapperTableManager.hxx |1 
 writerfilter/source/dmapper/DomainMapper_Impl.cxx|   17 
 writerfilter/source/dmapper/DomainMapper_Impl.hxx|1 
 writerfilter/source/dmapper/GraphicImport.cxx|4 --
 writerfilter/source/dmapper/NumberingManager.cxx |   29 +++
 writerfilter/source/dmapper/NumberingManager.hxx |1 
 writerfilter/source/dmapper/PropertyMap.cxx  |   10 +
 writerfilter/source/dmapper/PropertyMap.hxx  |7 ---
 xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.cxx   |6 +--
 xmlsecurity/source/xmlsec/nss/sanextension_nssimpl.hxx   |1 
 14 files changed, 15 insertions(+), 72 deletions(-)

New commits:
commit a25327e4b18768e40c6044c86ce09136cfc23c10
Author: Noel Grandin 
Date:   Mon Jun 27 09:03:38 2016 +0200

loplugin:singlevalfields in writerfilter and xmlsec

Change-Id: I51305ce4a6929b36f41eb7c7c83606ca8c5c89b8
Reviewed-on: https://gerrit.libreoffice.org/26691
Tested-by: Jenkins 
Reviewed-by: Noel Grandin 

diff --git a/writerfilter/source/dmapper/BorderHandler.cxx 
b/writerfilter/source/dmapper/BorderHandler.cxx
index 38fd788..80cc838 100644
--- a/writerfilter/source/dmapper/BorderHandler.cxx
+++ b/writerfilter/source/dmapper/BorderHandler.cxx
@@ -34,7 +34,6 @@ using namespace ::com::sun::star;
 
 BorderHandler::BorderHandler( bool bOOXML ) :
 LoggedProperties("BorderHandler"),
-m_nCurrentBorderPosition( BORDER_TOP ),
 m_nLineWidth(15), // Word default, in twips
 m_nLineType(0),
 m_nLineColor(0),
@@ -167,7 +166,7 @@ PropertyMapPtr  BorderHandler::getProperties()
 };
 PropertyMapPtr pPropertyMap(new PropertyMap);
 // don't fill in default properties
-if( m_bOOXML || m_nCurrentBorderPosition )
+if( m_bOOXML )
 {
 for( sal_Int32 nProp = 0; nProp < BORDER_COUNT; ++nProp)
 {
diff --git a/writerfilter/source/dmapper/BorderHandler.hxx 
b/writerfilter/source/dmapper/BorderHandler.hxx
index ae9736a..6ea1e33 100644
--- a/writerfilter/source/dmapper/BorderHandler.hxx
+++ b/writerfilter/source/dmapper/BorderHandler.hxx
@@ -45,7 +45,6 @@ public:
 };
 
 private:
-sal_Int8m_nCurrentBorderPosition;
 //values of the current border
 sal_Int32   m_nLineWidth;
 sal_Int32   m_nLineType;
diff --git a/writerfilter/source/dmapper/DomainMapper.cxx 
b/writerfilter/source/dmapper/DomainMapper.cxx
index b7403ea..36c5bfe 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -3272,8 +3272,7 @@ void DomainMapper::lcl_utext(const sal_uInt8 * data_, 
size_t len)
 
 if( pContext && pContext->GetFootnote().is() )
 {
-if( !pContext->GetFootnoteSymbol() )
-pContext->GetFootnote()->setLabel( sText );
+pContext->GetFootnote()->setLabel( sText );
 //otherwise ignore sText
 }
 else if( m_pImpl->IsOpenFieldCommand() )
diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.cxx 
b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
index b558afd..ef71cdc 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.cxx
@@ -57,7 +57,6 @@ DomainMapperTableManager::DomainMapperTableManager() :
 m_bHasBtlrCell(false),
 m_bTableSizeTypeInserted(false),
 m_nLayoutType(0),
-m_nMaxFixedWidth(0),
 m_pTablePropsHandler(new TablePropertiesHandler())
 {
 m_pTablePropsHandler->SetTableManager( this );
@@ -454,7 +453,6 @@ void DomainMapperTableManager::startLevel( )
 m_nCell.push_back( 0 );
 m_nTableWidth = 0;
 m_nLayoutType = 0;
-m_nMaxFixedWidth = 0;
 
 // And push it back to the right level.
 if (oCurrentWidth)
@@ -478,7 +476,6 @@ void DomainMapperTableManager::endLevel( )
 m_nCell.pop_back( );
 m_nTableWidth = 0;
 m_nLayoutType = 0;
-m_nMaxFixedWidth = 0;
 
 m_aTmpPosition.pop_back( );
 m_aTmpTableProperties.pop_back( );
diff --git a/writerfilter/source/dmapper/DomainMapperTableManager.hxx 
b/writerfilter/source/dmapper/DomainMapperTableManager.hxx
index 21e9809..c4e8d63 100644
--- a/writerfilter/source/dmapper/DomainMapperTableManager.hxx
+++ b/writerfilter/source/dmapper/DomainMapperTableManager.hxx
@@ -71,7 +71,6 @@ class DomainMapperTableManager : public TableManager
 bool m_bTableSizeTypeInserted;
 /// Table layout algorithm, IOW if we should consider fixed column width 
or not.
 sal_uInt32 m_nLayoutType;
-sal_Int32 m_nMaxFixedWidth;
 

[Libreoffice-bugs] [Bug 100621] Libreoffice window loses focus when entering/ leaving full screen

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

Adolfo Jayme  changed:

   What|Removed |Added

Summary|Libreoffice window looses   |Libreoffice window loses
   |focus when entering/leaving |focus when entering/leaving
   |full screen |full screen

--- Comment #3 from Adolfo Jayme  ---
Also, what desktop environment do you use?

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


[Libreoffice-commits] online.git: loolwsd/Makefile.am

2016-06-27 Thread Andras Timar
 loolwsd/Makefile.am |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 6620502229008da9fe8c3989886c61781e52552d
Author: Andras Timar 
Date:   Mon Jun 27 09:45:29 2016 +0200

loolwsd: fix run_valgrind target with new command line options

diff --git a/loolwsd/Makefile.am b/loolwsd/Makefile.am
index cf4a37d..5546181 100644
--- a/loolwsd/Makefile.am
+++ b/loolwsd/Makefile.am
@@ -150,8 +150,9 @@ run: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
 run_valgrind: all @JAILS_PATH@ @SYSTEMPLATE_PATH@/system_stamp
@echo "Launching loolwsd under valgrind (but not forkit/loolkit, yet)"
valgrind --tool=memcheck --trace-children=no -v --read-var-info=yes \
-   ./loolwsd --systemplate="@SYSTEMPLATE_PATH@" 
--lotemplate="@LO_PATH@" \
-  --childroot="@JAILS_PATH@" --allowlocalstorage 
--admincreds=admin/admin
+   ./loolwsd --o:sys_template_path="@SYSTEMPLATE_PATH@" 
--o:lo_template_path="@LO_PATH@" \
+ --o:child_root_path="@JAILS_PATH@" 
--o:storage.filesystem[@allow]=true \
+ --o:admin_console.username=admin 
--o:admin_console.password=admin
 else
 
 SYSTEM_STAMP =
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: extras/source include/sfx2 sfx2/Library_sfx.mk sfx2/source sfx2/uiconfig

2016-06-27 Thread Akshay Deep
 extras/source/glade/libreoffice-catalog.xml.in |3 
 include/sfx2/templatedlg.hxx   |   21 -
 include/sfx2/templateremoteview.hxx|   42 ---
 include/sfx2/templaterepository.hxx|   46 ---
 sfx2/Library_sfx.mk|1 
 sfx2/source/control/templateremoteview.cxx |  174 -
 sfx2/source/doc/templatedlg.cxx|  329 +++--
 sfx2/uiconfig/ui/templatedlg.ui|   28 --
 8 files changed, 41 insertions(+), 603 deletions(-)

New commits:
commit 77725bf4df6e9cf63469c1d7fea339575b5e
Author: Akshay Deep 
Date:   Sat Jun 25 22:00:01 2016 +0530

GSoC: Remove TemplateRemoteView from Template Manager

Conflicts:
include/sfx2/templatedlg.hxx
sfx2/source/doc/templatedlg.cxx

Change-Id: Ia0623707e452c79346d92b5a5ab75a4063928c20
Reviewed-on: https://gerrit.libreoffice.org/26658
Tested-by: Jenkins 
Reviewed-by: Samuel Mehrbrodt 

diff --git a/extras/source/glade/libreoffice-catalog.xml.in 
b/extras/source/glade/libreoffice-catalog.xml.in
index f79b89c..e1117ed 100644
--- a/extras/source/glade/libreoffice-catalog.xml.in
+++ b/extras/source/glade/libreoffice-catalog.xml.in
@@ -773,9 +773,6 @@
 
-
 
 & getRepositories () const { return 
maRepositories; }
-
-bool insertRepository (const OUString , const OUString );
-
-void syncRepositories () const;
-
 /// Return filter according to the currently selected application filter.
 FILTER_APPLICATION getCurrentApplicationFilter();
 
@@ -152,19 +136,14 @@ protected:
 VclPtr mpCBXHideDlg;
 VclPtr mpActionBar;
 VclPtr mpSearchView;
-VclPtr mpCurView;
 VclPtr mpLocalView;
-VclPtr mpRemoteView;
 VclPtr mpActionMenu;
-VclPtr mpRepositoryMenu;
 VclPtr mpTemplateDefaultMenu;
 
 std::set maSelTemplates;
 
 css::uno::Reference< css::frame::XModel > m_xModel;
 css::uno::Reference< css::frame::XDesktop2 > mxDesktop;
-
-std::vector maRepositories; ///< Stores the remote 
repositories for templates
 };
 
 //  class SfxTemplateCategoryDialog 
---
diff --git a/include/sfx2/templateremoteview.hxx 
b/include/sfx2/templateremoteview.hxx
deleted file mode 100644
index 067ef0a..000
--- a/include/sfx2/templateremoteview.hxx
+++ /dev/null
@@ -1,42 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-#ifndef INCLUDED_SFX2_TEMPLATEREMOTEVIEW_HXX
-#define INCLUDED_SFX2_TEMPLATEREMOTEVIEW_HXX
-
-#include 
-#include 
-
-#include 
-
-class TemplateRepository;
-
-class TemplateRemoteView : public TemplateAbstractView
-{
-public:
-
-TemplateRemoteView (vcl::Window *pParent, WinBits nWinStyle, bool 
bDisableTransientChildren);
-
-virtual void showAllTemplates () override;
-
-virtual void showRegion (TemplateContainerItem *pItem) override;
-
-bool loadRepository (TemplateRepository* pRepository);
-
-virtual sal_uInt16 createRegion (const OUString ) override;
-
-private:
-
-css::uno::Reference< css::ucb::XCommandEnvironment > m_xCmdEnv;
-};
-
-#endif // INCLUDED_SFX2_TEMPLATEREMOTEVIEW_HXX
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/sfx2/templaterepository.hxx 
b/include/sfx2/templaterepository.hxx
deleted file mode 100644
index ac502f5..000
--- a/include/sfx2/templaterepository.hxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
-#ifndef INCLUDED_SFX2_TEMPLATEREPOSITORY_HXX
-#define INCLUDED_SFX2_TEMPLATEREPOSITORY_HXX
-
-#include 
-
-class TemplateRepository
-{
-public:
-
-TemplateRepository () : mnId(0) { };
-
-virtual ~TemplateRepository () { };
-
-void setURL (const OUString ) { maUrl = rURL; }
-
-const OUString& getURL () const { return maUrl; }
-
-void insertTemplate (const TemplateItemProperties ) { 
maTemplates.push_back(prop); }
-
-void clearTemplates () { maTemplates.clear(); }
-
-const std::vector& getTemplates () const { return 
maTemplates; }
-
-public:
-
-sal_uInt16 mnId;
-OUString maTitle;
-
-private:
-
-OUString maUrl;
-std::vector maTemplates;
-};
-
-#endif // INCLUDED_SFX2_TEMPLATEREPOSITORY_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

[Libreoffice-commits] online.git: loleaflet/README loolwsd/README

2016-06-27 Thread Andras Timar
 loleaflet/README |   14 +++---
 loolwsd/README   |8 
 2 files changed, 11 insertions(+), 11 deletions(-)

New commits:
commit f540fb087c9f0918d8a13f8679f0825e4c21e4b0
Author: Andras Timar 
Date:   Mon Jun 27 09:41:41 2016 +0200

loolwsd: document new command line options in READMEs

diff --git a/loleaflet/README b/loleaflet/README
index 4da5145..9b8ff01 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -33,11 +33,11 @@ To see an example:
 
 * run loolwsd, like:
 
-./loolwsd --systemplate=${SYSTEMPLATE} --lotemplate=${MASTER}/instdir 
--childroot=${ROOTFORJAILS}
+./loolwsd --o:sys_template_path=${SYSTEMPLATE} 
--o:lo_template_path=${MASTER}/instdir --o:child_root_path=${ROOTFORJAILS}
 
 Note that this will, by default, set the loolwsd's file server's root to the 
parent directory of loolwsd,
 which means you can access all the files in loleaflet using /loleaflet/ path. 
It is advised to set
-fileserverroot manually for more control. See loolwsd/README for more 
information.
+file_server_root_path manually for more control. See loolwsd/README for more 
information.
 
 * open debug/document/document_simple_example.html or dist/loleaflet.html 
through loolwsd's fileserver
 
@@ -59,11 +59,11 @@ For example:
 
 https://localhost:9980/loleaflet/dist/admin/admin.html
 
-It will ask for username and password which is set by the --admincreds option 
of loolwsd. For example you can
-pass --admincreds=admin/admin which will make username and password 'admin', 
'admin' respectively. After entering
-the correct password you should be able to monitor the live documents opened, 
total users, memory consumption,
-document URLs with number of users viewing that document etc. You can also 
kill the documents directly from
-the panel which would result in closing the socket connection to the 
respective document.
+It will ask for username and password which is set by the admin_console 
options of loolwsd. For example you can
+pass --o:admin_console.username=admin --o:admin_console.password=admin in 
command line, or set these values in
+loolwsd.xml. After entering the correct password you should be able to monitor 
the live documents opened, total
+users, memory consumption, document URLs with number of users viewing that 
document etc. You can also kill the
+documents directly from the panel which would result in closing the socket 
connection to the respective document.
 
 Testing
 ---
diff --git a/loolwsd/README b/loolwsd/README
index 4b508fe..a58b948 100644
--- a/loolwsd/README
+++ b/loolwsd/README
@@ -107,7 +107,7 @@ chroot system, and directory for the jails:
 To run loolwsd the way it is supposed to eventually be run "for real", you can
 now do:
 
-./loolwsd --systemplate=${SYSTEMPLATE} --lotemplate=${MASTER}/instdir 
--childroot=${ROOTFORJAILS}
+./loolwsd --o:sys_template_path=${SYSTEMPLATE} 
--o:lo_template_path=${MASTER}/instdir --o:child_root_path=${ROOTFORJAILS}
 
 The ${SYSTEMPLATE} is a directory tree set up using the
 loolwsd-systemplate-setup script here. (It should not exist before
@@ -125,12 +125,12 @@ jail, ${SYSTEMPLATE} and ${MASTER}/instdir need to be on 
the same file
 system as ${ROOTFORJAILS}.
 
 Leaflet files are served itself by loolwsd internal file server. You
-can specify the root of this fileserver using the --fileserverroot
+can specify the root of this fileserver using the --o:file_server_root_path
 flag in loolwsd commandline.  By default, if you do not specify this
 flag, the parent directory of loolwsd/ is assumed to be the
-fileserverroot. So, for development purposes, you can access the
+file_server_root_path. So, for development purposes, you can access the
 leaflet files (using /loleaflet/), but it is advised to explicitly set
-the fileserverroot to prevent any unwanted files from reading,
+the file_server_root_path to prevent any unwanted files from reading,
 especially when lool is deployed for normal public usage on servers.
 
 Please note that it is necessary that all the leaflet files that are
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 92516] "x" accelerator and mouse click not exiting StartCenter in " File -> Exit LibreOfficeDev" menu

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

--- Comment #40 from ThierryT  ---
I just tried with version :
Version: 5.1.4.2 (x64)
Build ID: f99d75f39f1c57ebdd7ffc5f42867c12031db97a
Threads CPU : 4; Version de l'OS :Windows 6.29; UI Render : par défaut; 
Locale : fr-FR (fr_FR)

With a file opened (in Calc) :
File (mouse click) -> Exit (mouse click) => WORKS
File (mouse click) -> Exit (X : mouse click) => WORKS
File (mouse click) -> Exit (Alt+X or Ctrl+Q) => DOESN'T WORKS : nothing done
the Menu "File" still displayed
File (Alt+F) -> Exit (X : mouse click) => WORKS
File (Alt+F) -> Exit(Alt+X) => DOESN'T WORK : see file attached before
File (Alt+F) -> Exit (Ctrl+Q) => WORK

In the main window (no file opened) :
File (mouse click) -> Exit (mouse click) => WORKS
File (mouse click) -> Exit (X : mouse click) => WORKS
File (mouse click) -> Exit (Alt+X or Ctrl+Q) => DOESN'T WORKS : nothing done
the Menu "File" still displayed
File (Alt+F) => DOESN'T WORKS : the Menu File never appears

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


[Libreoffice-bugs] [Bug 94700] Issues with rotated text when OpenGL is enabled

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

--- Comment #12 from martinsti...@gmail.com ---
Here is the content of opengl_device.log:

DriverVersion: 10.18.14.4264
DriverDate: 8-4-2015
DeviceID: PCI\VEN_8086_0412_18E4103C_06
AdapterVendorID: 0x8086
AdapterDeviceID: 0x0412
AdapterSubsysID: 0x18e4103c
DeviceKey:
System\CurrentControlSet\Control\Video\{278ABE1E-2921-420A-ABEF-C36AD47C6B7F}\
DeviceString: Intel(R) HD Graphics 4600

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


[Libreoffice-bugs] [Bug 100222] No message to restart LO when disabling OpenCL, but keeping software interpreter enabled

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

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

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

tdf#100222: Show the dialog just once even if both toggles were changed

It will be available in 5.3.0.

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

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

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


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

2016-06-27 Thread Tor Lillqvist
 cui/source/options/optopencl.cxx |   10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

New commits:
commit e7ca62bbd485c5f450e720c8102db2ab9561429f
Author: Tor Lillqvist 
Date:   Mon Jun 27 10:28:55 2016 +0300

tdf#100222: Show the dialog just once even if both toggles were changed

Change-Id: If6058d68f80ebc3e235f0a681cfe3240985e2429

diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index 776bb0f..e536445 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -155,9 +155,6 @@ bool SvxOpenCLTabPage::FillItemSet( SfxItemSet* )
 {
 
officecfg::Office::Common::Misc::UseSwInterpreter::set(mpUseSwInterpreter->IsChecked(),
 batch);
 bModified = true;
-
-ScopedVclPtrInstance aWarnBox(this, 
CUI_RES(RID_SVXSTR_OPTIONS_RESTART), VclMessageType::Info);
-aWarnBox->Execute();
 }
 
 if (mpUseOpenCL->IsValueChangedFromSaved())
@@ -167,13 +164,14 @@ bool SvxOpenCLTabPage::FillItemSet( SfxItemSet* )
 {
 maConfig.set();
 bModified = true;
-
-ScopedVclPtrInstance aWarnBox(this, 
CUI_RES(RID_SVXSTR_OPTIONS_RESTART), VclMessageType::Info);
-aWarnBox->Execute();
 }
 
 if (bModified)
+{
+ScopedVclPtrInstance aWarnBox(this, 
CUI_RES(RID_SVXSTR_OPTIONS_RESTART), VclMessageType::Info);
+aWarnBox->Execute();
 batch->commit();
+}
 
 return bModified;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: 2 commits - source/text

2016-06-27 Thread Valter Mura
 source/text/shared/02/0202.xhp|2 +-
 source/text/swriter/guide/indices_userdef.xhp |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit f4fb6dfe872c87ae28d3c17647ccc0230def948c
Author: Valter Mura 
Date:   Mon Jun 27 02:28:22 2016 -0500

Remove stray parentheses

Change-Id: I9f9b991f0a6050fb7145fa229034ee8310c54cac

diff --git a/source/text/swriter/guide/indices_userdef.xhp 
b/source/text/swriter/guide/indices_userdef.xhp
index 77ac668..4b1df87 100644
--- a/source/text/swriter/guide/indices_userdef.xhp
+++ b/source/text/swriter/guide/indices_userdef.xhp
@@ -81,7 +81,7 @@
 Click 
OK.
   
 
-If you want to 
use a different paragraph style as a table of contents entry, select Additional styles, and then click the (Assign styles) button next to the box. Click the style 
in the list, and then click the  or the 
 button to define the outline level for 
the paragraph style.
+If you want to 
use a different paragraph style as a table of contents entry, select Additional styles, and then click the Assign styles button next to the box. Click the style in 
the list, and then click the  or the  button to define the outline level for the 
paragraph style.
 
 
 
commit f04fe534bf08b4a3ddaa6414a27a44575fc4aecf
Author: Adolfo Jayme Barrientos 
Date:   Mon Jun 27 02:13:35 2016 -0500

The “Show font history” option no longer exists

This is still configurable, but as an advanced preference (search
for: org.openoffice.Office.Common > Font > View > History).

Change-Id: Ic3a87ce77044c663613f98aa6a6b1b60bd4fca75

diff --git a/source/text/shared/02/0202.xhp 
b/source/text/shared/02/0202.xhp
index f4836c2..27e9de2 100644
--- a/source/text/shared/02/0202.xhp
+++ b/source/text/shared/02/0202.xhp
@@ -39,7 +39,7 @@
 You can enter several fonts, separated by semicolons. $[officename] 
uses each named font in succession if the previous fonts are not 
available.
 
 Any font changes apply to the selected text or word in which the 
cursor is positioned. If no text has been selected, the font applies to text 
typed afterwards.
-The last five font names that have been selected are shown in the 
top part of the combo box, if you have marked the Font history 
field in %PRODUCTNAME 
- PreferencesTools - 
Options - $[officename] - 
View. As soon as you close your document, the normal alphabetic 
numbering of the installed fonts will be recreated.
+The last five 
font names that have been selected are shown in the top part of the combo 
box.
 
  
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2016-06-27 Thread Valter Mura
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9f8bdd9e1dd954ad3be2c40e8919ec51bf129659
Author: Valter Mura 
Date:   Mon Jun 27 02:28:22 2016 -0500

Updated core
Project: help  f4fb6dfe872c87ae28d3c17647ccc0230def948c

Remove stray parentheses

Change-Id: I9f9b991f0a6050fb7145fa229034ee8310c54cac

diff --git a/helpcontent2 b/helpcontent2
index c23a2a9..f4fb6df 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit c23a2a94aae6b2f1290145323460848eff867305
+Subproject commit f4fb6dfe872c87ae28d3c17647ccc0230def948c
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: loolwsd/loolwsd.spec.in

2016-06-27 Thread Andras Timar
 loolwsd/loolwsd.spec.in |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 93e11045056c36612713d990ae5dc72cccbb3717
Author: Andras Timar 
Date:   Mon Jun 27 09:27:25 2016 +0200

loolwsd: use the new command line options in spec file for default admin

diff --git a/loolwsd/loolwsd.spec.in b/loolwsd/loolwsd.spec.in
index 7dd638d..2b10a82 100644
--- a/loolwsd/loolwsd.spec.in
+++ b/loolwsd/loolwsd.spec.in
@@ -66,7 +66,7 @@ env BUILDING_FROM_RPMBUILD=yes make %{?_smp_mflags}
 %install
 env BUILDING_FROM_RPMBUILD=yes make install DESTDIR=%{buildroot}
 %if %{default_admin} == "YES"
-sed -i "s|ExecStart=/usr/bin/loolwsd --version 
--systemplate=/opt/lool/systemplate --lotemplate=/opt/collaboraoffice5.0 
--childroot=/opt/lool/child-roots --numprespawns=5 
--fileserverroot=/usr/share/loolwsd|ExecStart=/usr/bin/loolwsd --version 
--systemplate=/opt/lool/systemplate --lotemplate=/opt/collaboraoffice5.0 
--childroot=/opt/lool/child-roots --numprespawns=5 
--fileserverroot=/usr/share/loolwsd --admincreds=admin/admin|" loolwsd.service
+sed -i "s|ExecStart=/usr/bin/loolwsd --version 
--o:sys_template_path=/opt/lool/systemplate 
--o:lo_template_path=/opt/collaboraoffice5.0 
--o:child_root_path=/opt/lool/child-roots 
--o:file_server_root_path=/usr/share/loolwsd|ExecStart=/usr/bin/loolwsd 
--version --o:sys_template_path=/opt/lool/systemplate 
--o:lo_template_path=/opt/collaboraoffice5.0 
--o:child_root_path=/opt/lool/child-roots 
--o:file_server_root_path=/usr/share/loolwsd --o:admin_console.username=admin 
--o:admin_console.password=admin|" loolwsd.service
 %endif
 %__install -D -m 444 loolwsd.service %{buildroot}%{_unitdir}/loolwsd.service
 install -d -m 755 %{buildroot}/var/adm/fillup-templates
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 92516] "x" accelerator and mouse click not exiting StartCenter in " File -> Exit LibreOfficeDev" menu

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

--- Comment #39 from ThierryT  ---
Created attachment 125936
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125936=edit
Error message with ALT+X

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


[Libreoffice-bugs] [Bug 100626] From an initial LO Start Center session-- creating new Writer document doesn 't result in edit focus to the canvas of the new document

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

 Status|NEW |UNCONFIRMED
 CC||jbfa...@libreoffice.org
 Ever confirmed|1   |0

--- Comment #6 from Jean-Baptiste Faure  ---
Please, do not set your own bug report to NEW. Each bug report should be
independently confirmed.
Set back to UNCONFIRMED.

I do not reproduce the described problem under Ubuntu. Windows only issue?

Best regards. JBF

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


[Libreoffice-bugs] [Bug 94940] "Show font history" option does not work

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

Adolfo Jayme  changed:

   What|Removed |Added

 Status|RESOLVED|NEW
  Component|LibreOffice |UI
 Resolution|WONTFIX |---

--- Comment #9 from Adolfo Jayme  ---
(In reply to Jean-Baptiste Faure from comment #8)
> Working with a new document and with font history disabled, it remains 2
> fonts with no relation with the current document. Perhaps it is by design.

I disagree that stray elements appearing in a list *even after disabling them*
is “by design”. And the fact that the “Show font history” is no longer in the
UI doesn’t automatically invalidate this bug. On the contrary, it makes it more
annoying, because they keep showing up after one’s hunting for the setting in
the Expert Confiuguration list.

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


[Libreoffice-commits] online.git: loleaflet/Makefile loolwsd/configure.ac

2016-06-27 Thread Andras Timar
 loleaflet/Makefile   |2 +-
 loolwsd/configure.ac |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c3db6d719ef72f6f150b131439c97c2822e0fe3b
Author: Andras Timar 
Date:   Mon Jun 27 09:20:09 2016 +0200

reserve version 2.0.0 for actual release...

diff --git a/loleaflet/Makefile b/loleaflet/Makefile
index 7d9c550..16cfec0 100644
--- a/loleaflet/Makefile
+++ b/loleaflet/Makefile
@@ -3,7 +3,7 @@
 # ("micro") part: Between releases odd, even for releases (no other
 # changes inbetween).
 
-VERSION=2.0.0
+VERSION=1.9.0
 
 # Version number of the bundled 'draw' thing
 DRAW_VERSION=0.2.4
diff --git a/loolwsd/configure.ac b/loolwsd/configure.ac
index 440c04f..e4ac4ab 100644
--- a/loolwsd/configure.ac
+++ b/loolwsd/configure.ac
@@ -3,7 +3,7 @@
 
 AC_PREREQ([2.69])
 
-AC_INIT([loolwsd], [2.0.0], [libreoffice@lists.freedesktop.org])
+AC_INIT([loolwsd], [1.9.0], [libreoffice@lists.freedesktop.org])
 LT_INIT([shared, disable-static, dlopen])
 
 AM_INIT_AUTOMAKE([1.11 silent-rules subdir-objects])
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: loolwsd/debian loolwsd/loolwsd.service

2016-06-27 Thread Andras Timar
 loolwsd/debian/loolwsd.service |   11 +--
 loolwsd/loolwsd.service|   11 +--
 2 files changed, 2 insertions(+), 20 deletions(-)

New commits:
commit e85179e0f8e16aec6cf2963c772c1069ed9ac924
Author: Andras Timar 
Date:   Mon Jun 27 09:15:40 2016 +0200

loolwsd: let loolwsd.service use the new command line options

diff --git a/loolwsd/debian/loolwsd.service b/loolwsd/debian/loolwsd.service
index 112ea8e..5124662 100644
--- a/loolwsd/debian/loolwsd.service
+++ b/loolwsd/debian/loolwsd.service
@@ -4,16 +4,7 @@ After=network.target
 
 [Service]
 EnvironmentFile=-/etc/sysconfig/loolwsd
-#
-# For admin console you have to give admin user name and password
-# with --admincreds=username/password
-#
-# Local Storage is disabled by default. Specify --allowlocalstorage
-# to enable it. Beware! If you specify --allowlocalstorage, all files
-# that can be read by lool user, will be passed to LibreOffice and
-# may be displayed in the browser. This option is only for debugging.
-#
-ExecStart=/usr/bin/loolwsd --version --systemplate=/opt/lool/systemplate 
--lotemplate=/opt/collaboraoffice5.0 --childroot=/opt/lool/child-roots 
--numprespawns=5 --fileserverroot=/usr/share/loolwsd
+ExecStart=/usr/bin/loolwsd --version 
--o:sys_template_path=/opt/lool/systemplate 
--o:lo_template_path=/opt/collaboraoffice5.0 
--o:child_root_path=/opt/lool/child-roots 
--o:file_server_root_path=/usr/share/loolwsd
 User=lool
 KillMode=control-group
 Restart=always
diff --git a/loolwsd/loolwsd.service b/loolwsd/loolwsd.service
index 112ea8e..5124662 100644
--- a/loolwsd/loolwsd.service
+++ b/loolwsd/loolwsd.service
@@ -4,16 +4,7 @@ After=network.target
 
 [Service]
 EnvironmentFile=-/etc/sysconfig/loolwsd
-#
-# For admin console you have to give admin user name and password
-# with --admincreds=username/password
-#
-# Local Storage is disabled by default. Specify --allowlocalstorage
-# to enable it. Beware! If you specify --allowlocalstorage, all files
-# that can be read by lool user, will be passed to LibreOffice and
-# may be displayed in the browser. This option is only for debugging.
-#
-ExecStart=/usr/bin/loolwsd --version --systemplate=/opt/lool/systemplate 
--lotemplate=/opt/collaboraoffice5.0 --childroot=/opt/lool/child-roots 
--numprespawns=5 --fileserverroot=/usr/share/loolwsd
+ExecStart=/usr/bin/loolwsd --version 
--o:sys_template_path=/opt/lool/systemplate 
--o:lo_template_path=/opt/collaboraoffice5.0 
--o:child_root_path=/opt/lool/child-roots 
--o:file_server_root_path=/usr/share/loolwsd
 User=lool
 KillMode=control-group
 Restart=always
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100492] SVG export adds extra arrow heads

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

--- Comment #9 from Laurent Godard  ---
Please find attached an odt file with a macro to reproduce

enable macros, click the button
the file will be saved at the same place than original file

then note that the exported svg arrows are different than the (though wrongly
as reported in #100491) original ones

feel free to ask if anything more needed

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


[Libreoffice-bugs] [Bug 46200] [RFE] Use the Scroll Lock key as a toggling lock key like Excel

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

Marco Filippozzi  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |marco.filippozzi@studiostor
   |desktop.org |ti.com

--- Comment #18 from Marco Filippozzi  ---
we want to solve the bug, already assigned to myself

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


[Libreoffice-bugs] [Bug 100492] SVG export adds extra arrow heads

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

--- Comment #8 from Laurent Godard  ---
Created attachment 125935
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125935=edit
writer file with macro to reproduce

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


[Libreoffice-commits] core.git: Branch 'feature/orcus-odf' - 3 commits - sc/source

2016-06-27 Thread Jaskaran Singh
 sc/source/filter/inc/orcusinterface.hxx |6 ++
 sc/source/filter/orcus/interface.cxx|   73 ++--
 2 files changed, 66 insertions(+), 13 deletions(-)

New commits:
commit d98dc61dbd97dedc2a1a18cf1b41c5fc91e30886
Author: Jaskaran Singh 
Date:   Mon Jun 27 11:53:57 2016 +0530

Add functions for cell protection in orcus interface

Change-Id: I86111e9584e9d629d5fbb6a17c8936de719d190b

diff --git a/sc/source/filter/inc/orcusinterface.hxx 
b/sc/source/filter/inc/orcusinterface.hxx
index d5765da..8457eb2 100644
--- a/sc/source/filter/inc/orcusinterface.hxx
+++ b/sc/source/filter/inc/orcusinterface.hxx
@@ -303,6 +303,8 @@ private:
 {
 bool mbHidden;
 bool mbLocked;
+bool mbPrintContent;
+bool mbFormulaHidden;
 
 protection();
 void applyToItemSet(SfxItemSet& rSet) const;
diff --git a/sc/source/filter/orcus/interface.cxx 
b/sc/source/filter/orcus/interface.cxx
index 9a65cd53..db0c439 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -31,6 +31,9 @@
 #include 
 #include 
 #include 
+#include 
+#include 
+#include 
 
 #include 
 #include 
@@ -786,9 +789,13 @@ ScOrcusStyles::protection::protection():
 {
 }
 
-void ScOrcusStyles::protection::applyToItemSet(SfxItemSet& /*rSet*/) const
+void ScOrcusStyles::protection::applyToItemSet(SfxItemSet& rSet) const
 {
-(void)this; // loplugin:staticmethods
+rSet.Put(SvxCharHiddenItem(mbHidden, ATTR_PROTECTION));
+
+if (mbLocked)
+rSet.Put(SvxProtectItem(ATTR_PROTECTION));
+rSet.Put(SvxPrintItem(ATTR_PROTECTION, mbPrintContent));
 }
 
 ScOrcusStyles::border::border()
@@ -1188,14 +1195,14 @@ void ScOrcusStyles::set_cell_locked(bool b)
 maCurrentProtection.mbLocked = b;
 }
 
-void ScOrcusStyles::set_cell_print_content(bool /* b */)
+void ScOrcusStyles::set_cell_print_content(bool b )
 {
-
+maCurrentProtection.mbPrintContent = b;
 }
 
-void ScOrcusStyles::set_cell_formula_hidden(bool /* b */)
+void ScOrcusStyles::set_cell_formula_hidden(bool b )
 {
-
+maCurrentProtection.mbFormulaHidden = b;
 }
 
 size_t ScOrcusStyles::commit_cell_protection()
commit 79355b229ed10b59c08316f3a76b5148d55901f9
Author: Jaskaran Singh 
Date:   Mon Jun 27 11:52:15 2016 +0530

Add functions for border width and style to orcus interface

Change-Id: Ia707c7bf110f67f6537841999d0b1504fb24eab5

diff --git a/sc/source/filter/inc/orcusinterface.hxx 
b/sc/source/filter/inc/orcusinterface.hxx
index 604159c..d5765da 100644
--- a/sc/source/filter/inc/orcusinterface.hxx
+++ b/sc/source/filter/inc/orcusinterface.hxx
@@ -37,6 +37,8 @@ class ScOrcusFactory;
 class ScRangeData;
 class SfxItemSet;
 
+typedef sal_Int16 SvxBorderStyle;
+
 namespace com { namespace sun { namespace star { namespace task {
 
 class XStatusIndicator;
@@ -283,7 +285,9 @@ private:
 {
 struct border_line
 {
+SvxBorderStyle mestyle;
 Color maColor;
+double mnWidth;
 };
 std::map 
border_lines;
 
diff --git a/sc/source/filter/orcus/interface.cxx 
b/sc/source/filter/orcus/interface.cxx
index f5e3080..9a65cd53 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -1109,9 +1109,48 @@ void 
ScOrcusStyles::set_border_style(orcus::spreadsheet::border_direction_t /*di
 }
 
 void ScOrcusStyles::set_border_style(
-orcus::spreadsheet::border_direction_t /*dir*/, 
orcus::spreadsheet::border_style_t /*style*/)
+orcus::spreadsheet::border_direction_t dir, 
orcus::spreadsheet::border_style_t style)
 {
-// implement later
+border::border_line& current_line = maCurrentBorder.border_lines[dir];
+switch (style)
+{
+case orcus::spreadsheet::border_style_t::unknown:
+case orcus::spreadsheet::border_style_t::none:
+case orcus::spreadsheet::border_style_t::solid:
+case orcus::spreadsheet::border_style_t::hair:
+case orcus::spreadsheet::border_style_t::medium:
+case orcus::spreadsheet::border_style_t::thick:
+case orcus::spreadsheet::border_style_t::thin:
+current_line.mestyle = 
::com::sun::star::table::BorderLineStyle::SOLID;
+break;
+case orcus::spreadsheet::border_style_t::dash_dot:
+current_line.mestyle = 
::com::sun::star::table::BorderLineStyle::DASH_DOT;
+break;
+case orcus::spreadsheet::border_style_t::dash_dot_dot:
+current_line.mestyle = 
::com::sun::star::table::BorderLineStyle::DASH_DOT_DOT;
+break;
+case orcus::spreadsheet::border_style_t::dashed:
+current_line.mestyle = 
::com::sun::star::table::BorderLineStyle::DASHED;
+break;
+case orcus::spreadsheet::border_style_t::dotted:
+current_line.mestyle = 
::com::sun::star::table::BorderLineStyle::DOTTED;
+ 

[Libreoffice-bugs] [Bug 100492] SVG export adds extra arrow heads

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

--- Comment #7 from Laurent Godard  ---
Hi 

Thanks a lor for your investigation

I confirm that doing manually (copy-paste to draw  + export selection), the
exported svg is the same as what is displayed in LibreOffice

So the problem seems to be using GraphicExportFilter from Writer using UNO

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


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

2016-06-27 Thread Noel Grandin
 compilerplugins/clang/singlevalfields.cxx |   20 +---
 1 file changed, 17 insertions(+), 3 deletions(-)

New commits:
commit f9889a69b9b47cdc19d30cb599667ded03887afe
Author: Noel Grandin 
Date:   Mon Jun 27 08:38:38 2016 +0200

check for field being returned by non-const ref

Change-Id: I660c98dcbfa6052628ff667886981d075f34b2b7

diff --git a/compilerplugins/clang/singlevalfields.cxx 
b/compilerplugins/clang/singlevalfields.cxx
index 9fa9293..04d1046 100644
--- a/compilerplugins/clang/singlevalfields.cxx
+++ b/compilerplugins/clang/singlevalfields.cxx
@@ -190,7 +190,8 @@ bool SingleValFields::VisitMemberExpr( const MemberExpr* 
memberExpr )
 if (ignoreLocation(memberExpr) || !isInterestingType(fieldDecl->getType()))
 return true;
 
-const CXXMethodDecl* methodDecl = 
dyn_cast_or_null(get_top_FunctionDecl_from_Stmt(*memberExpr));
+const FunctionDecl* parentFunctionDecl = 
get_top_FunctionDecl_from_Stmt(*memberExpr);
+const CXXMethodDecl* methodDecl = 
dyn_cast_or_null(parentFunctionDecl);
 if (methodDecl && (methodDecl->isCopyAssignmentOperator() || 
methodDecl->isMoveAssignmentOperator()))
return true;
 
@@ -200,7 +201,20 @@ bool SingleValFields::VisitMemberExpr( const MemberExpr* 
memberExpr )
 bool bPotentiallyAssignedTo = false;
 bool bDump = false;
 std::string assignValue;
-do {
+
+// check for field being returned by non-const ref eg. Foo& getFoo() { 
return f; }
+if (parent && isa(parent)) {
+const Stmt* parent2 = parentStmt(parent);
+if (parent2 && isa(parent2)) {
+QualType qt = 
parentFunctionDecl->getReturnType().getDesugaredType(compiler.getASTContext());
+if (!qt.isConstQualified() && qt->isReferenceType()) {
+assignValue = "?";
+bPotentiallyAssignedTo = true;
+}
+}
+}
+
+while (!bPotentiallyAssignedTo) {
 // check for field being accessed by a reference variable e.g. Foo& f 
= m.foo;
 auto parentsList = compiler.getASTContext().getParents(*child);
 auto it = parentsList.begin();
@@ -303,7 +317,7 @@ bool SingleValFields::VisitMemberExpr( const MemberExpr* 
memberExpr )
 bDump = true;
 break;
 }
-} while (true);
+}
 if (bDump)
 {
 report(
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100630] Listboxes don't function

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

Alex Thurgood  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTOURBUG

--- Comment #1 from Alex Thurgood  ---
@Basil : this is a distrib-specific problem, as you have said yourself, because
it works on Fedora, so this is the wrong place to report this bug.

Please open a bug report on the specific distro-provided list (assuming there
is one).

If the problem is one that is applicable to version 5.0.6.3 irrespective of OS,
then do not hesitate to re-open here.

Closing as NOTOURBUG.

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


[Libreoffice-bugs] [Bug 100545] Calc 5.0.6 crashes with file made in Calc 4

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

--- Comment #8 from Tor Lillqvist  ---
Aron, the very point of the function clGetExtensionFunctionAddress() is to
figure out whether some OpenCL extension function is unsupported. Besides, I
doubt the backtrace is based on real debug information from the OpenCL and
amdocl modules (system DLLs), but just exported symbols.
OpenCL!clGetExtensionFunctionAddress+0x877 means 0x877 bytes after the exported
clGetExtensionFunctionAddress, which is quite far and might quite well be in
some totally unrelated, internal, function in the OpenCL module. Unfortunately
the stack trace does not show anything inside LibreOffice.

M, yes, the problematic file would be essential to figure out what is going on.

M, please provide also a log file produced with
SAL_LOG=+INFO.opencl+INFO.sc.opencl+WARN .

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


[Libreoffice-bugs] [Bug 100620] Wrong result with COUNTA or COUNT in formula

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

--- Comment #5 from andis.lazd...@gmail.com ---
Thank you for quick response!

This issue really is not a big problem. However, circular reference this time
is recognized by mistake. COUNTA calls to number of cells with no relation to
values and it is strange change in compare to previous versions and to other
office suites. Therefore to me it is regression.

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


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

2016-06-27 Thread apurvapriyadarshi
 basic/source/runtime/runtime.cxx |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e4b332358789c0d4df88401021c17e0c88671eb3
Author: apurvapriyadarshi 
Date:   Fri Jun 24 12:14:22 2016 +0530

tdf#96505 Get rid of cargo cult long integer literals

Cleanup in basic/source/runtime/runtime.cxx

Change-Id: I1176251af9c4ca56c29dfafab20caccd7a28d60f
Reviewed-on: https://gerrit.libreoffice.org/26627
Tested-by: Jenkins 
Reviewed-by: Noel Grandin 

diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index fddabbb..bc25189 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -2607,18 +2607,18 @@ void SbiRuntime::StepSTDERROR()
 {
 pError = nullptr; bError = true;
 pInst->aErrorMsg.clear();
-pInst->nErr = 0L;
+pInst->nErr = 0;
 pInst->nErl = 0;
-nError = 0L;
+nError = 0;
 SbxErrObject::getUnoErrObject()->Clear();
 }
 
 void SbiRuntime::StepNOERROR()
 {
 pInst->aErrorMsg.clear();
-pInst->nErr = 0L;
+pInst->nErr = 0;
 pInst->nErl = 0;
-nError = 0L;
+nError = 0;
 SbxErrObject::getUnoErrObject()->Clear();
 bError = false;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 96505] Get rid of cargo cult "long" integer literals

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

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

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

tdf#96505 Get rid of cargo cult long integer literals

It will be available in 5.3.0.

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

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

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


[Libreoffice-bugs] [Bug 100634] New: macro syntax error causes infinite loop and cant close file

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

Bug ID: 100634
   Summary: macro syntax error causes infinite loop and cant close
file
   Product: LibreOffice
   Version: 5.1.2.2 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: timchamb...@environmentalstrategies.com.au

Created attachment 125934
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125934=edit
file won't open successfully with calc

Attempting to open this macro enabled file results in the following error:

BASIC syntax error.
If not allowed outside a procedure.

error will not close and instance of Libre Office needed to be killed
externally (using task manager)

The file opens successfully in Microsoft office 2013.

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


<    1   2   3