Re: Unit Test Failure: CppunitTest_cppcanvas_emfplus

2018-02-16 Thread Luke Benes
This was fixed by 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4beed2ba7335fdb211aca7f70a144ffecf90a781


Thanks Noel!




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


[Libreoffice-bugs] [Bug 115639] Align right/center with trailing spaces aren' t treated the same in PPT(X) as in DOC(X)

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115639

Tamás Zolnai  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |zolnaitamas2...@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


Re: Unit Test Failure: CppunitTest_cppcanvas_emfplus

2018-02-16 Thread Noel Grandin
should be fixed now with

https://cgit.freedesktop.org/libreoffice/core/commit/?id=4beed2ba7335fdb211aca7f70a144ffecf90a781
​
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 115639] Align right/center with trailing spaces aren' t treated the same in PPT(X) as in DOC(X)

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115639

--- Comment #5 from Commit Notification 
 ---
Tamás Zolnai committed a patch related to this issue.
It has been pushed to "master":

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

tdf#115639: Align right/center with trailing spaces the same as MS PowerPoint

It will be available in 6.1.0.

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

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

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


[Libreoffice-bugs] [Bug 115639] Align right/center with trailing spaces aren' t treated the same in PPT(X) as in DOC(X)

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115639

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:6.1.0

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


Re: UITest_writerperfect_epubexport hang (only sometimes)

2018-02-16 Thread Noel Grandin
at the very least we should make that wait command use a timeout, and fail
the test, rather than hanging indefinitely​
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2018-02-16 Thread Tamás Zolnai
 editeng/qa/unit/core-test.cxx|  111 +++
 editeng/source/editeng/editeng.cxx   |   14 +++-
 editeng/source/editeng/impedit.hxx   |9 ++
 editeng/source/editeng/impedit2.cxx  |   14 ++--
 editeng/source/editeng/impedit3.cxx  |   12 +++
 editeng/source/outliner/outliner.cxx |   10 +++
 include/editeng/editeng.hxx  |6 +
 include/editeng/outliner.hxx |4 +
 include/svx/svdmodel.hxx |4 +
 sd/qa/unit/data/odp/tdf115639.odp|binary
 sd/qa/unit/data/ppt/tdf115639.ppt|binary
 sd/qa/unit/data/pptx/tdf115639.pptx  |binary
 sd/qa/unit/import-tests.cxx  |   33 ++
 sd/source/ui/docshell/docshel4.cxx   |   16 +
 sd/source/ui/view/Outliner.cxx   |1 
 svx/source/svdraw/svdetc.cxx |1 
 svx/source/svdraw/svdmodel.cxx   |   22 ++
 17 files changed, 245 insertions(+), 12 deletions(-)

New commits:
commit 1da3a3cb74a415a76fa547ef0c8f61780e260e7f
Author: Tamás Zolnai 
Date:   Sat Feb 17 06:35:29 2018 +0100

tdf#115639: Align right/center with trailing spaces the same as MS 
PowerPoint

* Add HoriAlignIgnoreTrailingWhitespace compatibility option.
** For MSO file formats it is set to true
** For ODP format it's set to false by default
** The flag is saved to ODP format as user data if the document
comes from an MSO format.

Change-Id: Ie22233d33a25e605de46120bfc2195038dffd63c
Reviewed-on: https://gerrit.libreoffice.org/49889
Tested-by: Jenkins 
Reviewed-by: Tamás Zolnai 

diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx
index 2e122cc59c1d..195fae1bcb4a 100644
--- a/editeng/qa/unit/core-test.cxx
+++ b/editeng/qa/unit/core-test.cxx
@@ -33,6 +33,7 @@
 #include 
 #include 
 #include 
+#include 
 
 #include 
 
@@ -97,6 +98,9 @@ public:
 
 void testTransliterate();
 
+/// Test HoriAlignIgnoreTrailingWhitespace compatibility flag
+void testHoriAlignIgnoreTrailingWhitespace();
+
 DECL_STATIC_LINK( Test, CalcFieldValueHdl, EditFieldInfo*, void );
 
 CPPUNIT_TEST_SUITE(Test);
@@ -117,6 +121,7 @@ public:
 CPPUNIT_TEST(testSectionAttributes);
 CPPUNIT_TEST(testLargeParaCopyPaste);
 CPPUNIT_TEST(testTransliterate);
+CPPUNIT_TEST(testHoriAlignIgnoreTrailingWhitespace);
 CPPUNIT_TEST_SUITE_END();
 
 private:
@@ -1848,6 +1853,112 @@ void Test::testTransliterate()
 CPPUNIT_ASSERT_EQUAL(aExpected, aEditEngine.GetText());
 }
 
+void Test::testHoriAlignIgnoreTrailingWhitespace()
+{
+// Create EditEngine's instance
+EditEngine aEditEngine(mpItemPool);
+
+// Get EditDoc for current EditEngine's instance
+EditDoc  = aEditEngine.GetEditDoc();
+
+// Initially no text should be there
+CPPUNIT_ASSERT_EQUAL(sal_uLong(0), rDoc.GetTextLen());
+CPPUNIT_ASSERT_EQUAL(OUString(), rDoc.GetParaAsString(sal_Int32(0)));
+
+// Set initial text
+OUString aText = "Some text";
+sal_Int32 aTextLen = aText.getLength();
+aEditEngine.SetText(aText);
+
+// Assert changes - text insertion
+CPPUNIT_ASSERT_EQUAL(static_cast(aTextLen), rDoc.GetTextLen());
+CPPUNIT_ASSERT_EQUAL(aText, 
rDoc.GetParaAsString(static_cast(0)));
+
+// First test case: center alignment with compatibility option enabled
+{
+aEditEngine.SetHoriAlignIgnoreTrailingWhitespace(true);
+std::unique_ptr pSet(new 
SfxItemSet(aEditEngine.GetEmptyItemSet()));
+pSet->Put(SvxAdjustItem( SvxAdjust::Center, EE_PARA_JUST ));
+CPPUNIT_ASSERT_EQUAL(static_cast(1), pSet->Count());
+
+// Select all paragraphs and apply changes
+ESelection aSelection(0, 0, 0, aTextLen);
+aEditEngine.QuickSetAttribs(*pSet, aSelection);
+
+// Use a one line paragraph
+aEditEngine.SetPaperSize(Size(1, 6000));
+CPPUNIT_ASSERT_EQUAL(static_cast(1), 
aEditEngine.GetLineCount(0));
+
+// Check horizontal position
+ParaPortion* pParaPortion = aEditEngine.GetParaPortions()[0];
+EditLine* pLine = >GetLines()[0];
+CPPUNIT_ASSERT_DOUBLES_EQUAL(static_cast(4527), 
pLine->GetStartPosX(), 10);
+}
+
+// Second test case: center alignment with compatibility option disabled
+{
+aEditEngine.SetHoriAlignIgnoreTrailingWhitespace(false);
+std::unique_ptr pSet(new 
SfxItemSet(aEditEngine.GetEmptyItemSet()));
+pSet->Put(SvxAdjustItem( SvxAdjust::Center, EE_PARA_JUST ));
+CPPUNIT_ASSERT_EQUAL(static_cast(1), pSet->Count());
+
+// Select all paragraphs and apply changes
+ESelection aSelection(0, 0, 0, aTextLen);
+aEditEngine.QuickSetAttribs(*pSet, aSelection);
+
+// Use a one line paragraph
+aEditEngine.SetPaperSize(Size(1, 6000));
+CPPUNIT_ASSERT_EQUAL(static_cast(1), 
aEditEngine.GetLineCount(0));
+
+// Check horizontal position
+ParaPortion* 

[Libreoffice-bugs] [Bug 115635] Crash in: s_environment_invoke_v EDITING

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115635

raal  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||r...@post.cz
 Ever confirmed|0   |1

--- Comment #5 from raal  ---
I can not confirm with Version: 6.0.1.1 (x64), win7

For the test, could you rename your LibreOffice directory profile (see
https://wiki.documentfoundation.org/UserProfile) and give it a new try? Thank
you

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


[Libreoffice-bugs] [Bug 115465] Writer Table: Table Contents ignores default style settings

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115465

--- Comment #4 from Walter Nicholls  ---
Ta- I just didn't understand statuses. Also, for absolute clarity "does cause"
should have been "Clear direct formatting ... doesn't cause it"

-- 
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 115465] Writer Table: Table Contents ignores default style settings

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115465

Walter Nicholls  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 115718] Can't erase text in watch text box macro IDE

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115718

raal  changed:

   What|Removed |Added

   Keywords||bibisected, bisected,
   ||regression
 CC||glo...@fbihome.de,
   ||r...@post.cz

--- Comment #5 from raal  ---


# first bad commit: [27be8a263eddb54cb6b66cc0f832bfd02016a694] KDE4 fix edit
box borders

author  Jan-Marek Glogowski  2016-10-08 06:56:07 +0200
committer   Jan-Marek Glogowski  2016-12-20 14:19:16
+0100
commit  27be8a263eddb54cb6b66cc0f832bfd02016a694 (patch)
treedd8d5bf9c4cc2e627f7f1d36d4b4524477d93d33
parent  98e45efa6ab58c67fb3940b9f6fc4b65542d4d6f (diff)
KDE4 fix edit box borders
When recalculating the native window frame borders, calculate
using already existing window borders. Otherwise the KDE edit
box results in an unlimited recursion for increasing the
bounding rects, if the control doesn't fit.


Adding Cc: to Jan-Marek Glogowski ; Could you possibly take a look at this one?
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: include/svx svx/source

2018-02-16 Thread Noel Grandin
 include/svx/svdundo.hxx   |   12 +++-
 svx/source/svdraw/svdundo.cxx |   36 ++--
 2 files changed, 21 insertions(+), 27 deletions(-)

New commits:
commit 71545d500e4b88e960a73d499328504ce99397a8
Author: Noel Grandin 
Date:   Mon Feb 5 13:51:25 2018 +0200

loplugin:useuniqueptr in SdrUndoAttrObj

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

diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx
index 9cb4271d0a86..642b67954073 100644
--- a/include/svx/svdundo.hxx
+++ b/include/svx/svdundo.hxx
@@ -144,8 +144,8 @@ protected:
 class SVX_DLLPUBLIC SdrUndoAttrObj : public SdrUndoObj
 {
 protected:
-SfxItemSet* pUndoSet;
-SfxItemSet* pRedoSet;
+std::unique_ptr pUndoSet;
+std::unique_ptr pRedoSet;
 
 // FIXME: Or should we better remember the StyleSheetNames?
 rtl::Reference< SfxStyleSheetBase > mxUndoStyleSheet;
@@ -154,13 +154,15 @@ protected:
 boolbHaveToTakeRedoSet;
 
 // When assigning TextItems to a drawing object with text:
-OutlinerParaObject* pTextUndo;
+std::unique_ptr
+pTextUndo;
 // #i8508#
 // The text rescue mechanism needs also to be implemented for redo actions.
-OutlinerParaObject* pTextRedo;
+std::unique_ptr
+pTextRedo;
 
 // If we have a group object:
-SdrUndoGroup*   pUndoGroup;
+std::unique_ptr pUndoGroup;
 
 // Helper to ensure StyleSheet is in pool (provided by SdrModel from 
SdrObject)
 static void ensureStyleSheetInStyleSheetPool(SfxStyleSheetBasePool& 
rStyleSheetPool, SfxStyleSheet& rSheet);
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index 3f607186f87f..1c6ec236f34b 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -262,14 +262,9 @@ void 
SdrUndoAttrObj::ensureStyleSheetInStyleSheetPool(SfxStyleSheetBasePool& rSt
 
 SdrUndoAttrObj::SdrUndoAttrObj(SdrObject& rNewObj, bool bStyleSheet1, bool 
bSaveText)
 : SdrUndoObj(rNewObj)
-, pUndoSet(nullptr)
-, pRedoSet(nullptr)
 , mxUndoStyleSheet()
 , mxRedoStyleSheet()
 , bHaveToTakeRedoSet(true)
-, pTextUndo(nullptr)
-, pTextRedo(nullptr)
-, pUndoGroup(nullptr)
 {
 bStyleSheet = bStyleSheet1;
 
@@ -280,7 +275,7 @@ SdrUndoAttrObj::SdrUndoAttrObj(SdrObject& rNewObj, bool 
bStyleSheet1, bool bSave
 if(bIsGroup)
 {
 // it's a group object!
-pUndoGroup = new SdrUndoGroup(*pObj->GetModel());
+pUndoGroup.reset( new SdrUndoGroup(*pObj->GetModel()) );
 const size_t nObjCount(pOL->GetObjCount());
 
 for(size_t nObjNum = 0; nObjNum < nObjCount; ++nObjNum)
@@ -292,27 +287,27 @@ SdrUndoAttrObj::SdrUndoAttrObj(SdrObject& rNewObj, bool 
bStyleSheet1, bool bSave
 
 if(!bIsGroup || bIs3DScene)
 {
-pUndoSet = new SfxItemSet(pObj->GetMergedItemSet());
+pUndoSet.reset( new SfxItemSet(pObj->GetMergedItemSet()) );
 
 if(bStyleSheet)
 mxUndoStyleSheet = pObj->GetStyleSheet();
 
 if(bSaveText)
 {
-pTextUndo = pObj->GetOutlinerParaObject();
-if(pTextUndo)
-pTextUndo = new OutlinerParaObject(*pTextUndo);
+auto p = pObj->GetOutlinerParaObject();
+if(p)
+pTextUndo.reset( new OutlinerParaObject(*p) );
 }
 }
 }
 
 SdrUndoAttrObj::~SdrUndoAttrObj()
 {
-delete pUndoSet;
-delete pRedoSet;
-delete pUndoGroup;
-delete pTextUndo;
-delete pTextRedo;
+pUndoSet.reset();
+pRedoSet.reset();
+pUndoGroup.reset();
+pTextUndo.reset();
+pTextRedo.reset();
 }
 
 void SdrUndoAttrObj::Undo()
@@ -329,9 +324,7 @@ void SdrUndoAttrObj::Undo()
 {
 bHaveToTakeRedoSet = false;
 
-delete pRedoSet;
-
-pRedoSet = new SfxItemSet(pObj->GetMergedItemSet());
+pRedoSet.reset( new SfxItemSet(pObj->GetMergedItemSet()) );
 
 if(bStyleSheet)
 mxRedoStyleSheet = pObj->GetStyleSheet();
@@ -339,10 +332,9 @@ void SdrUndoAttrObj::Undo()
 if(pTextUndo)
 {
 // #i8508#
-pTextRedo = pObj->GetOutlinerParaObject();
-
-if(pTextRedo)
-pTextRedo = new OutlinerParaObject(*pTextRedo);
+auto p = pObj->GetOutlinerParaObject();
+if(p)
+pTextRedo.reset( new OutlinerParaObject(*p) );
 }
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org

[Libreoffice-bugs] [Bug 115790] Libre Office crashing when saving file

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115790

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #1 from raal  ---
Could you test LO from TDF site (not ubuntu version)?

http://www.libreoffice.org/download/

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

2018-02-16 Thread Noel Grandin
 sc/source/core/data/documen3.cxx   |   16 +--
 sc/source/core/data/dpoutput.cxx   |   24 ++---
 sc/source/core/data/drwlayer.cxx   |   50 +-
 sc/source/core/data/postit.cxx |4 
 sc/source/core/tool/detfunc.cxx|   22 ++--
 sc/source/core/tool/editutil.cxx   |6 -
 sc/source/filter/excel/xiescher.cxx|   16 +--
 sc/source/filter/html/htmlexp2.cxx |4 
 sc/source/filter/html/htmlimp.cxx  |4 
 sc/source/filter/rtf/eeimpars.cxx  |   12 +-
 sc/source/ui/app/client.cxx|   16 +--
 sc/source/ui/app/inputhdl.cxx  |2 
 sc/source/ui/app/inputwin.cxx  |8 -
 sc/source/ui/cctrl/cbuttonw.cxx|   14 +-
 sc/source/ui/cctrl/checklistmenu.cxx   |   36 +++
 sc/source/ui/cctrl/dpcontrol.cxx   |2 
 sc/source/ui/cctrl/tbzoomsliderctrl.cxx|   22 ++--
 sc/source/ui/condformat/condformatdlg.cxx  |4 
 sc/source/ui/drawfunc/fuins1.cxx   |4 
 sc/source/ui/drawfunc/fuins2.cxx   |2 
 sc/source/ui/miscdlgs/anyrefdg.cxx |6 -
 sc/source/ui/miscdlgs/autofmt.cxx  |   16 +--
 sc/source/ui/miscdlgs/solveroptions.cxx|2 
 sc/source/ui/namedlg/namemgrtable.cxx  |2 
 sc/source/ui/navipi/scenwnd.cxx|2 
 sc/source/ui/sidebar/CellLineStyleValueSet.cxx |4 
 sc/source/ui/unoobj/viewuno.cxx|2 
 sc/source/ui/view/gridwin.cxx  |   76 
 sc/source/ui/view/gridwin4.cxx |   40 
 sc/source/ui/view/gridwin5.cxx |4 
 sc/source/ui/view/hdrcont.cxx  |   22 ++--
 sc/source/ui/view/hintwin.cxx  |2 
 sc/source/ui/view/notemark.cxx |8 -
 sc/source/ui/view/output.cxx   |   22 ++--
 sc/source/ui/view/output2.cxx  |  118 -
 sc/source/ui/view/output3.cxx  |   16 +--
 sc/source/ui/view/preview.cxx  |   20 ++--
 sc/source/ui/view/prevwsh.cxx  |   24 ++---
 sc/source/ui/view/printfun.cxx |   58 ++--
 sc/source/ui/view/tabview.cxx  |   18 +--
 sc/source/ui/view/tabview2.cxx |   12 +-
 sc/source/ui/view/tabview3.cxx |   28 ++---
 sc/source/ui/view/tabview4.cxx |6 -
 sc/source/ui/view/tabview5.cxx |   10 +-
 sc/source/ui/view/tabvwsh2.cxx |4 
 sc/source/ui/view/tabvwsh4.cxx |   12 +-
 sc/source/ui/view/tabvwshb.cxx |4 
 sc/source/ui/view/tabvwshg.cxx |2 
 sc/source/ui/view/viewdata.cxx |   18 +--
 sc/source/ui/view/viewfun5.cxx |8 -
 sc/source/ui/view/viewfun7.cxx |   12 +-
 51 files changed, 421 insertions(+), 425 deletions(-)

New commits:
commit e2e4798b35ecd33a09dda85c575d7a7709ab9414
Author: Noel Grandin 
Date:   Fri Feb 16 10:23:51 2018 +0200

Revert "loplugin:changetoolsgen in sc" and reapply plugin

because I
(a) forgot to insert parentheses which changes the meaning of some 
expressions and
(b) I now use the AdjustFoo calls when changing unary operations, which 
reads much better
This reverts commit 95fab7cbf2f0576d0f728bed8898b7ff769d90e6.

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

diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index 12a8a525e785..8f37ada3dcbb 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -1698,13 +1698,13 @@ tools::Rectangle ScDocument::GetEmbeddedRect() const // 
1/100 mm
 SCCOL i;
 
 for (i=0; iGetColWidth(i) );
-aRect.SetTop( aRect.Top() + pTable->GetRowHeight( 0, 
aEmbedRange.aStart.Row() - 1) );
+aRect.AdjustLeft(pTable->GetColWidth(i) );
+aRect.AdjustTop(pTable->GetRowHeight( 0, aEmbedRange.aStart.Row() - 1) 
);
 aRect.SetRight( aRect.Left() );
 for (i=aEmbedRange.aStart.Col(); i<=aEmbedRange.aEnd.Col(); i++)
-aRect.SetRight( aRect.Right() + pTable->GetColWidth(i) );
+aRect.AdjustRight(pTable->GetColWidth(i) );
 aRect.SetBottom( aRect.Top() );
-aRect.SetBottom( aRect.Bottom() + pTable->GetRowHeight( 
aEmbedRange.aStart.Row(), aEmbedRange.aEnd.Row()) );
+aRect.AdjustBottom(pTable->GetRowHeight( aEmbedRange.aStart.Row(), 
aEmbedRange.aEnd.Row()) );
 
 aRect.SetLeft( static_cast( aRect.Left()   

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

2018-02-16 Thread Noel Grandin
 svx/source/form/fmexpl.cxx |7 +++
 svx/source/inc/fmexpl.hxx  |5 +++--
 2 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit d4be0bfedf8497ad3b4244aeeb0b761b5c6b128b
Author: Noel Grandin 
Date:   Tue Feb 6 11:40:14 2018 +0200

loplugin:useuniqueptr in FmEntryData

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

diff --git a/svx/source/form/fmexpl.cxx b/svx/source/form/fmexpl.cxx
index 96166a275440..9e96bd6db2d5 100644
--- a/svx/source/form/fmexpl.cxx
+++ b/svx/source/form/fmexpl.cxx
@@ -176,7 +176,7 @@ void FmEntryDataList::clear()
 FmEntryData::FmEntryData( FmEntryData* pParentData, const Reference< 
XInterface >& _rxIFace )
 :pParent( pParentData )
 {
-pChildList = new FmEntryDataList();
+pChildList.reset( new FmEntryDataList() );
 
 newObject( _rxIFace );
 }
@@ -184,8 +184,7 @@ FmEntryData::FmEntryData( FmEntryData* pParentData, const 
Reference< XInterface
 
 FmEntryData::~FmEntryData()
 {
-GetChildList()->clear();
-delete pChildList;
+pChildList->clear();
 }
 
 
@@ -200,7 +199,7 @@ void FmEntryData::newObject( const css::uno::Reference< 
css::uno::XInterface >&
 
 FmEntryData::FmEntryData( const FmEntryData& rEntryData )
 {
-pChildList = new FmEntryDataList();
+pChildList.reset( new FmEntryDataList() );
 aText = rEntryData.GetText();
 m_aNormalImage = rEntryData.GetNormalImage();
 pParent = rEntryData.GetParent();
diff --git a/svx/source/inc/fmexpl.hxx b/svx/source/inc/fmexpl.hxx
index a089f10f015d..76142653fe7a 100644
--- a/svx/source/inc/fmexpl.hxx
+++ b/svx/source/inc/fmexpl.hxx
@@ -144,7 +144,8 @@ protected:
 Image   m_aNormalImage;
 OUStringaText;
 
-FmEntryDataList*pChildList;
+std::unique_ptr
+pChildList;
 FmEntryData*pParent;
 
 protected:
@@ -163,7 +164,7 @@ public:
 
 const OUString& GetText() const { return aText; }
 FmEntryData*GetParent() const { return pParent; }
-FmEntryDataList* GetChildList() const { return pChildList; }
+FmEntryDataList* GetChildList() const { return pChildList.get(); }
 
 virtual bool IsEqualWithoutChildren( FmEntryData* pEntryData );
 virtual FmEntryData* Clone() = 0;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2018-02-16 Thread Noel Grandin
 include/svx/fmgridif.hxx  |3 
 lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx |   68 ++
 lingucomponent/source/hyphenator/hyphen/hyphenimp.hxx |7 -
 lingucomponent/source/thesaurus/libnth/nthesimp.cxx   |   83 --
 lingucomponent/source/thesaurus/libnth/nthesimp.hxx   |   17 ++-
 svx/source/fmcomp/fmgridif.cxx|7 -
 6 files changed, 66 insertions(+), 119 deletions(-)

New commits:
commit 794066fa1ac67b6e352c17e78245a2698b0c470b
Author: Noel Grandin 
Date:   Tue Feb 6 11:38:34 2018 +0200

loplugin:useuniqueptr in FmXGridPeer

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

diff --git a/include/svx/fmgridif.hxx b/include/svx/fmgridif.hxx
index 5aa857005c69..fbec6ea6435f 100644
--- a/include/svx/fmgridif.hxx
+++ b/include/svx/fmgridif.hxx
@@ -48,6 +48,7 @@
 #include 
 #include 
 #include 
+#include 
 
 class DbGridColumn;
 enum class DbGridControlNavigationBarState;
@@ -359,7 +360,7 @@ class SAL_WARN_UNUSED SVX_DLLPUBLIC FmXGridPeer:
 
 class GridListenerDelegator;
 friend class GridListenerDelegator;
-GridListenerDelegator*  m_pGridListener;
+std::unique_ptr  m_pGridListener;
 
 protected:
 css::uno::Reference< css::uno::XComponentContext >m_xContext;
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index 31280a401825..262d4d47f5bc 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -1041,11 +1041,10 @@ FmXGridPeer::FmXGridPeer(const Reference< 
XComponentContext >& _rxContext)
 ,m_bInterceptingDispatch(false)
 ,m_pStateCache(nullptr)
 ,m_pDispatchers(nullptr)
-,m_pGridListener(nullptr)
 ,m_xContext(_rxContext)
 {
 // Create must be called after this constructor
-m_pGridListener = new GridListenerDelegator( this );
+m_pGridListener.reset( new GridListenerDelegator( this ) );
 }
 
 
@@ -1064,7 +1063,7 @@ void FmXGridPeer::Create(vcl::Window* pParent, WinBits 
nStyle)
 pWin->SetSlotExecutor(LINK(this, FmXGridPeer, OnExecuteGridSlot));
 
 // want to hear about row selections
-pWin->setGridListener( m_pGridListener );
+pWin->setGridListener( m_pGridListener.get() );
 
 // Init must always be called
 pWin->Init();
@@ -1078,8 +1077,6 @@ FmXGridPeer::~FmXGridPeer()
 {
 setRowSet(Reference< XRowSet > ());
 setColumns(Reference< XIndexContainer > ());
-
-delete m_pGridListener;
 }
 
 namespace
commit c503df794f942488840ac2d69e61895e42a35b2a
Author: Noel Grandin 
Date:   Tue Feb 6 11:35:31 2018 +0200

loplugin:useuniqueptr in Hyphenator

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

diff --git a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx 
b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
index 4da78de3995b..8f9480e3ff0f 100644
--- a/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
+++ b/lingucomponent/source/hyphenator/hyphen/hyphenimp.cxx
@@ -64,28 +64,19 @@ Hyphenator::Hyphenator() :
 aEvtListeners   ( GetLinguMutex() )
 {
 bDisposing = false;
-pPropHelper = nullptr;
-aDicts = nullptr;
-numdict = 0;
 }
 
 Hyphenator::~Hyphenator()
 {
-if (numdict && aDicts)
+for (auto & rInfo : mvDicts)
 {
-for (int i=0; i < numdict; ++i)
-{
-delete aDicts[i].apCC;
-if (aDicts[i].aPtr)
-hnj_hyphen_free(aDicts[i].aPtr);
-}
+if (rInfo.aPtr)
+hnj_hyphen_free(rInfo.aPtr);
 }
-delete[] aDicts;
 
 if (pPropHelper)
 {
 pPropHelper->RemoveAsPropListener();
-delete pPropHelper;
 }
 }
 
@@ -95,7 +86,7 @@ PropertyHelper_Hyphenation& Hyphenator::GetPropHelper_Impl()
 {
 Reference< XLinguProperties >   xPropSet( GetLinguProperties(), 
UNO_QUERY );
 
-pPropHelper = new PropertyHelper_Hyphenation (static_cast(this), xPropSet );
+pPropHelper.reset( new PropertyHelper_Hyphenation 
(static_cast(this), xPropSet ) );
 pPropHelper->AddAsPropListener();   //! after a reference is 
established
 }
 return *pPropHelper;
@@ -107,7 +98,7 @@ Sequence< Locale > SAL_CALL Hyphenator::getLocales()
 
 // this routine should return the locales supported by the installed
 // dictionaries.
-if (!numdict)
+if (!mvDicts.size())
 {
 SvtLinguConfig aLinguCfg;
 
@@ -137,7 +128,7 @@ Sequence< Locale > SAL_CALL Hyphenator::getLocales()
 // is not yet supported by the list od new style dictionaries
 

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

2018-02-16 Thread Noel Grandin
 hwpfilter/source/hfont.cxx   |   13 -
 hwpfilter/source/hfont.h |3 ++-
 lingucomponent/source/spellcheck/spell/sspellimp.cxx |9 +++--
 lingucomponent/source/spellcheck/spell/sspellimp.hxx |2 +-
 scaddins/source/analysis/analysis.cxx|   13 -
 scaddins/source/analysis/analysis.hxx|6 +++---
 scaddins/source/pricing/pricing.cxx  |   15 +++
 scaddins/source/pricing/pricing.hxx  |5 +++--
 8 files changed, 23 insertions(+), 43 deletions(-)

New commits:
commit 35ba29e093d41ce88a827ab145ba8df09ff0ee2f
Author: Noel Grandin 
Date:   Tue Feb 6 10:49:49 2018 +0200

loplugin:useuniqueptr in SpellChecker

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

diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx 
b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
index 12b9e240fa24..db6c183a8cef 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx
@@ -72,7 +72,6 @@ using namespace linguistic;
 
 SpellChecker::SpellChecker() :
 m_aEvtListeners(GetLinguMutex()),
-m_pPropHelper(nullptr),
 m_bDisposing(false)
 {
 }
@@ -87,7 +86,6 @@ SpellChecker::~SpellChecker()
 if (m_pPropHelper)
 {
 m_pPropHelper->RemoveAsPropListener();
-delete m_pPropHelper;
 }
 }
 
@@ -97,7 +95,7 @@ PropertyHelper_Spelling & SpellChecker::GetPropHelper_Impl()
 {
 Reference< XLinguProperties >   xPropSet( GetLinguProperties(), 
UNO_QUERY );
 
-m_pPropHelper = new PropertyHelper_Spelling( static_cast(this), xPropSet );
+m_pPropHelper.reset( new PropertyHelper_Spelling( 
static_cast(this), xPropSet ) );
 m_pPropHelper->AddAsPropListener();   //! after a reference is 
established
 }
 return *m_pPropHelper;
@@ -577,7 +575,7 @@ void SAL_CALL SpellChecker::initialize( const Sequence< Any 
>& rArguments )
 //! And the reference to the UNO-functions while increasing
 //! the ref-count and will implicitly free the memory
 //! when the object is no longer used.
-m_pPropHelper = new PropertyHelper_Spelling( 
static_cast(this), xPropSet );
+m_pPropHelper.reset( new PropertyHelper_Spelling( 
static_cast(this), xPropSet ) );
 m_pPropHelper->AddAsPropListener();   //! after a reference is 
established
 }
 else {
@@ -598,8 +596,7 @@ void SAL_CALL SpellChecker::dispose()
 if (m_pPropHelper)
 {
 m_pPropHelper->RemoveAsPropListener();
-delete m_pPropHelper;
-m_pPropHelper = nullptr;
+m_pPropHelper.reset();
 }
 }
 }
diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.hxx 
b/lingucomponent/source/spellcheck/spell/sspellimp.hxx
index d8e5581463da..82ddbedf0af3 100644
--- a/lingucomponent/source/spellcheck/spell/sspellimp.hxx
+++ b/lingucomponent/source/spellcheck/spell/sspellimp.hxx
@@ -69,7 +69,7 @@ class SpellChecker :
 Sequence< Locale > m_aSuppLocales;
 
 ::comphelper::OInterfaceContainerHelper2   m_aEvtListeners;
-linguistic::PropertyHelper_Spelling*m_pPropHelper;
+std::unique_ptr m_pPropHelper;
 boolm_bDisposing;
 
 SpellChecker(const SpellChecker &) = delete;
commit cc85db4c4e2ca9ef8e1c9fc0af6d314767678faa
Author: Noel Grandin 
Date:   Tue Feb 6 10:42:23 2018 +0200

loplugin:useuniqueptr in scaddins

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

diff --git a/scaddins/source/analysis/analysis.cxx 
b/scaddins/source/analysis/analysis.cxx
index 6c6a94afdb42..34414abd0f50 100644
--- a/scaddins/source/analysis/analysis.cxx
+++ b/scaddins/source/analysis/analysis.cxx
@@ -73,12 +73,10 @@ void AnalysisAddIn::InitData()
 {
 aResLocale = Translate::Create("sca", LanguageTag(aFuncLoc));
 
-delete pFD;
-pFD = new FuncDataList;
+pFD.reset(new FuncDataList);
 InitFuncDataList(*pFD);
 
-delete pDefLocales;
-pDefLocales = nullptr;
+pDefLocales.reset();
 }
 
 AnalysisAddIn::AnalysisAddIn( const uno::Reference< uno::XComponentContext >& 
xContext ) :
@@ -92,9 +90,6 @@ AnalysisAddIn::AnalysisAddIn( const uno::Reference< 
uno::XComponentContext >& xC
 
 AnalysisAddIn::~AnalysisAddIn()
 {
-delete pCDL;
-delete pFD;
-delete[] pDefLocales;
 }
 
 sal_Int32 AnalysisAddIn::getDateMode(
@@ -337,7 +332,7 @@ static const sal_uInt32 nNumOfLoc = 

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

2018-02-16 Thread Szymon Kłos
 sd/qa/unit/export-tests-ooxml2.cxx |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 7a510effa4566d405d2033b6635b42c08d34dec8
Author: Szymon Kłos 
Date:   Fri Feb 16 22:13:49 2018 +0100

Fix fontScale test

Change-Id: Idd16270cc6af0108442ba26db62ed933bbb0a63a
Reviewed-on: https://gerrit.libreoffice.org/49881
Tested-by: Jenkins 
Reviewed-by: Szymon Kłos 

diff --git a/sd/qa/unit/export-tests-ooxml2.cxx 
b/sd/qa/unit/export-tests-ooxml2.cxx
index 51e13eb80a5e..9fc5302f0325 100644
--- a/sd/qa/unit/export-tests-ooxml2.cxx
+++ b/sd/qa/unit/export-tests-ooxml2.cxx
@@ -1415,7 +1415,10 @@ void SdOOXMLExportTest2::testFontScale()
 xDocShRef = saveAndReload(xDocShRef.get(), PPTX, );
 xmlDocPtr pXmlDocContent = parseExport(tempFile, "ppt/slides/slide1.xml");
 
-assertXPath(pXmlDocContent, 
"/p:sld/p:cSld/p:spTree/p:sp/p:txBody/a:bodyPr/a:normAutofit", "fontScale", 
"73000");
+// Rounding errors possible, approximate value
+OUString sScale = getXPath(pXmlDocContent, 
"/p:sld/p:cSld/p:spTree/p:sp/p:txBody/a:bodyPr/a:normAutofit", "fontScale");
+if (sScale != "73000" && sScale != "72000" && sScale != "74000")
+CPPUNIT_ASSERT_EQUAL(OUString("73000"), sScale);
 
 xDocShRef->DoClose();
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 105948] [META] Undo/Redo bugs and enhancements

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=105948
Bug 105948 depends on bug 114732, which changed state.

Bug 114732 Summary: Undo make bullet reappear unexpectedly.
https://bugs.documentfoundation.org/show_bug.cgi?id=114732

   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 114732] Undo make bullet reappear unexpectedly.

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=114732

Mark Hung  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 107035] FILEOPEN Missing numbering in inserted caption when document is saved in DOCX format and reopened

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107035

Aron Budea  changed:

   What|Removed |Added

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

--- Comment #7 from Aron Budea  ---
Miklos, could it be one of your commits in that range?

I'm cautiously suspecting this one (just speculating):
https://cgit.freedesktop.org/libreoffice/core/commit/?id=232ad2f2588beff50cb5c1f3b689c581ba317583
author  Miklos Vajna   2012-11-28 11:59:00 +0100
committer   Michael Stahl    2012-11-28 21:33:54
+0100

API CHANGE: add a "position" parameter to XParagraph/TextPortionAppend methods

-- 
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 96007] Sidebar items in section Slide Transition are too wide in RU-locale

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96007

--- Comment #5 from QA Administrators  ---
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
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 106044] EDITING: The table borders dialog doesn't preview/ show the top border of the selected table row

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106044

--- Comment #3 from QA Administrators  ---
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today,
LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed
bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this
bug report. During that time, it's possible that the bug has been fixed, or the
details of the problem have changed. We'd really appreciate your help in
getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice
from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information
from Help - About LibreOffice.

If the bug is NOT present, please set the bug's Status field to
RESOLVED-WORKSFORME and leave a comment that includes the information from Help
- About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular
meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a
REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your
bug pertains to a feature added after 3.3) from
http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat:
https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug

-- 
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 38948] FILESAVE - Calc does not save the solver's model to files

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=38948

Luke  changed:

   What|Removed |Added

   See Also||http://openoffice.org/bugzi
   ||lla/show_bug.cgi?id=93613

-- 
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 115573] EDITING: Table loses formatting when inserting a new row in a table

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115573

--- Comment #22 from Lee <92ma...@gmail.com> ---
Changing font attributes for style table content is reverted or ignored.

1. create a table (2 column, 6 row)
2. Change the font and font size for the tyle element "table contents" apply
change
3. Edit some cell contents - the changed attributes are not used, they should
be
4. Select all cells in the table
5. Double click the table contents style to apply it - it is applied
6. Insert a row above some other row - those changed attributes disappear, the
default values for table contents is applied - should not happen
7. Press Ctrl-z - this removes the inserted row however, it does not revert the
changed font attributes incorrectly applied when the new row was inserted.

LO 5.3.7.2 does not have this issue.

-- 
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] FILEOPEN Missing numbering in inserted caption when document is saved in DOCX format and reopened

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107035

Aron Budea  changed:

   What|Removed |Added

   Keywords|bisected|
Version|5.3.0.3 release |4.0.0.3 release
Summary|Missing numbering in|FILEOPEN Missing numbering
   |inserted caption when   |in inserted caption when
   |document is saved in DOCX   |document is saved in DOCX
   |format and reopened |format and reopened

--- Comment #6 from Aron Budea  ---
(In reply to Luke Deller from comment #3)
> The underlying issue seems to be in the docx import, when there is direct
> character style formatting on the text immediately preceding a field, then
> the field is wrongly given that formatting.
Luke, excellent analysis! And it is an import bug, since the color is fine in
Word (and the numbering is there in the original example when opened in Word).

This is also a regression, from the following range:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range=c33019b36d613f951787ce9836e34d74bfbd6a1b..b67a51b40a4876f4bd97a2917103112006710b0c

The bug report is exactly about this issue, so let's keep it 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 115794] New: I find in firefox pages maybe open by LibreOffice Writer Version: 5.3.7.2 (x64)

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115794

Bug ID: 115794
   Summary: I find in firefox pages maybe open by LibreOffice
Writer Version: 5.3.7.2 (x64)
   Product: LibreOffice
   Version: 5.3.7.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: cocco1...@vodafone.it

Description:
'+.

Page automatically translated with
https://translate.google.it/?oe=utf-8=UTF-8=it=tw-ob#en/it/

Virus observed
Firefox 58.0.2 (x64) and LibreOffice Writer Version: 5.3.7.2 (x64),

February 15, 2018

Browsing with Firefox (on facebook?)
before I used libreoffice but I closed every page except but active
in libreoffice memory, to be ready for later use.
Facebook offers advertising pages, perhaps with funny images that can intrigue.
(with text also in Russian language?)
Click here to look at them.
So far the environment for how I remember it.

Later, learning the use of libreoffice, known among the "recent" a page never
seen before: it is not an existing page in my hard disk, but only a link an
internet address (erotic?). Sometimes the "miniature" also shows images,
sometimes not.

Link to this link (often with prefix #) that you do not want to underline and
libreoffice does NOT accept them as a link (by clicking on the button not shown
the part of the menu: open, edit, copy, remove)

In "navigator", however, you can see and can copy-edit.
I tried to rebuild the page by retrieving the link text only and (copy-paste)
some images.
I also (copy-paste) copied (from Firefox? I do not remember) the address of the
page link to text only, saved and closed the page.
Re-opening it you notice text additions (link?) A margin.
In "navigator" I find a link between the "comments".
The page just opened by my hard drive alone links to the link in the comments
"comments new images, not present on the saved page.
Imagine that we are in the presence of a virus, but even without a clik it
connects alone to the link in the "comments", so VERY dangerous.


February 18, 2018
known that, with open Firefox 58.0.2 (x64) and LibreOffice Writer Version:
5.3.7.2 (x64), hosting in the memory 2 "Writer recent files" links to 2 files
with "comments",
after a little 'inactivity (3 or 4 hours, I do not know if it matters) in
Firefox I find open 2 pages "unknown" ... I think open from the links in the
"comments".

‘+.

Pagina tradotta automaticamente con 
https://translate.google.it/?oe=utf-8=UTF-8=it=tw-ob#en/it/

Virus osservato 
Firefox 58.0.2  (x64) e LibreOffice Writer Versione: 5.3.7.2 (x64),

15 feb 2018

Navigando con Firefox (su facebook?)
prima  ho usato libreoffice ma ho chiuso ogni pagina lasciando però  attivo 
in memoria  libreoffice, per essere pronto ad un utilizzo successivo.
Facebook propone pagine pubblicitarie, magari con immagini divertenti  che
possono incuriosire. (con testo anche in lingua russa?)
Càpita di cliccarci sopra per guardarle.
Fin qui l’ambiente per come lo ricordo.

In seguito, riprendendo l’uso di  libreoffice, noto tra i “recenti” una pagina
mai vista prima: non è una pagina esistente nel mio hard disk, ma solo un link
un indirizzo internet (erotico?). Talvolta la “miniatura” mostra anche immagini
, altre volte no.

Ho aperto una pagina, ricca di link (spesso con prefisso #) che NON si
presentano sottolineati e   libreoffice  NON li riconosce come  link (cliccando
col dx non ti mostra la parte di menù: apri, modifica, copia, rimuovi)

In “navigatore”, però, si vedono e si possono copiare-modificare.
Ho tentato di ricostruire la pagina recuperando il solo testo dei link e 
(copia-incolla) qualche immagine.
Ho anche (copia-incolla) copiato (da Firefox? Non ricordo) l’indirizzo della
pagina linkata in una riga di solo testo, salvato e chiuso la pagina.
Riaprendola si notano aggiunte di testo(link?) a margine.
In “navigatore” trovo memorizzato un link tra i “commenti”.
La pagina appena aperta dal mio hard disk si collega da sola al link nei
“commenti” mostrando nuove immagini, non presenti nella pagina salvata.
Immagino che siamo in presenza di un VIRUS potenzialmente in grado di fare
danni se si seguono i link proposti, ma anche senza clik si collega da sola al
link nei “commenti”, quindi MOLTO pericoloso.


18 feb 2018
noto che, con aperti Firefox 58.0.2  (x64) e LibreOffice Writer Versione:
5.3.7.2 (x64), avendo in  memoria 2 “file recenti” di Writer i link ai 2 file
con “commenti”,
dopo un po’ di inattività (3 o 4 ore, non so se importa) in  Firefox trovo
aperte 2 pagine “sconosciute”… penso aperte dai link nei “commenti”.

Actual Results:  
I find in firefox pages maybe open by LibreOffice Writer Version: 5.3.7.2 (x64)

Expected Results:
pagina non richiesta: VIRUS?



Unit Test Failure: CppunitTest_cppcanvas_emfplus

2018-02-16 Thread Luke Benes
After 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=0d9f3f7628f88fa66aaeea1f7148db620e17e728

I'm seeing the following Unit Test Failure under Arch with both gcc and clang:

[CUT] cppcanvas_emfplus
[DEP] LNK:CppunitTest/libtest_sd_import_tests.so
[LNK] CppunitTest/libtest_sd_import_tests.so
/core/cppcanvas/qa/extras/emfplus/emfplus.cxx:84:Test::testFdo77229
equality assertion failed
- Expected: 
- Actual  : �

Test::testFdo77229 finished in: 1885ms
emfplus.cxx:84:Assertion
Test name: Test::testFdo77229
equality assertion failed
- Expected: 
- Actual  : �

Failures !!!
Run: 1   Failure total: 1   Failures: 1   Errors: 0

Error: a unit test failed, please do one of:

make CppunitTest_cppcanvas_emfplus CPPUNITTRACE="gdb --args"
# for interactive debugging on Linux
make CppunitTest_cppcanvas_emfplus VALGRIND=memcheck
# for memory checking
make CppunitTest_cppcanvas_emfplus DEBUGCPPUNIT=TRUE
# for exception catching

You can limit the execution to just one particular test by:

make CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...

make[1]: *** [/core/solenv/gbuild/CppunitTest.mk:115: 
/core/workdir/CppunitTest/cppcanvas_emfplus.test] Error 1
make[1]: *** Waiting for unfinished jobs
make: *** [Makefile:280: build] Error 2

Noel,
Any idea why that change may have caused this regression? 



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


[Libreoffice-bugs] [Bug 115573] EDITING: Table loses formatting when inserting a new row in a table

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115573

--- Comment #21 from Jim Raykowski  ---
When certain format changes are made to a table (font, font size, border,
background, etc) the current table style of the table should be replaced with
no table style. 

Patch set 2 doesn't do this but it does allow tables that are created using the
toolbar table insert item and the Menu > Table > Insert Table... > Insert
Button
to not be reverted to the Default Style when formatting changes are made.

-- 
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 101920] The ink "More info" in the window "About" is too small in portrait orientation

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101920

--- Comment #5 from John Felton  ---
Created attachment 139958
  --> https://bugs.documentfoundation.org/attachment.cgi?id=139958=edit
Fixed 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 115573] EDITING: Table loses formatting when inserting a new row in a table

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115573

--- Comment #20 from Jim Raykowski  ---
There is a workaround for the problems that are being reported here. 

1. insert a table using menu > Table > Insert Table... or Ctrl+F12
2. click on Auto Format button
None is selected in the Format list box  
3. click OK
4. click Insert
5. Make format changes to the table

-- 
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 101920] The ink "More info" in the window "About" is too small in portrait orientation

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=101920

--- Comment #4 from John Felton  ---
This bug is fixed in 6.1.0.0.alpha.0+ and may be closed. Screenshot is
attached.

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


[Libreoffice-bugs] [Bug 115793] Missed comma in Russian translation of installer

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115793

--- Comment #1 from John Felton  ---
Created attachment 139957
  --> https://bugs.documentfoundation.org/attachment.cgi?id=139957=edit
Missed comma when removing

-- 
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 115793] New: Missed comma in Russian translation of installer

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115793

Bug ID: 115793
   Summary: Missed comma in Russian translation of installer
   Product: LibreOffice
   Version: 6.0.1.1 release
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Localization
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: t6zm3v62fkp7...@yandex.ru

Description:
There is missed comma in Russian translation of installer that I've overlooked
as before in https://bugs.documentfoundation.org/show_bug.cgi?id=115356.

Actual Results:  
Now: "Сбор информации требуемой для установки..."

Expected Results:
Fixed: "Сбор информации, требуемой для установки..."


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/64.0.3282.140 Chrome/64.0.3282.140 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: Branch 'libreoffice-6-0' - helpcontent2

2018-02-16 Thread Olivier Hallot
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 82bbb94dea3291d740ee4b0bb4b3c331f3e2a45b
Author: Olivier Hallot 
Date:   Thu Jan 4 07:08:56 2018 -0200

Updated core
Project: help  c084a6cc7a44ecd652b78351a35dd5c3ae9624f1

Fix some help page contents

Change-Id: Ida1bfdaf86690a95df3949b5287dc0b10223e907
Reviewed-on: https://gerrit.libreoffice.org/47371
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 
(cherry picked from commit 9219a96f5e75fc59492259f354051ce980697c95)
Reviewed-on: https://gerrit.libreoffice.org/47384

diff --git a/helpcontent2 b/helpcontent2
index 6d883096dc27..c084a6cc7a44 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 6d883096dc275e1b384ed9ad08fd9ab4ad26bb3f
+Subproject commit c084a6cc7a44ecd652b78351a35dd5c3ae9624f1
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] help.git: Branch 'libreoffice-6-0' - source/text

2018-02-16 Thread Olivier Hallot
 source/text/shared/01/01060001.xhp |2 +-
 source/text/shared/01/01060002.xhp |2 +-
 source/text/shared/02/2005.xhp |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit c084a6cc7a44ecd652b78351a35dd5c3ae9624f1
Author: Olivier Hallot 
Date:   Thu Jan 4 07:08:56 2018 -0200

Fix some help page contents

Change-Id: Ida1bfdaf86690a95df3949b5287dc0b10223e907
Reviewed-on: https://gerrit.libreoffice.org/47371
Reviewed-by: Olivier Hallot 
Tested-by: Olivier Hallot 
(cherry picked from commit 9219a96f5e75fc59492259f354051ce980697c95)
Reviewed-on: https://gerrit.libreoffice.org/47384

diff --git a/source/text/shared/01/01060001.xhp 
b/source/text/shared/01/01060001.xhp
index c3fe8e397..40d9f2b03 100644
--- a/source/text/shared/01/01060001.xhp
+++ b/source/text/shared/01/01060001.xhp
@@ -30,7 +30,7 @@
 Long click on the Save icon and select Save 
Remote Files...
 
 
-A 
remote file server is web service that stores documents with or without 
check-in, check-out, version controls and backups.
+A 
remote file server is a web service that stores documents with or without 
check-in, check-out, version controls and backups.
 
 Opening and saving files in remote servers
 
diff --git a/source/text/shared/01/01060002.xhp 
b/source/text/shared/01/01060002.xhp
index 1d2ed50cc..1d6c032c7 100644
--- a/source/text/shared/01/01060002.xhp
+++ b/source/text/shared/01/01060002.xhp
@@ -28,7 +28,7 @@
 
 Choose File - Save a 
Copy
 
-Creates another file with same contents of the current file. 
The current file is kept opened for edition.
+Creates another file with same contents of the current file. 
The current file is kept open for editing.
 
 Save
 Save 
as
diff --git a/source/text/shared/02/2005.xhp 
b/source/text/shared/02/2005.xhp
index b79d80a58..4d76be719 100644
--- a/source/text/shared/02/2005.xhp
+++ b/source/text/shared/02/2005.xhp
@@ -67,7 +67,7 @@
 Extending selection (F8)
 
 
-By using the arrow keys or the Home and End keys you can 
extend or crop the current selection. Clicking into the text selects the text 
between the current cursor position and the click position. You also can use 
(with or without Shift key) the arrow keys and the 
keys Home and End to 
increase or decrease the current selection.
+By using the arrow keys or the Home and End keys you can 
extend or crop the current selection. Clicking into the text selects the text 
between the current cursor position and the click position.
 
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 115792] Cursor is in the wrong position after pasting text

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115792

Aron Budea  changed:

   What|Removed |Added

   Keywords||bibisected, bisected,
   ||regression
 Status|UNCONFIRMED |NEW
 CC||varun.vd1...@gmail.com
 Ever confirmed|0   |1

--- Comment #1 from Aron Budea  ---
Confirmed with LO 6.0.1.1 / Windows 7.

Bibisected to the following commit with repo bibisect-win32-6.0. Seems to be a
change from the editengine GSoC. Adding Cc: to Varun Dhall, please take a look
sometimes if you can.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=3278cbf7dcf0c72c125fb4ba14e2b24faf267d9c
author  Varun Dhall 2017-06-13
01:36:06 +0530
committer   Michael Stahl    2017-06-15 14:12:40
+0200

EditEngine: Added EditEngine ODF format for Windows

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


[Libreoffice-bugs] [Bug 115774] Caption numbering error in LibreOffic

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115774

Aron Budea  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ba...@caesar.elte.hu
  Component|Writer  |Writer
   Hardware|x86 (IA32)  |All
 Resolution|--- |DUPLICATE
Product|LibreOffice Online  |LibreOffice
 OS|Windows (All)   |All

--- Comment #2 from Aron Budea  ---
Hi Tibor! I assume you meant the numbers disappear when you save the document
in DOCX format. In that case this is a duplicate of bug 107035.

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

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

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107035

Aron Budea  changed:

   What|Removed |Added

 CC||borso...@vipmail.hu

--- Comment #5 from Aron Budea  ---
*** Bug 115774 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 115532] Changes are not saved

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115532

Aron Budea  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #4 from Aron Budea  ---
I'm going to assume the suggestions helped. If you're still experiencing the
issue, please reset status to UNCONFIRMED with further details.

-- 
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 115549] Slide background not shown in presentation mode

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115549

Aron Budea  changed:

   What|Removed |Added

Version|unspecified |6.0.1.1 release

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


[Libreoffice-bugs] [Bug 111450] [META] SVG fileSave filter (Draw)

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=111450

Aron Budea  changed:

   What|Removed |Added

 Depends on||115549


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=115549
[Bug 115549] Slide background not shown in presentation mode
-- 
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 115549] Slide background not shown in presentation mode

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115549

Aron Budea  changed:

   What|Removed |Added

 Blocks||111450

--- Comment #5 from Aron Budea  ---
Right, unfortunately Draw doesn't import the SVG properly, I had to use
Inkscape for that, but can see there that the SVG has no background color.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=111450
[Bug 111450] [META] SVG fileSave filter (Draw)
-- 
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 115792] New: Cursor is in the wrong position after pasting text

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=115792

Bug ID: 115792
   Summary: Cursor is in the wrong position after pasting text
   Product: LibreOffice
   Version: 6.0.1.1 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: gro...@ajinfosearch.com

Description:
When editing text in a cell in Calc by pasting some text the cursor is at the
beginning of the pasted text and not at the end. This has changed since
Libreoffice 5 where the cursor was placed at the end of the pasted text.

Steps to Reproduce:
1.Put some text in a cell in Calc
2.Copy some other text from somewhere else
3.Edit the cell in step 1, move somewhere in the middle
4.Paste the copied text

Actual Results:  
cursor is at the beginning of the pasted text

Expected Results:
cursor should be at the end of the pasted text, as was the behavior in previous
versions of Calc


Reproducible: Always


User Profile Reset: No



Additional Info:
Specific version details:
Version: 6.0.1.1
Build ID: 1:6.0.1~rc1-0ubuntu0.17.10.1~lo1
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: en-US (en_US.UTF-8); Calc: group



User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101
Firefox/58.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 102847] [META] Quick Find, Search and Replace

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102847

V Stuart Foote  changed:

   What|Removed |Added

 Depends on||102374


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102374
[Bug 102374] Find & Replace - the \t wildcard is not parsed as a replacement
string for some Find instances
-- 
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 112575] Improve handling of paragraph endings in regular expression replacements

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=112575

--- Comment #17 from V Stuart Foote  ---
Working well with Windows builds current master.
Version: 6.1.0.0.alpha0+ (x64)
Build ID: e1082e45361a92a31adedcc3ed0a35c704bca543
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-02-15_23:24:06
Locale: en-US (en_US); Calc: group

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

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

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102847
Bug 102847 depends on bug 91033, which changed state.

Bug 91033 Summary: Writer: regular expression to find string ending paragraph 
and paragraph end itself
https://bugs.documentfoundation.org/show_bug.cgi?id=91033

   What|Removed |Added

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

-- 
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 91033] Writer: regular expression to find string ending paragraph and paragraph end itself

2018-02-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91033

V Stuart Foote  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||vstuart.fo...@utsa.edu
 Resolution|--- |DUPLICATE

--- Comment #4 from V Stuart Foote  ---
Working well with Windows builds current master.
Version: 6.1.0.0.alpha0+ (x64)
Build ID: e1082e45361a92a31adedcc3ed0a35c704bca543
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-02-15_23:24:06
Locale: en-US (en_US); Calc: group

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

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

2018-02-16 Thread Kohei Yoshida
 sc/qa/unit/data/xml/named-exp-global.xml |   92 +
 sc/qa/unit/data/xml/named-exp-local.xml  |  131 +++
 sc/qa/unit/subsequent_filters-test.cxx   |   45 ++
 3 files changed, 268 insertions(+)

New commits:
commit 05986e7f98ea1c0bd8092500968774ef3f6bcef4
Author: Kohei Yoshida 
Date:   Fri Feb 16 16:37:31 2018 -0500

Add a test case for global and sheet-local named expressions.

Change-Id: I44247b55f3541214b515378744ee2c1982051e27
Reviewed-on: https://gerrit.libreoffice.org/49882
Tested-by: Jenkins 
Reviewed-by: Kohei Yoshida 

diff --git a/sc/qa/unit/data/xml/named-exp-global.xml 
b/sc/qa/unit/data/xml/named-exp-global.xml
new file mode 100644
index ..151ed7037e02
--- /dev/null
+++ b/sc/qa/unit/data/xml/named-exp-global.xml
@@ -0,0 +1,92 @@
+
+
+http://www.w3.org/TR/REC-html40;>
+ 
+  Kohei Yoshida
+  Kohei Yoshida
+  2016-12-17T20:46:03Z
+  2016-12-17T20:49:13Z
+  15.00
+ 
+ 
+  
+ 
+ 
+  14385
+  24000
+  0
+  0
+  
+  False
+  False
+ 
+ 
+  
+   
+   
+   
+   
+   
+   
+  
+ 
+ 
+  
+  
+ 
+ 
+  
+   
+1
+6
+   
+   
+2
+7
+   
+   
+3
+8
+   
+   
+4
+9
+   
+   
+5
+10
+   
+   
+15
+55
+   
+  
+  
+   
+
+
+
+   
+   
+   
+
+ 3
+ 6
+ 1
+
+   
+   False
+   False
+  
+ 
+
diff --git a/sc/qa/unit/data/xml/named-exp-local.xml 
b/sc/qa/unit/data/xml/named-exp-local.xml
new file mode 100644
index ..46f110bf3da7
--- /dev/null
+++ b/sc/qa/unit/data/xml/named-exp-local.xml
@@ -0,0 +1,131 @@
+
+
+http://www.w3.org/TR/REC-html40;>
+ 
+  Kohei Yoshida
+  Kohei Yoshida
+  2017-02-08T02:38:34Z
+  2017-02-08T02:41:56Z
+  15.00
+ 
+ 
+  
+ 
+ 
+  14385
+  24000
+  0
+  0
+  False
+  False
+ 
+ 
+  
+   
+   
+   
+   
+   
+   
+  
+ 
+ 
+  
+   
+  
+  
+   
+1
+6
+   
+   
+2
+7
+   
+   
+3
+8
+   
+   
+4
+9
+   
+   
+5
+10
+   
+   
+27
+   
+  
+  
+   
+
+
+
+   
+   
+   
+   
+
+ 3
+ 6
+
+   
+   False
+   False
+  
+ 
+ 
+  
+   
+  
+  
+   
+10
+20
+   
+   
+11
+21
+   
+   
+12
+22
+   
+   
+13
+23
+   
+   
+14
+24
+   
+   
+74
+   
+  
+  
+   
+
+
+
+   
+   
+   
+
+ 3
+ 6
+
+   
+   False
+   False
+  
+ 
+
diff --git a/sc/qa/unit/subsequent_filters-test.cxx 
b/sc/qa/unit/subsequent_filters-test.cxx
index 5eb5303b397f..f93af35a0aab 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -237,6 +237,7 @@ public:
 
 void testMergedCellsXLSXML();
 void testBackgroundColorStandardXLSXML();
+void testNamedExpressionsXLSXML();
 
 CPPUNIT_TEST_SUITE(ScFiltersTest);
 CPPUNIT_TEST(testBooleanFormatXLSX);
@@ -361,6 +362,7 @@ public:
 #endif
 CPPUNIT_TEST(testMergedCellsXLSXML);
 CPPUNIT_TEST(testBackgroundColorStandardXLSXML);
+CPPUNIT_TEST(testNamedExpressionsXLSXML);
 
 CPPUNIT_TEST_SUITE_END();
 
@@ -3584,6 +3586,49 @@ void ScFiltersTest::testBackgroundColorStandardXLSXML()
 xDocSh->DoClose();
 }
 
+void ScFiltersTest::testNamedExpressionsXLSXML()
+{
+{
+// global named expressions
+
+ScDocShellRef xDocSh = loadDoc("named-exp-global.", FORMAT_XLS_XML);
+CPPUNIT_ASSERT_MESSAGE("Failed to load named-exp-global.xml", 
xDocSh.is());
+ScDocument& rDoc = xDocSh->GetDocument();
+
+// A7
+ScAddress aPos(0,6,0);
+CPPUNIT_ASSERT_EQUAL(15.0, rDoc.GetValue(aPos));
+ASSERT_FORMULA_EQUAL(rDoc, aPos, "SUM(MyRange)", nullptr);
+
+// B7
+aPos.IncCol();
+CPPUNIT_ASSERT_EQUAL(55.0, rDoc.GetValue(aPos));
+ASSERT_FORMULA_EQUAL(rDoc, aPos, "SUM(MyRange2)", nullptr);
+
+xDocSh->DoClose();
+}
+
+{
+// sheet-local named expressions
+
+ScDocShellRef xDocSh = loadDoc("named-exp-local.", FORMAT_XLS_XML);
+CPPUNIT_ASSERT_MESSAGE("Failed to load named-exp-local.xml", 
xDocSh.is());
+ScDocument& rDoc = xDocSh->GetDocument();
+
+// A7 on Sheet1
+ScAddress aPos(0,6,0);
+CPPUNIT_ASSERT_EQUAL(27.0, rDoc.GetValue(aPos));
+ASSERT_FORMULA_EQUAL(rDoc, aPos, "SUM(MyRange)", nullptr);
+
+// A7 on Sheet2
+aPos.IncTab();
+CPPUNIT_ASSERT_EQUAL(74.0, rDoc.GetValue(aPos));
+ASSERT_FORMULA_EQUAL(rDoc, aPos, "SUM(MyRange)", nullptr);
+
+xDocSh->DoClose();
+}
+}
+
 void ScFiltersTest::testCondFormatXLSB()
 {
 ScDocShellRef xDocSh = 

[Libreoffice-bugs] [Bug 115791] New: Error when trying to send file via thunderbird

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

Bug ID: 115791
   Summary: Error when trying to send file via thunderbird
   Product: LibreOffice
   Version: 5.4.2.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: uwe.k...@opticakoch.cl

Although I have my libreoffice configured in tools->options->internet->e-mail
containing thunderbird or /usr/bin/thunderbird, each time I try to send a file,
I get a "non functional e-mail configuration found in libreoffice" error, since
upgrade to 5.4.4.2 on ubuntu 17.10 kernel 4.13.0-35-generic.

-- 
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 115790] New: Libre Office crashing when saving file

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

Bug ID: 115790
   Summary: Libre Office crashing when saving file
   Product: LibreOffice
   Version: 5.4.4.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: tomilin.s...@gmail.com

Description:
Libre Office keep crashing when saving Calc file
Office Version: 5.4.4.2   Build ID: 1:5.4.4-0ubuntu0.17.10.1

Tried to run in safe mode and reset profile dettings to default. Also disabled
hardware acceleration and all add-ons. Nothing helps. Tried to save Writer
document and it also crashed. Same story with Libre -DRAW

Regards, Sergey Tomilin

Actual Results:  
Open new doc (Calc, Writer, Draw) Type "x". 
Click on Save or Save As  or  Export to PDF 

Expected Results:
next you will see document recovery dialog

Docs recovered, but never can be saved. ... What a joke


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 5.4.4.2
Build ID: 1:5.4.4-0ubuntu0.17.10.1
CPU threads: 4; OS: unknown; UI render: default; VCL: kde4; 
Locale: en-GB (en_GB.UTF-8); Calc: group


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101
Firefox/58.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 115767] MAILMERGE:Failure on Network Drive

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

Tom Colley  changed:

   What|Removed |Added

   Hardware|All |x86-64 (AMD64)

-- 
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/inc sc/source

 sc/inc/global.hxx  |3 +++
 sc/source/ui/docshell/arealink.cxx |2 +-
 sc/source/ui/docshell/docsh.cxx|2 +-
 sc/source/ui/miscdlgs/linkarea.cxx |2 +-
 sc/source/ui/vba/vbaworkbook.cxx   |4 ++--
 sc/source/ui/vba/vbaworkbooks.cxx  |2 +-
 6 files changed, 9 insertions(+), 6 deletions(-)

New commits:
commit b87fe45e8b087a315a65b92bf9c168b1e4c5cc00
Author: Eike Rathke 
Date:   Fri Feb 16 23:52:04 2018 +0100

Consolidate the dreaded "Text - txt - csv (StarCalc)" filter name

... into one define SC_TEXT_CSV_FILTER_NAME. This might prevent
typos and doesn't look as ugly.

Change-Id: If954852e5e6673331b29c4994f9d97c77b6564a6

diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 438cfe804b44..78600a827954 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -50,6 +50,9 @@ enum class SvNumFormatType : sal_Int16;
 
 #define STRING_STANDARD "Standard"
 
+// Have the dreaded programmatic filter name defined in one place.
+#define SC_TEXT_CSV_FILTER_NAME "Text - txt - csv (StarCalc)"
+
 // characters
 
 const sal_Unicode CHAR_NBSP = 0x00A0;
diff --git a/sc/source/ui/docshell/arealink.cxx 
b/sc/source/ui/docshell/arealink.cxx
index 81e2c7cf5b0d..63ea2ad325f0 100644
--- a/sc/source/ui/docshell/arealink.cxx
+++ b/sc/source/ui/docshell/arealink.cxx
@@ -272,7 +272,7 @@ bool ScAreaLink::Refresh( const OUString& rNewFile, const 
OUString& rNewFilter,
 SCROW nHeight = 0;
 ScRangeList aSourceRanges;
 
-if (rNewFilter == "Text - txt - csv (StarCalc)" && aTempArea == "CSV_all")
+if (rNewFilter == SC_TEXT_CSV_FILTER_NAME && aTempArea == "CSV_all")
 {
 // The dummy All range. All data, including top/left empty
 // rows/columns.
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 8d1117af8d48..7815e68d5566 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -145,7 +145,7 @@ using ::std::vector;
 
 static const sal_Char pFilterSc50[] = "StarCalc 5.0";
 static const sal_Char pFilterXML[]  = "StarOffice XML (Calc)";
-static const sal_Char pFilterAscii[]= "Text - txt - csv (StarCalc)";
+static const sal_Char pFilterAscii[]= SC_TEXT_CSV_FILTER_NAME;
 static const sal_Char pFilterLotus[]= "Lotus";
 static const sal_Char pFilterQPro6[]= "Quattro Pro 6.0";
 static const sal_Char pFilterExcel4[]   = "MS Excel 4.0";
diff --git a/sc/source/ui/miscdlgs/linkarea.cxx 
b/sc/source/ui/miscdlgs/linkarea.cxx
index 96f613ffa7a1..c66534c91839 100644
--- a/sc/source/ui/miscdlgs/linkarea.cxx
+++ b/sc/source/ui/miscdlgs/linkarea.cxx
@@ -258,7 +258,7 @@ void ScLinkedAreaDlg::UpdateSourceRanges()
 if ( pSourceShell )
 {
 std::shared_ptr pFilter = 
pSourceShell->GetMedium()->GetFilter();
-if (pFilter && pFilter->GetFilterName() == "Text - txt - csv 
(StarCalc)")
+if (pFilter && pFilter->GetFilterName() == SC_TEXT_CSV_FILTER_NAME)
 {
 // Insert dummy All range to have something selectable.
 m_pLbRanges->InsertEntry("CSV_all");
diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx
index 978915ef71d6..f0a6432df330 100644
--- a/sc/source/ui/vba/vbaworkbook.cxx
+++ b/sc/source/ui/vba/vbaworkbook.cxx
@@ -103,7 +103,7 @@ bool ScVbaWorkbook::setFilterPropsFromFormat( sal_Int32 
nFormat, uno::Sequence<
 switch( nFormat )
 {
 case excel::XlFileFormat::xlCSV:
-rProps[ index ].Value <<= OUString("Text - txt - csv 
(StarCalc)");
+rProps[ index ].Value <<= 
OUString(SC_TEXT_CSV_FILTER_NAME);
 break;
 case excel::XlFileFormat::xlDBF4:
 rProps[ index ].Value <<= OUString("DBF");
@@ -150,7 +150,7 @@ ScVbaWorkbook::getFileFormat(  )
aArgs[1].Value >>= aFilterName;
 }
 
-if (aFilterName == "Text - txt - csv (StarCalc)") {
+if (aFilterName == SC_TEXT_CSV_FILTER_NAME) {
 aFileFormat = excel::XlFileFormat::xlCSV; //xlFileFormat.
 }
 
diff --git a/sc/source/ui/vba/vbaworkbooks.cxx 
b/sc/source/ui/vba/vbaworkbooks.cxx
index 1fd605d8b972..fa12faae8f1e 100644
--- a/sc/source/ui/vba/vbaworkbooks.cxx
+++ b/sc/source/ui/vba/vbaworkbooks.cxx
@@ -254,7 +254,7 @@ ScVbaWorkbooks::Open( const OUString& rFileName, const 
uno::Any& /*UpdateLinks*/
 sFormat = OUString::number( nDelim ) + ",34,0,1";
 sProps[ nIndex++ ].Value <<= sFormat;
 sProps[ nIndex ].Name = "FilterName";
-sProps[ nIndex++ ].Value <<= OUString( "Text - txt - csv (StarCalc)" );
+sProps[ nIndex++ ].Value <<= OUString( SC_TEXT_CSV_FILTER_NAME );
 // Ensure WORKAROUND_CSV_TXT_BUG_i60158 gets called in 
typedetection.cxx so
 // csv is forced for deep detected 'writerxxx' types
 sProps[ nIndex ].Name = "DocumentService";
___

[Libreoffice-bugs] [Bug 115767] MAILMERGE:Failure on Network Drive

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

Tom Colley  changed:

   What|Removed |Added

 OS|All |Linux (All)

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


[Libreoffice-bugs] [Bug 115549] Slide background not shown in presentation mode

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

--- Comment #4 from Andras Timar  ---
This is an SVG export filter 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 115549] Slide background not shown in presentation mode

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

Andras Timar  changed:

   What|Removed |Added

  Component|Impress |filters and storage
Product|LibreOffice Online  |LibreOffice

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


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

 editeng/source/editeng/editeng.cxx|7 ++
 editeng/source/outliner/outliner.cxx  |5 +
 include/editeng/editeng.hxx   |2 
 include/editeng/outliner.hxx  |2 
 sd/qa/unit/tiledrendering/data/tdf115783.fodp |   52 +++
 sd/qa/unit/tiledrendering/tiledrendering.cxx  |   71 ++
 sd/source/ui/view/sdview.cxx  |   13 
 7 files changed, 151 insertions(+), 1 deletion(-)

New commits:
commit f0c25c751cf8e166a84b289746bce6202a40391d
Author: Miklos Vajna 
Date:   Fri Feb 16 18:08:46 2018 +0100

tdf#115783 sd: fix lost char attributes during in-table copy

The SvxFontHeightItem (12pt) is originally a character-level property on
the table cell (covering the whole cell text) but when the user sets the
font height of the cell,
sdr::properties::CellProperties::ItemSetChanged() will turn that into a
paragraph-level property. This is fine, except that this way the
property has unclear semantics when the user pastes single-paragraph
content into an existing paragraph. (Keep the old paragraph properties?
Use the new ones?)

The current behavior is that sd::View::OnEndPasteOrDrop() calls into
ContentAttribs::SetStyleSheet() at the end of the paste, which removes
paragraph-level formatting (giving visibility to the from-style 18pt
font height this way for the existing content), so both the old and the
new paragraph formatting is lost.

Improve the situation by copying these paragraph-level character
properties back to character-level before paste at the paste position
(so doc model is back to the state after load), that way font height and
similar properties are not removed by the on-end-paste handler.

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

diff --git a/editeng/source/editeng/editeng.cxx 
b/editeng/source/editeng/editeng.cxx
index d434114b9119..dcadbdc03db9 100644
--- a/editeng/source/editeng/editeng.cxx
+++ b/editeng/source/editeng/editeng.cxx
@@ -1738,6 +1738,13 @@ const SfxPoolItem& EditEngine::GetParaAttrib( sal_Int32 
nPara, sal_uInt16 nWhich
 return pImpEditEngine->GetParaAttrib( nPara, nWhich );
 }
 
+void EditEngine::SetCharAttribs(sal_Int32 nPara, const SfxItemSet& rSet)
+{
+EditSelection aSel(pImpEditEngine->ConvertSelection(nPara, 0, nPara, 
GetTextLen(nPara)));
+pImpEditEngine->SetAttribs(aSel, rSet);
+pImpEditEngine->FormatAndUpdate();
+}
+
 void EditEngine::GetCharAttribs( sal_Int32 nPara, std::vector& 
rLst ) const
 {
 pImpEditEngine->GetCharAttribs( nPara, rLst );
diff --git a/editeng/source/outliner/outliner.cxx 
b/editeng/source/outliner/outliner.cxx
index 5c310ceab03a..869ecb72a2e2 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -746,6 +746,11 @@ void Outliner::SetParaAttribs( sal_Int32 nPara, const 
SfxItemSet& rSet )
 pEditEngine->SetParaAttribs( nPara, rSet );
 }
 
+void Outliner::SetCharAttribs(sal_Int32 nPara, const SfxItemSet& rSet)
+{
+pEditEngine->SetCharAttribs(nPara, rSet);
+}
+
 bool Outliner::Expand( Paragraph const * pPara )
 {
 if ( pParaList->HasHiddenChildren( pPara ) )
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx
index c47c281f22bb..fc3a6713707a 100644
--- a/include/editeng/editeng.hxx
+++ b/include/editeng/editeng.hxx
@@ -313,6 +313,8 @@ public:
 virtual voidSetParaAttribs( sal_Int32 nPara, const SfxItemSet& 
rSet );
 const SfxItemSet&   GetParaAttribs( sal_Int32 nPara ) const;
 
+/// Set attributes from rSet an all characters of nPara.
+void SetCharAttribs(sal_Int32 nPara, const SfxItemSet& rSet);
 voidGetCharAttribs( sal_Int32 nPara, 
std::vector& rLst ) const;
 
 SfxItemSet  GetAttribs( sal_Int32 nPara, sal_Int32 nStart, sal_Int32 
nEnd, GetAttribsFlags nFlags = GetAttribsFlags::ALL ) const;
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index aad54a179ae4..1b65a7bf215f 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -892,6 +892,8 @@ public:
 // Only for EditEngine mode
 voidQuickInsertText( const OUString& rText, const ESelection& 
rSel );
 voidQuickDelete( const ESelection& rSel );
+/// Set attributes from rSet an all characters of nPara.
+void SetCharAttribs(sal_Int32 nPara, const SfxItemSet& rSet);
 voidRemoveCharAttribs( sal_Int32 nPara, sal_uInt16 nWhich = 0 
);
 voidQuickFormatDoc();
 
diff --git a/sd/qa/unit/tiledrendering/data/tdf115783.fodp 
b/sd/qa/unit/tiledrendering/data/tdf115783.fodp
new file mode 100644
index ..d9ada63ad15e
--- /dev/null
+++ 

[Libreoffice-bugs] [Bug 112694] FILEOPEN: DOCX - Top margin imported incorrectly and header incorrectly activated

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

Miklos Vajna  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |vmik...@collabora.co.uk
   |desktop.org |

--- Comment #4 from Miklos Vajna  ---
Created attachment 139956
  --> https://bugs.documentfoundation.org/attachment.cgi?id=139956=edit
Cut-down reproducer.

I get some loading problem with the original bugdoc, here is a cut-down 2 page
version of it (using Word), so that it's possible to see the regression.

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


[Libreoffice-bugs] [Bug 112071] [META] Linked external data issues

https://bugs.documentfoundation.org/show_bug.cgi?id=112071
Bug 112071 depends on bug 114995, which changed state.

Bug 114995 Summary: Link to External Data doesn't support Text Import from CSV
https://bugs.documentfoundation.org/show_bug.cgi?id=114995

   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


Re: UITest_writerperfect_epubexport hang (only sometimes)


On 31.01.2018 11:20, Stephan Bergmann wrote:

On 23.01.2018 09:18, Miklos Vajna wrote:

I've added UITest_writerperfect_epubexport a while ago, and while I did
not see it hanging in the recent past, both Noel and Stephan run into
a hang of it from time to time.

The code is here:

writerperfect/qa/uitest/epubexport/epubexport.py

The backtrace always looks like this:
self.ui_test.execute_blocking_action() gets an UNO method where invoking
it opens a dialog and the python method also gets a callback. When the
hang happens, then it seems the problem is that the Python thread waits
for the dialog to be closed, but in fact it's already closed, so it
waits forever joining the python thread.

I don't think there is anything really special in this test, rather I
guess the problem happens here more frequently (than elsewhere) because
normally these dialogs are invoked via UNO commands, where we just
execute the UNO command, wait for the dialog to appear then work with
it. (I did not look at the implementation, perhaps in this case there is
no Python thread involved?)

So I wonder -- do you think it would be possible or would make sense to
have a way similar to self.xUITest.executeCommand (execute a blocking
command async), but for UNO methods that open a dialog? I.e. also
similar to self.ui_test.execute_blocking_action, but without an actual
callback.

Perhaps that would be a fix for these strange hangs.


Is anything blocking this? 
 
is yet another hung Gerrit/Jenkins build that might or might not be 
caused by this issue.


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


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

 sc/qa/unit/data/xml/background-color-standard.xml |  150 ++
 sc/qa/unit/subsequent_filters-test.cxx|   49 +++
 2 files changed, 199 insertions(+)

New commits:
commit 028d4f9025c0d285bc5acdd0250b9e8120156925
Author: Kohei Yoshida 
Date:   Fri Feb 16 15:54:15 2018 -0500

Add a test case for importing cell background colors...

... from an Excel 2003 XML file via orcus.

Change-Id: I58783acf80de7935e98673b982d8cfb0d4f085ce
Reviewed-on: https://gerrit.libreoffice.org/49880
Tested-by: Jenkins 
Reviewed-by: Kohei Yoshida 

diff --git a/sc/qa/unit/data/xml/background-color-standard.xml 
b/sc/qa/unit/data/xml/background-color-standard.xml
new file mode 100644
index ..7ccfef8a2e23
--- /dev/null
+++ b/sc/qa/unit/data/xml/background-color-standard.xml
@@ -0,0 +1,150 @@
+
+
+http://www.w3.org/TR/REC-html40;>
+ 
+  Kohei Yoshida
+  Kohei Yoshida
+  2013-10-21T23:43:59Z
+  2013-10-21T23:51:49Z
+  16.00
+ 
+ 
+  
+ 
+ 
+  9270
+  24915
+  480
+  120
+  False
+  False
+ 
+ 
+  
+   
+   
+   
+   
+   
+   
+  
+  
+   
+  
+  
+   
+   
+  
+  
+   
+   
+  
+  
+   
+   
+  
+  
+   
+   
+  
+  
+   
+   
+  
+  
+   
+   
+  
+  
+   
+   
+  
+  
+   
+   
+  
+  
+   
+   
+  
+  
+   
+   
+  
+ 
+ 
+  
+   
+   
+Background 
Color
+   
+   
+Dark Red
+   
+   
+Red
+   
+   
+Orange
+   
+   
+Yellow
+   
+   
+Light Green
+   
+   
+Green
+   
+   
+Light Blue
+   
+   
+Blue
+   
+   
+Dark Blue
+   
+   
+Purple
+   
+  
+  
+   
+
+
+
+   
+   
+
+600
+600
+   
+   
+   
+
+ 3
+ 12
+
+   
+   False
+   False
+  
+ 
+
diff --git a/sc/qa/unit/subsequent_filters-test.cxx 
b/sc/qa/unit/subsequent_filters-test.cxx
index a38396ceb674..5eb5303b397f 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -236,6 +236,7 @@ public:
 #endif
 
 void testMergedCellsXLSXML();
+void testBackgroundColorStandardXLSXML();
 
 CPPUNIT_TEST_SUITE(ScFiltersTest);
 CPPUNIT_TEST(testBooleanFormatXLSX);
@@ -359,6 +360,7 @@ public:
 CPPUNIT_TEST(testUnicodeFileNameGnumeric);
 #endif
 CPPUNIT_TEST(testMergedCellsXLSXML);
+CPPUNIT_TEST(testBackgroundColorStandardXLSXML);
 
 CPPUNIT_TEST_SUITE_END();
 
@@ -3535,6 +3537,53 @@ void ScFiltersTest::testMergedCellsXLSXML()
 xDocSh->DoClose();
 }
 
+void ScFiltersTest::testBackgroundColorStandardXLSXML()
+{
+ScDocShellRef xDocSh = loadDoc("background-color-standard.", 
FORMAT_XLS_XML);
+CPPUNIT_ASSERT_MESSAGE("Failed to load background-color-standard.xml", 
xDocSh.is());
+ScDocument& rDoc = xDocSh->GetDocument();
+
+struct Check
+{
+OUString aCellValue;
+Color aFontColor;
+Color aBgColor;
+};
+
+const std::vector aChecks =
+{
+{ OUString("Background Color"), Color(COL_BLACK), 
Color(COL_TRANSPARENT) },
+{ OUString("Dark Red"), Color(COL_WHITE), Color(192,  0,0) 
  },
+{ OUString("Red"),  Color(COL_WHITE), Color(255,  0,0) 
  },
+{ OUString("Orange"),   Color(COL_WHITE), Color(255, 192,   0) 
  },
+

[Libreoffice-bugs] [Bug 115671] OpenGL: MSO OOXML shapes incorrectly rendered

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

Version|unspecified |6.1.0.0.alpha0+ Master

-- 
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 115703] pptx slideshow is not working on lo viewer master daily build

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

Version|unspecified |6.1.0.0.alpha0+ Master

-- 
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 115708] fodp slideshow is not working on lo viewer master daily build

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

Version|unspecified |6.1.0.0.alpha0+ Master

-- 
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 115706] odp slideshow is not working on lo viewer master daily build

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

Version|unspecified |6.1.0.0.alpha0+ Master

-- 
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 115767] MAILMERGE:Failure on Network Drive

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

Version|unspecified |5.1.6.2 release

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


[Libreoffice-bugs] [Bug 115754] FORMATTING: Updating styles doesn't update table styles

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

Version|unspecified |6.1.0.0.alpha0+ Master

-- 
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 115735] unable to add slide

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

Version|unspecified |6.1.0.0.alpha0+ Master

-- 
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 115733] "Open with" dialog menu items have no icons next the name " Libreoffice"

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

 OS|All |Windows (All)

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


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

 sc/source/ui/docshell/arealink.cxx |   79 +
 sc/source/ui/miscdlgs/linkarea.cxx |7 +++
 2 files changed, 52 insertions(+), 34 deletions(-)

New commits:
commit 40530d0ce4883ac999d53f86c0483e1a47c9fd74
Author: Eike Rathke 
Date:   Fri Feb 16 22:47:02 2018 +0100

Resolves: tdf#114995 support CSV as Link to External Data

... with one CSV_all range for all data.

Change-Id: Ibe7a8f5141394eb4592e83a69e620e4b1a6b5221

diff --git a/sc/source/ui/docshell/arealink.cxx 
b/sc/source/ui/docshell/arealink.cxx
index cc98d0744adc..81e2c7cf5b0d 100644
--- a/sc/source/ui/docshell/arealink.cxx
+++ b/sc/source/ui/docshell/arealink.cxx
@@ -270,16 +270,32 @@ bool ScAreaLink::Refresh( const OUString& rNewFile, const 
OUString& rNewFilter,
 // find total size of source area
 SCCOL nWidth = 0;
 SCROW nHeight = 0;
+ScRangeList aSourceRanges;
+
+if (rNewFilter == "Text - txt - csv (StarCalc)" && aTempArea == "CSV_all")
+{
+// The dummy All range. All data, including top/left empty
+// rows/columns.
+aTempArea.clear();
+SCCOL nEndCol = 0;
+SCROW nEndRow = 0;
+if (rSrcDoc.GetCellArea( 0, nEndCol, nEndRow))
+{
+aSourceRanges.Append( ScRange( 0,0,0, nEndCol, nEndRow, 0));
+nWidth = nEndCol + 1;
+nHeight = nEndRow + 2;
+}
+}
+
 sal_Int32 nTokenCnt = comphelper::string::getTokenCount(aTempArea, ';');
 sal_Int32 nStringIx = 0;
-sal_Int32 nToken;
-
-for( nToken = 0; nToken < nTokenCnt; nToken++ )
+for (sal_Int32 nToken = 0; nToken < nTokenCnt; ++nToken)
 {
 OUString aToken( aTempArea.getToken( 0, ';', nStringIx ) );
 ScRange aTokenRange;
 if( FindExtRange( aTokenRange, , aToken ) )
 {
+aSourceRanges.Append( aTokenRange);
 // columns: find maximum
 nWidth = std::max( nWidth, 
static_cast(aTokenRange.aEnd.Col() - aTokenRange.aStart.Col() + 1) );
 // rows: add row range + 1 empty row
@@ -355,40 +371,35 @@ bool ScAreaLink::Refresh( const OUString& rNewFile, const 
OUString& rNewFilter,
 {
 ScDocument aClipDoc( SCDOCMODE_CLIP );
 ScRange aNewTokenRange( aNewRange.aStart );
-nStringIx = 0;
-for( nToken = 0; nToken < nTokenCnt; nToken++ )
+for (size_t nRange = 0; nRange < aSourceRanges.size(); ++nRange)
 {
-OUString aToken( aTempArea.getToken( 0, ';', nStringIx ) );
-ScRange aTokenRange;
-if( FindExtRange( aTokenRange, , aToken ) )
+ScRange aTokenRange( *aSourceRanges[nRange]);
+SCTAB nSrcTab = aTokenRange.aStart.Tab();
+ScMarkData aSourceMark;
+aSourceMark.SelectOneTable( nSrcTab );  // selecting for 
CopyToClip
+aSourceMark.SetMarkArea( aTokenRange );
+
+ScClipParam aClipParam(aTokenRange, false);
+rSrcDoc.CopyToClip(aClipParam, , , false, 
false);
+
+if ( aClipDoc.HasAttrib( 0,0,nSrcTab, MAXCOL,MAXROW,nSrcTab,
+HasAttrFlags::Merged | HasAttrFlags::Overlapped ) )
 {
-SCTAB nSrcTab = aTokenRange.aStart.Tab();
-ScMarkData aSourceMark;
-aSourceMark.SelectOneTable( nSrcTab );  // selecting 
for CopyToClip
-aSourceMark.SetMarkArea( aTokenRange );
-
-ScClipParam aClipParam(aTokenRange, false);
-rSrcDoc.CopyToClip(aClipParam, , , 
false, false);
-
-if ( aClipDoc.HasAttrib( 0,0,nSrcTab, 
MAXCOL,MAXROW,nSrcTab,
-HasAttrFlags::Merged | 
HasAttrFlags::Overlapped ) )
-{
-//! ResetAttrib at document !!!
-
-ScPatternAttr aPattern( rSrcDoc.GetPool() );
-aPattern.GetItemSet().Put( ScMergeAttr() );
 // Defaults
-aPattern.GetItemSet().Put( ScMergeFlagAttr() );
-aClipDoc.ApplyPatternAreaTab( 0,0, MAXCOL,MAXROW, 
nSrcTab, aPattern );
-}
-
-aNewTokenRange.aEnd.SetCol( aNewTokenRange.aStart.Col() + 
(aTokenRange.aEnd.Col() - aTokenRange.aStart.Col()) );
-aNewTokenRange.aEnd.SetRow( aNewTokenRange.aStart.Row() + 
(aTokenRange.aEnd.Row() - aTokenRange.aStart.Row()) );
-ScMarkData aDestMark;
-aDestMark.SelectOneTable( nDestTab );
-aDestMark.SetMarkArea( aNewTokenRange );
-rDoc.CopyFromClip( aNewTokenRange, aDestMark, 
InsertDeleteFlags::ALL, nullptr, , false );
-aNewTokenRange.aStart.SetRow( aNewTokenRange.aEnd.Row() + 
2 );
+//! ResetAttrib at document 

[Libreoffice-bugs] [Bug 115789] Wrong translation "email"

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #2 from Jean-Baptiste Faure  ---
Set status to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.

Best regards. JBF

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


[Libreoffice-bugs] [Bug 115789] Wrong translation "email"

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

 CC||jbfa...@libreoffice.org

--- Comment #1 from Jean-Baptiste Faure  ---
Please, provide numbers showing that "courriel" is better understood than
"e-mail" by people from French speaking community. AFAIK, "courriel" is a
French-canadian (québécois) creation when the French Academy prescribed "mèl".

Best regards. JBF

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


[Libreoffice-bugs] [Bug 114995] Link to External Data doesn't support Text Import from CSV

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

Eike Rathke  changed:

   What|Removed |Added

 Status|REOPENED|ASSIGNED
   Assignee|libreoffice-b...@lists.free |er...@redhat.com
   |desktop.org |

--- Comment #6 from Eike Rathke  ---
Taking.

-- 
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 114995] Link to External Data doesn't support Text Import from CSV

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

Eike Rathke  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
Version|5.4.4.2 release |Inherited From OOo
 Resolution|DUPLICATE   |---
 Ever confirmed|0   |1
   Severity|normal  |enhancement

--- Comment #5 from Eike Rathke  ---
Why duplicate? Let's add CSV support first as a standalone task.

-- 
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 112071] [META] Linked external data issues

https://bugs.documentfoundation.org/show_bug.cgi?id=112071
Bug 112071 depends on bug 114995, which changed state.

Bug 114995 Summary: Link to External Data doesn't support Text Import from CSV
https://bugs.documentfoundation.org/show_bug.cgi?id=114995

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|DUPLICATE   |---

-- 
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 115718] Can't erase text in watch text box macro IDE

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

--- Comment #4 from Alex Kempshall  ---
Created attachment 139955
  --> https://bugs.documentfoundation.org/attachment.cgi?id=139955=edit
Bisect log for this bug

This bisect was performed on Slackware 14.2 with kde 4.14.32

-- 
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 115718] Can't erase text in watch text box macro IDE

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

--- Comment #3 from Alex Kempshall  ---
I've run LO 6 in various installs of VirtualBox results are as follows

Slackware 14.2 with KDE 4.14.32   - Fails
Slackware 14.2 with xfce  - Works
Slackware Current with KDE 5.12.0 - Works
Slackware Current with KDE 4.14.38- Fails
Kubuntu 14.04 with KDE 4.13.2 - Fails
Kubuntu 17.10 with KDE 5.10.5 - Works

So it would appear that the problem only occurs on KDE4 which is probably
declining in popularity as more and more people transition to KDE5.

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

 vcl/source/window/builder.cxx |   24 
 1 file changed, 24 insertions(+)

New commits:
commit 608272840a799e783fd15197c78bfa2b58145cf4
Author: Caolán McNamara 
Date:   Fri Feb 16 14:08:24 2018 +

convert any canonical negative gtk responses to our own

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

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index d36bc390f319..cd7ffe99d051 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -3388,6 +3388,30 @@ short VclBuilder::get_response(const vcl::Window 
*pWindow) const
 
 void VclBuilder::set_response(const OString& sID, short nResponse)
 {
+switch (nResponse)
+{
+case -5:
+nResponse = RET_OK;
+break;
+case -6:
+nResponse = RET_CANCEL;
+break;
+case -7:
+nResponse = RET_CLOSE;
+break;
+case -8:
+nResponse = RET_YES;
+break;
+case -9:
+nResponse = RET_NO;
+break;
+case -11:
+nResponse = RET_HELP;
+break;
+};
+
+assert(nResponse >= 0);
+
 for (auto & child : m_aChildren)
 {
 if (child.m_sID == sID)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 115786] Unable to open styles window when sidebar is undocked

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||jbfa...@libreoffice.org
Version|unspecified |6.0.1.1 release
 Ever confirmed|0   |1

--- Comment #1 from Jean-Baptiste Faure  ---

Thank you very much for this bug report.

Not reproducible with LO 5.3.7 vanilla (from LibreOffice website).
Reproducible with LO 6.0.1 from Ubuntu PPA. Same behavior if I use the GTK2 or
the GTK3 VCL plugin.

Set status to NEW.

Best regards. JBF

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


[Libreoffice-bugs] [Bug 115789] New: Wrong translation "email"

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

Bug ID: 115789
   Summary: Wrong translation "email"
   Product: LibreOffice
   Version: 6.0.1.1 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Localization
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: yahoe@gmail.com

Description:
The current French translation of "email" is the non translation "e-mail"
whenever the proper accepted word is "courriel". This should be corrected for
all occurrences.

Actual Results:  
E-mail

Expected Results:
Courriel


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; OpenBSD amd64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/52.0.2743.82 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 115767] MAILMERGE:Failure on Network Drive

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

Aron Budea  changed:

   What|Removed |Added

 Blocks||104742


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104742
[Bug 104742] [META] Network-involved 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 104742] [META] Network-involved bugs

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

Aron Budea  changed:

   What|Removed |Added

 Depends on||115767


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=115767
[Bug 115767] MAILMERGE:Failure on Network Drive
-- 
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 95978] tracking changes also in Draw and Impress

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

Buovjaga  changed:

   What|Removed |Added

 CC||bun...@gmail.com

--- Comment #2 from Buovjaga  ---
*** Bug 115305 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-ux-advise] [Bug 95978] tracking changes also in Draw and Impress

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

Buovjaga  changed:

   What|Removed |Added

 CC||bun...@gmail.com

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

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


[Libreoffice-bugs] [Bug 115305] [Nightly 6.0] IMPRESS should have track changes

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

Buovjaga  changed:

   What|Removed |Added

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

--- Comment #1 from Buovjaga  ---


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

-- 
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 115787] formating style error (spacing aka 'retrait')

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

--- Comment #3 from roumanet  ---
Created attachment 139954
  --> https://bugs.documentfoundation.org/attachment.cgi?id=139954=edit
Word comparison

I suppose it's a bug because doing same operations on Word, gives the right
result. See attachment

-- 
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 115285] [Usability] With the GTK3 FileChooser dialog, simplify mimetype filters and automatically filter files by document type based on the running application

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

Buovjaga  changed:

   What|Removed |Added

   Keywords|easyHack|needsUXEval
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.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-ux-advise] [Bug 115285] [Usability] With the GTK3 FileChooser dialog, simplify mimetype filters and automatically filter files by document type based on the running application

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

Buovjaga  changed:

   What|Removed |Added

   Keywords|easyHack|needsUXEval
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org

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


[Libreoffice-ux-advise] [Bug 91130] Smaller default font name list

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

--- Comment #17 from Yousuf Philips (jay) (retired)  ---
Created attachment 139953
  --> https://bugs.documentfoundation.org/attachment.cgi?id=139953=edit
sections headings inside of the font name list

MS has 'theme fonts' and 'recently used fonts' sections in the list and we can
use a similar design to have 'preferred fonts' (locale default sans and serif
fonts), 'document fonts', etc.

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


[Libreoffice-bugs] [Bug 109048] Automatic Spellcheck does not work

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

Buovjaga  changed:

   What|Removed |Added

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

--- Comment #3 from Buovjaga  ---
(In reply to Marvin Scott from comment #0)
> Actual Results:  
> I reset the profile and it corrected the problem. thank you
> 
> Expected Results:
> It fixed the problem

Ok, in this case we can close the 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 91130] Smaller default font name list

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

--- Comment #17 from Yousuf Philips (jay) (retired)  ---
Created attachment 139953
  --> https://bugs.documentfoundation.org/attachment.cgi?id=139953=edit
sections headings inside of the font name list

MS has 'theme fonts' and 'recently used fonts' sections in the list and we can
use a similar design to have 'preferred fonts' (locale default sans and serif
fonts), 'document fonts', etc.

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


[Libreoffice-bugs] [Bug 115063] Can not start Libreoffice

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

Buovjaga  changed:

   What|Removed |Added

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

--- Comment #4 from Buovjaga  ---
Are you able to start an appimage?
https://www.libreoffice.org/download/appimage

-- 
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 115290] Option to: Save As with "also Create Short-Cut on Desktop" ( or folder on desktop)

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

Buovjaga  changed:

   What|Removed |Added

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

--- Comment #1 from Buovjaga  ---
This sounds very, very marginal, so I won't even consult the UX team before
closing this.
Perhaps you could achieve this through some Windows script that monitors a
folder and creates the shortcuts.

-- 
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 115787] formating style error (spacing aka 'retrait')

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

Jean-Baptiste Faure  changed:

   What|Removed |Added

 CC||jbfa...@libreoffice.org

--- Comment #2 from Jean-Baptiste Faure  ---
I reproduce with LO 6.0.2.0+ but I do not know if it is a bug or not.

Best regards. JBF

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


[Libreoffice-bugs] [Bug 87860] [META] LibreOffice's file dialog bugs and enhancements

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

Buovjaga  changed:

   What|Removed |Added

 Depends on||115261


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=115261
[Bug 115261] UI/Win: "Open Remote" windows: "Cancel" button left of "Opem"
(Linux style)
-- 
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 115261] UI/Win: "Open Remote" windows: "Cancel" button left of "Opem" (Linux style)

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

Buovjaga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||todven...@suomi24.fi
  Component|LibreOffice |UI
 Blocks||87860
 Ever confirmed|0   |1
   Severity|normal  |minor

--- Comment #1 from Buovjaga  ---
Repro.

As bug 87860 has a comment saying there won't be any changes to the LibreOffice
native file dialogs, I wonder what is the future for the Remote file dialog.

Version: 6.1.0.0.alpha0+ (x64)
Build ID: e1082e45361a92a31adedcc3ed0a35c704bca543
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-02-15_23:24:06
Locale: fi-FI (fi_FI); Calc: group


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=87860
[Bug 87860] [META] LibreOffice's file dialog 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 115635] Crash in: s_environment_invoke_v EDITING

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

--- Comment #4 from Woody  ---
(In reply to Xisco Faulí from comment #3)
> Hi,
> Thanks for reporting the issue.
> So, the crash happens when you open the document and press Ctrl+F2 ?

Again I apologize for not giving you information you needed.

Yes. 
1. Open the file.
2. Click somewhere in the file.
3. CTRL+F2. Program stops responding. I must use Windows Task Manager to
terminate the task.

I am using Windows 7 Home Premium, Service Pack 1. 

I suspect you already have the following data:
Manufacturer: Dell
Model: INSPIRON N7110
Rating: 5.9 Windows Experience Index
Processor: Intel® Core™ i7-2670QM CPU @ 2.20GHz 2.20GHz
Installed memory (RAM): 8.00 GB (7.9 GB usable)
System type: 64-bit Operating System
Pen and Touch: No Pen or Touch Input is available for this Display.

If you need more information, I'll be happy to oblige.

--Woody

-- 
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 114994] Sheet -> Link to External Data doesn' t have button to load the URL

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

--- Comment #13 from Dan Dascalescu  ---
> Sorry, spreadsheet documents are not, only HTML query.

I'm not sure how the file extension in the URL changes anything. Regardless of
what document type I enter there, I still don't see a button to load that URL.

-- 
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 114996] Link to External Data shows extraneous tables when only one exists

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

--- Comment #8 from Dan Dascalescu  ---
> The additional "HTML_all" and "HTML_tables" ranges are needed for 
> programmatic reasons.

Does that mean they are not intended for the user?

-- 
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-ux-advise] [Bug 114996] Link to External Data shows extraneous tables when only one exists

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

--- Comment #8 from Dan Dascalescu  ---
> The additional "HTML_all" and "HTML_tables" ranges are needed for 
> programmatic reasons.

Does that mean they are not intended for the user?

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


  1   2   3   4   5   >