[Libreoffice-bugs] [Bug 117845] Does not start Libreffice 6

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117845

Anatoliy  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 117845] New: Does not start Libreffice 6

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117845

Bug ID: 117845
   Summary: Does not start Libreffice 6
   Product: LibreOffice
   Version: 6.0.4.2 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Base
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: san...@inbox.ru

Description:
Does not start Libreffice 6.. . Nothing happens.
But Libreffice 5.. worked fine!
OS Windows 7 ultimate 64-bit, sp1.
Ram 4 Gb, disk 500gb, video NVIDIA GeForce GTX 550 Ti

Steps to Reproduce:
Did not do anything

Actual Results:  
Does not start Libreffice 6.. . Nothing happens.

Expected Results:
Does not start Libreffice 6.. . Nothing happens.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
...


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/66.0.3359.170 Safari/537.36 OPR/53.0.2907.68

-- 
You are receiving this mail because:
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 117844] Icons is wrong color

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117844

--- Comment #1 from seven  ---
Created attachment 142326
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142326=edit
Example

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


[Libreoffice-bugs] [Bug 117844] New: Icons is wrong color

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117844

Bug ID: 117844
   Summary: Icons is wrong color
   Product: LibreOffice
   Version: 6.1.0.0.alpha1+
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: seve...@mail.ru

Description:
After install some time is ok. After may be windows april update icons is wrong
color

Steps to Reproduce:
1. Install office

Actual Results:  
Install libre office 6.1 alfa on window and use some time

Expected Results:
Application is started with wrong color icons


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: StartModule
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/66.0.3359.181 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 117759] Create new odt file containing formula leaves temporary file.

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117759

raal  changed:

   What|Removed |Added

   Keywords||regression
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
 OS|All |Windows (All)

--- Comment #2 from raal  ---
I can confirm with Version: 6.2.0.0.alpha0+ (x64)
Build ID: 6c896485c006f8492310441b4e6861db09a4b7a8
CPU threads: 1; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-05-26_23:24:38

regression in 6.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


Kevin Dubrulle license statement

2018-05-27 Thread Kévin Dlle
Hi,


All of my past & future contributions to LibreOffice may be licensed
under the MPLv2/LGPLv3+ dual license.

Regards,

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


[Libreoffice-bugs] [Bug 117843] FILEOPEN Image in header in DOCX is shifted downwards

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117843

Aron Budea  changed:

   What|Removed |Added

   Keywords||bibisected, bisected
 Status|UNCONFIRMED |NEW
 CC||vmik...@collabora.co.uk
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=11
   ||5719
 Ever confirmed|0   |1

--- Comment #2 from Aron Budea  ---
Bibisected to the following commit using repo bibisect-win32-6.1. Adding Cc: to
Miklos Vajna, please take a look sometimes.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=8b73bafbc18acb4dd8911d2f2de8158d98eb6144
author  Miklos Vajna   2018-02-14 15:31:35
+0100
committer   Miklos Vajna   2018-02-14 20:21:57
+0100

tdf#115719 DOCX import: increase paragraph spacing for anchored objects

-- 
You are receiving this mail because:
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 117759] Create new odt file containing formula leaves temporary file.

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117759

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #1 from raal  ---
I can not confirm with Version: 6.2.0.0.alpha0+
Build ID: c0fbf99e5601da27c59d131bcca24fafd259e508
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3;

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


[Libreoffice-bugs] [Bug 117843] FILEOPEN Image in header in DOCX is shifted downwards

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117843

--- Comment #1 from Aron Budea  ---
Created attachment 142325
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142325=edit
PDF exported in Word

-- 
You are receiving this mail because:
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 117843] New: FILEOPEN Image in header in DOCX is shifted downwards

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117843

Bug ID: 117843
   Summary: FILEOPEN Image in header in DOCX is shifted downwards
   Product: LibreOffice
   Version: 6.2.0.0.alpha0+ Master
  Hardware: All
OS: All
Status: UNCONFIRMED
  Keywords: regression
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ba...@caesar.elte.hu
Blocks: 104522

Created attachment 142324
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142324=edit
Sample DOCX

Open the attached DOCX, created in Word.

The two shapes should be on the same level, but instead the left one is lower
than the right one.

Observed using LO 6.2 master daily build
(f7f2d03bd6f5aa5dcd0f7976b4a7f2db278c2f03, 2018-05-25_05:00:28) / Windows 7.
Looks as expected in LO 6.0.0.3.
=> regression


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104522
[Bug 104522] [META] DOCX (OOXML) header & footer-related issues
-- 
You are receiving this mail because:
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 104522] [META] DOCX (OOXML) header & footer-related issues

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104522

Aron Budea  changed:

   What|Removed |Added

 Depends on||117843


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=117843
[Bug 117843] FILEOPEN Image in header in DOCX is shifted downwards
-- 
You are receiving this mail because:
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 104522] [META] DOCX (OOXML) header & footer-related issues

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104522

Aron Budea  changed:

   What|Removed |Added

 Depends on||112290


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=112290
[Bug 112290] FILEOPEN DOCX Image in header pushes the text that should be below
the image to the right
-- 
You are receiving this mail because:
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 112290] FILEOPEN DOCX Image in header pushes the text that should be below the image to the right

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=112290

Aron Budea  changed:

   What|Removed |Added

 Blocks||104522


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104522
[Bug 104522] [META] DOCX (OOXML) header & footer-related issues
-- 
You are receiving this mail because:
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 117242] Sidebar Missing Everytime I Open LO 6

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117242

raal  changed:

   What|Removed |Added

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

--- Comment #4 from raal  ---
(In reply to Buovjaga from comment #3)
> (In reply to imnotgeek from comment #0)
> > User Profile Reset: Yes
> 
> Just to confirm, you reset your profile according to these instructions:
> https://wiki.documentfoundation.org/UserProfile#Resolving_corruption ?

Please try this.

-- 
You are receiving this mail because:
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 117840] Layer properties visible/printable/ locked are wrong in watch window

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117840

raal  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||r...@post.cz
 Ever confirmed|0   |1
 OS|Windows (All)   |All

--- Comment #1 from raal  ---
I can confirm with Version: 6.2.0.0.alpha0+
Build ID: c0fbf99e5601da27c59d131bcca24fafd259e508
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk3;

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


[Libreoffice-bugs] [Bug 117842] Firebird: Enabling connection pooling for firebird: sdbc driver crashes Libo when creating connection to data engine

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117842

--- Comment #2 from Drew Jensen  ---
Created attachment 142323
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142323=edit
Crash dmp file from Libo 6.1Beta1

-- 
You are receiving this mail because:
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 117842] Firebird: Enabling connection pooling for firebird: sdbc driver crashes Libo when creating connection to data engine

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117842

--- Comment #1 from Drew Jensen  ---
Created attachment 142322
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142322=edit
crash dmp file from Libo 5.4.7.2

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


[Libreoffice-bugs] [Bug 117842] New: Firebird: Enabling connection pooling for firebird: sdbc driver crashes Libo when creating connection to data engine

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117842

Bug ID: 117842
   Summary: Firebird: Enabling connection pooling for
firebird:sdbc driver crashes Libo when creating
connection to data engine
   Product: LibreOffice
   Version: 5.4.7.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Base
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: drewjensen.in...@gmail.com

Description:
Checked this with 5.4.7.2, 6.0.4, 6.1Beta1, 6.2Alpha0
Crash in all of them
Also checked connection pooling enabled for sdbc.hsql in all of the above, no
crash, no problems.

Steps to Reproduce:
1. Open the Options dialog Tools->Options
2. navigate to the Libreoffice Base->Connections section
3. Place a tick mark in 'Enable connection pooling'
4. In the list of drivers select the com.sun.star.comp.sdbc.firebird.Driver
5. Place a tick mark in 'Enable pooling for this Driver' 
6. Accept the default timeout value
7. Click OK to close the options dialog
8. Click Create: New Database
9. Select Firebird Embedded for database type.
10. Click finished, save the new file with some name
10a Alternatively open an ODB file which uses the sdbc.firebird driver or for
6.1 and 6.1 open an ODB file using HSQLdb embedded and allow the migration
assistant to start.

Actual Results:  
Crash


Expected Results:
Base file loads and connection to database engine is established.


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/66.0.3359.181 Chrome/66.0.3359.181 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-1' - sd/inc sd/qa sd/source

2018-05-27 Thread Mike Kaganski
 sd/inc/stlsheet.hxx |3 +
 sd/qa/unit/misc-tests.cxx   |   34 +++
 sd/source/core/stlsheet.cxx |  128 ++--
 3 files changed, 115 insertions(+), 50 deletions(-)

New commits:
commit da49f4aeb8d5e9a7d2cba8855d911e7cc1d2f1e2
Author: Mike Kaganski 
Date:   Sun May 27 14:02:09 2018 +0300

tdf#38225: update API name when renaming using a base class ref

... but don't update it in case it's a predefined API name

Change-Id: I20075a4e085bdeab8374860c16e7eb2a72772c33
Reviewed-on: https://gerrit.libreoffice.org/54879
Tested-by: Jenkins 
Reviewed-by: Mike Kaganski 
(cherry picked from commit 8a648b82f85d4b0eed67067ed2ddc211ad64ce72)
Reviewed-on: https://gerrit.libreoffice.org/54887

diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx
index b86314383ca5..ae21105070a8 100644
--- a/sd/inc/stlsheet.hxx
+++ b/sd/inc/stlsheet.hxx
@@ -80,6 +80,9 @@ public:
 static void BroadcastSdStyleSheetChange(SfxStyleSheetBase const * 
pStyleSheet, PresentationObjects ePO,
 SfxStyleSheetBasePool* pSSPool);
 
+// SfxStyleSheetBase
+virtual bool SetName(const OUString& rNewName, bool bReindexNow = true) 
override;
+
 // XInterface
 virtual void SAL_CALL release(  ) throw () override;
 
diff --git a/sd/qa/unit/misc-tests.cxx b/sd/qa/unit/misc-tests.cxx
index 9125f2306bad..ace77cdcc96e 100644
--- a/sd/qa/unit/misc-tests.cxx
+++ b/sd/qa/unit/misc-tests.cxx
@@ -61,6 +61,7 @@ public:
 void testTdf99396TextEdit();
 void testFillGradient();
 void testTdf44774();
+void testTdf38225();
 
 CPPUNIT_TEST_SUITE(SdMiscTest);
 CPPUNIT_TEST(testTdf96206);
@@ -69,6 +70,7 @@ public:
 CPPUNIT_TEST(testTdf99396TextEdit);
 CPPUNIT_TEST(testFillGradient);
 CPPUNIT_TEST(testTdf44774);
+CPPUNIT_TEST(testTdf38225);
 CPPUNIT_TEST_SUITE_END();
 
 private:
@@ -327,6 +329,38 @@ void SdMiscTest::testTdf44774()
 CPPUNIT_ASSERT_EQUAL(OUString("StyleA"), pStyle->GetParent());
 }
 
+void SdMiscTest::testTdf38225()
+{
+sd::DrawDocShellRef xDocShRef = new 
sd::DrawDocShell(SfxObjectCreateMode::EMBEDDED, false,
+DocumentType::Draw);
+const uno::Reference xLoadable(xDocShRef->GetModel(), 
uno::UNO_QUERY_THROW);
+xLoadable->initNew();
+SfxStyleSheetBasePool* pSSPool = xDocShRef->GetStyleSheetPool();
+
+// Create a new style with a name
+pSSPool->Make("StyleWithName1", SfxStyleFamily::Para, 
SfxStyleSearchBits::UserDefined);
+
+// Now save the file and reload
+xDocShRef = saveAndReload(xDocShRef.get(), ODG);
+pSSPool = xDocShRef->GetStyleSheetPool();
+
+SfxStyleSheetBase* pStyle = pSSPool->Find("StyleWithName1", 
SfxStyleFamily::Para);
+CPPUNIT_ASSERT(pStyle);
+
+// Rename the style
+CPPUNIT_ASSERT(pStyle->SetName("StyleWithName2"));
+
+// Save the file and reload again
+xDocShRef = saveAndReload(xDocShRef.get(), ODG);
+pSSPool = xDocShRef->GetStyleSheetPool();
+
+// The problem was that the style kept the old name upon reloading
+pStyle = pSSPool->Find("StyleWithName1", SfxStyleFamily::Para);
+CPPUNIT_ASSERT(!pStyle);
+pStyle = pSSPool->Find("StyleWithName2", SfxStyleFamily::Para);
+CPPUNIT_ASSERT(pStyle);
+}
+
 CPPUNIT_TEST_SUITE_REGISTRATION(SdMiscTest);
 
 CPPUNIT_PLUGIN_IMPLEMENT();
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index 3327304a0d3d..fed2214c33d4 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -580,56 +580,77 @@ bool SdStyleSheet::HasClearParentSupport() const
 return true;
 }
 
-void SdStyleSheet::SetHelpId( const OUString& r, sal_uLong nId )
+namespace
 {
-SfxStyleSheet::SetHelpId( r, nId );
+struct ApiNameMap
+{
+OUStringLiteral mpApiName;
+sal_uInt32 mnHelpId;
+} const pApiNameMap[]
+= { { OUStringLiteral("title"), HID_PSEUDOSHEET_TITLE },
+{ OUStringLiteral("subtitle"), HID_PSEUDOSHEET_SUBTITLE },
+{ OUStringLiteral("background"), HID_PSEUDOSHEET_BACKGROUND },
+{ OUStringLiteral("backgroundobjects"), 
HID_PSEUDOSHEET_BACKGROUNDOBJECTS },
+{ OUStringLiteral("notes"), HID_PSEUDOSHEET_NOTES },
+{ OUStringLiteral("standard"), HID_STANDARD_STYLESHEET_NAME },
+{ OUStringLiteral("objectwithoutfill"), HID_POOLSHEET_OBJWITHOUTFILL },
+{ OUStringLiteral("text"), HID_POOLSHEET_TEXT },
+{ OUStringLiteral("title"), HID_POOLSHEET_TITLE },
+{ OUStringLiteral("headline"), HID_POOLSHEET_HEADLINE },
+{ OUStringLiteral("measure"), HID_POOLSHEET_MEASURE },
+{ OUStringLiteral("Filled"), HID_POOLSHEET_FILLED },
+{ OUStringLiteral("Filled Blue"), HID_POOLSHEET_FILLED_BLUE },
+{ OUStringLiteral("Filled Green"), HID_POOLSHEET_FILLED_GREEN },
+{ OUStringLiteral("Filled Red"), HID_POOLSHEET_FILLED_RED },
+{ OUStringLiteral("Filled Yellow"), 

[Libreoffice-bugs] [Bug 117841] New: Calc always goes to recovery when opening after a shutdown

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117841

Bug ID: 117841
   Summary: Calc always goes to recovery when opening after a
shutdown
   Product: LibreOffice
   Version: 6.0.3.1 rc
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: mushister...@gmail.com

Description:
Calc always goes to recovery when opening after a shutdown using Ubuntu 18.04
with Libreoffice 6. 
This happens every time I start a calc file and also after having previously
closing the file.

Steps to Reproduce:
1.When trying to start a calc file it goes to recovery every time.
2.After restarting PC, goes to recovery every time.
3.Have to recover before file opens

Actual Results:  
After resetting profile my small calc file tales about 8 seconds to load. Other
libre files open immesdiately

Expected Results:
Calc always goes to recovery when opening after a shutdown


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Start immediately


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/66.0.3359.181 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 'feature/cib_contract891' - 12 commits - embeddedobj/source filter/source hwpfilter/source include/filter include/svx lotuswordpro/source sc/source sd/source svx

2018-05-27 Thread Caolán McNamara
 embeddedobj/source/commonembedding/visobj.cxx  |6 
 filter/source/msfilter/svdfppt.cxx |4 
 hwpfilter/source/drawdef.h |   18 -
 hwpfilter/source/drawing.h |  281 +++--
 hwpfilter/source/hbox.h|4 
 hwpfilter/source/hinfo.cxx |  119 +++---
 hwpfilter/source/hiodev.cxx|  117 ++
 hwpfilter/source/hiodev.h  |   24 +-
 hwpfilter/source/hpara.cxx |   33 ++
 hwpfilter/source/htags.h   |2 
 hwpfilter/source/hwpfile.cxx   |   96 +---
 hwpfilter/source/hwpfile.h |   10 
 hwpfilter/source/hwplib.h  |   11 
 hwpfilter/source/hwpread.cxx   |   77 +++---
 include/filter/msfilter/svdfppt.hxx|   12 -
 include/svx/svdoole2.hxx   |   17 +
 lotuswordpro/source/filter/lwpidxmgr.cxx   |7 
 lotuswordpro/source/filter/lwpobjstrm.cxx  |2 
 lotuswordpro/source/filter/lwpsilverbullet.cxx |5 
 lotuswordpro/source/filter/lwptabrack.cxx  |5 
 lotuswordpro/source/filter/lwptoc.cxx  |   13 -
 sc/source/core/tool/interpr7.cxx   |9 
 sc/source/ui/docshell/docsh.cxx|3 
 sc/source/ui/docshell/docsh4.cxx   |7 
 sd/source/core/drawdoc.cxx |6 
 sd/source/ui/docshell/docshel4.cxx |5 
 svx/source/svdraw/svdoole2.cxx |   20 -
 svx/source/unodraw/unoshap4.cxx|4 
 sw/inc/IDocumentLinksAdministration.hxx|2 
 sw/inc/doc.hxx |2 
 sw/source/core/doc/docnew.cxx  |  100 
 sw/source/filter/basflt/shellio.cxx|3 
 sw/source/filter/ww8/ww8par2.cxx   |   29 +-
 sw/source/filter/ww8/ww8scan.cxx   |   22 +
 sw/source/filter/ww8/ww8scan.hxx   |4 
 sw/source/filter/xml/xmltexti.cxx  |   11 
 sw/source/ui/app/docsh.cxx |2 
 tools/inc/poly.h   |2 
 tools/source/generic/poly.cxx  |   13 -
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |9 
 40 files changed, 697 insertions(+), 419 deletions(-)

New commits:
commit ceedd394172ce172d14d3d8647cbb50eaecb75de
Author: Caolán McNamara 
Date:   Tue May 1 12:57:02 2018 +0100

set Referer on link mediadescriptor

to allow determining if the source document is from a trusted/untrusted
location

Reviewed-on: https://gerrit.libreoffice.org/53693
Tested-by: Jenkins 
Reviewed-by: Stephan Bergmann 
(cherry picked from commit cd25a97bbadc0a5c1fd6b0e8603c8b6ebd051926)

Reviewed-on: https://gerrit.libreoffice.org/53803
Reviewed-by: Miklos Vajna 
Reviewed-by: Mike Kaganski 
Tested-by: Mike Kaganski 
(cherry picked from commit 2d87c267267530077a94c894bc619831b01d1c04)

Conflicts:
sw/source/filter/xml/xmltexti.cxx

(cherry picked from commit d7b0063c32502f01fcec72492d131760f4fda990)

Conflicts:
sw/source/filter/xml/xmltexti.cxx

Change-Id: I780568652d2ef0cc8543c27ba26289277b5d9d0c

diff --git a/sw/source/filter/xml/xmltexti.cxx 
b/sw/source/filter/xml/xmltexti.cxx
index fb968ac74155..1f17c22737c8 100644
--- a/sw/source/filter/xml/xmltexti.cxx
+++ b/sw/source/filter/xml/xmltexti.cxx
@@ -572,16 +572,21 @@ uno::Reference< XPropertySet > 
SwXMLTextImportHelper::createAndInsertOOoLink(
 uno::Sequence< beans::PropertyValue > aMediaDescriptor( 1 );
 aMediaDescriptor[0].Name = "URL";
 aMediaDescriptor[0].Value <<= OUString( aURLObj.GetMainURL( 
INetURLObject::NO_DECODE ) );
-if ( pDoc && pDoc->GetDocShell() && pDoc->GetDocShell()->GetMedium() )
+
+if (SfxMedium* pMedium = pDoc && pDoc->GetDocShell() ? 
pDoc->GetDocShell()->GetMedium() : nullptr)
 {
-uno::Reference< task::XInteractionHandler > xInteraction =
-
pDoc->GetDocShell()->GetMedium()->GetInteractionHandler();
+uno::Reference< task::XInteractionHandler > xInteraction = 
pMedium->GetInteractionHandler();
 if ( xInteraction.is() )
 {
 aMediaDescriptor.realloc( 2 );
 aMediaDescriptor[1].Name = "InteractionHandler";
 aMediaDescriptor[1].Value <<= xInteraction;
 }
+
+const sal_Int32 nLen = aMediaDescriptor.getLength() + 1;
+aMediaDescriptor.realloc(nLen);
+aMediaDescriptor[nLen - 1].Name = "Referer";
+aMediaDescriptor[nLen - 1].Value <<= pMedium->GetName();
 }
 
 uno::Reference < 

[Libreoffice-bugs] [Bug 108102] Alignment and wrapping error for a file created by EPP Plus C# library

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108102

--- Comment #10 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 108170] Hyperlinks don't highlight 'Internet Link' entry in character styles list

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108170

--- Comment #2 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 104549] Tabbing through Notebookbar and hitting Enter crashes LO after error message "Given module is not a frame nor a window, controller or model."

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=104549

--- Comment #14 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 108012] Clicking in the font field should select the contents

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108012

--- Comment #2 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 108052] Where should custom chart colors be added

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108052

--- 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 95945] Remove the 'Slide Master' icon from the View menu

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=95945

--- Comment #11 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 73523] bitmaps embedded in a visio file are imported as black boxes

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=73523

--- Comment #10 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 107960] Writer and Calc drop BASIC modules if resave as MS formats documents

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=107960

--- Comment #2 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 117831] Reference to non-existing menu item in LibreOffice Help

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117831

Olivier Hallot  changed:

   What|Removed |Added

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

--- Comment #3 from Olivier Hallot  ---
We are phasing out the wiki help and will not change 6.0 anymore.

The new help online has it fixed for 6.1

https://help.libreoffice.org/6.1/en-US/text/swriter/guide/removing_line_breaks.html?DbPAR=WRITER#bm_id3149687

resolving WONTFIX.

(but thanks indeed for the report, if you find other issues please let us know)

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


New Defects reported by Coverity Scan for LibreOffice

2018-05-27 Thread scan-admin
Hi,

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

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

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


** CID 1435839:  Uninitialized members  (UNINIT_CTOR)
/include/vcl/customweld.hxx: 21 in 
weld::CustomWidgetController::CustomWidgetController()()



*** CID 1435839:  Uninitialized members  (UNINIT_CTOR)
/include/vcl/customweld.hxx: 21 in 
weld::CustomWidgetController::CustomWidgetController()()
15 namespace weld
16 {
17 class VCL_DLLPUBLIC CustomWidgetController
18 {
19 private:
20 Size m_aSize;
>>> CID 1435839:  Uninitialized members  (UNINIT_CTOR)
>>> The compiler-generated constructor for this class does not initialize 
>>> "m_pDrawingArea".
21 weld::DrawingArea* m_pDrawingArea;
22 
23 public:
24 virtual void Paint(vcl::RenderContext& rRenderContext, const 
tools::Rectangle& rRect) = 0;
25 virtual void Resize() {}
26 virtual void MouseButtonDown(const MouseEvent&) {}

** CID 1435838:  Uninitialized members  (UNINIT_CTOR)
/svx/source/dialog/dlgctrl.cxx: 664 in RectCtl::RectCtl(SvxTabPage *, 
RectPoint, unsigned short, unsigned short)()



*** CID 1435838:  Uninitialized members  (UNINIT_CTOR)
/svx/source/dialog/dlgctrl.cxx: 664 in RectCtl::RectCtl(SvxTabPage *, 
RectPoint, unsigned short, unsigned short)()
658 , 
nRadius(Application::GetDefaultDevice()->LogicToPixel(Size(nCircle, 0), 
MapMode(MapUnit::Map100thMM)).Width())
659 , eDefRP(eRpt)
660 , pBitmap(nullptr)
661 , m_nState(CTL_STATE::NONE)
662 , mbCompleteDisable(false)
663 {
>>> CID 1435838:  Uninitialized members  (UNINIT_CTOR)
>>> Non-static class member "eRP" is not initialized in this constructor 
>>> nor in any functions that it calls.
664 }
665 
666 void RectCtl::SetDrawingArea(weld::DrawingArea* pDrawingArea)
667 {
668 
pDrawingArea->set_size_request(pDrawingArea->get_approximate_digit_width() * 25,
669pDrawingArea->get_text_height() * 5);

** CID 1435837:  Uninitialized members  (UNINIT_CTOR)
/svx/source/dialog/charmap.cxx: 80 in 
SvxShowCharSet::SvxShowCharSet(weld::ScrolledWindow *, const 
VclPtr &)()



*** CID 1435837:  Uninitialized members  (UNINIT_CTOR)
/svx/source/dialog/charmap.cxx: 80 in 
SvxShowCharSet::SvxShowCharSet(weld::ScrolledWindow *, const 
VclPtr &)()
74 , mbUpdateForeground(true)
75 , mbUpdateBackground(true)
76 {
77 init();
78 
79 mxScrollArea->set_user_managed_scrolling();
>>> CID 1435837:  Uninitialized members  (UNINIT_CTOR)
>>> Non-static class member "nY" is not initialized in this constructor nor 
>>> in any functions that it calls.
80 }
81 
82 void SvxShowCharSet::SetDrawingArea(weld::DrawingArea* pDrawingArea)
83 {
84 mxScrollArea->set_size_request(COLUMN_COUNT * 
pDrawingArea->get_approximate_digit_width() * 4,
85ROW_COUNT * 
pDrawingArea->get_text_height() * 2);

** CID 1078573:  Null pointer dereferences  (FORWARD_NULL)



*** CID 1078573:  Null pointer dereferences  (FORWARD_NULL)
/sw/source/core/docnode/swbaslnk.cxx: 174 in SwBaseLink::DataChanged(const 
rtl::OUString &, const com::sun::star::uno::Any &)()
168 
169 if ( !bUpdate || bFrameInPaint )
170 return SUCCESS;
171 
172 if (bUpdate)
173 {
>>> CID 1078573:  Null pointer dereferences  (FORWARD_NULL)
>>> Passing null pointer "pSwGrfNode" to "SetGrfFlySize", which 
>>> dereferences it.
174 if (!SetGrfFlySize(aGrfSz, pSwGrfNode, aOldSz))
175 {
176 SwMsgPoolItem aMsgHint(RES_GRAPHIC_ARRIVED);
177 lcl_CallModify(*pSwGrfNode, aMsgHint);
178 return SUCCESS;
179 }



To view the defects in Coverity Scan visit, 

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

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=33944

--- Comment #13 from Gessel  ---
For me, this would be an immensely useful feature.

-- 
You are receiving this mail because:
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 117840] New: Layer properties visible/printable/ locked are wrong in watch window

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117840

Bug ID: 117840
   Summary: Layer properties visible/printable/locked are wrong in
watch window
   Product: LibreOffice
   Version: Inherited From OOo
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: minor
  Priority: medium
 Component: BASIC
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: rb.hensc...@t-online.de

Created attachment 142321
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142321=edit
Document with macro to reproduce the bug

open attached document. It contains a macro to read the layer properties
visible, printable and locked. It has a toolbar to easily access the macro and
to open the Basic IDE.
Run the macro. Compare the text in the message with the actual setting of the
layer. The text should be correct.

Now open the IDE and set a break point at the msgbox line. Run the macro again.
(You might need to run the macro a second time to trigger the break point.)
Watch the variable oLayout. The properties IsLocked, IsPrintable and IsVisible
are always "false", regardless of the actual setting.

-- 
You are receiving this mail because:
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 113582] Export as PDF reduces arrow line width compared to display

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113582

--- Comment #3 from mattreecebent...@gmail.com ---
Still occurs here to an extent:
if line width is set to 0.00 cm, libreoffice displays as if it's larger.
Exporting to PDF is correct width (none)

-- 
You are receiving this mail because:
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/CppunitTest_sc_tiledrendering.mk sc/inc sc/qa sc/source

2018-05-27 Thread Henry Castro
 sc/CppunitTest_sc_tiledrendering.mk   |2 
 sc/inc/scmod.hxx  |8 ---
 sc/qa/unit/tiledrendering/data/RangeCopyPaste.ods |binary
 sc/qa/unit/tiledrendering/tiledrendering.cxx  |   24 +++
 sc/source/ui/docshell/docsh.cxx   |   48 ++
 sc/source/ui/inc/docsh.hxx|   11 +
 sc/source/ui/vba/excelvbahelper.cxx   |   15 --
 sc/source/ui/vba/vbarange.cxx |3 -
 8 files changed, 97 insertions(+), 14 deletions(-)

New commits:
commit 5f1ce0a77c63df597fba9d4cbd45be3a266343c3
Author: Henry Castro 
Date:   Thu May 17 11:12:56 2018 -0400

sc: release XTransferable2 when used with VBA compatibility helpers

Copy, Cut, PasteSpecial and Insert is used by Range excel object,
so after finishing executing the VBA script ensure to release XTransferable2
interface

Change-Id: I967a7ba1a1d101282f7a1b9d4b2e2ac3004f1c07
Reviewed-on: https://gerrit.libreoffice.org/54497
Tested-by: Jenkins 
Reviewed-by: Henry Castro 

diff --git a/sc/CppunitTest_sc_tiledrendering.mk 
b/sc/CppunitTest_sc_tiledrendering.mk
index ac70a06453ad..03e33652a69c 100644
--- a/sc/CppunitTest_sc_tiledrendering.mk
+++ b/sc/CppunitTest_sc_tiledrendering.mk
@@ -30,6 +30,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_tiledrendering, 
\
 scui \
 test \
 unotest \
+vbahelper \
 vcl \
 tl \
 utl \
@@ -47,6 +48,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_tiledrendering,\
 ))
 
 $(eval $(call gb_CppunitTest_use_sdk_api,sc_tiledrendering))
+$(eval $(call gb_CppunitTest_use_api,sc_tiledrendering,oovbaapi))
 
 $(eval $(call gb_CppunitTest_use_ure,sc_tiledrendering))
 $(eval $(call gb_CppunitTest_use_vcl,sc_tiledrendering))
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx
index b2742ddba9a0..1ef0eed7b936 100644
--- a/sc/inc/scmod.hxx
+++ b/sc/inc/scmod.hxx
@@ -82,8 +82,7 @@ class ScModule: public SfxModule, public SfxListener, public 
utl::ConfigurationL
 ScDragData* m_pDragData;
 ScSelectionTransferObj* m_pSelTransfer;
 ScMessagePool*  m_pMessagePool;
-css::uno::Reference m_xClipData; // 
Only used by Vba helper functions
-// there is no global InputHandler anymore, each View has its own
+// there is no global InputHandler anymore, each View has it's own
 ScInputHandler* m_pRefInputHandler;
 ScViewCfg*  m_pViewCfg;
 ScDocCfg*   m_pDocCfg;
@@ -175,11 +174,6 @@ public:
 voidSetPrintOptions ( const ScPrintOptions& rOpt );
 voidInsertEntryToLRUList(sal_uInt16 nFIndex);
 
-SC_DLLPUBLIC const css::uno::Reference &
-GetClipData() { return m_xClipData; }
-SC_DLLPUBLIC void SetClipData(
-const css::uno::Reference& 
xTransferable) { m_xClipData = xTransferable; }
-
 static void GetSpellSettings( LanguageType& rDefLang, 
LanguageType& rCjkLang, LanguageType& rCtlLang,
   bool& rAutoSpell );
 static void SetAutoSpellProperty( bool bSet );
diff --git a/sc/qa/unit/tiledrendering/data/RangeCopyPaste.ods 
b/sc/qa/unit/tiledrendering/data/RangeCopyPaste.ods
new file mode 100644
index ..9d5e2495a22b
Binary files /dev/null and b/sc/qa/unit/tiledrendering/data/RangeCopyPaste.ods 
differ
diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx 
b/sc/qa/unit/tiledrendering/tiledrendering.cxx
index cdd9af6df92f..84c8ed3b7ed0 100644
--- a/sc/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx
@@ -94,6 +94,7 @@ public:
 void testMultiViewCopyPaste();
 void testIMESupport();
 void testFilterDlg();
+void testVbaRangeCopyPaste();
 
 CPPUNIT_TEST_SUITE(ScTiledRenderingTest);
 CPPUNIT_TEST(testRowColumnSelections);
@@ -126,6 +127,7 @@ public:
 CPPUNIT_TEST(testMultiViewCopyPaste);
 CPPUNIT_TEST(testIMESupport);
 CPPUNIT_TEST(testFilterDlg);
+CPPUNIT_TEST(testVbaRangeCopyPaste);
 CPPUNIT_TEST_SUITE_END();
 
 private:
@@ -1651,6 +1653,28 @@ void ScTiledRenderingTest::testFilterDlg()
 comphelper::LibreOfficeKit::setActive(false);
 }
 
+void ScTiledRenderingTest::testVbaRangeCopyPaste()
+{
+comphelper::LibreOfficeKit::setActive();
+ScModelObj* pModelObj = createDoc("RangeCopyPaste.ods");
+ScDocShell* pDocShell = dynamic_cast< ScDocShell* >( 
pModelObj->GetEmbeddedObject() );
+CPPUNIT_ASSERT(pDocShell);
+
+uno::Any aRet;
+uno::Sequence< uno::Any > aOutParam;
+uno::Sequence< uno::Any > aParams;
+uno::Sequence< sal_Int16 > aOutParamIndex;
+
+SfxObjectShell::CallXScript(
+mxComponent,
+
"vnd.sun.Star.script:Standard.Module1.Test_RangeCopyPaste?language=Basic=document",
+aParams, aRet, aOutParamIndex, aOutParam);
+
+

[Libreoffice-bugs] [Bug 117836] Missing colours in colour palette tonal in preview

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117836

MM  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
Version|unspecified |5.3.7.2 release
 Ever confirmed|0   |1
   Severity|normal  |minor

--- Comment #2 from MM  ---
Confirmed on ubuntu 16.04 x64 with Version: 6.1.0.0.alpha1+
Build ID: 47dc3115f12ff16dc326b6edd12c46e6a6ef1843
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2018-05-17_00:32:17
Locale: en-US (en_US.UTF-8); Calc: 

and with

Version: 5.3.7.2
Build ID: 6b8ed514a9f8b44d37a1b96673cbbdd077e24059
CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; VCL: gtk2; Layout
Engine: new; 
Locale: en-US (en_US.UTF-8); Calc: single

>From v5.3 the new color themes have been introduced. Looks like someone forgot
to include a few colors.

-- 
You are receiving this mail because:
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 117738] Lost jpg images embedded in Impress odp file

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117738

--- Comment #1 from kompilainenn <79045_79...@mail.ru> ---
please write in details how you create a presentation:
which template did you use?
which layout?
did you use option "link" when insert your images into presentation?
attach you presentation in this bug if possible

I created presentation with 32 JPG embedded images on 8 slides. I used layout
"Title, 4 Content". It re-opens fine

-- 
You are receiving this mail because:
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 117754] Difficulty in navigating document with large / high-resolution 'linked' images

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117754

--- Comment #1 from kompilainenn <79045_79...@mail.ru> ---
try use View > Images and Charts to disable shows all images in your document.

And if you want add new functional in LibreOffice, then change heading of bug
to (example) "Add possible to cache a low resolution version of the image so
that navigational performance is improved" and change Importance to
medium-enhancement

-- 
You are receiving this mail because:
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 113582] Export as PDF reduces arrow line width compared to display

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113582

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #2 from Julien Nabet  ---
On pc Debian x86-64 with LO Debian package 6.0.4.2 (gtk3 rendering), I don't
reproduce this.

Could someone else may give it a try with 6.0.4 to confirm?

-- 
You are receiving this mail because:
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 117826] Pattern is off (dashes at instead of solid horizontal lines) in Presentation mode with OpenGL

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117826

Telesto  changed:

   What|Removed |Added

   Keywords||bibisectRequest

--- Comment #4 from Telesto  ---
(In reply to kompilainenn from comment #3)
> regression? 

Not sure about the regression keyword, it's also broken in 6.0. Only
differently (pattern outside the shape).

-- 
You are receiving this mail because:
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 117772] paste special does not work between one to another spreadsheet

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117772

--- Comment #1 from kompilainenn <79045_79...@mail.ru> ---
may be you forgot make action Copy in first spreadsheet

i have all paste special options if i try paste data into second spreadsheet

but i have windows

Version: 6.1.0.0.beta1 (x64)
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 4; OS: Windows 10.0; UI render: default; 
Locale: ru-RU (ru_RU); Calc: CL

-- 
You are receiving this mail because:
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 117786] lost 5 pages of work :/

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117786

kompilainenn <79045_79...@mail.ru> changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

--- Comment #1 from kompilainenn <79045_79...@mail.ru> ---
i'm sorry, but it was your mistake. 
Try to find your 5 pages in temporary file.
for Windows defualt path for temp LO files is:
C:\Users\Your_name\AppData\Roaming\LibreOffice\5\user\backup

-- 
You are receiving this mail because:
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 117807] Business card:trying to insert a JPG or PNG format image, only shown "IMAGE1" not the pic.

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117807

--- Comment #2 from kompilainenn <79045_79...@mail.ru> ---
(In reply to Daesma from comment #0)
> Created attachment 142280 [details]
> bc page
> 
> When I try to make a business card, I do this: New>BC>image insert.  But
> only got the message "IMAGE1" is error message that the image in not
> compatible.
> My OS is Windows 10

and please add steps with full path for your actions. I didn't understand, what
did you do

-- 
You are receiving this mail because:
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 117807] Business card:trying to insert a JPG or PNG format image, only shown "IMAGE1" not the pic.

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117807

--- Comment #1 from kompilainenn <79045_79...@mail.ru> ---
please add info from dialogue Help>About

-- 
You are receiving this mail because:
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/workben

2018-05-27 Thread Caolán McNamara
 vcl/workben/cgmfuzzer.options   |2 ++
 vcl/workben/diffuzzer.options   |2 ++
 vcl/workben/docxfuzzer.options  |2 ++
 vcl/workben/fodpfuzzer.options  |2 ++
 vcl/workben/fodsfuzzer.options  |2 ++
 vcl/workben/fodtfuzzer.options  |2 ++
 vcl/workben/metfuzzer.options   |2 ++
 vcl/workben/mmlfuzzer.options   |2 ++
 vcl/workben/pptxfuzzer.options  |2 ++
 vcl/workben/qpwfuzzer.options   |2 ++
 vcl/workben/rtffuzzer.options   |2 ++
 vcl/workben/scrtffuzzer.options |2 ++
 vcl/workben/slkfuzzer.options   |2 ++
 vcl/workben/ww2fuzzer.options   |2 ++
 vcl/workben/ww6fuzzer.options   |2 ++
 vcl/workben/ww8fuzzer.options   |2 ++
 vcl/workben/xlsfuzzer.options   |2 ++
 vcl/workben/xlsxfuzzer.options  |2 ++
 18 files changed, 36 insertions(+)

New commits:
commit 539e8f1d80d497bd8d7ee031cb5772e49021b79c
Author: Caolán McNamara 
Date:   Sun May 27 21:01:18 2018 +0100

Some LibreOffice Fuzzers Can't Use AFL's Deferred Forkserver

https://github.com/google/oss-fuzz/issues/1449

Change-Id: I495f269b66f8232dce260031c4f74e574bec6aa9

diff --git a/vcl/workben/cgmfuzzer.options b/vcl/workben/cgmfuzzer.options
index 678d526b1ea9..d851ad58c377 100644
--- a/vcl/workben/cgmfuzzer.options
+++ b/vcl/workben/cgmfuzzer.options
@@ -1,2 +1,4 @@
 [libfuzzer]
 max_len = 65536
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/diffuzzer.options b/vcl/workben/diffuzzer.options
index 678d526b1ea9..d851ad58c377 100644
--- a/vcl/workben/diffuzzer.options
+++ b/vcl/workben/diffuzzer.options
@@ -1,2 +1,4 @@
 [libfuzzer]
 max_len = 65536
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/docxfuzzer.options b/vcl/workben/docxfuzzer.options
index e8c2b812b01d..db9a3e8c64ba 100644
--- a/vcl/workben/docxfuzzer.options
+++ b/vcl/workben/docxfuzzer.options
@@ -1,2 +1,4 @@
 [libfuzzer]
 max_len = 98304
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/fodpfuzzer.options b/vcl/workben/fodpfuzzer.options
index 76d308c39d0c..120b6953bfdb 100644
--- a/vcl/workben/fodpfuzzer.options
+++ b/vcl/workben/fodpfuzzer.options
@@ -1,3 +1,5 @@
 [libfuzzer]
 max_len = 65536
 dict = xml.dict
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/fodsfuzzer.options b/vcl/workben/fodsfuzzer.options
index 76d308c39d0c..120b6953bfdb 100644
--- a/vcl/workben/fodsfuzzer.options
+++ b/vcl/workben/fodsfuzzer.options
@@ -1,3 +1,5 @@
 [libfuzzer]
 max_len = 65536
 dict = xml.dict
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/fodtfuzzer.options b/vcl/workben/fodtfuzzer.options
index 76d308c39d0c..120b6953bfdb 100644
--- a/vcl/workben/fodtfuzzer.options
+++ b/vcl/workben/fodtfuzzer.options
@@ -1,3 +1,5 @@
 [libfuzzer]
 max_len = 65536
 dict = xml.dict
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/metfuzzer.options b/vcl/workben/metfuzzer.options
index 678d526b1ea9..d851ad58c377 100644
--- a/vcl/workben/metfuzzer.options
+++ b/vcl/workben/metfuzzer.options
@@ -1,2 +1,4 @@
 [libfuzzer]
 max_len = 65536
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/mmlfuzzer.options b/vcl/workben/mmlfuzzer.options
index 76d308c39d0c..120b6953bfdb 100644
--- a/vcl/workben/mmlfuzzer.options
+++ b/vcl/workben/mmlfuzzer.options
@@ -1,3 +1,5 @@
 [libfuzzer]
 max_len = 65536
 dict = xml.dict
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/pptxfuzzer.options b/vcl/workben/pptxfuzzer.options
index e8c2b812b01d..db9a3e8c64ba 100644
--- a/vcl/workben/pptxfuzzer.options
+++ b/vcl/workben/pptxfuzzer.options
@@ -1,2 +1,4 @@
 [libfuzzer]
 max_len = 98304
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/qpwfuzzer.options b/vcl/workben/qpwfuzzer.options
index 678d526b1ea9..d851ad58c377 100644
--- a/vcl/workben/qpwfuzzer.options
+++ b/vcl/workben/qpwfuzzer.options
@@ -1,2 +1,4 @@
 [libfuzzer]
 max_len = 65536
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/rtffuzzer.options b/vcl/workben/rtffuzzer.options
index 678d526b1ea9..d851ad58c377 100644
--- a/vcl/workben/rtffuzzer.options
+++ b/vcl/workben/rtffuzzer.options
@@ -1,2 +1,4 @@
 [libfuzzer]
 max_len = 65536
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/scrtffuzzer.options b/vcl/workben/scrtffuzzer.options
index 678d526b1ea9..d851ad58c377 100644
--- a/vcl/workben/scrtffuzzer.options
+++ b/vcl/workben/scrtffuzzer.options
@@ -1,2 +1,4 @@
 [libfuzzer]
 max_len = 65536
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/slkfuzzer.options b/vcl/workben/slkfuzzer.options
index 678d526b1ea9..d851ad58c377 100644
--- a/vcl/workben/slkfuzzer.options
+++ b/vcl/workben/slkfuzzer.options
@@ -1,2 +1,4 @@
 [libfuzzer]
 max_len = 65536
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/ww2fuzzer.options b/vcl/workben/ww2fuzzer.options
index 678d526b1ea9..d851ad58c377 100644
--- a/vcl/workben/ww2fuzzer.options
+++ b/vcl/workben/ww2fuzzer.options
@@ -1,2 +1,4 @@
 [libfuzzer]
 max_len = 65536
+[env]
+AFL_DRIVER_DONT_DEFER=1
diff --git a/vcl/workben/ww6fuzzer.options 

[Libreoffice-bugs] [Bug 117807] Business card:trying to insert a JPG or PNG format image, only shown "IMAGE1" not the pic.

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117807

kompilainenn <79045_79...@mail.ru> changed:

   What|Removed |Added

Summary|Business card:trying to |Business card:trying to
   |insert a PJG or PNG format  |insert a JPG or PNG format
   |image, only shown "IMAGE1"  |image, only shown "IMAGE1"
   |not the pic.|not the pic.

-- 
You are receiving this mail because:
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 117826] Pattern is off (dashes at instead of solid horizontal lines) in Presentation mode with OpenGL

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117826

--- Comment #3 from kompilainenn <79045_79...@mail.ru> ---
i don't look dashes, but eyes have some problems (less then you have)

LO 6.1 beta 1 Windows 10

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 117801] tabulation of a selected text is not working properly

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117801

--- Comment #3 from kompilainenn <79045_79...@mail.ru> ---
(In reply to kotfantazer from comment #0)
> Description:
> 
> Steps to Reproduce:
> 1.Select a text
> 2. Press "Tab"
> 3.Text is replaced by tabulation
> 

This is correct. It should be

IMHO -> Wont Fix

-- 
You are receiving this mail because:
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-1' - officecfg/registry

2018-05-27 Thread Caolán McNamara
 officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d238a5e47b8cf9a484c8f881c3c01da10b340603
Author: Caolán McNamara 
Date:   Fri May 25 15:36:38 2018 +0100

Text Attributes launches a dialog so add ellipsis

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

diff --git 
a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu 
b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
index 05a1d74af765..5b4a106a2cd9 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -736,7 +736,7 @@
   
   
 
-  Text Attributes
+  Text Attributes...
 
   
   
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 113127] Support for dBase II files

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113127

Julien Nabet  changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #2 from Julien Nabet  ---
I don't know if some people may be interested in this, perhaps it should be an
extension.

Anyway, for those who'd be interested in implementing this, here are some DBase
II specs:
https://www.clicketyclick.dk/databases/xbase/format/db2_dbf.html#DBII

About DBase implementation, here's a starting point:
https://opengrok.libreoffice.org/xref/core/connectivity/source/inc/dbase/DTable.hxx

-- 
You are receiving this mail because:
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 117791] PC completely locks up when attempting to register database

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117791

--- Comment #4 from t...@tim-passingham.co.uk ---
(In reply to Julien Nabet from comment #3)
> (In reply to tim from comment #2)
> > (In reply to Julien Nabet from comment #1)
> >... 
> > Sorry.  I'll close this one off as 'notabug'.
> No problem, the important thing is just that it works :-)
Indeed so - thanks.

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


[Libreoffice-bugs] [Bug 117838] VIEWING: Showing a picture on full screen will cause a vertical scrollbar to appear

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117838

--- Comment #4 from Balint Fodor  ---
Created attachment 142320
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142320=edit
1079 px height setting

Of course it does. But then the image does not fill the whole screen, there
will be 1 px space to the bottom, and to the left and right (I changed the
image control's background color to green, so it is more visible in the
attached screenshot.)

It is not just this 1 px I am concerned about, but because the program needs to
resize the picture, it will load much slower.

-- 
You are receiving this mail because:
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 96341] Version 5.1 takes a lot more RAM than version 5.0 in Windows

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=96341

--- Comment #10 from Buovjaga  ---
(In reply to kompilainenn from comment #9)
> LO 6.1 beta 1 (64 bit) on Windows 10 (64 bit)
> 
> new empty spreadsheet - 164 mb
> with open file from link - 578 mb
> 
> >_< i wanted close this bug, but for me LO 6.1 became even fatter

Can you try Safe 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 100419] Can't scroll to the last page in print preview

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100419

Buovjaga  changed:

   What|Removed |Added

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

--- Comment #16 from Buovjaga  ---
(In reply to Lee from comment #15)
> I recently received an email about this bug.  The portion that I too found
> not working is no longer failing - it was seeing the last page in a print
> preview.  Although the email says to set the status to WORKSFORME, I am not
> able to do that.

Yep, the status thing is a bit of a user experience glitch in the default
Bugzilla template. WFM is hidden behind RESOLVED, while we really should just
move them to be single statuses.

-- 
You are receiving this mail because:
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 108075] [META] Scrolling and Page up/down issues

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=108075
Bug 108075 depends on bug 100419, which changed state.

Bug 100419 Summary: Can't scroll to the last page in print preview
https://bugs.documentfoundation.org/show_bug.cgi?id=100419

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 117838] VIEWING: Showing a picture on full screen will cause a vertical scrollbar to appear

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117838

--- Comment #3 from Mike Kaganski  ---
Changing

> aSize.Height=h*ratio

to

> aSize.Height=(h-1)*ratio

made a difference 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 105368] Horizontal line sticks to upper edge of the screen while moved with up/ down arrow keys, if the line extends outside the visible page area

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=105368

--- Comment #12 from Buovjaga  ---
Created attachment 142319
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142319=edit
Screenshot showing the problem

The problem is that the upper edge of the screen is glued to the line and the
user is having great trouble perceiving the location of the line as it moves.

-- 
You are receiving this mail because:
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: soltools/mkdepend vcl/source

2018-05-27 Thread Andrea Gelmini
 soltools/mkdepend/ifparser.h   |2 +-
 vcl/source/font/PhysicalFontCollection.cxx |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c73c8475d05ee1ccc9a53ee1bf68313f52bb45a5
Author: Andrea Gelmini 
Date:   Sun May 27 15:54:25 2018 +0200

Fix typos

Change-Id: I4924e62af79ba225a4cc9ed2f122854318b9
Reviewed-on: https://gerrit.libreoffice.org/54883
Tested-by: Jenkins 
Reviewed-by: Julien Nabet 

diff --git a/soltools/mkdepend/ifparser.h b/soltools/mkdepend/ifparser.h
index 5c3c0dbb6b79..25da651c158a 100644
--- a/soltools/mkdepend/ifparser.h
+++ b/soltools/mkdepend/ifparser.h
@@ -48,7 +48,7 @@
  *   |  '&' |  '|'
  *   |  '&&'|  '||'
  *
- * The normal C order of precidence is supported.
+ * The normal C order of precedence is supported.
  *
  *
  * External Entry Points:
diff --git a/vcl/source/font/PhysicalFontCollection.cxx 
b/vcl/source/font/PhysicalFontCollection.cxx
index fcdef005dfdd..343f6054364f 100644
--- a/vcl/source/font/PhysicalFontCollection.cxx
+++ b/vcl/source/font/PhysicalFontCollection.cxx
@@ -1182,7 +1182,7 @@ PhysicalFontFamily* 
PhysicalFontCollection::FindFontFamily( FontSelectPattern& r
 utl::FontSubstConfiguration::getMapName( aSearchName, aTempShortName, 
aTempFamilyName,
  eTempWeight, eTempWidth, 
nTempType );
 
-// use a shortend token name if available
+// use a shortened token name if available
 if( aTempShortName != aSearchName )
 {
 PhysicalFontFamily* pFoundData = ImplFindFontFamilyBySearchName( 
aTempShortName );
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 117838] VIEWING: Showing a picture on full screen will cause a vertical scrollbar to appear

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117838

--- Comment #2 from Balint Fodor  ---
Thank you for the suggestion.
I added the line
oControlShape.TextWrap=com.sun.star.text.WrapTextMode.THROUGH
to Sub CreateControl
and I can see a change (there is no space below the image you can scroll to),
however the scrollbar is still there.

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


[Libreoffice-bugs] [Bug 117791] PC completely locks up when attempting to register database

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117791

--- Comment #3 from Julien Nabet  ---
(In reply to tim from comment #2)
> (In reply to Julien Nabet from comment #1)
>... 
> Sorry.  I'll close this one off as 'notabug'.
No problem, the important thing is just that it works :-)

-- 
You are receiving this mail because:
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 117839] Dev_6.1.0.0.beta1_Win - File extension type associations fail to register in Windows

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117839

--- Comment #2 from Christoffer  ---
Thanks for the info!

-- 
You are receiving this mail because:
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 117839] Dev_6.1.0.0.beta1_Win - File extension type associations fail to register in Windows

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117839

Mike Kaganski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

--- Comment #1 from Mike Kaganski  ---
Beta versions don't modify user registry by default; the beta's installer has
WRITE_REGISTRY property set to 0. That allows users to install the betas in
parallel to a release version, and not ruin the system.

If you need to modify system settings, then run the installation using

msiexec /i path\to\LibreOfficeDev_6.1.0.0.beta1_Win_x64.msi WRITE_REGISTRY=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 117204] Slides notes not changing on presentation mode (dual screen)

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117204

Buovjaga  changed:

   What|Removed |Added

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

--- Comment #2 from Buovjaga  ---
Repro.

Manjaro Linux 64-bit
LibreOffice 6.0.4

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


[Libreoffice-bugs] [Bug 117838] VIEWING: Showing a picture on full screen will cause a vertical scrollbar to appear

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117838

Mike Kaganski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |NOTABUG

--- Comment #1 from Mike Kaganski  ---
To see the problem, one has to enable Java and macros.

This is not a bug. The form is actually a text document, with elements
(paragraphs of text, images, controls etc.) being placed relative to one
another using usual layout riles. In this specific case, the image is anchored
to page, positioned from the very top of the page, and its wrapping set to Page
wrap (so the only (empty) paragraph present on the form should be placed to a
free place outside of the image).

If you set the wrap to Wrap Through, the positioning will be as you want (but
the paragraph will be over the image - don't know if that's what you need).

-- 
You are receiving this mail because:
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 34596] Search and replace empty paragraphs in a Writer document with tables

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=34596

--- Comment #10 from Antanas  ---
The bug is still present in state of the 6th comment (2015-04-24 12:54:34 UTC):

empty paragraphs are removed using regular expression (^$), *exept* those:
- one empty paragraph directly before the table,
- the last empty paragraph in the tables' cell(s).

LO version: 6.0.4.2

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


[Libreoffice-bugs] [Bug 117839] New: Dev_6.1.0.0.beta1_Win - File extension type associations fail to register in Windows

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117839

Bug ID: 117839
   Summary: Dev_6.1.0.0.beta1_Win - File extension type
associations fail to register in Windows
   Product: LibreOffice
   Version: 6.1.0.0.alpha1+
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Installation
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ekber...@hotmail.com

Description:
After installation of LibreOfficeDev_6.1.0.0.beta1_Win_x64 no LO file
extensions were registered in Windows and most document files i open with
Writer and Calc are unrecognized. It is possible to manually associate file
types to the corresponding .exe module, however LibreOffice's thumbnail
generation does not work.

Steps to Reproduce:
1. Standard installation
2. Didn't deselect any file associations
3. OS restart

Actual Results:  
Most of the file types used by LO is unknown by Windows and is by default read
by other software from the Windows OS.

Expected Results:
File types associated with LO are recognized by Windows
AND automatic thumbnail generation works.


Reproducible: Didn't try


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.1.0.0.beta1 (x64)
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 8; OS: Windows 10.0; UI render: GL; 
Locale: sv-SE (sv_SE); Calc: CL


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101
Firefox/60.0

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


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

2018-05-27 Thread Mike Kaganski
 filter/source/config/cache/contenthandlerfactory.cxx |   35 ---
 filter/source/config/cache/filterfactory.cxx |   35 ---
 filter/source/config/cache/frameloaderfactory.cxx|   35 ---
 filter/source/config/cache/versions.hxx  |   28 ---
 4 files changed, 3 insertions(+), 130 deletions(-)

New commits:
commit 04a2e5bf8933fb201f16de3eaf64c8efce596e8a
Author: Mike Kaganski 
Date:   Sat May 19 05:25:26 2018 +0100

Supposedly 14 years migration time is small enough

Commit 28905832173cc312ceb1481ded7da34cfc043087 was merged in 2004

Change-Id: Ie29b518d689208584fc22d4c261e0e7f139c2816
Reviewed-on: https://gerrit.libreoffice.org/54559
Tested-by: Jenkins 
Reviewed-by: Mike Kaganski 

diff --git a/filter/source/config/cache/contenthandlerfactory.cxx 
b/filter/source/config/cache/contenthandlerfactory.cxx
index 25313b36bee6..afedebfcd06f 100644
--- a/filter/source/config/cache/contenthandlerfactory.cxx
+++ b/filter/source/config/cache/contenthandlerfactory.cxx
@@ -21,7 +21,6 @@
 #include "contenthandlerfactory.hxx"
 #include "querytokenizer.hxx"
 #include "constant.hxx"
-#include "versions.hxx"
 
 #include 
 #include 
@@ -62,39 +61,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL 
ContentHandlerFactory::crea
 
 OUString sRealHandler = sHandler;
 
-#ifdef FILTER_CONFIG_MIGRATION_Q_
-
-/* -> TODO - HACK
-check if the given handler name really exists ...
-Because our old implementation worked with an internal
-type name instead of a handler name. For a small migration time
-we must simulate this old feature :-( */
-
-auto & cache = TheFilterCache::get();
-
-if (!cache.hasItem(FilterCache::E_CONTENTHANDLER, sHandler) && 
cache.hasItem(FilterCache::E_TYPE, sHandler))
-{
-css::uno::Sequence< OUString > lTypes { sHandler };
-
-css::uno::Sequence< css::beans::NamedValue > lQuery { { 
PROPNAME_TYPES, css::uno::makeAny(lTypes) } };
-
-css::uno::Reference< css::container::XEnumeration > xSet = 
BaseContainer::createSubSetEnumerationByProperties(lQuery);
-while(xSet->hasMoreElements())
-{
-::comphelper::SequenceAsHashMap 
lHandlerProps(xSet->nextElement());
-if (!(lHandlerProps[PROPNAME_NAME] >>= sRealHandler))
-continue;
-}
-
-// prevent outside code against NoSuchElementException!
-// But don't implement such defensive strategy for our new create 
handling :-)
-if (!cache.hasItem(FilterCache::E_CONTENTHANDLER, sRealHandler))
-return css::uno::Reference< css::uno::XInterface>();
-}
-
-/* <- HACK */
-
-#endif // FILTER_CONFIG_MIGRATION_Q_
+auto & cache = TheFilterCache::get();
 
 // search handler on cache
 CacheItem aHandler = cache.getItem(FilterCache::E_CONTENTHANDLER, 
sRealHandler);
diff --git a/filter/source/config/cache/filterfactory.cxx 
b/filter/source/config/cache/filterfactory.cxx
index a9564752334b..0e04d668a1d9 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -20,7 +20,6 @@
 
 #include "filterfactory.hxx"
 #include "constant.hxx"
-#include "versions.hxx"
 
 #include 
 #include 
@@ -79,39 +78,7 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL 
FilterFactory::createInstan
 
 OUString sRealFilter = sFilter;
 
-#ifdef FILTER_CONFIG_MIGRATION_Q_
-
-/* -> TODO - HACK
-check if the given filter name really exist ...
-Because our old implementation worked with an internal
-type name instead of a filter name. For a small migration time
-we must simulate this old feature :-( */
-
-auto & cache = TheFilterCache::get();
-
-if (!cache.hasItem(FilterCache::E_FILTER, sFilter) && 
cache.hasItem(FilterCache::E_TYPE, sFilter))
-{
-OSL_FAIL("Who use this deprecated functionality?");
-
-css::uno::Sequence< css::beans::NamedValue > lQuery { { 
PROPNAME_TYPE, css::uno::makeAny(sFilter) } };
-
-css::uno::Reference< css::container::XEnumeration > xSet = 
createSubSetEnumerationByProperties(lQuery);
-while(xSet->hasMoreElements())
-{
-::comphelper::SequenceAsHashMap 
lHandlerProps(xSet->nextElement());
-if (!(lHandlerProps[PROPNAME_NAME] >>= sRealFilter))
-continue;
-}
-
-// prevent outside code against NoSuchElementException!
-// But don't implement such defensive strategy for our new create 
handling :-)
-if (!cache.hasItem(FilterCache::E_FILTER, sRealFilter))
-return css::uno::Reference< css::uno::XInterface>();
-

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

2018-05-27 Thread David Tardon
 filter/source/config/cache/contenthandlerfactory.cxx |6 ++
 filter/source/config/cache/filterfactory.cxx |4 +---
 filter/source/config/cache/frameloaderfactory.cxx|6 ++
 3 files changed, 5 insertions(+), 11 deletions(-)

New commits:
commit 3fe61a95b90773b8e4df2cb68b83109f630526ad
Author: David Tardon 
Date:   Sun May 27 08:15:35 2018 +0200

drop unneded variables

Change-Id: Ia494251483b57d747348976674206dd33eb29c7c
Reviewed-on: https://gerrit.libreoffice.org/54874
Tested-by: Jenkins 
Reviewed-by: Mike Kaganski 

diff --git a/filter/source/config/cache/contenthandlerfactory.cxx 
b/filter/source/config/cache/contenthandlerfactory.cxx
index afedebfcd06f..ae7b03c7cec9 100644
--- a/filter/source/config/cache/contenthandlerfactory.cxx
+++ b/filter/source/config/cache/contenthandlerfactory.cxx
@@ -59,15 +59,13 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL 
ContentHandlerFactory::crea
 // SAFE ->
 ::osl::ResettableMutexGuard aLock(m_aLock);
 
-OUString sRealHandler = sHandler;
-
 auto & cache = TheFilterCache::get();
 
 // search handler on cache
-CacheItem aHandler = cache.getItem(FilterCache::E_CONTENTHANDLER, 
sRealHandler);
+CacheItem aHandler = cache.getItem(FilterCache::E_CONTENTHANDLER, 
sHandler);
 
 // create service instance
-xHandler = 
m_xContext->getServiceManager()->createInstanceWithContext(sRealHandler, 
m_xContext);
+xHandler = 
m_xContext->getServiceManager()->createInstanceWithContext(sHandler, 
m_xContext);
 
 // initialize filter
 css::uno::Reference< css::lang::XInitialization > xInit(xHandler, 
css::uno::UNO_QUERY);
diff --git a/filter/source/config/cache/filterfactory.cxx 
b/filter/source/config/cache/filterfactory.cxx
index 0e04d668a1d9..bd22e9e78b87 100644
--- a/filter/source/config/cache/filterfactory.cxx
+++ b/filter/source/config/cache/filterfactory.cxx
@@ -76,12 +76,10 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL 
FilterFactory::createInstan
 // SAFE ->
 ::osl::ResettableMutexGuard aLock(m_aLock);
 
-OUString sRealFilter = sFilter;
-
 auto & cache = TheFilterCache::get();
 
 // search filter on cache
-CacheItem aFilter = cache.getItem(FilterCache::E_FILTER, sRealFilter);
+CacheItem aFilter = cache.getItem(FilterCache::E_FILTER, sFilter);
 OUString sFilterService;
 aFilter[PROPNAME_FILTERSERVICE] >>= sFilterService;
 
diff --git a/filter/source/config/cache/frameloaderfactory.cxx 
b/filter/source/config/cache/frameloaderfactory.cxx
index 2bf7b9a5efd2..abf51d859baf 100644
--- a/filter/source/config/cache/frameloaderfactory.cxx
+++ b/filter/source/config/cache/frameloaderfactory.cxx
@@ -56,15 +56,13 @@ css::uno::Reference< css::uno::XInterface > SAL_CALL 
FrameLoaderFactory::createI
 // SAFE ->
 ::osl::ResettableMutexGuard aLock(m_aLock);
 
-OUString sRealLoader = sLoader;
-
 auto & cache = TheFilterCache::get();
 
 // search loader on cache
-CacheItem aLoader = cache.getItem(m_eType, sRealLoader);
+CacheItem aLoader = cache.getItem(m_eType, sLoader);
 
 // create service instance
-css::uno::Reference< css::uno::XInterface > xLoader = 
m_xContext->getServiceManager()->createInstanceWithContext(sRealLoader, 
m_xContext);
+css::uno::Reference< css::uno::XInterface > xLoader = 
m_xContext->getServiceManager()->createInstanceWithContext(sLoader, m_xContext);
 
 // initialize filter
 css::uno::Reference< css::lang::XInitialization > xInit(xLoader, 
css::uno::UNO_QUERY);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2018-05-27 Thread David Tardon
 writerperfect/qa/unit/ImportTest.cxx |9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)

New commits:
commit bb27318a41e7d8ee20cd23ed2c94d493f4ba0f81
Author: David Tardon 
Date:   Sun May 27 08:13:03 2018 +0200

creation of css::document::XFilter needs filter name

Change-Id: I5d580e2efe6cf34b9855e47190f6242323d7823a
Reviewed-on: https://gerrit.libreoffice.org/54873
Tested-by: Jenkins 
Reviewed-by: Mike Kaganski 

diff --git a/writerperfect/qa/unit/ImportTest.cxx 
b/writerperfect/qa/unit/ImportTest.cxx
index 1775f4fc6eeb..3168ac6aade3 100644
--- a/writerperfect/qa/unit/ImportTest.cxx
+++ b/writerperfect/qa/unit/ImportTest.cxx
@@ -95,9 +95,12 @@ WpftLoader ImportTest::createLoader(const rtl::OUString& 
rUrl,
 aDesc[utl::MediaDescriptor::PROP_URL()] <<= rUrl;
 aDesc[utl::MediaDescriptor::PROP_READONLY()] <<= true;
 uno::Sequence 
lDesc(aDesc.getAsConstPropertyValueList());
-const rtl::OUString sType = m_xTypeDetection->queryTypeByDescriptor(lDesc, 
true);
-CPPUNIT_ASSERT(!sType.isEmpty());
-const uno::Reference 
xFilter(m_xFilterFactory->createInstance(sType),
+m_xTypeDetection->queryTypeByDescriptor(lDesc, true);
+aDesc = lDesc;
+rtl::OUString sFilter;
+aDesc[utl::MediaDescriptor::PROP_FILTERNAME()] >>= sFilter;
+CPPUNIT_ASSERT(!sFilter.isEmpty());
+const uno::Reference 
xFilter(m_xFilterFactory->createInstance(sFilter),
 UNO_QUERY);
 CPPUNIT_ASSERT(xFilter.is());
 return WpftLoader(rUrl, xFilter, rFactoryUrl, m_xDesktop, m_xTypeMap, 
m_xContext);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2018-05-27 Thread Justin Luth
 sc/source/filter/excel/xename.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0b38b7313bdd57588ce51b0a0e4b86295b16d21b
Author: Justin Luth 
Date:   Sat May 5 21:41:46 2018 +0300

misleading comment: not every sheet is examined

In fact, if there are no sheet-local names defined, then the loop
will not even be entered. Only the sheets that actually contain
the desired item will be iterated through.

Change-Id: I1fa94d8b9190f43b2896a002acdec18397225395
Reviewed-on: https://gerrit.libreoffice.org/54742
Reviewed-by: Noel Grandin 
Tested-by: Jenkins 
Reviewed-by: Andras Timar 

diff --git a/sc/source/filter/excel/xename.cxx 
b/sc/source/filter/excel/xename.cxx
index 4f9963b53b1f..84ab353ee2d8 100644
--- a/sc/source/filter/excel/xename.cxx
+++ b/sc/source/filter/excel/xename.cxx
@@ -645,7 +645,7 @@ void XclExpNameManagerImpl::CreateUserNames()
 if (!FindNamedExpIndex(SCTAB_GLOBAL, itr->second->GetIndex()))
 CreateName(SCTAB_GLOBAL, *itr->second);
 }
-//look at every sheet for local range names
+//look at sheets containing local range names
 ScRangeName::TabNameCopyMap rLocalNames;
 GetDoc().GetAllTabRangeNames(rLocalNames);
 ScRangeName::TabNameCopyMap::iterator tabIt = rLocalNames.begin(), 
tabItEnd = rLocalNames.end();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-ux-advise] [Bug 100373] [META] Style issues in Draw/Impress

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100373
Bug 100373 depends on bug 38225, which changed state.

Bug 38225 Summary: Unable to change name of a custom style
https://bugs.documentfoundation.org/show_bug.cgi?id=38225

   What|Removed |Added

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

-- 
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 100373] [META] Style issues in Draw/Impress

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100373
Bug 100373 depends on bug 38225, which changed state.

Bug 38225 Summary: Unable to change name of a custom style
https://bugs.documentfoundation.org/show_bug.cgi?id=38225

   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 117812] Incorrect spaces are inserted before the punctuation marks ( when cutting and pasting)

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117812

--- Comment #3 from Dieter Praas  ---
(In reply to Dimitry Perov from comment #2) 
> A space is added between words, right or left, according the cursor
> position. If the cursor is after "a" (opera) or before "r" (rotas), the
> result will be the same (Sator Arepo opera tenet rotas).

You're right, sorry. And if you past it within a word, free space left and
right is added. So it should be possible to fix 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-commits] core.git: sw/source

2018-05-27 Thread Mike Kaganski
 sw/source/uibase/app/apphdl.cxx |   33 +
 1 file changed, 1 insertion(+), 32 deletions(-)

New commits:
commit c9e092c3c310105c608266d2d01bfb3cbd57271c
Author: Mike Kaganski 
Date:   Sun May 27 08:49:49 2018 +0100

Cleanup includes

Change-Id: Ia2723b168ecc0bdb023c98bfb71b297684ee8c7f
Reviewed-on: https://gerrit.libreoffice.org/54876
Tested-by: Jenkins 
Reviewed-by: Mike Kaganski 

diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx
index 6d8e340ccd9e..05efb9d821e4 100644
--- a/sw/source/uibase/app/apphdl.cxx
+++ b/sw/source/uibase/app/apphdl.cxx
@@ -19,43 +19,22 @@
 
 #include 
 
-#include 
-
-#include 
 #include 
-#include 
-#include 
-#include 
-#include 
 #include 
 #include 
 #include 
 #include 
-#include 
-#include 
-#include 
 #include 
-#include 
 #include 
 #include 
 #include 
 #include 
-#include 
 #include 
 #include 
-#include 
-#include 
-#include 
-#include 
 #include 
 #include 
-#include 
-#include 
-
 #include 
-#include 
 
-#include 
 #include 
 #include 
 #include 
@@ -65,27 +44,21 @@
 #include 
 #include 
 #include 
-#include 
 #include 
 #include 
 #include 
 #include 
 #include 
-#include 
 #include 
 #include 
-#include 
 #include 
 #include 
-#include 
-#include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
-#include 
-#include 
 #include 
 #include 
 #include 
@@ -95,13 +68,9 @@
 #include 
 #include 
 
-#include 
-
 #include 
 #include 
 
-#include 
-
 using namespace ::com::sun::star;
 
 // Slotmaps for the application's methods
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 117791] PC completely locks up when attempting to register database

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117791

t...@tim-passingham.co.uk changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||t...@tim-passingham.co.uk
 Resolution|--- |NOTABUG

--- Comment #2 from t...@tim-passingham.co.uk ---
(In reply to Julien Nabet from comment #1)
> On pc Debian x86-64 with LO Debian testing package 6.0.4.2, I don't
> reproduce this. I tested with gtk3, gtk, gen, kde4 renderings.
> 
> For the test, could you rename your LO directory profile
> (https://wiki.documentfoundation.org/UserProfile#GNU.2FLinux) and give a new
> try?
And now it works. I went back to my original profile and it works there as
well.

Good, but frustrating. I tried it many times, and it locked up every time, and
now it doesn't

Sorry.  I'll close this one off as 'notabug'.

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


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

2018-05-27 Thread Mike Kaganski
 sd/inc/stlsheet.hxx |3 +
 sd/qa/unit/misc-tests.cxx   |   34 +++
 sd/source/core/stlsheet.cxx |  128 ++--
 3 files changed, 115 insertions(+), 50 deletions(-)

New commits:
commit 8a648b82f85d4b0eed67067ed2ddc211ad64ce72
Author: Mike Kaganski 
Date:   Sun May 27 14:02:09 2018 +0300

tdf#38225: update API name when renaming using a base class ref

... but don't update it in case it's a predefined API name

Change-Id: I20075a4e085bdeab8374860c16e7eb2a72772c33
Reviewed-on: https://gerrit.libreoffice.org/54879
Tested-by: Jenkins 
Reviewed-by: Mike Kaganski 

diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx
index b86314383ca5..ae21105070a8 100644
--- a/sd/inc/stlsheet.hxx
+++ b/sd/inc/stlsheet.hxx
@@ -80,6 +80,9 @@ public:
 static void BroadcastSdStyleSheetChange(SfxStyleSheetBase const * 
pStyleSheet, PresentationObjects ePO,
 SfxStyleSheetBasePool* pSSPool);
 
+// SfxStyleSheetBase
+virtual bool SetName(const OUString& rNewName, bool bReindexNow = true) 
override;
+
 // XInterface
 virtual void SAL_CALL release(  ) throw () override;
 
diff --git a/sd/qa/unit/misc-tests.cxx b/sd/qa/unit/misc-tests.cxx
index 9125f2306bad..ace77cdcc96e 100644
--- a/sd/qa/unit/misc-tests.cxx
+++ b/sd/qa/unit/misc-tests.cxx
@@ -61,6 +61,7 @@ public:
 void testTdf99396TextEdit();
 void testFillGradient();
 void testTdf44774();
+void testTdf38225();
 
 CPPUNIT_TEST_SUITE(SdMiscTest);
 CPPUNIT_TEST(testTdf96206);
@@ -69,6 +70,7 @@ public:
 CPPUNIT_TEST(testTdf99396TextEdit);
 CPPUNIT_TEST(testFillGradient);
 CPPUNIT_TEST(testTdf44774);
+CPPUNIT_TEST(testTdf38225);
 CPPUNIT_TEST_SUITE_END();
 
 private:
@@ -327,6 +329,38 @@ void SdMiscTest::testTdf44774()
 CPPUNIT_ASSERT_EQUAL(OUString("StyleA"), pStyle->GetParent());
 }
 
+void SdMiscTest::testTdf38225()
+{
+sd::DrawDocShellRef xDocShRef = new 
sd::DrawDocShell(SfxObjectCreateMode::EMBEDDED, false,
+DocumentType::Draw);
+const uno::Reference xLoadable(xDocShRef->GetModel(), 
uno::UNO_QUERY_THROW);
+xLoadable->initNew();
+SfxStyleSheetBasePool* pSSPool = xDocShRef->GetStyleSheetPool();
+
+// Create a new style with a name
+pSSPool->Make("StyleWithName1", SfxStyleFamily::Para, 
SfxStyleSearchBits::UserDefined);
+
+// Now save the file and reload
+xDocShRef = saveAndReload(xDocShRef.get(), ODG);
+pSSPool = xDocShRef->GetStyleSheetPool();
+
+SfxStyleSheetBase* pStyle = pSSPool->Find("StyleWithName1", 
SfxStyleFamily::Para);
+CPPUNIT_ASSERT(pStyle);
+
+// Rename the style
+CPPUNIT_ASSERT(pStyle->SetName("StyleWithName2"));
+
+// Save the file and reload again
+xDocShRef = saveAndReload(xDocShRef.get(), ODG);
+pSSPool = xDocShRef->GetStyleSheetPool();
+
+// The problem was that the style kept the old name upon reloading
+pStyle = pSSPool->Find("StyleWithName1", SfxStyleFamily::Para);
+CPPUNIT_ASSERT(!pStyle);
+pStyle = pSSPool->Find("StyleWithName2", SfxStyleFamily::Para);
+CPPUNIT_ASSERT(pStyle);
+}
+
 CPPUNIT_TEST_SUITE_REGISTRATION(SdMiscTest);
 
 CPPUNIT_PLUGIN_IMPLEMENT();
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index 4f2cde188768..1b517483b7c6 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -582,56 +582,77 @@ bool SdStyleSheet::HasClearParentSupport() const
 return true;
 }
 
-void SdStyleSheet::SetHelpId( const OUString& r, sal_uLong nId )
+namespace
 {
-SfxStyleSheet::SetHelpId( r, nId );
+struct ApiNameMap
+{
+OUStringLiteral mpApiName;
+sal_uInt32 mnHelpId;
+} const pApiNameMap[]
+= { { OUStringLiteral("title"), HID_PSEUDOSHEET_TITLE },
+{ OUStringLiteral("subtitle"), HID_PSEUDOSHEET_SUBTITLE },
+{ OUStringLiteral("background"), HID_PSEUDOSHEET_BACKGROUND },
+{ OUStringLiteral("backgroundobjects"), 
HID_PSEUDOSHEET_BACKGROUNDOBJECTS },
+{ OUStringLiteral("notes"), HID_PSEUDOSHEET_NOTES },
+{ OUStringLiteral("standard"), HID_STANDARD_STYLESHEET_NAME },
+{ OUStringLiteral("objectwithoutfill"), HID_POOLSHEET_OBJWITHOUTFILL },
+{ OUStringLiteral("text"), HID_POOLSHEET_TEXT },
+{ OUStringLiteral("title"), HID_POOLSHEET_TITLE },
+{ OUStringLiteral("headline"), HID_POOLSHEET_HEADLINE },
+{ OUStringLiteral("measure"), HID_POOLSHEET_MEASURE },
+{ OUStringLiteral("Filled"), HID_POOLSHEET_FILLED },
+{ OUStringLiteral("Filled Blue"), HID_POOLSHEET_FILLED_BLUE },
+{ OUStringLiteral("Filled Green"), HID_POOLSHEET_FILLED_GREEN },
+{ OUStringLiteral("Filled Red"), HID_POOLSHEET_FILLED_RED },
+{ OUStringLiteral("Filled Yellow"), HID_POOLSHEET_FILLED_YELLOW },
+{ OUStringLiteral("Outlined"), HID_POOLSHEET_OUTLINE },
+{ 

[Libreoffice-bugs] [Bug 117812] Incorrect spaces are inserted before the punctuation marks ( when cutting and pasting)

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117812

--- Comment #2 from Dimitry Perov  ---
(In reply to Dieter Praas from comment #1)
> But LO always adds a space at the end of the word, if you paste i in this
> way. So I'm not sure, if it is possible to modify the behaviour only for the
> special case of a punctuation mark.

A space is added between words, right or left, according the cursor position.
If the cursor is after "a" (opera) or before "r" (rotas), the result will be
the same (Sator Arepo opera tenet rotas).

-- 
You are receiving this mail because:
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 102593] [META] Paste bugs and enhancements

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=102593

Dieter Praas  changed:

   What|Removed |Added

 Depends on||117812


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=117812
[Bug 117812] Incorrect spaces are inserted before the punctuation marks (when
cutting and pasting)
-- 
You are receiving this mail because:
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 117812] Incorrect spaces are inserted before the punctuation marks ( when cutting and pasting)

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117812

Dieter Praas  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||dgp-m...@gmx.de
 Blocks||102593
 Ever confirmed|0   |1
 OS|Linux (All) |All

--- Comment #1 from Dieter Praas  ---
Reproducible for me with

Version: 6.1.0.0.beta1 (x64)
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: de-DE (de_DE); Calc: CL

But LO always adds a space at the end of the word, if you paste i in this way.
So I'm not sure, if it is possible to modify the behaviour only for the special
case of a punctuation mark.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102593
[Bug 102593] [META] Paste 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 117838] New: VIEWING: Showing a picture on full screen will cause a vertical scrollbar to appear

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117838

Bug ID: 117838
   Summary: VIEWING: Showing a picture on full screen will cause a
vertical scrollbar to appear
   Product: LibreOffice
   Version: 6.0.4.2 release
  Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Base
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: fodorbal...@gmail.com

Created attachment 142318
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142318=edit
Image on full screen

I am testing on a Full HD screen, Windows 10.
If I size the image so that it appears 1079 px high, the scrollbar can be
avoided. However, if I slowly increase the height, there will soon be a
scrollbar at a height of 28548 1/100 mm (the picture is still 1079 px high). 
The image fits the full height for the first time at 28560.
It is a bug, and I have not found a workaround either. 
I looked through the properties of ThisComponent,
ThisComponent.CurrentController.Frame.ComponentWindow and
ThisComponent.CurrentController.Frame.ContainerWindow, and found nothing
related to scrollbars, and there is no option to set the page content height
either.

-- 
You are receiving this mail because:
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 117818] CHAPTER NUMBERING DIALOG: Preview doesn't work as expected

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117818

--- Comment #8 from Dieter Praas  ---
Created attachment 142317
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142317=edit
Screenshot of results (see comment 1)

In addition to comment 1 this attachment shows screenshots of the results I
described in comment 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-commits] core.git: Branch 'libreoffice-6-0' - cui/source

2018-05-27 Thread Miklos Vajna
 cui/source/options/optgdlg.cxx |9 +
 cui/source/options/optgdlg.hxx |1 +
 2 files changed, 10 insertions(+)

New commits:
commit 6e37f748096a7fd7d7a3a07b2393c5f8960cfeb5
Author: Miklos Vajna 
Date:   Wed May 23 17:54:37 2018 +0200

tdf#104086 cui: enable OpenGL when ignoring its blacklist

"Ignore OpenGL blacklist" is called "force OpenGL" in the code, so it
make sense that OpenGLHelper::isVCLOpenGLEnabled() returns true in that
case. But the UI suggested that enabling ignore doesn't enable OpenGL
itself.

Fix this by auto-checking the parent UI widget when enabling the
blacklist.

(cherry picked from commit 8118a5d2eb1524768784adc0b143b8cc1b9f3f61)

Conflicts:
cui/source/options/optgdlg.cxx

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

diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 1c90931c7afb..38acc1d22b4f 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -663,6 +663,8 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const 
SfxItemSet& rSet)
 
 #endif
 
+m_pForceOpenGL->SetToggleHdl(LINK(this, OfaViewTabPage, 
OnForceOpenGLToggled));
+
 // Set known icon themes
 OUString sAutoStr( m_pIconStyleLB->GetEntry( 0 ) );
 m_pIconStyleLB->Clear();
@@ -739,6 +741,13 @@ IMPL_LINK_NOARG( OfaViewTabPage, OnAntialiasingToggled, 
CheckBox&, void )
 }
 #endif
 
+IMPL_LINK_NOARG(OfaViewTabPage, OnForceOpenGLToggled, CheckBox&, void)
+{
+if (m_pForceOpenGL->IsChecked())
+// Ignoring the opengl blacklist implies that opengl is on.
+m_pUseOpenGL->Check();
+}
+
 VclPtr OfaViewTabPage::Create( vcl::Window* pParent, const 
SfxItemSet* rAttrSet )
 {
 return VclPtr::Create(pParent, *rAttrSet);
diff --git a/cui/source/options/optgdlg.hxx b/cui/source/options/optgdlg.hxx
index ceba711ede24..b7e47e722edc 100644
--- a/cui/source/options/optgdlg.hxx
+++ b/cui/source/options/optgdlg.hxx
@@ -121,6 +121,7 @@ private:
 #if defined( UNX )
 DECL_LINK( OnAntialiasingToggled, CheckBox&, void );
 #endif
+DECL_LINK(OnForceOpenGLToggled, CheckBox&, void);
 void UpdateOGLStatus();
 
 public:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - include/vcl vcl/Module_vcl.mk vcl/qa vcl/source

2018-05-27 Thread Miklos Vajna
 include/vcl/pdfextoutdevdata.hxx|2 
 vcl/Module_vcl.mk   |6 +
 vcl/qa/cppunit/pdfexport/data/tdf106702.odt |binary
 vcl/qa/cppunit/pdfexport/pdfexport.cxx  |   85 ++--
 vcl/source/gdi/pdfextoutdevdata.cxx |   25 ++--
 vcl/source/gdi/pdfwriter_impl2.cxx  |2 
 6 files changed, 96 insertions(+), 24 deletions(-)

New commits:
commit 327c7ee43fbe53df63693d020356ddf4df56d7f1
Author: Miklos Vajna 
Date:   Tue May 22 16:20:18 2018 +0200

tdf#106702 PDF export: fix missing images from Writer headers/footers

Position of an image is determined by the relevant bitmap scale metafile
action when recompressing images.

The same position was determined by PDFExtOutDevData "meta" info when
not recompressing images. This second rectangle was never correct for
images repeated in Writer headers/footers on non-first pages: the
position was relative to the page, while PDF export sets the map mode
(origin) of the output device during export, so such positions are
expected to be absolute ones.

The root of the problem seems to be that header images in Writer are
both repeated (as the user sees it) and unrepeated (as the doc model
sees it), and by the time we want to get its position, we only see the
unrepeated SdrObject.

Fix the problem by using the correct position from the scale action and
not from PDFExtOutDevData if possible.

(Also give up on running CppunitTest_vcl_pdfexport in the non-pdfium
case, most of the tests there do require pdfium anyway, and the growing
ifdef forest in that file just made it hard to read the code.)

(cherry picked from commit 4c2172a3e973bc6351107a3a1b554c77b40b75dd)

Conflicts:
vcl/Module_vcl.mk
vcl/qa/cppunit/pdfexport/pdfexport.cxx

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

diff --git a/include/vcl/pdfextoutdevdata.hxx b/include/vcl/pdfextoutdevdata.hxx
index 22079323580c..b8bbe589d491 100644
--- a/include/vcl/pdfextoutdevdata.hxx
+++ b/include/vcl/pdfextoutdevdata.hxx
@@ -97,7 +97,7 @@ public:
 PDFExtOutDevData( const OutputDevice& rOutDev );
 virtual ~PDFExtOutDevData() override;
 
-bool PlaySyncPageAct( PDFWriter& rWriter, sal_uInt32& rCurGDIMtfAction );
+bool PlaySyncPageAct( PDFWriter& rWriter, sal_uInt32& rCurGDIMtfAction, 
const GDIMetaFile& rMtf );
 void ResetSyncData();
 
 void PlayGlobalActions( PDFWriter& rWriter );
diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk
index e27b4db56ab9..40fee27321b4 100644
--- a/vcl/Module_vcl.mk
+++ b/vcl/Module_vcl.mk
@@ -173,10 +173,14 @@ $(eval $(call gb_Module_add_check_targets,vcl,\
CppunitTest_vcl_app_test \
CppunitTest_vcl_jpeg_read_write_test \
CppunitTest_vcl_svm_test \
-   CppunitTest_vcl_pdfexport \
 CppunitTest_vcl_errorhandler \
 ))
 
+ifneq (,$(filter PDFIUM,$(BUILD_TYPE)))
+$(eval $(call gb_Module_add_check_targets,vcl,\
+   CppunitTest_vcl_pdfexport \
+))
+endif
 
 ifeq ($(USING_X11),TRUE)
 $(eval $(call gb_Module_add_check_targets,vcl,\
diff --git a/vcl/qa/cppunit/pdfexport/data/tdf106702.odt 
b/vcl/qa/cppunit/pdfexport/data/tdf106702.odt
new file mode 100644
index ..da3b7e81456e
Binary files /dev/null and b/vcl/qa/cppunit/pdfexport/data/tdf106702.odt differ
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx 
b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
index b2ebb23cf6cd..9e6924f2e66a 100644
--- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx
+++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
@@ -24,11 +24,9 @@
 #include 
 #include 
 #include 
-#if HAVE_FEATURE_PDFIUM
 #include 
 #include 
 #include 
-#endif
 
 using namespace ::com::sun::star;
 
@@ -40,15 +38,12 @@ class PdfExportTest : public test::BootstrapFixture, public 
unotest::MacrosTest
 {
 uno::Reference mxComponentContext;
 uno::Reference mxComponent;
-#if HAVE_FEATURE_PDFIUM
 FPDF_PAGE mpPdfPage = nullptr;
 FPDF_DOCUMENT mpPdfDocument = nullptr;
-#endif
 
 public:
 virtual void setUp() override;
 virtual void tearDown() override;
-#if HAVE_FEATURE_PDFIUM
 void load(const OUString& rFile, vcl::filter::PDFDocument& rDocument);
 /// Tests that a pdf image is roundtripped back to PDF as a vector format.
 void testTdf106059();
@@ -79,12 +74,11 @@ public:
 /// Text extracting RTL text with ligatures.
 void testTdf115117_2a();
 #endif
-void testTdf105954();
-#endif
 void testTdf109143();
+void testTdf105954();
+void testTdf106702();
 
 CPPUNIT_TEST_SUITE(PdfExportTest);
-#if HAVE_FEATURE_PDFIUM
 CPPUNIT_TEST(testTdf106059);
 CPPUNIT_TEST(testTdf105461);
 

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

2018-05-27 Thread Miklos Vajna
 vcl/qa/cppunit/pdfexport/data/tdf113143.odp |binary
 vcl/qa/cppunit/pdfexport/pdfexport.cxx  |  173 +---
 vcl/source/gdi/pdfextoutdevdata.cxx |6 
 3 files changed, 114 insertions(+), 65 deletions(-)

New commits:
commit 9f098d328439a8acece7d871020cf184e0e14930
Author: Miklos Vajna 
Date:   Thu May 24 17:29:13 2018 +0200

tdf#113143 PDF export: fix mis-scaled JPGs on Impress note pages

This is really similar to commit
4c2172a3e973bc6351107a3a1b554c77b40b75dd (tdf#106702 PDF export: fix
missing images from Writer headers/footers, 2018-05-22) just this one is
about the size of the output rectangle for JPG content, while the
previous problem was about the position of them.

Also extract PdfExportTest::exportAndParse() from the last two tests to
avoid duplication.

(cherry picked from commit 89dc667cebfec5315f0c0361e49d759e88458689)

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

diff --git a/vcl/qa/cppunit/pdfexport/data/tdf113143.odp 
b/vcl/qa/cppunit/pdfexport/data/tdf113143.odp
new file mode 100644
index ..5f8a1b10e2e5
Binary files /dev/null and b/vcl/qa/cppunit/pdfexport/data/tdf113143.odp differ
diff --git a/vcl/qa/cppunit/pdfexport/pdfexport.cxx 
b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
index 28803f0fd1b2..849e87b90f4a 100644
--- a/vcl/qa/cppunit/pdfexport/pdfexport.cxx
+++ b/vcl/qa/cppunit/pdfexport/pdfexport.cxx
@@ -39,8 +39,13 @@ class PdfExportTest : public test::BootstrapFixture, public 
unotest::MacrosTest
 uno::Reference mxComponent;
 FPDF_PAGE mpPdfPage = nullptr;
 FPDF_DOCUMENT mpPdfDocument = nullptr;
+utl::TempFile maTempFile;
+SvMemoryStream maMemory;
+// Export the document as PDF, then parse it with PDFium.
+void exportAndParse(const OUString& rURL, const utl::MediaDescriptor& 
rDescriptor);
 
 public:
+PdfExportTest();
 virtual void setUp() override;
 virtual void tearDown() override;
 void load(const OUString& rFile, vcl::filter::PDFDocument& rDocument);
@@ -82,6 +87,7 @@ public:
 void testTdf109143();
 void testTdf105954();
 void testTdf106702();
+void testTdf113143();
 
 CPPUNIT_TEST_SUITE(PdfExportTest);
 CPPUNIT_TEST(testTdf106059);
@@ -110,9 +116,32 @@ public:
 CPPUNIT_TEST(testTdf109143);
 CPPUNIT_TEST(testTdf105954);
 CPPUNIT_TEST(testTdf106702);
+CPPUNIT_TEST(testTdf113143);
 CPPUNIT_TEST_SUITE_END();
 };
 
+PdfExportTest::PdfExportTest()
+{
+maTempFile.EnableKillingFile();
+}
+
+void PdfExportTest::exportAndParse(const OUString& rURL, const 
utl::MediaDescriptor& rDescriptor)
+{
+// Import the bugdoc and export as PDF.
+mxComponent = loadFromDesktop(rURL);
+CPPUNIT_ASSERT(mxComponent.is());
+
+uno::Reference xStorable(mxComponent, uno::UNO_QUERY);
+xStorable->storeToURL(maTempFile.GetURL(), 
rDescriptor.getAsConstPropertyValueList());
+
+// Parse the export result with pdfium.
+SvFileStream aFile(maTempFile.GetURL(), StreamMode::READ);
+maMemory.WriteStream(aFile);
+mpPdfDocument
+= FPDF_LoadMemDocument(maMemory.GetData(), maMemory.GetSize(), 
/*password=*/nullptr);
+CPPUNIT_ASSERT(mpPdfDocument);
+}
+
 void PdfExportTest::setUp()
 {
 test::BootstrapFixture::setUp();
@@ -150,14 +179,12 @@ void PdfExportTest::load(const OUString& rFile, 
vcl::filter::PDFDocument& rDocum
 CPPUNIT_ASSERT(mxComponent.is());
 
 uno::Reference xStorable(mxComponent, uno::UNO_QUERY);
-utl::TempFile aTempFile;
-aTempFile.EnableKillingFile();
 utl::MediaDescriptor aMediaDescriptor;
 aMediaDescriptor["FilterName"] <<= OUString("writer_pdf_Export");
-xStorable->storeToURL(aTempFile.GetURL(), 
aMediaDescriptor.getAsConstPropertyValueList());
+xStorable->storeToURL(maTempFile.GetURL(), 
aMediaDescriptor.getAsConstPropertyValueList());
 
 // Parse the export result.
-SvFileStream aStream(aTempFile.GetURL(), StreamMode::READ);
+SvFileStream aStream(maTempFile.GetURL(), StreamMode::READ);
 CPPUNIT_ASSERT(rDocument.Read(aStream));
 }
 
@@ -169,8 +196,6 @@ void PdfExportTest::testTdf106059()
 CPPUNIT_ASSERT(mxComponent.is());
 
 uno::Reference xStorable(mxComponent, uno::UNO_QUERY);
-utl::TempFile aTempFile;
-aTempFile.EnableKillingFile();
 utl::MediaDescriptor aMediaDescriptor;
 aMediaDescriptor["FilterName"] <<= OUString("writer_pdf_Export");
 // Explicitly enable the usage of the reference XObject markup.
@@ -178,11 +203,11 @@ void PdfExportTest::testTdf106059()
 {"UseReferenceXObject", uno::Any(true) }
 }));
 aMediaDescriptor["FilterData"] <<= aFilterData;
-xStorable->storeToURL(aTempFile.GetURL(), 

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

2018-05-27 Thread Miklos Vajna
 sw/qa/extras/rtfexport/data/tdf117505.odt   |binary
 sw/qa/extras/rtfexport/rtfexport3.cxx   |   11 +++
 sw/source/filter/ww8/rtfattributeoutput.cxx |9 -
 sw/source/filter/ww8/rtfexport.cxx  |3 +++
 sw/source/filter/ww8/rtfexport.hxx  |4 
 5 files changed, 26 insertions(+), 1 deletion(-)

New commits:
commit 8e4a9db1e62871878155207c2c4d252b3705c307
Author: Miklos Vajna 
Date:   Tue May 22 22:05:24 2018 +0200

tdf#117505 RTF export: fix incorrect header distance for first/follow pages

In case the first and the follow page format has different header
distances, the DOC and DOCX import work with the distance from the first
page format when they take the last item from the MSWordSections
container at the end of the export.

RTF writes section info before the document content, and in case there
are separate first and follow page formats, then we work with the follow
format since commit 20a53cb9e9c7b797c091fe6ac6a34dfb28c61304
(INTEGRATION: CWS limerickfilterteam08 (1.16.32); FILE MERGED,
2003-09-01) as a fix for i#13107.

There is no perfect solution here, the sw doc model can store different
header distances for first and follow pages, while Word works with a
single distance. But RTF/DOCX/DOC import puts the relevant header
distance to the first page format and DOCX/DOC export reads the distance
from there, so be consistent and do the same in the RTF export as well.

This means the DOCX import -> RTF export -> RTF import sequence from the
bugreport will result in a correct header distance.

(cherry picked from commit 5956828c88501ef1366e60010b05053a8e1e642e)

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

diff --git a/sw/qa/extras/rtfexport/data/tdf117505.odt 
b/sw/qa/extras/rtfexport/data/tdf117505.odt
new file mode 100644
index ..91bde8f92393
Binary files /dev/null and b/sw/qa/extras/rtfexport/data/tdf117505.odt differ
diff --git a/sw/qa/extras/rtfexport/rtfexport3.cxx 
b/sw/qa/extras/rtfexport/rtfexport3.cxx
index 9f59e19a470a..c2399d561764 100644
--- a/sw/qa/extras/rtfexport/rtfexport3.cxx
+++ b/sw/qa/extras/rtfexport/rtfexport3.cxx
@@ -114,6 +114,17 @@ DECLARE_RTFEXPORT_TEST(testTdf117268, "tdf117268.rtf")
 CPPUNIT_ASSERT_EQUAL(sal_Int16(0), 
xTextRangeCompare->compareRegionStarts(xAnchorCell, xCell));
 }
 
+DECLARE_RTFEXPORT_TEST(testTdf117505, "tdf117505.odt")
+{
+uno::Reference 
xPageStyles(getStyles("PageStyles"));
+uno::Reference 
xFirstPage(xPageStyles->getByName("First Page"),
+   uno::UNO_QUERY);
+// This was 499, small header height resulted in visible whitespace from
+// remaining top margin -> header content moved down.
+CPPUNIT_ASSERT_EQUAL(static_cast(1499),
+ getProperty(xFirstPage, "HeaderHeight"));
+}
+
 CPPUNIT_PLUGIN_IMPLEMENT();
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx 
b/sw/source/filter/ww8/rtfattributeoutput.cxx
index 6c8bb3390979..400e4049f298 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.cxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.cxx
@@ -3101,7 +3101,14 @@ void RtfAttributeOutput::FormatULSpace(const 
SvxULSpaceItem& rULSpace)
 if (!m_rExport.GetCurItemSet())
 return;
 
-sw::util::HdFtDistanceGlue aDistances(*m_rExport.GetCurItemSet());
+// If we export a follow page format, then our doc model has
+// separate header/footer distances for the first page and the
+// follow pages, but Word can have only a single distance. In case
+// the two values differ, work with the value from the first page
+// format to be in sync with the import.
+sw::util::HdFtDistanceGlue 
aDistances(m_rExport.GetFirstPageItemSet()
+  ? 
*m_rExport.GetFirstPageItemSet()
+  : 
*m_rExport.GetCurItemSet());
 
 if (aDistances.dyaTop)
 {
diff --git a/sw/source/filter/ww8/rtfexport.cxx 
b/sw/source/filter/ww8/rtfexport.cxx
index 779719756a85..586dd01f23bd 100644
--- a/sw/source/filter/ww8/rtfexport.cxx
+++ b/sw/source/filter/ww8/rtfexport.cxx
@@ -1336,7 +1336,10 @@ void RtfExport::OutPageDescription(const SwPageDesc& 
rPgDsc, bool bCheckForFirst
 
 const SwFormat* pFormat = _pAktPageDesc->GetMaster(); //GetLeft();
 m_bOutPageDescs = true;
+if (m_pAktPageDesc != )
+m_pFirstPageItemSet = ().GetAttrSet();
 OutputFormat(*pFormat, true, false);
+m_pFirstPageItemSet = nullptr;
 

[Libreoffice-bugs] [Bug 117428] add an option to PDF export dialog to do ActualText per word

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117428

--- Comment #16 from Khaled Hosny  ---
(In reply to Heiko Tietze from comment #15)
> Putting all comments together UX recommends to implement an option for this
> /Actualtext feature. I suggest the caption "Improve non-latin text export"
> (with default off, meaning nothing changes for western users) and explain
> details at the help pages.

Nothing is “non-latin”-specific about the proposed option.

-- 
You are receiving this mail because:
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 117835] Ctl+Alt+Shift+V should paste in a comment when cursor is active in a comment field

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117835

Dieter Praas  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||dgp-m...@gmx.de
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=46
   ||999
 Blocks||106179, 113079
 Ever confirmed|0   |1

--- Comment #1 from Dieter Praas  ---
Reproducible with

Version: 6.1.0.0.beta1 (x64)
Build ID: 8c76dfe1284e211954c30f219b3a38dcdd82f8a0
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: de-DE (de_DE); Calc: CL


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=106179
[Bug 106179] [META] Writer comment bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=113079
[Bug 113079] [META] Unformatted text paste special 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 46999] FORMATTING: Paste special into comment: variant " Unformatted text" pastes text with paragraph formatting

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=46999

Dieter Praas  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
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 113079] [META] Unformatted text paste special bugs and enhancements

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=113079

Dieter Praas  changed:

   What|Removed |Added

 Depends on||117835


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=117835
[Bug 117835] Ctl+Alt+Shift+V should paste in a comment when cursor is active in
a comment field
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 106179] [META] Writer comment bugs and enhancements

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=106179

Dieter Praas  changed:

   What|Removed |Added

 Depends on||117835


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=117835
[Bug 117835] Ctl+Alt+Shift+V should paste in a comment when cursor is active in
a comment field
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: officecfg/registry

2018-05-27 Thread Caolán McNamara
 officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit dedff8b95d521b2329ac3a5af37b909d46d5b175
Author: Caolán McNamara 
Date:   Fri May 25 15:36:38 2018 +0100

Text Attributes launches a dialog so add ellipsis

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

diff --git 
a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu 
b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
index 05a1d74af765..5b4a106a2cd9 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -736,7 +736,7 @@
   
   
 
-  Text Attributes
+  Text Attributes...
 
   
   
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 86066] [META] Improvements to the statusbar

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=86066

Dieter Praas  changed:

   What|Removed |Added

 Depends on||117837


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=117837
[Bug 117837] Word count not updating in the bottom info bar.
-- 
You are receiving this mail because:
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 116208] Zoom factor, word counter etc. do not update in status bar ( with OpenGL)

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=116208

Dieter Praas  changed:

   What|Removed |Added

 CC||mwtjunkm...@gmail.com

--- Comment #22 from Dieter Praas  ---
*** Bug 117837 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 86066] [META] Improvements to the statusbar

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=86066
Bug 86066 depends on bug 117837, which changed state.

Bug 117837 Summary: Word count not updating in the bottom info bar.
https://bugs.documentfoundation.org/show_bug.cgi?id=117837

   What|Removed |Added

 Status|UNCONFIRMED |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 117837] Word count not updating in the bottom info bar.

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117837

Dieter Praas  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||dgp-m...@gmx.de
 Blocks||86066
 Resolution|--- |DUPLICATE

--- Comment #1 from Dieter Praas  ---


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


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=86066
[Bug 86066] [META] Improvements to the statusbar
-- 
You are receiving this mail because:
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 117024] Selecting a form in navigator does not scroll to the page

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117024

--- Comment #9 from Gerhard Weydt  ---
It still works after the second patch, status remains the same.

-- 
You are receiving this mail because:
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 117818] CHAPTER NUMBERING DIALOG: Preview doesn't work as expected

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117818

--- Comment #7 from Nithin  ---
Created attachment 142316
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142316=edit
Attachment_4

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


[Libreoffice-bugs] [Bug 117818] CHAPTER NUMBERING DIALOG: Preview doesn't work as expected

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117818

--- Comment #6 from Nithin  ---
@Heiko, The preview I was referring to are the ones in Attachment_1 and
Attachment_2, What you were referring to is the one in Attachment_3. It makes
sense in Preview of in Attachment_3 to see all levels relative to one another.
But in the Attachment 1 and 2, I would expect see only the Selected Level and
not all levels. 

It can be made to show a preview how the selected level with multiple lines and
following text would look like in Attachment_4. What are your opinions. 

My argument here is that, relative positional relationship between different
Headings is available in the Numbering Tab. So in the Position tab we can show
only the required level, with more detailed information.

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


[Libreoffice-bugs] [Bug 117829] VIEWING: Text flickers in text box when moving mouse in and out of it while it is not selected

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117829

--- Comment #3 from Balint Fodor  ---
Created attachment 142315
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142315=edit
Video showing the phenomenon

Okay, so it looks like it is a Windows-specific problem. I attach the video
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 117818] CHAPTER NUMBERING DIALOG: Preview doesn't work as expected

2018-05-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=117818

--- Comment #5 from Nithin  ---
Created attachment 142314
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142314=edit
Attachment_3

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


  1   2   >