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

2017-04-08 Thread Markus Mohrhard
 sc/source/ui/view/output.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 437a45c90c3776ace431bbda9539b1166ca0b11f
Author: Markus Mohrhard 
Date:   Sun Apr 9 02:54:19 2017 +0200

improve the rendering of databar gradients

Change-Id: Ie4a0e1b9193ca1fe230e8a0a69bef757d442fbee
Reviewed-on: https://gerrit.libreoffice.org/36311
Reviewed-by: Markus Mohrhard 
Tested-by: Markus Mohrhard 

diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx
index 943b4af8fe0e..f896179a6066 100644
--- a/sc/source/ui/view/output.cxx
+++ b/sc/source/ui/view/output.cxx
@@ -857,6 +857,7 @@ void drawDataBars(vcl::RenderContext& rRenderContext, const 
ScDataBarInfo* pOldD
 {
 rRenderContext.SetLineColor(pOldDataBarInfo->maColor);
 Gradient aGradient(GradientStyle::Linear, pOldDataBarInfo->maColor, 
COL_TRANSPARENT);
+aGradient.SetSteps(255);
 
 if(pOldDataBarInfo->mnLength < 0)
 aGradient.SetAngle(2700);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2017-04-08 Thread Zdeněk Crhonek
 basic/qa/cppunit/test_vba.cxx  |1 
 basic/qa/vba_tests/formatnumber.vb |   64 +
 2 files changed, 65 insertions(+)

New commits:
commit 6c34c5ff469b4bee0aa165d660e6db4431ff0fe7
Author: Zdeněk Crhonek 
Date:   Thu Apr 6 20:39:39 2017 +0200

VBA tests - FORMATNUMBER function

Change-Id: Ibfb00e5be9a32e3767ec4e73cdbf81f53f07b42e
Reviewed-on: https://gerrit.libreoffice.org/36229
Tested-by: Jenkins 
Reviewed-by: Zdenek Crhonek 

diff --git a/basic/qa/cppunit/test_vba.cxx b/basic/qa/cppunit/test_vba.cxx
index 5df8c0eb76f5..5ea598a3b50a 100644
--- a/basic/qa/cppunit/test_vba.cxx
+++ b/basic/qa/cppunit/test_vba.cxx
@@ -78,6 +78,7 @@ void VBATest::testMiscVBAFunctions()
 "error.vb",
 "exp.vb",
 "fix.vb",
+"formatnumber.vb",
 #ifndef WIN32 // missing 64bit Currency marshalling.
 "win32compat.vb", // windows compatibility hooks.
 #endif
diff --git a/basic/qa/vba_tests/formatnumber.vb 
b/basic/qa/vba_tests/formatnumber.vb
new file mode 100644
index ..0f4c7be5a5d3
--- /dev/null
+++ b/basic/qa/vba_tests/formatnumber.vb
@@ -0,0 +1,64 @@
+Rem Attribute VBA_ModuleType=VBAModule
+Option VBASupport 1
+Rem Option VBASupport 1'unREM in .vb file
+Option Explicit
+Dim passCount As Integer
+Dim failCount As Integer
+Dim result As String
+
+Function doUnitTest() As String
+result = verify_testFormatNumber()
+If failCount <> 0 And passCount > 0 Then
+doUnitTest = result
+Else
+doUnitTest = "OK"
+End If
+End Function
+
+
+
+Function verify_testFormatNumber() As String
+
+passCount = 0
+failCount = 0
+
+result = "Test Results" & Chr$(10) & "" & Chr$(10)
+
+Dim testName As String
+Dim TestDateTime As Date
+Dim TestStr As String
+Dim date1, date2
+testName = "Test FormatNumber function"
+On Error GoTo errorHandler
+
+date2 = "42778.00"
+date1 = FormatNumber("12.2", 2, vbFalse, vbFalse, vbFalse)
+TestLog_ASSERT date1 = date2, "the return FormatNumber is: " & date1
+
+result = result & Chr$(10) & "Tests passed: " & passCount & Chr$(10) & 
"Tests failed: " & failCount & Chr$(10)
+verify_testFormatNumber = result
+
+Exit Function
+errorHandler:
+TestLog_ASSERT (False), testName & ": hit error handler"
+End Function
+
+Sub TestLog_ASSERT(assertion As Boolean, Optional testId As String, Optional 
testComment As String)
+
+If assertion = True Then
+passCount = passCount + 1
+Else
+Dim testMsg As String
+If Not IsMissing(testId) Then
+testMsg = testMsg + " : " + testId
+End If
+If Not IsMissing(testComment) And Not (testComment = "") Then
+testMsg = testMsg + " (" + testComment + ")"
+End If
+
+result = result & Chr$(10) & " Failed: " & testMsg
+failCount = failCount + 1
+End If
+
+End Sub
+
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 103182] [META] GTK3-specific bugs

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103182

Adolfo Jayme  changed:

   What|Removed |Added

 Depends on||107031


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107031
[Bug 107031] Dragging and dropping headings from Navigator to document creates
a copy instead of a hyperlink (gtk3)
-- 
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 107031] Dragging and dropping headings from Navigator to document creates a copy instead of a hyperlink (gtk3)

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107031

Adolfo Jayme  changed:

   What|Removed |Added

 Blocks||103182
Summary|Drag and droping headings   |Dragging and dropping
   |from navigator to document  |headings from Navigator to
   |create a copy instead of an |document creates a copy
   |hyperlink (gtk3)|instead of a hyperlink
   ||(gtk3)


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=103182
[Bug 103182] [META] GTK3-specific bugs
-- 
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 73966] FORMATTING: bullets images should resize with text

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=73966

Luke  changed:

   What|Removed |Added

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

-- 
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 106390] Table borders go over footer and page boundary

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106390

--- Comment #7 from Mark Hung  ---
Hi Luke,

There is still another part of the patch on the way under review. I suggest to
create another issue ( in case the test case is different. ).

-- 
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 49145] EDITING: Form-Wizard should propose listfields for foreign keys in a table

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=49145

mhonline  changed:

   What|Removed |Added

 CC||mh...@gmx.net

--- Comment #16 from mhonline  ---
to solve the weakness of linking records via listbox (catchword: horizontal
scrolling records to find selfexplaining keys) the requested enhancement would
really be helpful. So what is the status about this?

martin

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


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

2017-04-08 Thread Markus Mohrhard
 sc/Module_sc.mk|1 
 sc/UITest_search_replace.mk|   15 +
 sc/qa/uitest/search_replace/data/tdf106194.ods |binary
 sc/qa/uitest/search_replace/replace.py |   68 +
 4 files changed, 84 insertions(+)

New commits:
commit 0bc1e8104719b1ed9f8271f9dde407f10fb88df0
Author: Markus Mohrhard 
Date:   Sat Apr 8 22:23:54 2017 +0200

add test for tdf#106194

Change-Id: I63ae36e0e218e7e40ed28024d91b0d7a9654e965
Reviewed-on: https://gerrit.libreoffice.org/36305
Reviewed-by: Markus Mohrhard 
Tested-by: Markus Mohrhard 

diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
index 4659f55ebfeb..312cbce4daa8 100644
--- a/sc/Module_sc.mk
+++ b/sc/Module_sc.mk
@@ -142,6 +142,7 @@ $(eval $(call gb_Module_add_uicheck_targets,sc,\
UITest_range_name \
UITest_hide_cols \
UITest_autofilter \
+   UITest_search_replace \
 ))
 
 # vim: set noet sw=4 ts=4:
diff --git a/sc/UITest_search_replace.mk b/sc/UITest_search_replace.mk
new file mode 100644
index ..6888b3018c2f
--- /dev/null
+++ b/sc/UITest_search_replace.mk
@@ -0,0 +1,15 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# 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/.
+#
+
+$(eval $(call gb_UITest_UITest,search_replace))
+
+$(eval $(call gb_UITest_add_modules,search_replace,$(SRCDIR)/sc/qa/uitest,\
+   search_replace/ \
+))
+# vim: set noet sw=4 ts=4:
diff --git a/sc/qa/uitest/search_replace/data/tdf106194.ods 
b/sc/qa/uitest/search_replace/data/tdf106194.ods
new file mode 100644
index ..acc4199f3a49
Binary files /dev/null and b/sc/qa/uitest/search_replace/data/tdf106194.ods 
differ
diff --git a/sc/qa/uitest/search_replace/replace.py 
b/sc/qa/uitest/search_replace/replace.py
new file mode 100644
index ..ae28348be22f
--- /dev/null
+++ b/sc/qa/uitest/search_replace/replace.py
@@ -0,0 +1,68 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# 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/.
+#
+
+from uitest.framework import UITestCase
+from uitest.path import get_srcdir_url
+
+from libreoffice.uno.propertyvalue import mkPropertyValues
+from libreoffice.calc.document import get_row
+
+from uitest.uihelper.common import get_state_as_dict
+
+import time
+
+def get_url_for_data_file(file_name):
+return get_srcdir_url() + "/sc/qa/uitest/search_replace/data/" + file_name
+
+class ReplaceTest(UITestCase):
+
+def test_tdf106194(self):
+doc = self.ui_test.load_file(get_url_for_data_file("tdf106194.ods"))
+
+xGridWin = self.xUITest.getTopFocusWindow().getChild("grid_window")
+
+
self.ui_test.execute_modeless_dialog_through_command(".uno:SearchDialog")
+
+xSearchDlg = self.xUITest.getTopFocusWindow()
+
+xSearchTerm = xSearchDlg.getChild("searchterm")
+xSearchTerm.executeAction("TYPE", mkPropertyValues({"TEXT": "1"}))
+xReplaceTerm = xSearchDlg.getChild("replaceterm")
+xReplaceTerm.executeAction("TYPE", mkPropertyValues({"TEXT": "2"}))
+
+xSearchBtn = xSearchDlg.getChild("search")
+xSearchBtn.executeAction("CLICK", tuple())
+
+self.assertEqual(get_state_as_dict(xGridWin)["CurrentRow"], "1")
+lastTopVisibleRow = int(get_state_as_dict(xGridWin)["TopVisibleRow"])
+
+# start replacing
+xReplaceBtn = xSearchDlg.getChild("replace")
+xReplaceBtn.executeAction("CLICK", tuple())
+
+# check position and visible range
+self.assertEqual(get_state_as_dict(xGridWin)["CurrentRow"], "199")
+currentTopVisibleRow = 
int(get_state_as_dict(xGridWin)["TopVisibleRow"])
+self.assertGreater(currentTopVisibleRow, lastTopVisibleRow)
+
+lastTopVisibleRow = currentTopVisibleRow
+
+# replace again
+xReplaceBtn.executeAction("CLICK", tuple())
+
+# check position and visible range
+self.assertEqual(get_state_as_dict(xGridWin)["CurrentRow"], "499")
+currentTopVisibleRow = 
int(get_state_as_dict(xGridWin)["TopVisibleRow"])
+self.assertGreater(currentTopVisibleRow, lastTopVisibleRow)
+
+xReplaceBtn.executeAction("CLICK", tuple())
+
+xCloseBtn = xSearchDlg.getChild("close")
+
+self.ui_test.close_dialog_through_button(xCloseBtn)
+
+self.ui_test.close_doc()
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org

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

2017-04-08 Thread Markus Mohrhard
 sc/source/ui/condformat/condformatdlg.cxx |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 42aece949ec96c775b31216bddd723aa5321e966
Author: Markus Mohrhard 
Date:   Sun Apr 9 01:21:25 2017 +0200

don't replace content of formula field when selecting range, tdf#58635

Change-Id: I85953fdd7c2b7f193b2a815564526d985ae2bba4
Reviewed-on: https://gerrit.libreoffice.org/36309
Reviewed-by: Markus Mohrhard 
Tested-by: Markus Mohrhard 

diff --git a/sc/source/ui/condformat/condformatdlg.cxx 
b/sc/source/ui/condformat/condformatdlg.cxx
index a39a9cea2e55..ad3617c9666f 100644
--- a/sc/source/ui/condformat/condformatdlg.cxx
+++ b/sc/source/ui/condformat/condformatdlg.cxx
@@ -657,7 +657,10 @@ void ScCondFormatDlg::SetReference(const ScRange& rRef, 
ScDocument*)
 
 OUString aRefStr(rRef.Format(nFlags, mpViewData->GetDocument(),
 
ScAddress::Details(mpViewData->GetDocument()->GetAddressConvention(), 0, 0)));
-pEdit->SetRefString( aRefStr );
+if (pEdit != mpEdRange)
+pEdit->ReplaceSelected(aRefStr);
+else
+pEdit->SetRefString( aRefStr );
 updateTitle();
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2017-04-08 Thread Markus Mohrhard
 sc/source/ui/uitest/uiobject.cxx |6 ++
 1 file changed, 6 insertions(+)

New commits:
commit 5a345f714f67594bb9e3f8914e89975a937872cf
Author: Markus Mohrhard 
Date:   Sat Apr 8 22:21:35 2017 +0200

uitest: add state about currently visible range

Change-Id: Ie07ef2379086f84f9596771bc91683fa3e9bcd32
Reviewed-on: https://gerrit.libreoffice.org/36304
Tested-by: Jenkins 
Reviewed-by: Markus Mohrhard 

diff --git a/sc/source/ui/uitest/uiobject.cxx b/sc/source/ui/uitest/uiobject.cxx
index 96f07bc35743..c3f8b50ec1a9 100644
--- a/sc/source/ui/uitest/uiobject.cxx
+++ b/sc/source/ui/uitest/uiobject.cxx
@@ -56,6 +56,12 @@ StringMap ScGridWinUIObject::get_state()
 aMap["CurrentColumn"] = 
OUString::number(mxGridWindow->getViewData()->GetCurX());
 aMap["CurrentRow"] = 
OUString::number(mxGridWindow->getViewData()->GetCurY());
 
+ScSplitPos eAlign = mxGridWindow->getViewData()->GetActivePart();
+ScHSplitPos eAlignX = WhichH(eAlign);
+ScVSplitPos eAlignY = WhichV(eAlign);
+aMap["TopVisibleRow"] = 
OUString::number(mxGridWindow->getViewData()->GetPosY(eAlignY));
+aMap["TopVisibleColumn"] = 
OUString::number(mxGridWindow->getViewData()->GetPosX(eAlignX));
+
 ScRangeList aMarkedArea = 
mxGridWindow->getViewData()->GetMarkData().GetMarkedRanges();
 OUString aMarkedAreaString;
 ScRangeStringConverter::GetStringFromRangeList(aMarkedAreaString, 
, mxGridWindow->getViewData()->GetDocument(), 
formula::FormulaGrammar::CONV_OOO);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 104262] Welcome to Bugzilla!

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104262

M Travis  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |travi...@g.ucla.edu
   |desktop.org |
Summary|Import Corel Print House|Welcome to Bugzilla!
   |files   |

--- Comment #4 from M Travis  ---
Did CorelDRAW replace Corel Print House?
https://www.everipedia.com/CorelDRAW/

-- 
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 103183] Pasting text from OneNote fails

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103183

--- Comment #12 from Matt  ---
Bug still present in 5.3.1.2 (x64).

-- 
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 106390] Table borders go over footer and page boundary

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106390

Luke  changed:

   What|Removed |Added

 CC||vmik...@collabora.co.uk

--- Comment #6 from Luke  ---
Mark,
https://cgit.freedesktop.org/libreoffice/core/commit/?id=b13a0a27444ffbf9ef45cb16ad69fdff0dc64306

breaks tables that have split and merged cells. For example, the merged cell in
attachment 114436 is not rendered correctly after your patch. 

Should I file a new report or do you want to track that here?

-- 
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 39053] EMF are not drawn correctly ( gradient and text drawn correctly now, but the borders aren't)

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=39053

Bartosz  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |gan...@poczta.onet.pl
   |desktop.org |

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


[Libreoffice-bugs] [Bug 39053] EMF are not drawn correctly ( gradient and text drawn correctly now, but the borders aren't)

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=39053

Bartosz  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

-- 
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


CppCheck Report Update

2017-04-08 Thread cppcheck.libreoff...@gmail.com

A new cppcheck report is available at : 
http://dev-builds.libreoffice.org/cppcheck_reports/master/


Note:
The script generating this report was run at :
2017-09-04_02:32:21 with user buildslave at host vm140 as 
/home/buildslave/source/dev-tools/cppcheck/cppcheck-report.sh -s 
/home/buildslave/source/libo-core -c /home/buildslave/source/cppcheck -w 
/home/buildslave/tmp/www

It can be found and improved here:

https://gerrit.libreoffice.org/gitweb?p=dev-tools.git;a=blob;f=cppcheck/cppcheck-report.sh


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


[Libreoffice-bugs] [Bug 55236] FILESAVE: Use previously selected settings, or own set of default values, when exporting a CSV file

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=55236

m.a.riosv  changed:

   What|Removed |Added

 CC||miguelangelrv@libreoffice.o
   ||rg

--- Comment #9 from m.a.riosv  ---
Verified, thanks @Bernhard.
Version: 5.4.0.0.alpha0+
Build ID: 2f7b05988e6853ddac68b614e9d83e05af08bc0f
CPU threads: 4; OS: Windows 6.19; UI render: GL; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-04-08_00:27:58
Locale: es-ES (es_ES); Calc: CL

Looks working properly for all options.
A reset defaults buttom could help less technical users.

Could it b backported?

I think should be resolved as fixed.

-- 
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 103859] [META] EMF/WMF (Windows Metafile) bugs and enhancements

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=103859

Bartosz  changed:

   What|Removed |Added

 Depends on||107034, 107019, 107016


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=107016
[Bug 107016] EMF+ EmfPlusRecordTypeDrawRects is not implemented
https://bugs.documentfoundation.org/show_bug.cgi?id=107019
[Bug 107019] EMF+ EmfPlusRecordTypeDrawBeziers is not implemented
https://bugs.documentfoundation.org/show_bug.cgi?id=107034
[Bug 107034] EMF+ EmfPlusDrawPie is not implemented
-- 
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 105288] MailMerge: when running e-mail using a macro only a few messages get sent

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=105288

--- Comment #15 from Doug Hutcheson  ---
(In reply to Doug Hutcheson from comment #14)

I should add that I tried it with a single recipient and that message was not
sent.

-- 
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 102062] [META] Notebookbar: bugs and enhancements

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102062

Aron Budea  changed:

   What|Removed |Added

 Depends on||106964


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=106964
[Bug 106964] Glade notebookbar.ui can't be edit
-- 
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 106964] Glade notebookbar.ui can't be edit

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106964

Aron Budea  changed:

   What|Removed |Added

 CC||ba...@caesar.elte.hu
 Blocks||102062


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102062
[Bug 102062] [META] Notebookbar: bugs and enhancements
-- 
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 106893] Black area when closing bottom toolbar after a change

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106893

--- Comment #2 from Ximeng Zu  ---
(In reply to Ximeng Zu from comment #1)
> After examining the code. I think this bug is largely due to improper
> handling of soft keyboard open/close actions. More specifically, there are
> two ways of opening/closing soft keyboard. One is through the button view,
> the other is through touching on text and pressing back button on the
> device. When the user uses the two ways alternately, e.g. clicking on button
> view to open and press back button on device to close, there is this bug
> occurring.

I was not totally correct in this comment. This bug is not related to soft
keyboard. Rather, it is about a lack of update somewhere. I've been looking for
it, but not much luck.

-- 
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 107040] Calc, SUBTOTAL function: add help for function indexes 101-111

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107040

--- Comment #1 from Aron Budea  ---
ODF 1.2 specs:
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part2.html#__RefHeading__1018580_715980110

-- 
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 60477] Function SUBTOTAL does not comply with ODF Standard v1.2

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=60477

Aron Budea  changed:

   What|Removed |Added

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

-- 
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 93171] Subtotal function with function indexes 101-111 don' t update when rows are hidden (hard recalculation is needed)

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93171

Aron Budea  changed:

   What|Removed |Added

   Keywords||implementationError
 CC||ba...@caesar.elte.hu
Version|unspecified |4.4.0.3 release
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=60
   ||477
Summary|Subtotal function does not  |Subtotal function with
   |ignore hidden rows (hard|function indexes 101-111
   |recalculation:  |don't update when rows are
   |CTRL+SHIFT+F9 needed)   |hidden (hard recalculation
   ||is needed)
 OS|Windows (All)   |All

--- Comment #10 from Aron Budea  ---
Adjusting earliest version, since function indexes 101-111 started working in
4.4.0.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 59316] Conditional formatting: Usability improvements for the cell range picker in new conditional formatting dialog

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=59316

--- Comment #3 from Markus Mohrhard  ---
The part about the replacing of the string has been implemented as part of Bug
58635.

The other part requires a complete redesign of our formula suggestion handling
so I doubt that it will be implemented any time soon.

-- 
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 87351] [META] Conditional formatting bugs and enhancements

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87351
Bug 87351 depends on bug 58635, which changed state.

Bug 58635 Summary: Calc - CONDITIONAL FORMATTING: dysfunctional during the cell 
selection of a condition.
https://bugs.documentfoundation.org/show_bug.cgi?id=58635

   What|Removed |Added

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

-- 
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 58635] Calc - CONDITIONAL FORMATTING: dysfunctional during the cell selection of a condition.

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=58635

Markus Mohrhard  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |markus.mohrhard@googlemail.
   |desktop.org |com

-- 
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 106985] [UI] SUBTOTAL (10X is not updated when hiding a row

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106985

Aron Budea  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||ba...@caesar.elte.hu
 Resolution|--- |DUPLICATE

--- Comment #4 from Aron Budea  ---
This seems to be a duplicate of bug 93171.

I have filed bug 107040 on the documentation gap.

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

-- 
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 93171] Subtotal function does not ignore hidden rows ( hard recalculation: CTRL+SHIFT+F9 needed)

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93171

Aron Budea  changed:

   What|Removed |Added

 CC||gmoll...@us.es

--- Comment #9 from Aron Budea  ---
*** Bug 106985 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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 107040] New: Calc, SUBTOTAL function: add help for function indexes 101-111

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107040

Bug ID: 107040
   Summary: Calc, SUBTOTAL function: add help for function indexes
101-111
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Documentation
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ba...@caesar.elte.hu
CC: olivier.hal...@documentfoundation.org

Currently this is the help for SUBTOTAL function:
https://help.libreoffice.org/index.php?title=Calc/Mathematical_Functions=en-US=UNIX=5.4#bm_id3165644

It only shows 1-11 as available function indexes. Codes have been extended with
indexes 101-111 to comply with the Excel function of the same name:
https://support.office.com/en-us/article/SUBTOTAL-function-7b027003-f060-4ade-9040-e478765b9939

The only difference between the two ranges is that the 101-111 functions
disregard hidden rows.

The new function indexes were added with this commit:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=40575c20ff9cd693b8a6d3627274ce6d745e0581

Setting to NEW based on the referenced sources.

-- 
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 107040] Calc, SUBTOTAL function: add help for function indexes 101-111

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107040

Aron Budea  changed:

   What|Removed |Added

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


[Libreoffice-bugs] [Bug 106520] FILEOPEN xlsx: black square where image should be

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106520

--- Comment #7 from Thorsten Behrens (CIB)  ---
The content of attachment 131849 has been deleted for the following reason:

removing document

-- 
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 86509] Conditional formatting data bar colors should be in main dialog

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=86509

--- Comment #2 from Markus Mohrhard  ---
The problem is that we have more than one color. The databar entry in the list
would need to be expanded significantly.

-- 
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 86514] Format – Conditional Formatting – Colour Scale... should show more entries in colour dropdowns

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=86514

Markus Mohrhard  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #9 from Markus Mohrhard  ---
This has been fixed by converting to the new color widget.

-- 
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 87351] [META] Conditional formatting bugs and enhancements

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87351
Bug 87351 depends on bug 86514, which changed state.

Bug 86514 Summary: Format – Conditional Formatting – Colour Scale... should 
show more entries in colour dropdowns
https://bugs.documentfoundation.org/show_bug.cgi?id=86514

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

-- 
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 61313] CONDITIONAL FORMATTING: Icon set should have a color reverse switch

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=61313

Markus Mohrhard  changed:

   What|Removed |Added

   Keywords||difficultyInteresting,
   ||easyHack, skillCpp, skillUI

--- Comment #4 from Markus Mohrhard  ---
The remaining part that needs implementation for this feature is to introduce
advanced configuration solutions for the icon set entry in the conditional
format dialog.

The code for the icon set entry in the dialog is in sc/source/ui/condformatdlg

The code for the icon set model part, including the reverse flag, the
configuration that allows any image for an icon can be found in
sc/inc/colorscale.hxx and sc/source/core/data/colorscale.cxx

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


[Libreoffice-bugs] [Bug 59415] UI: Allow 'Find & Replace - Styles' for Styles used as CONDITIONAL FORMATTING

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=59415

Markus Mohrhard  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #2 from Markus Mohrhard  ---
See the comment in Bug 59413 for the explanation why this is not a good idea.

-- 
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 102847] [META] Quick Find, Search and Replace

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102847
Bug 102847 depends on bug 59415, which changed state.

Bug 59415 Summary: UI: Allow 'Find & Replace - Styles' for Styles used as 
CONDITIONAL FORMATTING
https://bugs.documentfoundation.org/show_bug.cgi?id=59415

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

-- 
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 87351] [META] Conditional formatting bugs and enhancements

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87351
Bug 87351 depends on bug 59415, which changed state.

Bug 59415 Summary: UI: Allow 'Find & Replace - Styles' for Styles used as 
CONDITIONAL FORMATTING
https://bugs.documentfoundation.org/show_bug.cgi?id=59415

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

-- 
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 102847] [META] Quick Find, Search and Replace

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102847
Bug 102847 depends on bug 59413, which changed state.

Bug 59413 Summary: UI: Allow Styles only used in CONDITIONAL FORMATTING for 
'Find & Replace - Styles'
https://bugs.documentfoundation.org/show_bug.cgi?id=59413

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

-- 
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 87351] [META] Conditional formatting bugs and enhancements

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87351
Bug 87351 depends on bug 59413, which changed state.

Bug 59413 Summary: UI: Allow Styles only used in CONDITIONAL FORMATTING for 
'Find & Replace - Styles'
https://bugs.documentfoundation.org/show_bug.cgi?id=59413

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

-- 
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 59415] UI: Allow 'Find & Replace - Styles' for Styles used as CONDITIONAL FORMATTING

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=59415
Bug 59415 depends on bug 59413, which changed state.

Bug 59413 Summary: UI: Allow Styles only used in CONDITIONAL FORMATTING for 
'Find & Replace - Styles'
https://bugs.documentfoundation.org/show_bug.cgi?id=59413

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

-- 
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 59413] UI: Allow Styles only used in CONDITIONAL FORMATTING for ' Find & Replace - Styles'

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=59413

Markus Mohrhard  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #4 from Markus Mohrhard  ---
This request makes no sense.

You can not replace the style used by a conditional format like this. The style
is part of the conditional format and not part of the document.

This would just lead to inconsistencies.

-- 
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 105136] TextCursor gotoNextWord method fails when paragraph does not end in period

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=105136

raal  changed:

   What|Removed |Added

   Keywords|bibisectRequest |bibisected, bisected
 CC||qui...@gmail.com,
   ||r...@post.cz

--- Comment #5 from raal  ---
This seems to have begun at the below commit.
Adding Cc: to Tomaž Vajngerl; Could you possibly take a look at this one?
Thanks

8e048850e03974bcdf2cf6943324a88c53a1fed3 is the first bad commit
commit 8e048850e03974bcdf2cf6943324a88c53a1fed3
Author: Norbert Thiebaud 
Date:   Tue Aug 4 23:59:48 2015 -0700

source sha:8eca4da70506e1e6c2e4b600262cced93aba8c96

author  Tomaž Vajngerl  2015-07-31 07:54:48
(GMT)
committer   Tomaž Vajngerl    2015-08-04 06:28:15
(GMT)
commit  8eca4da70506e1e6c2e4b600262cced93aba8c96 (patch)
treed8c4158af8263b94ee48b4fad5daf50c755e4938
parent  a933e01a54f08132c2d8699f7c6851a8b493d5dc (diff)
tdf#89154 stop at paragraph end when using CTRL+Right (or Left)

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


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

2017-04-08 Thread Markus Mohrhard
 sc/source/ui/view/viewfun2.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit dbc616c0021b86e6365930ba581818fea280d1a8
Author: Markus Mohrhard 
Date:   Sat Apr 8 21:13:56 2017 +0200

actually show the newly selected cell, tdf#106194

Change-Id: I0c9f839cbe55f2670602567e61dc4aba77fbef61
Reviewed-on: https://gerrit.libreoffice.org/36303
Tested-by: Jenkins 
Reviewed-by: Markus Mohrhard 

diff --git a/sc/source/ui/view/viewfun2.cxx b/sc/source/ui/view/viewfun2.cxx
index 19e441eade83..b7ee8dd55eb6 100644
--- a/sc/source/ui/view/viewfun2.cxx
+++ b/sc/source/ui/view/viewfun2.cxx
@@ -1943,6 +1943,7 @@ bool ScViewFunc::SearchAndReplace( const SvxSearchItem* 
pSearchItem,
 ( nTab == nOldTab ) &&
 ( nCol != nOldCol || nRow != nOldRow ) )
 {
+AlignToCursor(nCol, nRow, SC_FOLLOW_JUMP);
 SetCursor( nCol, nRow, true );
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 40068] LibreOffice doesn' t remember the search path when saving Basic code and dialogues to a file.

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=40068

--- Comment #12 from Johnny Rosenberg  ---
Tested this today with LibreOffice Calc 5.2.6.2, Ubuntu 14.04. The problem is
still there.

-- 
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 106922] On 5.3.1.2 Fr-version: I get a bad printing on headers misleading number and letter

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106922

--- Comment #1 from proulxmich...@tlb.sympatico.ca ---
Find problem in Header and Footer section: bad spelling title. I don't know why
but it was a bad spelling!

Now it is resolved!

-- 
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: 2 commits - sc/uiconfig sd/uiconfig sw/uiconfig

2017-04-08 Thread Szymon Kłos
 sc/uiconfig/scalc/popupmenu/notebookbar.xml|2 ++
 sc/uiconfig/scalc/ui/notebookbar.ui|   12 
 sd/uiconfig/simpress/popupmenu/notebookbar.xml |2 ++
 sd/uiconfig/simpress/ui/customanimationspanelhorizontal.ui |6 ++
 sd/uiconfig/simpress/ui/notebookbar.ui |5 +
 sd/uiconfig/simpress/ui/slidetransitionspanelhorizontal.ui |1 +
 sw/uiconfig/swriter/popupmenu/notebookbar.xml  |2 ++
 7 files changed, 30 insertions(+)

New commits:
commit 9ef71cffd80294f57063d38fe864c3b481ce6f51
Author: Szymon Kłos 
Date:   Sat Apr 8 22:57:03 2017 +0200

Notebookbar: add new file and recent docs to the menu

Change-Id: Ib2d7e022c19dc363ba7e7123c4f3de9c7e8dd0f5

diff --git a/sc/uiconfig/scalc/popupmenu/notebookbar.xml 
b/sc/uiconfig/scalc/popupmenu/notebookbar.xml
index 29356d5c8281..b470c0e57c31 100644
--- a/sc/uiconfig/scalc/popupmenu/notebookbar.xml
+++ b/sc/uiconfig/scalc/popupmenu/notebookbar.xml
@@ -8,7 +8,9 @@
  *
 -->
 http://openoffice.org/2001/menu;>
+  
   
+  
   
   
   
diff --git a/sd/uiconfig/simpress/popupmenu/notebookbar.xml 
b/sd/uiconfig/simpress/popupmenu/notebookbar.xml
index 7814a63c3f71..9295fefe7487 100644
--- a/sd/uiconfig/simpress/popupmenu/notebookbar.xml
+++ b/sd/uiconfig/simpress/popupmenu/notebookbar.xml
@@ -8,7 +8,9 @@
  *
 -->
 http://openoffice.org/2001/menu;>
+  
   
+  
   
   
   
diff --git a/sw/uiconfig/swriter/popupmenu/notebookbar.xml 
b/sw/uiconfig/swriter/popupmenu/notebookbar.xml
index d37082e53a14..26168beb00e4 100644
--- a/sw/uiconfig/swriter/popupmenu/notebookbar.xml
+++ b/sw/uiconfig/swriter/popupmenu/notebookbar.xml
@@ -8,7 +8,9 @@
  *
 -->
 http://openoffice.org/2001/menu;>
+  
   
+  
   
   
   
commit 3b5d6d58de9aaa52d64cec4fd000eb032edd08a4
Author: Szymon Kłos 
Date:   Sat Apr 8 13:12:13 2017 +0200

Notebookbar: vertical alignment

Change-Id: Iacf2adf834d71267ba8d0a4ab69e6caec4dde1c3

diff --git a/sc/uiconfig/scalc/ui/notebookbar.ui 
b/sc/uiconfig/scalc/ui/notebookbar.ui
index 9ac3e0480b0c..b35d37a82bd7 100644
--- a/sc/uiconfig/scalc/ui/notebookbar.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar.ui
@@ -415,6 +415,7 @@
   
 True
 False
+center
 vertical
 
   
@@ -500,6 +501,7 @@
   
 True
 False
+center
 vertical
 
   
@@ -1207,6 +1209,7 @@
 
   
 True
+center
 False
 
   
@@ -1378,6 +1381,7 @@
 
   
 True
+center
 False
 vertical
 
@@ -1437,6 +1441,7 @@
 
   
 True
+center
 False
 
   
@@ -1592,6 +1597,7 @@
 
   
 True
+center
 False
 vertical
 
@@ -2063,6 +2069,7 @@
   
 True
 False
+center
 vertical
 
   
@@ -2340,6 +2347,7 @@
   
 True
 False
+center
 vertical
 
   
@@ -2424,6 +2432,7 @@
   
 True
 False
+center
 vertical
 
   
@@ -2808,6 +2817,7 @@
   
 True
 False
+center
 vertical
 
   
@@ -2865,6 +2875,7 @@
   
 True
 False
+center
 vertical
 
   
@@ -3184,6 +3195,7 @@
   
 True
 False
+center
 vertical
 
   
diff --git a/sd/uiconfig/simpress/ui/customanimationspanelhorizontal.ui 
b/sd/uiconfig/simpress/ui/customanimationspanelhorizontal.ui
index 

[Libreoffice-bugs] [Bug 87351] [META] Conditional formatting bugs and enhancements

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87351
Bug 87351 depends on bug 95617, which changed state.

Bug 95617 Summary: Removal of conditional formatting not registered as an undo
https://bugs.documentfoundation.org/show_bug.cgi?id=95617

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
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: 2 commits - sc/inc sc/qa sc/source

2017-04-08 Thread Markus Mohrhard
 sc/inc/conditio.hxx   |5 +++
 sc/inc/globstr.hrc|4 +-
 sc/qa/unit/ucalc.hxx  |3 +
 sc/qa/unit/ucalc_condformat.cxx   |   41 +
 sc/source/core/data/conditio.cxx  |   37 +++
 sc/source/ui/docshell/docfunc.cxx |   36 +-
 sc/source/ui/inc/undoblk.hxx  |   21 +
 sc/source/ui/src/globstr.src  |5 +++
 sc/source/ui/undo/undoblk.cxx |   60 ++
 9 files changed, 203 insertions(+), 9 deletions(-)

New commits:
commit 55f81ec93752a0b6f7ee2356db3c8d73d550d1e6
Author: Markus Mohrhard 
Date:   Sat Apr 8 20:29:45 2017 +0200

add test for tdf#95617

Change-Id: I8acab5af4dfc8f058eb9624abafe63e212ddb437
Reviewed-on: https://gerrit.libreoffice.org/36296
Tested-by: Jenkins 
Reviewed-by: Markus Mohrhard 

diff --git a/sc/qa/unit/ucalc.hxx b/sc/qa/unit/ucalc.hxx
index d616f8cb5b9b..de92fe9245ce 100644
--- a/sc/qa/unit/ucalc.hxx
+++ b/sc/qa/unit/ucalc.hxx
@@ -499,6 +499,8 @@ public:
 void testCondFormatEndsWithStr();
 void testCondFormatEndsWithVal();
 
+void testCondFormatUndoList();
+
 void testImportStream();
 void testDeleteContents();
 void testTransliterateText();
@@ -762,6 +764,7 @@ public:
 CPPUNIT_TEST(testCondFormatEndsWithVal);
 CPPUNIT_TEST(testCondFormatUpdateReferenceDelRow);
 CPPUNIT_TEST(testCondFormatUpdateReferenceInsRow);
+CPPUNIT_TEST(testCondFormatUndoList);
 CPPUNIT_TEST(testIconSet);
 CPPUNIT_TEST(testDataBarLengthAutomaticAxis);
 CPPUNIT_TEST(testDataBarLengthMiddleAxis);
diff --git a/sc/qa/unit/ucalc_condformat.cxx b/sc/qa/unit/ucalc_condformat.cxx
index 391766f9f146..c3fe3ed3afcf 100644
--- a/sc/qa/unit/ucalc_condformat.cxx
+++ b/sc/qa/unit/ucalc_condformat.cxx
@@ -980,4 +980,45 @@ void Test::testCondFormatUpdateReferenceInsRow()
 m_pDoc->DeleteTab(0);
 }
 
+void Test::testCondFormatUndoList()
+{
+m_pDoc->InsertTab(0, "test");
+
+ScConditionEntry* pEntry = new ScConditionEntry(SC_COND_EQUAL, "B6", "", 
m_pDoc, ScAddress(0, 5, 0), "", "", formula::FormulaGrammar::GRAM_DEFAULT, 
formula::FormulaGrammar::GRAM_DEFAULT);
+
+ScConditionalFormat* pFormat = new ScConditionalFormat(0, m_pDoc);
+pFormat->AddEntry(pEntry);
+pFormat->SetRange(ScRange(0, 0, 0, 0, 5, 0));
+m_pDoc->AddCondFormat(pFormat, 0);
+m_pDoc->AddCondFormatData(pFormat->GetRange(), 0, pFormat->GetKey());
+
+ScDocFunc& rFunc = getDocShell().GetDocFunc();
+
+CPPUNIT_ASSERT_EQUAL(size_t(1), m_pDoc->GetCondFormList(0)->size());
+for (SCROW nRow = 0; nRow <= 5; ++nRow)
+CPPUNIT_ASSERT(m_pDoc->GetCondFormat(0, nRow, 0));
+
+ScConditionalFormatList* pNewList = new ScConditionalFormatList();
+
+rFunc.SetConditionalFormatList(pNewList, 0);
+
+CPPUNIT_ASSERT_EQUAL(size_t(0), m_pDoc->GetCondFormList(0)->size());
+for (SCROW nRow = 0; nRow <= 5; ++nRow)
+CPPUNIT_ASSERT(!m_pDoc->GetCondFormat(0, nRow, 0));
+
+m_pDoc->GetUndoManager()->Undo();
+
+CPPUNIT_ASSERT_EQUAL(size_t(1), m_pDoc->GetCondFormList(0)->size());
+for (SCROW nRow = 0; nRow <= 5; ++nRow)
+CPPUNIT_ASSERT(m_pDoc->GetCondFormat(0, nRow, 0));
+
+m_pDoc->GetUndoManager()->Redo();
+
+CPPUNIT_ASSERT_EQUAL(size_t(0), m_pDoc->GetCondFormList(0)->size());
+for (SCROW nRow = 0; nRow <= 5; ++nRow)
+CPPUNIT_ASSERT(!m_pDoc->GetCondFormat(0, nRow, 0));
+
+m_pDoc->DeleteTab(0);
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
commit effa6dcb553bd3fc6df89ac88604816feda98873
Author: Markus Mohrhard 
Date:   Sat Apr 8 19:57:04 2017 +0200

support undo of whole conditional format list, tdf#95617

Change-Id: I3ff0ddb05f794064e33164c60cd1b4e6b89dbcca
Reviewed-on: https://gerrit.libreoffice.org/36295
Tested-by: Jenkins 
Reviewed-by: Markus Mohrhard 

diff --git a/sc/inc/conditio.hxx b/sc/inc/conditio.hxx
index bba11bc12378..631d0449cc13 100644
--- a/sc/inc/conditio.hxx
+++ b/sc/inc/conditio.hxx
@@ -511,6 +511,11 @@ public:
 typedef ConditionalFormatContainer::iterator iterator;
 typedef ConditionalFormatContainer::const_iterator const_iterator;
 
+ScRangeList GetCombinedRange() const;
+
+void RemoveFromDocument(ScDocument* pDoc) const;
+void AddToDocument(ScDocument* pDoc) const;
+
 iterator begin();
 const_iterator begin() const;
 iterator end();
diff --git a/sc/inc/globstr.hrc b/sc/inc/globstr.hrc
index 793b59c9e24b..6696945b7b23 100644
--- a/sc/inc/globstr.hrc
+++ b/sc/inc/globstr.hrc
@@ -662,7 +662,9 @@
 
 #define STR_QUERY_PIVOTTABLE_DELTAB 535
 
-#define SC_GLOBSTR_STR_COUNT536 /**< the count of permanently 
resident strings */
+#define STR_UNDO_CONDFORMAT_LIST536
+
+#define 

[Libreoffice-bugs] [Bug 107039] Crash on Close after acknowledging save changes

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107039

--- Comment #1 from Matt  ---
Created attachment 132409
  --> https://bugs.documentfoundation.org/attachment.cgi?id=132409=edit
Database file that causes Base to hang.

-- 
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 107039] New: Crash on Close after acknowledging save changes

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107039

Bug ID: 107039
   Summary: Crash on Close after acknowledging save changes
   Product: LibreOffice
   Version: 5.3.1.2 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Base
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: posti...@comcast.net

Description:
Opened database, made changes, and when I closed, it asked to save changes.
I said yes. It hangs. I have to "end task" to get it off my screen. Now, when I
open that database, I have to recover it. I make simple change again, close,
say "yes" to save changes, and the same thing happens.

Steps to Reproduce:
1.Open attached GarageDatabase2.odb. Recover if necessary.
2.Edit OtherMaintenanceForm. Delete the "Notes" text box.
3.Save and close the form edit window.
4. Press red X in upper right of Base to close down. 
5. Answer appropriately to save changes (not sure why it asks me this...the
changes should be saved already since it is a database, but whatever).
6. Base hangs.
7. Changes are lost.

Actual Results:  
Hang forever.

Expected Results:
Close quickly.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/57.0.2987.133 Safari/537.36

-- 
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 106920] Crash in: mdds::detail::throw_block_position_not_found( char const *, int, unsigned __int64, unsigned __int64, unsigned __int64)

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106920

--- Comment #4 from Darren K  ---
I followed the steps to sanitize my document at
https://wiki.documentfoundation.org/QA/Bugzilla/Sanitizing_Files_Before_Submission
as all the information in the document is sensitive.  Once I do this I am no
longer able to trigger the bug.  Do you have any suggestions on a different way
to sanitize the data that I can try?

-- 
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: uitest/impress_tests uitest/writer_tests

2017-04-08 Thread Markus Mohrhard
 uitest/impress_tests/backgrounds.py |4 ++--
 uitest/writer_tests/backgrounds.py  |4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 77997d2fb2edda1504856bf0d42266288a94b9f3
Author: Markus Mohrhard 
Date:   Sat Apr 8 22:40:15 2017 +0200

uitest: disable failing assert

Seems to be related to ff1f83dd08b7b0169301ffe0a53499a27af613b9

Change-Id: I75c750c1fced15c766dd7fce7eae675b57cba25e

diff --git a/uitest/impress_tests/backgrounds.py 
b/uitest/impress_tests/backgrounds.py
index e9a0a1d3d5c1..4e904899574c 100644
--- a/uitest/impress_tests/backgrounds.py
+++ b/uitest/impress_tests/backgrounds.py
@@ -37,8 +37,8 @@ class ImpressBackgrounds(UITestCase):
   
document.DrawPages.getByIndex(0).Background.FillGradient.StartIntensity, 100)
 self.assertEqual(
   
document.DrawPages.getByIndex(0).Background.FillGradient.EndIntensity, 100)
-self.assertEqual(
-  document.DrawPages.getByIndex(0).Background.FillGradientName, 
'Tango Green')
+#self.assertEqual(
+  #document.DrawPages.getByIndex(0).Background.FillGradientName, 
'Tango Green')
 elif btn == 'btnhatch':
 self.assertEqual(
   document.DrawPages.getByIndex(0).Background.FillHatch.Style, 
SINGLE )
diff --git a/uitest/writer_tests/backgrounds.py 
b/uitest/writer_tests/backgrounds.py
index da49a7526dc2..0e9d6a592c26 100644
--- a/uitest/writer_tests/backgrounds.py
+++ b/uitest/writer_tests/backgrounds.py
@@ -43,8 +43,8 @@ class WriterBackgrounds(UITestCase):
 
document.StyleFamilies.PageStyles.Standard.FillGradient.StartIntensity, 100)
 self.assertEqual(
 
document.StyleFamilies.PageStyles.Standard.FillGradient.EndIntensity, 100)
-self.assertEqual(
-document.StyleFamilies.PageStyles.Standard.FillGradientName, 
'Tango Green')
+#self.assertEqual(
+#document.StyleFamilies.PageStyles.Standard.FillGradientName, 
'Tango Green')
 elif btn == 'btnhatch':
 self.assertEqual(
 document.StyleFamilies.PageStyles.Standard.FillHatch.Style, 
SINGLE )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2017-04-08 Thread Caolán McNamara
 vcl/source/filter/wmf/enhwmf.cxx |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit cb13c3bc7c082246b255f270faf9459f1c24412c
Author: Caolán McNamara 
Date:   Sat Apr 8 21:41:22 2017 +0100

ofz#1069 avoid oom

Change-Id: I7b567f49651496969ca0da56de702f10e6a39494

diff --git a/vcl/source/filter/wmf/enhwmf.cxx b/vcl/source/filter/wmf/enhwmf.cxx
index 75089260335d..12f0d6232ff5 100644
--- a/vcl/source/filter/wmf/enhwmf.cxx
+++ b/vcl/source/filter/wmf/enhwmf.cxx
@@ -590,6 +590,8 @@ void EnhWMFReader::ReadAndDrawPolyPolygon()
 pWMF->SeekRel( 0x10 );
 // Number of polygons
 pWMF->ReadUInt32( nPoly ).ReadUInt32( nGesPoints );
+if (pWMF->Tell() >= nEndPos)
+return;
 if ( pWMF->good() &&
 ( nGesPoints < SAL_MAX_UINT32 / sizeof(Point) ) && //check against 
numeric overflowing
 ( nPoly < SAL_MAX_UINT32 / sizeof(sal_uInt16) ) &&
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 107038] online: Poco::Time* replacement with std::chrono

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107038

Michael Meeks  changed:

   What|Removed |Added

   Keywords||difficultyBeginner,
   ||easyHack, skillCpp,
   ||topicCleanup
   Priority|medium  |low
 Status|UNCONFIRMED |NEW
 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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 107037] online: Poco::Time* replacement with std::chrono

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107037

Michael Meeks  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Michael Meeks  ---


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

-- 
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 107038] online: Poco::Time* replacement with std::chrono

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107038

--- Comment #1 from Michael Meeks  ---
*** Bug 107037 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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 107038] New: online: Poco::Time* replacement with std::chrono

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107038

Bug ID: 107038
   Summary: online: Poco::Time* replacement with std::chrono
   Product: LibreOffice Online
   Version: unspecified
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: trivial
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: michael.me...@collabora.com

LibreOffice Online uses a rather frankensteinish mix of Poco::Timestamp and
std::chrono - we should move to using the latter consistently.

It would be good to move wsd/* first - since it doesn't use much Poco API
anymore - although it would be good to consider whether we need some
convenience wrappers around std::chrono to make it somewhat less verbose -
particularly the cast to milliseconds is very ugly.

Thanks !

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


[Libreoffice-bugs] [Bug 107036] New: Editing/formatting DOC, highlight field can't be deleted

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107036

Bug ID: 107036
   Summary: Editing/formatting DOC, highlight field can't be
deleted
   Product: LibreOffice
   Version: 5.3.2.2 release
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: al.c.middle...@gmail.com

Created attachment 132408
  --> https://bugs.documentfoundation.org/attachment.cgi?id=132408=edit
Example DOC, a table, with highlighted field that Writer cannot delete (Word
can delete)

Editing a DOC file, there are field highlighted in a table, that Word can
delete, but Writer cannot delete, and any text entered in table renders dark
gray highlight.

-- 
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 107037] New: online: Poco::Time* replacement with std::chrono

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107037

Bug ID: 107037
   Summary: online: Poco::Time* replacement with std::chrono
   Product: LibreOffice Online
   Version: unspecified
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: trivial
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: michael.me...@collabora.com

LibreOffice Online uses a rather frankensteinish mix of Poco::Timestamp and
std::chrono - we should move to using the latter consistently.

It would be good to move wsd/* first - since it doesn't use much Poco API
anymore - although it would be good to consider whether we need some
convenience wrappers around std::chrono to make it somewhat less verbose -
particularly the cast to milliseconds is very ugly.

Thanks !

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


[Libreoffice-commits] core.git: vcl/CppunitTest_vcl_bitmapprocessor_test.mk vcl/inc vcl/Module_vcl.mk vcl/qa

2017-04-08 Thread Tomaž Vajngerl
 vcl/CppunitTest_vcl_bitmapprocessor_test.mk |   56 
 vcl/Module_vcl.mk   |1 
 vcl/inc/BitmapProcessor.hxx |2 
 vcl/qa/cppunit/BitmapProcessorTest.cxx  |   63 
 4 files changed, 121 insertions(+), 1 deletion(-)

New commits:
commit 2fc6d1a1097cf52aa0845b016139e0bdbdfdeb6d
Author: Tomaž Vajngerl 
Date:   Sat Apr 8 19:29:37 2017 +0200

vcl: Bitmap processor test - test converting to "disabled" image

Change-Id: I7146d2c667ec439a07e709e0aba96c37dc780db4
Reviewed-on: https://gerrit.libreoffice.org/36293
Tested-by: Jenkins 
Reviewed-by: Tomaž Vajngerl 

diff --git a/vcl/CppunitTest_vcl_bitmapprocessor_test.mk 
b/vcl/CppunitTest_vcl_bitmapprocessor_test.mk
new file mode 100644
index ..76dc666465e7
--- /dev/null
+++ b/vcl/CppunitTest_vcl_bitmapprocessor_test.mk
@@ -0,0 +1,56 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# 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/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,vcl_bitmapprocessor_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,vcl_bitmapprocessor_test, \
+vcl/qa/cppunit/BitmapProcessorTest \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,vcl_bitmapprocessor_test,\
+boost_headers \
+))
+
+$(eval $(call gb_CppunitTest_set_include,vcl_bitmapprocessor_test,\
+$$(INCLUDE) \
+-I$(SRCDIR)/vcl/inc \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,vcl_bitmapprocessor_test, \
+comphelper \
+cppu \
+cppuhelper \
+sal \
+svt \
+test \
+tl \
+unotest \
+vcl \
+utl \
+$(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_use_api,vcl_bitmapprocessor_test,\
+udkapi \
+offapi \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,vcl_bitmapprocessor_test))
+$(eval $(call gb_CppunitTest_use_vcl,vcl_bitmapprocessor_test))
+
+$(eval $(call gb_CppunitTest_use_components,vcl_bitmapprocessor_test,\
+configmgr/source/configmgr \
+i18npool/util/i18npool \
+ucb/source/core/ucb1 \
+unotools/util/utl \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,vcl_bitmapprocessor_test))
+
+# vim: set noet sw=4 ts=4:
diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk
index a3c78c07b8e8..6232aa621135 100644
--- a/vcl/Module_vcl.mk
+++ b/vcl/Module_vcl.mk
@@ -138,6 +138,7 @@ endif
 $(eval $(call gb_Module_add_check_targets,vcl,\
CppunitTest_vcl_lifecycle \
CppunitTest_vcl_bitmap_test \
+   CppunitTest_vcl_bitmapprocessor_test \
CppunitTest_vcl_fontcharmap \
CppunitTest_vcl_font \
CppunitTest_vcl_fontmetric \
diff --git a/vcl/inc/BitmapProcessor.hxx b/vcl/inc/BitmapProcessor.hxx
index 8c07188ba19b..d76435c190fd 100644
--- a/vcl/inc/BitmapProcessor.hxx
+++ b/vcl/inc/BitmapProcessor.hxx
@@ -12,7 +12,7 @@
 
 #include 
 
-class BitmapProcessor
+class VCL_DLLPUBLIC BitmapProcessor
 {
 public:
 static BitmapEx createLightImage(const BitmapEx& rBitmapEx);
diff --git a/vcl/qa/cppunit/BitmapProcessorTest.cxx 
b/vcl/qa/cppunit/BitmapProcessorTest.cxx
new file mode 100644
index ..d2676da29d18
--- /dev/null
+++ b/vcl/qa/cppunit/BitmapProcessorTest.cxx
@@ -0,0 +1,63 @@
+/* -*- 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/.
+ */
+
+#include 
+#include 
+#include 
+#include 
+
+#include 
+#include 
+#include 
+#include 
+
+#include 
+#include 
+#include 
+#include 
+
+#include "BitmapProcessor.hxx"
+
+
+namespace
+{
+
+class BitmapProcessorTest : public CppUnit::TestFixture
+{
+void testDisabledImage();
+
+CPPUNIT_TEST_SUITE(BitmapProcessorTest);
+CPPUNIT_TEST(testDisabledImage);
+CPPUNIT_TEST_SUITE_END();
+};
+
+void BitmapProcessorTest::testDisabledImage()
+{
+Bitmap aBitmap(Size(3, 3), 24);
+{
+Bitmap::ScopedWriteAccess pWriteAccess(aBitmap);
+pWriteAccess->Erase(Color(0x00, 0x11, 0x22, 0x33));
+}
+BitmapEx aBitmapEx(aBitmap);
+BitmapEx 
aDisabledBitmapEx(BitmapProcessor::createDisabledImage(aBitmapEx));
+Bitmap aDisabledBitmap(aDisabledBitmapEx.GetBitmap());
+{
+Bitmap::ScopedReadAccess pReadAccess(aDisabledBitmap);
+Color aColor(pReadAccess->GetPixel(0, 0));
+CPPUNIT_ASSERT_EQUAL(ColorData(0x001E1E1E), aColor.GetColor());
+}
+}
+
+} // namespace
+
+CPPUNIT_TEST_SUITE_REGISTRATION(BitmapProcessorTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set 

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

2017-04-08 Thread Markus Mohrhard
 filter/source/msfilter/msdffimp.cxx |9 ++---
 sc/source/core/data/column.cxx  |   20 
 2 files changed, 22 insertions(+), 7 deletions(-)

New commits:
commit 32e9332a218f9e7441df158c81869b924e520193
Author: Markus Mohrhard 
Date:   Sat Apr 8 19:56:28 2017 +0200

support normal mark in deletion code

Change-Id: I8fd3ce2c180097546c21399d00337c619c880485
Reviewed-on: https://gerrit.libreoffice.org/36294
Tested-by: Jenkins 
Reviewed-by: Markus Mohrhard 

diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index c8a450e5aca0..1f081ca09e98 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -469,11 +469,23 @@ void ScColumn::ClearSelectionItems( const sal_uInt16* 
pWhich,const ScMarkData& r
 SCROW nTop;
 SCROW nBottom;
 
-if ( pAttrArray && rMark.IsMultiMarked() )
+if (pAttrArray)
 {
-ScMultiSelIter aMultiIter( rMark.GetMultiSelData(), nCol );
-while (aMultiIter.Next( nTop, nBottom ))
-pAttrArray->ClearItems(nTop, nBottom, pWhich);
+if (rMark.IsMultiMarked() )
+{
+ScMultiSelIter aMultiIter( rMark.GetMultiSelData(), nCol );
+while (aMultiIter.Next( nTop, nBottom ))
+pAttrArray->ClearItems(nTop, nBottom, pWhich);
+}
+else if (rMark.IsMarked())
+{
+ScRange aRange;
+rMark.GetMarkArea(aRange);
+if (aRange.aStart.Col() <= nCol && nCol <= aRange.aEnd.Col())
+{
+pAttrArray->ClearItems(aRange.aStart.Row(), aRange.aEnd.Row(), 
pWhich);
+}
+}
 }
 }
 
commit 79890a6d1bccbba8c40e42566c3d437d7a1aaace
Author: Caolán McNamara 
Date:   Sat Apr 8 20:31:35 2017 +0100

limit symbol visibility

Change-Id: I54d5fbe1cd9d5ae94cb134f08fc00593c802ebee

diff --git a/filter/source/msfilter/msdffimp.cxx 
b/filter/source/msfilter/msdffimp.cxx
index c3b428655b37..e13d0c317294 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -222,10 +222,13 @@ DffPropertyReader::DffPropertyReader( const 
SvxMSDffManager& rMan )
 InitializePropSet( DFF_msofbtOPT );
 }
 
-bool checkSeek(SvStream , sal_uInt32 nOffset)
+namespace
 {
-const sal_uInt64 nMaxSeek(rSt.Tell() + rSt.remainingSize());
-return (nOffset <= nMaxSeek && rSt.Seek(nOffset) == nOffset);
+bool checkSeek(SvStream , sal_uInt32 nOffset)
+{
+const sal_uInt64 nMaxSeek(rSt.Tell() + rSt.remainingSize());
+return (nOffset <= nMaxSeek && rSt.Seek(nOffset) == nOffset);
+}
 }
 
 void DffPropertyReader::SetDefaultPropSet( SvStream& rStCtrl, sal_uInt32 
nOffsDgg ) const
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 106922] On 5.3.1.2 Fr-version: I get a bad printing on headers misleading number and letter

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106922

proulxmich...@tlb.sympatico.ca changed:

   What|Removed |Added

 CC||proulxmichel0@tlb.sympatico
   ||.ca
   Hardware|IA64 (Itanium)  |SPARC

-- 
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 107031] Drag and droping headings from navigator to document create a copy instead of an hyperlink (gtk3)

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107031

Xisco Faulí  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||caol...@redhat.com,
   ||xiscofa...@libreoffice.org
Version|5.3.2.2 release |5.2.0.0.alpha1
Summary|Drag and droping headings   |Drag and droping headings
   |from navigator to document  |from navigator to document
   |create a copy instead of an |create a copy instead of an
   |hyperlink   |hyperlink (gtk3)
 Ever confirmed|0   |1

--- Comment #2 from Xisco Faulí  ---
Confirmed in

Version: 5.4.0.0.alpha0+
Build ID: 6152bf9ee9b2e348dee854921a5a5db1cfc72995
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

and

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

but not in

Version: 5.4.0.0.alpha0+
Build ID: 6152bf9ee9b2e348dee854921a5a5db1cfc72995
CPU threads: 4; OS: Linux 4.8; UI render: default; VCL: gtk; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

-- 
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 106867] Videos do not get saved when saving in pptx format

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106867

Xisco Faulí  changed:

   What|Removed |Added

 CC||mustafagundogdu.ba@outlook.
   ||com

--- Comment #4 from Xisco Faulí  ---
*** Bug 107028 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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 107028] Libreoffice Impress Won' t Create Video Link When Saved as .pptx

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107028

Xisco Faulí  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||xiscofa...@libreoffice.org
 Resolution|--- |DUPLICATE

--- Comment #1 from Xisco Faulí  ---
This seems to be a duplicate of bug 106867.
Anyway, Thanks for reporting it.

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

-- 
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 107029] xray ThisComponent no longer works, take two

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107029

Xisco Faulí  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||xiscofa...@libreoffice.org
 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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 107035] Missing numbering in inserted caption when document is saved in DOCX format and reopened

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107035

Aron Budea  changed:

   What|Removed |Added

   Keywords||bibisected, bisected,
   ||filter:docx, regression
 Status|UNCONFIRMED |NEW
 CC||caol...@redhat.com
Summary|Missing numbering in|Missing numbering in
   |inserted caption when saved |inserted caption when
   |in DOCX format  |document is saved in DOCX
   ||format and reopened
 Ever confirmed|0   |1
 Whiteboard||interoperability

--- Comment #2 from Aron Budea  ---
Bibisecting points to the commit referenced below. Adding Cc: to Caolán
McNamara, please take a look.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=feedd45ba2dd308af2d3a1b2f64681b9467535b6
author  Caolán McNamara 2016-10-27 13:37:03
(GMT)
committer   Caolán McNamara 2016-10-27 13:37:03
(GMT)

"in msword the hard-break between image and caption has a width"

-- 
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 107035] Missing numbering in inserted caption when saved in DOCX format

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107035

--- Comment #1 from Aron Budea  ---
Created attachment 132407
  --> https://bugs.documentfoundation.org/attachment.cgi?id=132407=edit
Screenshot

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


[Libreoffice-bugs] [Bug 107035] New: Missing numbering in inserted caption when saved in DOCX format

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107035

Bug ID: 107035
   Summary: Missing numbering in inserted caption when saved in
DOCX format
   Product: LibreOffice
   Version: 5.3.0.3 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ba...@caesar.elte.hu

- Add an image to an empty document.
- Add caption to it via right click -> Insert Caption Make sure in
Options..., Caption order: Numbering first is selected (no bug with Category
first).
- Save as DOCX, then reopen.

=> Numbering is not shown. See attached screenshot, caption should start with a
1.

This is a regression, as the numbering appears after those steps in 5.2.0.4,
but not in 5.3.0.3 / Windows 7.
Note that the frame is also wrong, that is due to bug 106132.

-- 
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 107034] EMF+ EmfPlusDrawPie is not implemented

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107034

Bartosz  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
 CC||gan...@poczta.onet.pl
   Assignee|libreoffice-b...@lists.free |gan...@poczta.onet.pl
   |desktop.org |
 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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 107034] EMF+ EmfPlusDrawPie is not implemented

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107034

--- Comment #1 from Bartosz  ---
Created attachment 132406
  --> https://bugs.documentfoundation.org/attachment.cgi?id=132406=edit
The EMF+ image with different shapes. The blue Pie is not visible (it is nearby
blue square)

-- 
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 107034] New: EMF+ EmfPlusDrawPie is not implemented

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107034

Bug ID: 107034
   Summary: EMF+ EmfPlusDrawPie is not implemented
   Product: LibreOffice
   Version: 5.3.2.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Draw
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: gan...@poczta.onet.pl

Description:
The EmfPlusDrawPie record for EMF+ is not implemented.

Steps to Reproduce:
1. Drag and drop attached EMF file in Writer

Actual Results:  
Pie is not appearing in image

Expected Results:
Pie is appearing in image



Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Ubuntu Chromium/57.0.2987.98 Chrome/57.0.2987.98 Safari/537.36

-- 
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: 0 commits -

2017-04-08 Thread Markus Mohrhard
Rebased ref, commits from common ancestor:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - 4 commits - configure.ac include/svl include/svtools sc/source svl/source

2017-04-08 Thread Andras Timar
 configure.ac |2 +-
 include/svl/zformat.hxx  |3 ++-
 include/svtools/insdlg.hxx   |2 +-
 sc/source/filter/excel/xlformula.cxx |5 +
 sc/source/filter/oox/formulabase.cxx |4 ++--
 svl/source/numbers/zformat.cxx   |   29 +++--
 6 files changed, 22 insertions(+), 23 deletions(-)

New commits:
commit cdf8819e60c8c5c0302a73a9a9dbe586a8446123
Author: Andras Timar 
Date:   Sat Apr 8 18:11:19 2017 +0200

Bump version to 5.3-5

Change-Id: I9355f7cd94de3371e8b461e881ce9847c50cc7a6

diff --git a/configure.ac b/configure.ac
index 15563f711ca6..03ba74de3278 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([Collabora Office],[5.3.10.4],[],[],[https://collaboraoffice.com/])
+AC_INIT([Collabora Office],[5.3.10.5],[],[],[https://collaboraoffice.com/])
 
 AC_PREREQ([2.59])
 
commit 41df401c698498a9fd300af127343cc252e9d030
Author: Caolán McNamara 
Date:   Fri Apr 7 16:18:22 2017 +0100

Resolves: tdf#106732 the intent was surely to return a const ref

Change-Id: Iaaa1f76a689645adaebf4fe5b87003ad238f71f2
(cherry picked from commit a7d008a8dfdc0a8b42061329b5e756b1b034abaf)
Reviewed-on: https://gerrit.libreoffice.org/36276
Tested-by: Jenkins 
Reviewed-by: Michael Stahl 
(cherry picked from commit d9736ca79ed3205bb091787e09ebb736ffd808a3)

diff --git a/include/svtools/insdlg.hxx b/include/svtools/insdlg.hxx
index 5e18693663b3..58bada8fadd2 100644
--- a/include/svtools/insdlg.hxx
+++ b/include/svtools/insdlg.hxx
@@ -60,7 +60,7 @@ public:
 return aObjectServerList.size();
 }
 
-const SvObjectServeroperator[]( size_t n ) const
+const SvObjectServer&   operator[]( size_t n ) const
 {
 return aObjectServerList[ n ];
 }
commit 5314bc77e0b6c596170ee142a514c0c390d8c2e7
Author: Laurent Balland-Poirier 
Date:   Thu Mar 16 23:45:13 2017 +0100

tdf#106190 Fix (again) left alignment of denominator

Instead of moving spaces from left to right, like it was done
previously, this patch insert spaces directly on right
when in denominator
This avoid complex calculation when user enter such (stupid)
format:
 # ?/ ???
or
 # ?/" hello world "???

In SvNumberformat::ImpNumberFill, for NF_SYMBOLTYPE_FRAC_FDIV
you need at least to move in sBuf, to insert text at the
expected place for (stupid) format like
 # ?/ 100
or
 # ?/" hello world "100

All these formats works, but are stored in ODF with text
after fraction

Change-Id: I296e60643e93242b8006848a643135219ad4ad0c
Reviewed-on: https://gerrit.libreoffice.org/35320
Tested-by: Jenkins 
Reviewed-by: Eike Rathke 
(cherry picked from commit 2fd110a78d03510d031c4c6cf6ad380d82899df8)
Reviewed-on: https://gerrit.libreoffice.org/36232
(cherry picked from commit 693c929c1a475e6b4bd737e50d09d6f390700812)

diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index ce632ae04920..ceba6a4993ca 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -553,7 +553,8 @@ private:
 sal_Int32& k,
 sal_uInt16& j,
 sal_uInt16 nIx,
-short eSymbolType );
+short eSymbolType,
+bool bInsertRightBlank = false );
 
 // Helper function to fill in the integer part and the group (AKA 
thousand) separators
 SVL_DLLPRIVATE bool ImpNumberFillWithThousands( OUStringBuffer& sStr,
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index ac622bf4cc45..2c018f662784 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -2212,7 +2212,8 @@ OUString lcl_GetDenominatorString(const 
ImpSvNumberformatInfo , sal_uInt16
 {
 if( rInfo.nTypeArray[i] == NF_SYMBOLTYPE_FRAC )
 {
-while ( ( ++i < nAnz ) && rInfo.nTypeArray[i] == 
NF_SYMBOLTYPE_STRING );
+while ( ( ++i < nAnz ) && rInfo.nTypeArray[i] != 
NF_SYMBOLTYPE_FRAC_FDIV
+   && rInfo.nTypeArray[i] != 
NF_SYMBOLTYPE_DIGIT );
 for( ; i < nAnz; i++ )
 {
 if( rInfo.nTypeArray[i] == NF_SYMBOLTYPE_FRAC_FDIV || 
rInfo.nTypeArray[i] == NF_SYMBOLTYPE_DIGIT )
@@ -2815,21 +2816,7 @@ bool SvNumberformat::ImpGetFractionOutput(double fNumber,
 sal_uInt16 j = nAnz-1; // Last symbol -> backwards
 

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

2017-04-08 Thread Caolán McNamara
 filter/source/msfilter/msdffimp.cxx |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

New commits:
commit 79890a6d1bccbba8c40e42566c3d437d7a1aaace
Author: Caolán McNamara 
Date:   Sat Apr 8 20:31:35 2017 +0100

limit symbol visibility

Change-Id: I54d5fbe1cd9d5ae94cb134f08fc00593c802ebee

diff --git a/filter/source/msfilter/msdffimp.cxx 
b/filter/source/msfilter/msdffimp.cxx
index c3b428655b37..e13d0c317294 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -222,10 +222,13 @@ DffPropertyReader::DffPropertyReader( const 
SvxMSDffManager& rMan )
 InitializePropSet( DFF_msofbtOPT );
 }
 
-bool checkSeek(SvStream , sal_uInt32 nOffset)
+namespace
 {
-const sal_uInt64 nMaxSeek(rSt.Tell() + rSt.remainingSize());
-return (nOffset <= nMaxSeek && rSt.Seek(nOffset) == nOffset);
+bool checkSeek(SvStream , sal_uInt32 nOffset)
+{
+const sal_uInt64 nMaxSeek(rSt.Tell() + rSt.remainingSize());
+return (nOffset <= nMaxSeek && rSt.Seek(nOffset) == nOffset);
+}
 }
 
 void DffPropertyReader::SetDefaultPropSet( SvStream& rStCtrl, sal_uInt32 
nOffsDgg ) const
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 107032] LibreOffice 5.3.2.2 Installation Cab Error

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107032

Aron Budea  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||ba...@caesar.elte.hu
 Ever confirmed|0   |1

--- Comment #1 from Aron Budea  ---
Do you have the mirror link you used for downloading? Please share it so we can
check if the mirror is serving a bad file.
If not, try again and see if the file is downloaded correctly this time.

-- 
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 106194] Replace button in Find & Replace Dialog search for the next occurrence but does not scroll

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106194

Markus Mohrhard  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |markus.mohrhard@googlemail.
   |desktop.org |com

-- 
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 107033] New: After import of docx the length of Footnote Separator Line is 0%

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107033

Bug ID: 107033
   Summary: After import of docx the length of Footnote Separator
Line is 0%
   Product: LibreOffice
   Version: 5.2.6.2 release
  Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: khzim...@posteo.de

Description:
Opening a .docx document that has NO footnotes will set the (previously
correct) length of the footnote Separator Line to 0%.

Steps to Reproduce:
1. Start LibreOffice Writer: The new default empty text document appears. 
2. Open a .docx text document that does NOT have any footnotes.
3. Add a footnote

Alternatively (instead of 1. and 2.) you could also open the .docx document by
clicking onto it in the file manager (when Writes is not running) so Writer
will be started and the document be loaded.

Actual Results:  
There will be no Separator Line visible above the footnote.

If you look into Format / Page the dialog will show the Separator Line has a
length of 0%.

Expected Results:
Loading a .docx document that has no footnotes should NOT alter the length of
the footnote separator line but just leave it at its default of 25%.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.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 61313] CONDITIONAL FORMATTING: Icon set should have a color reverse switch

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=61313

--- Comment #3 from Markus Mohrhard  ---
This has been implemented for a long time. The options are just not exposed in
the UI.

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


[Libreoffice-bugs] [Bug 59317] Conditional formatting: Use better text styles by default

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=59317

--- Comment #7 from Markus Mohrhard  ---
Should be implemented by the new pre defined formats.

-- 
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 59317] Conditional formatting: Use better text styles by default

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=59317

Markus Mohrhard  changed:

   What|Removed |Added

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

-- 
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 87351] [META] Conditional formatting bugs and enhancements

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87351
Bug 87351 depends on bug 59317, which changed state.

Bug 59317 Summary: Conditional formatting: Use better text styles by default
https://bugs.documentfoundation.org/show_bug.cgi?id=59317

   What|Removed |Added

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

-- 
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 87351] [META] Conditional formatting bugs and enhancements

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87351

Markus Mohrhard  changed:

   What|Removed |Added

 Depends on|50684   |


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=50684
[Bug 50684] UI: Currency-fields in forms should get additional FORMATTING
fields for Color, conditional formatting
-- 
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 50684] UI: Currency-fields in forms should get additional FORMATTING fields for Color , conditional formatting

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=50684

Markus Mohrhard  changed:

   What|Removed |Added

 Blocks|87351   |


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=87351
[Bug 87351] [META] Conditional formatting bugs and enhancements
-- 
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 80430] [META] LOCALHELP: Features x Documentation gap

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=80430
Bug 80430 depends on bug 42282, which changed state.

Bug 42282 Summary: Conditional formatting with text cell-values needs 
documentation
https://bugs.documentfoundation.org/show_bug.cgi?id=42282

   What|Removed |Added

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

-- 
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 87351] [META] Conditional formatting bugs and enhancements

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87351
Bug 87351 depends on bug 42282, which changed state.

Bug 42282 Summary: Conditional formatting with text cell-values needs 
documentation
https://bugs.documentfoundation.org/show_bug.cgi?id=42282

   What|Removed |Added

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

-- 
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 42282] Conditional formatting with text cell-values needs documentation

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42282

Markus Mohrhard  changed:

   What|Removed |Added

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

--- Comment #12 from Markus Mohrhard  ---
(In reply to Charles Curley from comment #11)
> Thanks.
> 
> Where is that warning? I do not see it in the Help entry "conditional
> formatting;cells", where I expect to see it.
> 
> LibreOffice Version: 5.1.5.2 Build ID: 1:5.1.5~rc2-1~bpo8+1 on Debian
> GNU/Linux 8.5 (jessie).

You find it in the dialog when you add a conditional format. Add something like
test and it will warn you that this entry will be interpreted as column/row
label and not as a string.

-- 
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 98957] EDITING: conditional formatting lost after paste special as bitmap

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=98957

Markus Mohrhard  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #4 from Markus Mohrhard  ---
Seems to work in master. Please close as WORKSFORME if that is the case for you
as well. Otherwise we need more information.

-- 
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 37134] Tabbed UI: Document-per-tab (similar to Firefox, Opera, gedit)

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=37134

--- Comment #32 from J.M. Hardin  ---
I'm a big user of tabs in Chrome, Firefox, and Dolphin. It's a big pain to not
be able to use document tabs in OpenOffice. In 2017 most apps that can have
documents/sites use tabs and now it's a standard practice in software. Please
bring OpenOffice into the 21st century. OpenOffice is a part of the standard
install for most Linux distributions (including SolydK, which is what I use), I
don't want to switch to another office productivity app just to be able to
switch between multiple documents.

-- 
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 107032] New: LibreOffice 5.3.2.2 Installation Cab Error

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107032

Bug ID: 107032
   Summary: LibreOffice 5.3.2.2 Installation Cab Error
   Product: LibreOffice
   Version: unspecified
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: d...@winjama.net

LibreOffice 5.3.2.2 Installation Wizard
Error 1335/ The cabinet file 'libreoffice1.cab' required for this installation
is corrupt and cannot be used. This could indicate a network error, an error
reading from the CD-ROM, or a problem with this package.

-- 
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 107029] xray ThisComponent no longer works, take two

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107029

--- Comment #2 from Miklos Vajna  ---
This fixes the problem for me:

diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
index 32edd32..f5606ff 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
@@ -1092,7 +1092,7 @@ bool ImportContext::importButtonTypeProperty(
 throw xml::sax::SAXException( "invalid button-type value!",
Reference< XInterface >(), Any() );
 }

-_xControlModel->setPropertyValue( rPropName, makeAny( nButtonType ) );
+_xControlModel->setPropertyValue( rPropName, makeAny(
(sal_Int16)nButtonType ) );
 return true;
 }
 return false;

Noel, does this look correct to you? If so, I'll push a proper patch to gerrit
when I get to the machine where I have my keys. :-)

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


[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-5.3' - 0 commits -

2017-04-08 Thread Marco Cecchetti
Rebased ref, commits from common ancestor:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 106994] Text next to enlarged bullet point gets cropped

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106994

--- Comment #7 from Khaled Hosny  ---
Sounds plausible, older versions of OpenSymbol had bad line spacing settings
and I fixed them before introducing the new line spacing code which is
sensitive to such badness. As a general rule, one should always use the version
of OpenSymbol that comes with a given version of LibreOffice (I think it was a
mistake to install OpenSymbol in the first place since we can load it
uninstalled).

-- 
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 107029] xray ThisComponent no longer works, take two

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107029

Miklos Vajna  changed:

   What|Removed |Added

   Keywords||bisected
 CC||noelgran...@gmail.com

--- Comment #1 from Miklos Vajna  ---
$ git bisect good
0fe6f1a196b70f0ba4c948389b2ef9b1e77187b8 is the first bad commit
commit 0fe6f1a196b70f0ba4c948389b2ef9b1e77187b8
Author: Noel Grandin 
Date:   Mon Apr 3 10:55:16 2017 +0200

use actual UNO enums in vcl..xmlsecurity

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

:04 04 7b2c725ea27e0debb899c56957ed6059eec4e7a4
3b6c5e5a55fb17992968eeed9d19a16c261119fb M  vcl
:04 04 daa21216259300dd2c68660910ee2aa8698885b3
8f2f87121b73f14d076a89338e27a9e35a0fae9b M  winaccessibility
:04 04 4138649700232d568e097b43c110858650076497
685e13f420d48c30251d561487fab8cba8c19081 M  writerfilter
:04 04 af8109305ff3569bd7224bb3441a717e7e01ab3c
9d48d97c8aa394c5c0d372492e837ac9109639da M  writerperfect
:04 04 354eac87d923cbfc1ea64dfe9afd236575803995
1ee2157c4385b1ac03dc1181f1d898f735e1 M  xmlscript
:04 04 0db816ba14fcf1f45d108a0331db2f1252d1b605
bb66a9d38fad114206836db898372622208a0e0d M  xmlsecurity

Adding Cc: to Noel Grandin

Could you please look at this?

Additional info: actually if you set macro security to low, and click on the
button in the xray installer document to install xray, even that one doesn't
work -- but I bisected with installing xray using an older version and testing
when 'xray ThisComponent' broke. Quite possibly the two broke due to the same
root cause, though.

-- 
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 105686] FILTER: STYLE function is imported wrongly when is part of named formula (ods)

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=105686

Markus Mohrhard  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |azeemmys...@gmail.com
   |desktop.org |

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


[Libreoffice-bugs] [Bug 95617] Removal of conditional formatting not registered as an undo

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95617

Markus Mohrhard  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |markus.mohrhard@googlemail.
   |desktop.org |com

-- 
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 106994] Text next to enlarged bullet point gets cropped

2017-04-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106994

--- Comment #6 from Regina Henschel  ---
Khaled: OpenSymbol. I think, I have found the reason for me. I had got
OpenSymbol version 102.7 installed. Now I have changed it to version 102.10.
Now the text-to-text setting "baseline" (which is the default) works for
OpenSymbol.

Yousuf: Can you please look what version your OpenSymbol is?

-- 
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   >