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

2015-09-10 Thread Miklos Vajna
 sw/source/core/text/itrform2.cxx |4 ++--
 sw/source/core/text/pormulti.cxx |5 ++---
 sw/source/core/text/txttab.cxx   |6 +++---
 3 files changed, 7 insertions(+), 8 deletions(-)

New commits:
commit 78095389594972409f93a3ea8ab807863f8e3ec2
Author: Miklos Vajna 
Date:   Thu Sep 10 09:50:56 2015 +0200

sw: use std::unique_ptr<> in text

Change-Id: I0a4e0b5ad58e7c0fc8235d88cf08a29a7c70

diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index a6c7b1f..47ed32b 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -19,7 +19,7 @@
 
 #include "hintids.hxx"
 
-#include 
+#include 
 #include 
 #include 
 #include 
@@ -1501,7 +1501,7 @@ sal_Int32 SwTextFormatter::FormatLine(const sal_Int32 
nStartPos)
 // fly positioning can make it necessary format a line several times
 // for this, we have to keep a copy of our rest portion
 SwLinePortion* pField = GetInfo().GetRest();
-boost::scoped_ptr xSaveField;
+std::unique_ptr xSaveField;
 
 if ( pField && pField->InFieldGrp() && !pField->IsFootnotePortion() )
 xSaveField.reset(new SwFieldPortion( 
*static_cast(pField) ));
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 800f097..b3145b5 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -18,6 +18,7 @@
  */
 
 #include 
+#include 
 
 #include 
 
@@ -50,8 +51,6 @@
 #include 
 #include 
 
-#include 
-
 using namespace ::com::sun::star;
 
 // A SwMultiPortion is not a simple portion,
@@ -1640,7 +1639,7 @@ bool SwTextFormatter::BuildMultiPortion( SwTextFormatInfo 
,
 }
 
 SeekAndChg( rInf );
-boost::scoped_ptr xFontSave;
+std::unique_ptr xFontSave;
 if( rMulti.IsDouble() )
 {
 SwFont* pTmpFnt = new SwFont( *rInf.GetFont() );
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx
index 522e1c2..67db783 100644
--- a/sw/source/core/text/txttab.cxx
+++ b/sw/source/core/text/txttab.cxx
@@ -33,7 +33,7 @@
 #include "txtfrm.hxx"
 #include 
 #include 
-#include 
+#include 
 
 /**
  * #i24363# tab stops relative to indent
@@ -336,7 +336,7 @@ bool SwTabPortion::PreFormat( SwTextFormatInfo  )
 // #i89179#
 // tab portion representing the list tab of a list label gets the
 // same font as the corresponding number portion
-boost::scoped_ptr< SwFontSave > pSave( 0 );
+std::unique_ptr< SwFontSave > pSave;
 if ( GetLen() == 0 &&
  rInf.GetLast() && rInf.GetLast()->InNumberGrp() &&
  static_cast(rInf.GetLast())->HasFont() )
@@ -519,7 +519,7 @@ void SwTabPortion::Paint( const SwTextPaintInfo  ) 
const
 // #i89179#
 // tab portion representing the list tab of a list label gets the
 // same font as the corresponding number portion
-boost::scoped_ptr< SwFontSave > pSave( 0 );
+std::unique_ptr< SwFontSave > pSave;
 bool bAfterNumbering = false;
 if ( GetLen() == 0 )
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94086] LO 5 seems to be getting worse

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94086

Cor Nouws  changed:

   What|Removed |Added

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

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

(In reply to Elmar from comment #0)
> User-Agent:   Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:40.0)
> Gecko/20100101 Firefox/40.0
> Build Identifier: LibreOffice 5.0.1.2
> 
> Not sure what is going on, but it is now difficult to do anything in LO
> without crashing.
> 

Sorry to read of your problems..

> Reset User Profile?No

Typically a reset of the user profile is one of the things to do. Can you
please try that?
  https://wiki.documentfoundation.org/UserProfile

thanks - Cor

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


[Libreoffice-commits] online.git: 12 commits - loleaflet/build loleaflet/debug loleaflet/dist loleaflet/README loleaflet/src loolwsd/LOOLSession.cpp loolwsd/LOOLSession.hpp

2015-09-10 Thread Mihai Varga
 loleaflet/README  |   21 ++--
 loleaflet/build/deps.js   |   18 +--
 loleaflet/debug/document/document_simple_example.html |3 
 loleaflet/dist/images/edit.png|binary
 loleaflet/dist/images/selection.png   |binary
 loleaflet/dist/leaflet.css|6 -
 loleaflet/src/control/Buttons.js  |   23 
 loleaflet/src/control/Control.Buttons.js  |   64 ++--
 loleaflet/src/control/Control.Fonts.js|   91 ++
 loleaflet/src/control/Control.Styles.js   |   29 +++--
 loleaflet/src/control/Permission.js   |8 +
 loleaflet/src/control/Styles.js   |   17 ---
 loleaflet/src/control/Toolbar.js  |   66 +
 loleaflet/src/core/Socket.js  |1 
 loleaflet/src/layer/tile/TileLayer.js |   33 --
 loolwsd/LOOLSession.cpp   |   59 ---
 loolwsd/LOOLSession.hpp   |6 -
 17 files changed, 336 insertions(+), 109 deletions(-)

New commits:
commit 9a23b7abb9d851f2f04aea391f47abb8c2191b39
Author: Mihai Varga 
Date:   Thu Sep 10 11:29:19 2015 +0300

loleaflet: renamed setStyle to applyStyle

diff --git a/loleaflet/README b/loleaflet/README
index f3073d7..c9b1144 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -204,6 +204,7 @@ CommandValues:
 + returns a JSON mapping of all possible values for the command
 map.applyFont(fontName)
 map.applyFontSize(fontSize)
+map.applyStyle(style, styleFamily)
 - events
 map.on('updatetoolbarcommandvalues', function (e) {}) where
 + e.commandName = '.uno:StyleAplly', etc
diff --git a/loleaflet/src/control/Control.Styles.js 
b/loleaflet/src/control/Control.Styles.js
index c82a892..cfc4133 100644
--- a/loleaflet/src/control/Control.Styles.js
+++ b/loleaflet/src/control/Control.Styles.js
@@ -59,10 +59,10 @@ L.Control.Styles = L.Control.extend({
return;
}
if (this._map.getDocType() === 'text') {
-   this._map.setStyle(style, 'ParagraphStyles');
+   this._map.applyStyle(style, 'ParagraphStyles');
}
else if (this._map.getDocType() === 'presentation') {
-   this._map.setStyle(style, 'Default');
+   this._map.applyStyle(style, 'Default');
}
}
 });
diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js
index e3a1bea..16790d4 100644
--- a/loleaflet/src/control/Toolbar.js
+++ b/loleaflet/src/control/Toolbar.js
@@ -44,7 +44,7 @@ L.Map.include({
'options=' + options);
},
 
-   setStyle: function (style, familyName) {
+   applyStyle: function (style, familyName) {
if (!style || !familyName) {
this.fire('error', {cmd: 'setStyle', kind: 
'incorrectparam'});
return;
commit 87fae7f8547e715f4360e4cac9d8900e772ac2e3
Author: Mihai Varga 
Date:   Thu Sep 10 11:26:47 2015 +0300

loleaflet: fonts control

diff --git a/loleaflet/README b/loleaflet/README
index 864d661..f3073d7 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -202,6 +202,8 @@ CommandValues:
 - api:
 map.getToolbarCommandValues(command)
 + returns a JSON mapping of all possible values for the command
+map.applyFont(fontName)
+map.applyFontSize(fontSize)
 - events
 map.on('updatetoolbarcommandvalues', function (e) {}) where
 + e.commandName = '.uno:StyleAplly', etc
diff --git a/loleaflet/build/deps.js b/loleaflet/build/deps.js
index 4ac6c3c..dae1e80 100644
--- a/loleaflet/build/deps.js
+++ b/loleaflet/build/deps.js
@@ -315,6 +315,13 @@ var deps = {
desc: 'Handles styles selection'
},
 
+   ControlFonts: {
+   src: ['control/Control.js',
+ 'control/Control.Fonts.js'],
+   heading: 'Controls',
+   desc: 'Handles fonts selection'
+   },
+
ControlAttrib: {
src: ['control/Control.js',
  'control/Control.Attribution.js'],
diff --git a/loleaflet/debug/document/document_simple_example.html 
b/loleaflet/debug/document/document_simple_example.html
index 03cd8d8..356dc6a 100644
--- a/loleaflet/debug/document/document_simple_example.html
+++ b/loleaflet/debug/document/document_simple_example.html
@@ -67,6 +67,7 @@
 
 // Controls /
 globalMap.addControl(L.control.styles());
+globalMap.addControl(L.control.fonts());
 globalMap.addControl(L.control.buttons());
 globalMap.addControl(L.control.zoom());
 

[Libreoffice-bugs] [Bug 76239] OpenSymbol font is not retained after an upgrade (work around in comment 16, 32, .. install log in comment 50 )

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76239

--- Comment #64 from Ulrich Windl  ---
I amazes me how difficult solving this problem seems to be: If you look at the
changes to the installer from the last version hat didn't have the defect to
the first version that has the defect, it should be not too hard to find the
cause.

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


[Libreoffice-commits] online.git: 2 commits - loleaflet/dist loleaflet/README loleaflet/src loolwsd/bundled

2015-09-10 Thread Mihai Varga
 loleaflet/README|4 +-
 loleaflet/dist/images/decrementindent.png   |binary
 loleaflet/dist/images/incrementindent.png   |binary
 loleaflet/src/control/Control.Buttons.js|   26 
 loolwsd/bundled/include/LibreOfficeKit/LibreOfficeKit.h |3 +
 5 files changed, 20 insertions(+), 13 deletions(-)

New commits:
commit 76b15ea3033e24b2a27f13e8875537eb253a86f7
Author: Mihai Varga 
Date:   Thu Sep 10 12:57:11 2015 +0300

loleaflet: increase/decrease indent buttons

diff --git a/loleaflet/README b/loleaflet/README
index c9b1144..1ef0296 100644
--- a/loleaflet/README
+++ b/loleaflet/README
@@ -81,7 +81,9 @@ Edit, view, readOnly:
 
 Buttons like Bold, Italic, Strike through etc.
 - API:
-map.toggleCommandState('Bold' | 'Italic' | 'Underline' | 'Strikeout' | 
'AlighLeft', etc)
+map.toggleCommandState('Bold' | 'Italic' | 'Underline' | 'Strikeout' |
+'LeftPara' | 'CenterPara' | 'RightPara' | 'JustifyPara' |
+'IncrementIndent' | 'DecrementIndent'
 - events:
 map.on('commandstatechanged', function (e) {}) where:
 + e.unoCmd == 'Bold' | 'Italic' etc.
diff --git a/loleaflet/dist/images/decrementindent.png 
b/loleaflet/dist/images/decrementindent.png
new file mode 100644
index 000..b2a6c72
Binary files /dev/null and b/loleaflet/dist/images/decrementindent.png differ
diff --git a/loleaflet/dist/images/incrementindent.png 
b/loleaflet/dist/images/incrementindent.png
new file mode 100644
index 000..a1d6125
Binary files /dev/null and b/loleaflet/dist/images/incrementindent.png differ
diff --git a/loleaflet/src/control/Control.Buttons.js 
b/loleaflet/src/control/Control.Buttons.js
index f2622cb..4a02c04 100644
--- a/loleaflet/src/control/Control.Buttons.js
+++ b/loleaflet/src/control/Control.Buttons.js
@@ -12,18 +12,20 @@ L.Control.Buttons = L.Control.extend({
container = L.DomUtil.create('div', buttonsName + 
'-container' + ' leaflet-bar');
 
this._buttons = {
-   'bold':  {title: 'Bold',   uno: 
'Bold',iconName: 'bold.png'},
-   'italic':{title: 'Italic', uno: 
'Italic',  iconName: 'italic.png'},
-   'underline': {title: 'Underline',  uno: 
'Underline',   iconName: 'underline.png'},
-   'strikethrough': {title: 'Strike-through', uno: 
'Strikeout',   iconName: 'strikethrough.png'},
-   'alignleft': {title: 'Align left', uno: 
'LeftPara',iconName: 'alignleft.png'},
-   'aligncenter':   {title: 'Center horizontaly', uno: 
'CenterPara',  iconName: 'aligncenter.png'},
-   'alignright':{title: 'Align right',uno: 
'RightPara',   iconName: 'alignright.png'},
-   'alignblock':{title: 'Justified',  uno: 
'JustifyPara', iconName: 'alignblock.png'},
-   'save':  {title: 'Save',   uno: 
'Save',iconName: 'save.png'},
-   'saveas':{title: 'Save As', 
   iconName: 'saveas.png'},
-   'edit':  {title: 'Enable editing',  
   iconName: 'edit.png'},
-   'selection': {title: 'Enable selection',
   iconName: 'selection.png'}
+   'bold':  {title: 'Bold',   uno: 
'Bold',iconName: 'bold.png'},
+   'italic':{title: 'Italic', uno: 
'Italic',  iconName: 'italic.png'},
+   'underline': {title: 'Underline',  uno: 
'Underline',   iconName: 'underline.png'},
+   'strikethrough': {title: 'Strike-through', uno: 
'Strikeout',   iconName: 'strikethrough.png'},
+   'alignleft': {title: 'Align left', uno: 
'LeftPara',iconName: 'alignleft.png'},
+   'aligncenter':   {title: 'Center horizontaly', uno: 
'CenterPara',  iconName: 'aligncenter.png'},
+   'alignright':{title: 'Align right',uno: 
'RightPara',   iconName: 'alignright.png'},
+   'alignblock':{title: 'Justified',  uno: 
'JustifyPara', iconName: 'alignblock.png'},
+   'incindent': {title: 'Increment indent',   uno: 
'IncrementIndent', iconName: 'incrementindent.png'},
+   'decindent': {title: 'Decrement indent',   uno: 
'DecrementIndent', iconName: 'decrementindent.png'},
+   'save':  {title: 'Save',   uno: 
'Save',iconName: 'save.png'},
+   'saveas':{title: 'Save As', 
  

[Libreoffice-bugs] [Bug 91488] [META] RenderContext related issues

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91488

Jan Holesovsky  changed:

   What|Removed |Added

 Depends on||93554

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


[Libreoffice-bugs] [Bug 94054] Writer watermark EPS background image not exported to PDF

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94054

--- Comment #2 from Alex Thurgood  ---
Created attachment 118569
  --> https://bugs.documentfoundation.org/attachment.cgi?id=118569=edit
Writer test document with EPS image as background to export to PDF

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


[Libreoffice-bugs] [Bug 94054] Writer watermark EPS background image not exported to PDF

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94054

Alex Thurgood  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from Alex Thurgood  ---
Confirming on

Version: 4.4.5.2
Build ID: a22f674fd25a3b6f45bdebf25400ed2adff0ff99
Locale: fr.UTF-8
 OSX 10.10.5

Note that in LO5.x, the button to add images other than the default provided
bitmaps has disappeared, this is a separate (known) bug, so at present this can
only be tested with a Writer document already containing an EPS image set as
page background (attached).

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


[Libreoffice-commits] dev-tools.git: helpauthoring/Addons.xcu helpauthoring/HelpAuthoring

2015-09-10 Thread Yousuf Philips
 helpauthoring/Addons.xcu  |   32 ++
 helpauthoring/HelpAuthoring/OtherElements.xba |   12 +
 2 files changed, 44 insertions(+)

New commits:
commit 063d8d387f1ad49bdb478e4c40129140e222d06d
Author: Yousuf Philips 
Date:   Thu Sep 10 01:49:45 2015 +0400

Insert product name and version variables

Change-Id: I9b34d5cb00f33a8a6bc2a376423ad2433a33fbd1
Reviewed-on: https://gerrit.libreoffice.org/18451
Reviewed-by: Jan Holesovsky 
Tested-by: Jan Holesovsky 

diff --git a/helpauthoring/Addons.xcu b/helpauthoring/Addons.xcu
index 2dab2c5..13ee45e 100644
--- a/helpauthoring/Addons.xcu
+++ b/helpauthoring/Addons.xcu
@@ -199,6 +199,38 @@
 
 
 
+
+
+Insert Product 
Variables
+
+
+
+
+
vnd.sun.star.script:HelpAuthoring.OtherElements.InsertProductName?language=Basiclocation=application
+
+
+Insert 
%PRODUCTNAME
+
+
+
+
+
vnd.sun.star.script:HelpAuthoring.OtherElements.InsertProductVersion?language=Basiclocation=application
+
+
+Insert 
%PRODUCTVERSION
+
+
+
+
+
vnd.sun.star.script:HelpAuthoring.OtherElements.InsertOfficeName?language=Basiclocation=application
+
+
+Insert 
$[officename]
+
+
+
+
+
 
 
 
diff --git a/helpauthoring/HelpAuthoring/OtherElements.xba 
b/helpauthoring/HelpAuthoring/OtherElements.xba
index 8e9d50e..866a3ce 100644
--- a/helpauthoring/HelpAuthoring/OtherElements.xba
+++ b/helpauthoring/HelpAuthoring/OtherElements.xba
@@ -49,6 +49,18 @@ Sub InsertVariable
 InsertTag(_VAR,/VAR)
 End Sub
 
+Sub InsertProductName
+   InsertText( %PRODUCTNAME )
+End Sub
+
+Sub InsertProductVersion
+   InsertText( %PRODUCTVERSION )
+End Sub
+
+Sub InsertOfficeName
+   InsertText( $[officename] )
+End Sub
+
 Sub InsertInlineGraphic
 If not IsHelpFile Then
 msgbox(strErr_NoHelpFile)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 87351] Meta: Conditional formatting bugs and enhancements

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=87351
Bug 87351 depends on bug 91501, which changed state.

Bug 91501 Summary: CONDITIONAL FORMATTING: Color not available in default 
palette not shown in dialog
https://bugs.documentfoundation.org/show_bug.cgi?id=91501

   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
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-commits] core.git: 2 commits - desktop/qa desktop/source include/LibreOfficeKit

2015-09-10 Thread Mihai Varga
 desktop/qa/desktop_lib/test_desktop_lib.cxx |   29 ++-
 desktop/source/lib/init.cxx |   70 ++--
 include/LibreOfficeKit/LibreOfficeKit.h |2 
 include/LibreOfficeKit/LibreOfficeKit.hxx   |9 ++-
 4 files changed, 100 insertions(+), 10 deletions(-)

New commits:
commit 1806882317af1162edce5c2389c9c5eeb18455ac
Author: Mihai Varga 
Date:   Thu Sep 10 11:31:48 2015 +0300

LOK: getFonts method

Returns a json mapping of the available fonts to their possible font
sizes

Change-Id: I80c0bdd79e3ef2d814f64b8d38143d6c2b9ca720

diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx 
b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 842d209..a089614 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -49,6 +49,7 @@ public:
 
 void runAllTests();
 void testGetStyles();
+void testGetFonts();
 
 CPPUNIT_TEST_SUITE(DesktopLOKTest);
 CPPUNIT_TEST(runAllTests);
@@ -81,6 +82,7 @@ void DesktopLOKTest::closeDoc()
 void DesktopLOKTest::runAllTests()
 {
 testGetStyles();
+testGetFonts();
 }
 
 void DesktopLOKTest::testGetStyles()
@@ -112,6 +114,26 @@ void DesktopLOKTest::testGetStyles()
 closeDoc();
 }
 
+void DesktopLOKTest::testGetFonts()
+{
+LibLODocument_Impl* pDocument = loadDoc("blank_text.odt");
+boost::property_tree::ptree aTree;
+char* pJSON = pDocument->m_pDocumentClass->getCommandValues(pDocument, 
".uno:CharFontName");
+std::stringstream aStream(pJSON);
+boost::property_tree::read_json(aStream, aTree);
+CPPUNIT_ASSERT( aTree.size() > 0 );
+CPPUNIT_ASSERT( aTree.get_child("commandName").get_value() == 
".uno:CharFontName" );
+
+boost::property_tree::ptree aValues = aTree.get_child("commandValues");
+CPPUNIT_ASSERT( aValues.size() > 0 );
+for (const std::pair& rPair : 
aValues)
+{
+// check that we have font sizes available for each font
+CPPUNIT_ASSERT( rPair.second.size() > 0);
+}
+closeDoc();
+}
+
 CPPUNIT_TEST_SUITE_REGISTRATION(DesktopLOKTest);
 
 CPPUNIT_PLUGIN_IMPLEMENT();
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 7a020d1..be1a018 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -45,10 +45,15 @@
 #include 
 #include 
 
+#include 
+#include 
+#include 
+#include 
 #include 
 #include 
 #include 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -864,6 +869,43 @@ static void doc_resetSelection(LibreOfficeKitDocument* 
pThis)
 
 pDoc->resetSelection();
 }
+static char* getFonts (const char* pCommand)
+{
+SfxObjectShell* pDocSh = SfxObjectShell::Current();
+const SvxFontListItem* pFonts = static_cast(
+pDocSh->GetItem(SID_ATTR_CHAR_FONTLIST));
+const FontList* pList = pFonts ? pFonts->GetFontList() : 0;
+
+boost::property_tree::ptree aTree;
+aTree.put("commandName", pCommand);
+boost::property_tree::ptree aValues;
+if ( pList )
+{
+sal_uInt16 nFontCount = pList->GetFontNameCount();
+for (sal_uInt16 i = 0; i < nFontCount; ++i)
+{
+boost::property_tree::ptree aChildren;
+const vcl::FontInfo& rInfo = pList->GetFontName(i);
+const sal_IntPtr* pAry = pList->GetSizeAry(rInfo);
+sal_uInt16 nSizeCount = 0;
+while (pAry[nSizeCount])
+{
+boost::property_tree::ptree aChild;
+aChild.put("", (float)pAry[nSizeCount] / 10);
+aChildren.push_back(std::make_pair("", aChild));
+nSizeCount++;
+}
+aValues.add_child(rInfo.GetName().toUtf8().getStr(), aChildren);
+}
+}
+aTree.add_child("commandValues", aValues);
+std::stringstream aStream;
+boost::property_tree::write_json(aStream, aTree);
+char* pJson = static_cast(malloc(aStream.str().size() + 1));
+strcpy(pJson, aStream.str().c_str());
+pJson[aStream.str().size()] = '\0';
+return pJson;
+}
 
 static char* getStyles(LibreOfficeKitDocument* pThis, const char* pCommand)
 {
@@ -901,7 +943,11 @@ static char* getStyles(LibreOfficeKitDocument* pThis, 
const char* pCommand)
 
 static char* doc_getCommandValues(LibreOfficeKitDocument* pThis, const char* 
pCommand)
 {
-if (!strcmp(pCommand, ".uno:StyleApply"))
+if (!strcmp(pCommand, ".uno:CharFontName"))
+{
+return getFonts(pCommand);
+}
+else if (!strcmp(pCommand, ".uno:StyleApply"))
 {
 return getStyles(pThis, pCommand);
 }
commit 39975c477a38be613e9e162acb6de241999f0ae1
Author: Mihai Varga 
Date:   Thu Sep 10 09:21:45 2015 +0300

LOK: added a general getCommandValues method

This method returns a JSON mapping of the posible values for the given
command (e.g. .uno:StyleApply, etc).

returns:

[Libreoffice-bugs] [Bug 76239] OpenSymbol font is not retained after an upgrade (work around in comment 16, 32, .. install log in comment 50 )

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76239

--- Comment #66 from Andras Timar  ---
(In reply to Ulrich Windl from comment #64)
> I amazes me how difficult solving this problem seems to be: If you look at
> the changes to the installer from the last version hat didn't have the
> defect to the first version that has the defect, it should be not too hard
> to find the cause.

I found the cause, see comment 35. It did not help much. For many users
(including me) installer works as intended. I could never reproduce this bug. 
The patch changed an attribute:
-$attributes = 16;   # font files will not be deinstalled
+$attributes = 8;# font files will be deinstalled if the ref count
is 0

Mike Kaganski reports in comment 63 that the font file is deinstalled when the
ref count is 3. It is a bug, but is it a bug in our code? Maybe not.

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


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

2015-09-10 Thread Stephan Bergmann
 oox/source/ole/vbaexport.cxx |3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 6d8b9aab3cea5b88b3cb56d9343500d45be8b124
Author: Stephan Bergmann 
Date:   Thu Sep 10 11:04:32 2015 +0200

Attempt at making CppunitTest_sc_macros_test work again

...after b15b372c7cc64315e14c7600429f0995ed2b2666 "structure for vba export"
broke it; moggi, please revisit

Change-Id: I9cf1614b05ebad64898d0e62cfeb4cd2e24dc9e0

diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx
index d6e2b4f..10c0d21 100644
--- a/oox/source/ole/vbaexport.cxx
+++ b/oox/source/ole/vbaexport.cxx
@@ -769,6 +769,9 @@ void exportPROJECTwmStream(SvStream& rStrm, const 
css::uno::Sequence&
 void VbaExport::exportVBA(SotStorage* pRootStorage)
 {
 css::uno::Reference xNameContainer = 
getBasicLibrary();
+if (!xNameContainer.is()) {
+return;
+}
 css::uno::Sequence aElementNames = 
xNameContainer->getElementNames();
 sal_Int32 n = aElementNames.getLength(); // get the number of modules
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-10 Thread Caolán McNamara
 sw/inc/fesh.hxx  |2 +-
 sw/source/core/frmedt/fefly1.cxx |2 +-
 sw/source/uibase/app/applab.cxx  |2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit cc2c9d514d3095d561da7c8fc94e8a09fa2f1a2f
Author: Caolán McNamara 
Date:   Thu Sep 10 10:06:44 2015 +0100

Wizzard->Wizzard

Change-Id: Ib97387fac7f519ce255ab68b08438a71d753382d

diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 472d57c..952e9ca 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -397,7 +397,7 @@ public:
 const SwFlyFrm *GetCurrFlyFrm() const { return FindFlyFrm(); }
 
 /// Find/delete fly containing the cursor.
-SwFrameFormat* WizzardGetFly();
+SwFrameFormat* WizardGetFly();
 
 /// Independent selecting of flys.
 bool GotoNextFly( GotoObjFlags eType = GotoObjFlags::FlyAny )
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx
index 1738def..0f7cd93 100644
--- a/sw/source/core/frmedt/fefly1.cxx
+++ b/sw/source/core/frmedt/fefly1.cxx
@@ -1385,7 +1385,7 @@ Size SwFEShell::RequestObjectResize( const SwRect , 
const uno::Reference <
 return aResult;
 }
 
-SwFrameFormat* SwFEShell::WizzardGetFly()
+SwFrameFormat* SwFEShell::WizardGetFly()
 {
 // do not search the Fly via the layout. Now we can delete a frame
 // without a valid layout. ( e.g. for the wizards )
diff --git a/sw/source/uibase/app/applab.cxx b/sw/source/uibase/app/applab.cxx
index 454ac3d..0416120 100644
--- a/sw/source/uibase/app/applab.cxx
+++ b/sw/source/uibase/app/applab.cxx
@@ -327,7 +327,7 @@ void SwModule::InsertLab(SfxRequest& rReq, bool bLabel)
 // dont leave the fly!!!
 pSh->Push();
 pSh->SttDoc();
-bool bInFly = 0 != pSh->WizzardGetFly();
+bool bInFly = 0 != pSh->WizardGetFly();
 pSh->Pop( bInFly );
 
 if( bInFly )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94054] Writer watermark EPS background image not exported to PDF

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94054

Alex Thurgood  changed:

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 94074] If you select an image direct after caption was selected, imagerelated entries in contextmenu are missing

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94074

Jean-Baptiste Faure  changed:

   What|Removed |Added

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

--- Comment #1 from Jean-Baptiste Faure  ---
Reproducible with Version: 5.0.3.0.0+
Build ID: 651205cdf64d3fce6685a58587c8ec4626278779
Ubuntu_15.04_x86-64
Locale : fr-FR (fr_FR.UTF-8)

Best regards. JBF

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


[Libreoffice-bugs] [Bug 93487] FORMATTING: Using Borders & Border Style button on toolbar crashes Calc

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93487

--- Comment #9 from Nils Smeds  ---
Tried latest build - no change

Version: 5.0.3.0.0+
Build ID: 315a112f28b480e8e90d42a8ab45d1b448490939
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:libreoffice-5-0, Time:
2015-09-10_06:47:25
Locale: en-US (en_US.utf8)

So far only the buttons "Borders" and "Border Style" crashes the GUI.

As before: Fedora 22 and XFCE window manager

So interaction between the WM and LO is a candidate root cause.

I will try to later today try another system where I can change the WM and see
what happens.

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


[Libreoffice-commits] core.git: chart2/source cui/source dbaccess/source filter/source include/sfx2 include/svx include/vcl sc/source sd/source sfx2/source svx/source sw/source vcl/inc vcl/source

2015-09-10 Thread Noel Grandin
 chart2/source/controller/dialogs/res_LegendPosition.cxx|5 -
 chart2/source/controller/dialogs/tp_ChartType.cxx  |7 -
 chart2/source/controller/dialogs/tp_RangeChooser.cxx   |7 +
 chart2/source/controller/dialogs/tp_RangeChooser.hxx   |1 
 chart2/source/controller/inc/res_LegendPosition.hxx|2 
 chart2/source/controller/sidebar/ChartErrorBarPanel.cxx|   12 +--
 chart2/source/controller/sidebar/ChartErrorBarPanel.hxx|2 
 chart2/source/controller/sidebar/ChartSeriesPanel.cxx  |6 -
 chart2/source/controller/sidebar/ChartSeriesPanel.hxx  |2 
 cui/source/dialogs/colorpicker.cxx |   20 ++---
 dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx  |3 
 dbaccess/source/ui/dlg/DBSetupConnectionPages.hxx  |2 
 dbaccess/source/ui/dlg/TextConnectionHelper.cxx|3 
 dbaccess/source/ui/dlg/TextConnectionHelper.hxx|2 
 dbaccess/source/ui/dlg/admincontrols.cxx   |   12 ++-
 dbaccess/source/ui/dlg/admincontrols.hxx   |3 
 filter/source/pdf/impdialog.cxx|   29 ---
 filter/source/pdf/impdialog.hxx|   12 +--
 include/sfx2/printopt.hxx  |8 +-
 include/svx/compressgraphicdialog.hxx  |2 
 include/vcl/button.hxx |4 -
 sc/source/ui/StatisticsDialogs/AnalysisOfVarianceDialog.cxx|   11 +-
 sc/source/ui/StatisticsDialogs/SamplingDialog.cxx  |   10 +-
 sc/source/ui/StatisticsDialogs/StatisticsInputOutputDialog.cxx |4 -
 sc/source/ui/StatisticsDialogs/StatisticsTwoVariableDialog.cxx |4 -
 sc/source/ui/dbgui/PivotLayoutDialog.cxx   |   38 
++
 sc/source/ui/inc/AnalysisOfVarianceDialog.hxx  |3 
 sc/source/ui/inc/PivotLayoutDialog.hxx |6 +
 sc/source/ui/inc/SamplingDialog.hxx|3 
 sc/source/ui/inc/StatisticsInputOutputDialog.hxx   |2 
 sc/source/ui/inc/StatisticsTwoVariableDialog.hxx   |2 
 sc/source/ui/inc/mvtabdlg.hxx  |2 
 sc/source/ui/miscdlgs/mvtabdlg.cxx |6 -
 sc/source/ui/optdlg/calcoptionsdlg.cxx |3 
 sc/source/ui/optdlg/calcoptionsdlg.hxx |2 
 sd/source/ui/animations/SlideTransitionPane.cxx|3 
 sd/source/ui/animations/SlideTransitionPane.hxx|2 
 sfx2/source/dialog/printopt.cxx|   26 ++
 svx/source/dialog/compressgraphicdialog.cxx|3 
 sw/source/ui/dialog/ascfldlg.cxx   |5 -
 sw/source/uibase/inc/ascfldlg.hxx  |2 
 vcl/inc/printdlg.hxx   |3 
 vcl/source/control/button.cxx  |2 
 vcl/source/window/printdlg.cxx |   20 +++--
 44 files changed, 160 insertions(+), 146 deletions(-)

New commits:
commit f4e951a61a20edd6efbd244966e851aa378e66ad
Author: Noel Grandin 
Date:   Wed Sep 9 11:41:20 2015 +0200

convert Link<> to typed

Change-Id: I603463d0486d4d0f21ebbdc6eca900db58bb090f

diff --git a/chart2/source/controller/dialogs/res_LegendPosition.cxx 
b/chart2/source/controller/dialogs/res_LegendPosition.cxx
index 0bace68..57c948c 100644
--- a/chart2/source/controller/dialogs/res_LegendPosition.cxx
+++ b/chart2/source/controller/dialogs/res_LegendPosition.cxx
@@ -227,14 +227,13 @@ void LegendPositionResources::writeToItemSet( SfxItemSet& 
rOutAttrs ) const
 rOutAttrs.Put( SfxBoolItem(SCHATTR_LEGEND_SHOW, m_pCbxShow == nullptr || 
m_pCbxShow->IsChecked()) );
 }
 
-IMPL_LINK( LegendPositionResources, PositionChangeHdl, RadioButton*, pRadio )
+IMPL_LINK_TYPED( LegendPositionResources, PositionChangeHdl, RadioButton&, 
rRadio, void )
 {
 //for each radio click there are coming two change events
 //first uncheck of previous button -> ignore that call
 //the second call gives the check of the new button
-if( pRadio && pRadio->IsChecked() )
+if( rRadio.IsChecked() )
 m_aChangeLink.Call(NULL);
-return 0;
 }
 
 void LegendPositionResources::SetChangeHdl( const Link<>& rLink )
diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx 
b/chart2/source/controller/dialogs/tp_ChartType.cxx
index 211703e..b638ca4 100644
--- a/chart2/source/controller/dialogs/tp_ChartType.cxx
+++ b/chart2/source/controller/dialogs/tp_ChartType.cxx
@@ -173,7 +173,7 @@ public:
 void fillParameter( ChartTypeParameter& rParameter );
 
 private:
-DECL_LINK( StackingChangeHdl, RadioButton* );
+DECL_LINK_TYPED( 

[Libreoffice-bugs] [Bug 94088] FILESAVE: paragraph background colour not saved in HTML file

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94088

--- Comment #1 from zw...@ziggo.nl ---
Sorry, it is in fact also broken in the latest LO4 Still version; but earlier
in the 4.x series it still worked.

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


[Libreoffice-bugs] [Bug 94089] soffice process burning CPU

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94089

Alex Thurgood  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #1 from Alex Thurgood  ---
@enekegotzon : please provide us with exact steps to reproduce the problem,
details of your setup, including any language packs and a test document,
otherwise we will be unable to even guess at what it is you are/were doing when
the problem occurred.

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


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

2015-09-10 Thread Caolán McNamara
 sw/inc/fesh.hxx|4 ++--
 sw/source/core/frmedt/fecopy.cxx   |8 
 sw/source/core/frmedt/fefly1.cxx   |   24 
 sw/source/core/frmedt/feflyole.cxx |2 +-
 sw/source/core/frmedt/feshview.cxx |6 +++---
 sw/source/core/frmedt/fews.cxx |4 ++--
 6 files changed, 24 insertions(+), 24 deletions(-)

New commits:
commit d9729bc06d676a36120f3da252d1a4fa39d103d8
Author: Caolán McNamara 
Date:   Thu Sep 10 11:07:55 2015 +0100

this FindFlyFrm variant returns the Selected FlyFrm

the other one actively searches for the FlyFrm that
matches the XEmbeddedObject argument

Change-Id: I2f9271c01337b4a32d7b644f82d16d85c2dc5b51

diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 952e9ca..7109a32 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -207,7 +207,7 @@ private:
 std::unique_ptr m_pChainFrom;
 bool m_bCheckForOLEInCaption;
 
-SAL_DLLPRIVATE SwFlyFrm *FindFlyFrm() const;
+SAL_DLLPRIVATE SwFlyFrm *GetSelectedFlyFrm() const;
 SAL_DLLPRIVATE SwFlyFrm *FindFlyFrm( const 
::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >&  
) const;
 
 /// Terminate actions for all shells and call ChangeLink.
@@ -394,7 +394,7 @@ public:
 
 SwFrameFormat* GetCurFrameFormat() const; ///< If frame then frame style, 
else 0.
 void SetFrameFormat( SwFrameFormat *pFormat, bool bKeepOrient = false, 
Point* pDocPos = 0 ); ///< If frame then set frame style.
-const SwFlyFrm *GetCurrFlyFrm() const { return FindFlyFrm(); }
+const SwFlyFrm *GetCurrFlyFrm() const { return GetSelectedFlyFrm(); }
 
 /// Find/delete fly containing the cursor.
 SwFrameFormat* WizardGetFly();
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx
index 1ec8a81..01b6506 100644
--- a/sw/source/core/frmedt/fecopy.cxx
+++ b/sw/source/core/frmedt/fecopy.cxx
@@ -126,7 +126,7 @@ bool SwFEShell::Copy( SwDoc* pClpDoc, const OUString* 
pNewClpText )
 if( IsFrmSelected() )
 {
 // get the FlyFormat
-SwFlyFrm* pFly = FindFlyFrm();
+SwFlyFrm* pFly = GetSelectedFlyFrm();
 SwFrameFormat* pFlyFormat = pFly->GetFormat();
 SwFormatAnchor aAnchor( pFlyFormat->GetAnchor() );
 
@@ -467,7 +467,7 @@ bool SwFEShell::Copy( SwFEShell* pDestShell, const Point& 
rSttPt,
 
 if( IsFrmSelected() )
 {
-SwFlyFrm* pFly = FindFlyFrm();
+SwFlyFrm* pFly = GetSelectedFlyFrm();
 SwFrameFormat* pFlyFormat = pFly->GetFormat();
 SwFormatAnchor aAnchor( pFlyFormat->GetAnchor() );
 bRet = true;
@@ -1264,10 +1264,10 @@ bool SwFEShell::GetDrawObjGraphic( SotClipboardFormatId 
nFormat, Graphic& rGrf )
 }
 else
 {
-// fix(23806): not the origial size, but the current 
one.
+// Not the original size, but the current one.
 // Otherwise it could happen that for vector graphics
 // many MB's of memory are allocated.
-const Size aSz( FindFlyFrm()->Prt().SSize() );
+const Size aSz( GetSelectedFlyFrm()->Prt().SSize() );
 ScopedVclPtrInstance< VirtualDevice > 
pVirtDev(*GetWin());
 
 MapMode aTmp( MAP_TWIP );
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx
index 0f7cd93..defb909 100644
--- a/sw/source/core/frmedt/fefly1.cxx
+++ b/sw/source/core/frmedt/fefly1.cxx
@@ -236,7 +236,7 @@ void SwFEShell::SelectFlyFrm( SwFlyFrm& rFrm, bool bNew )
 OSL_ENSURE( rFrm.IsFlyFrm(), "SelectFlyFrm will einen Fly" );
 
// nothing to be done if the Fly already was selected
-if ( FindFlyFrm() ==  )
+if (GetSelectedFlyFrm() == )
 return;
 
 // assure the anchor is drawn
@@ -255,7 +255,7 @@ void SwFEShell::SelectFlyFrm( SwFlyFrm& rFrm, bool bNew )
 }
 
 // returns a Fly if one is selected
-SwFlyFrm *SwFEShell::FindFlyFrm() const
+SwFlyFrm *SwFEShell::GetSelectedFlyFrm() const
 {
 if ( Imp()->HasDrawView() )
 {
@@ -968,7 +968,7 @@ void SwFEShell::SetPageObjsNewPage( 
std::vector& rFillArr, int n
 // wrong place or which are ambiguous (multiple selections) will be removed.
 bool SwFEShell::GetFlyFrmAttr( SfxItemSet  ) const
 {
-SwFlyFrm *pFly = FindFlyFrm();
+SwFlyFrm *pFly = GetSelectedFlyFrm();
 if ( !pFly )
 {
 SwFrm* pCurrFrm( GetCurrFrm() );
@@ -1026,7 +1026,7 @@ bool SwFEShell::SetFlyFrmAttr( SfxItemSet& rSet )
 
 if( rSet.Count() )
 {
-SwFlyFrm *pFly = FindFlyFrm();
+SwFlyFrm *pFly = GetSelectedFlyFrm();
 if( !pFly )
 {
 OSL_ENSURE( GetCurrFrm(), "Crsr in parking zone" );
@@ -1106,7 +1106,7 @@ bool SwFEShell::ResetFlyFrmAttr( sal_uInt16 nWhich, const 
SfxItemSet* pSet )
 {
 SET_CURR_SHELL( 

[Libreoffice-bugs] [Bug 94066] Doesn't display the right font for Noto Sans/ Source Han Sans Fonts.

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94066

Adolfo Jayme  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #1 from Adolfo Jayme  ---
Please provide us with steps to reproduce the issue, and attach a screenshot of
it. It would also be nice to know what Linux distribution you use, and what
format of the Source Han Sans fonts you have installed (since there are
multiple kinds: fonts subsetted by language, all-in-one, OTF versus TTF, et
cetera).

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


[Libreoffice-bugs] [Bug 94081] .odt document opens with blank page

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94081

--- Comment #4 from Jean-Baptiste Faure  ---
(In reply to Thomas Paine from comment #3)
> Requested offending document available privately to a QA team member or a
> developer.

You can send it to me.

Best regards. JBF

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


[Libreoffice-bugs] [Bug 81829] VIEWING: Can't page down accurately in "Entire Page" view

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=81829

--- Comment #9 from tommy27  ---
@Warren
please read this:
https://joelmadero.wordpress.com/2014/10/11/user-expectations-and-the-reality-of-our-community/

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


[Libreoffice-commits] core.git: desktop/Module_desktop.mk

2015-09-10 Thread Miklos Vajna
 desktop/Module_desktop.mk |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit ac882c305da2c5d9c30756da8ac2976f9047622d
Author: Miklos Vajna 
Date:   Thu Sep 10 09:38:02 2015 +0200

desktop: enable CppunitTest_desktop_lib only on Linux

Since the test would fail to link on Windows, due to

ifeq ($(GUIBASE),unx)
$(eval $(call gb_Library_add_exception_objects,sofficeapp,\
desktop/source/lib/init \
))
endif

in Library_sofficeapp.mk. Given that
CppunitTest_libreofficekit_tiledrendering is marked as Linux-only as
well, be consistent and have this test as Linux-only, too.

Change-Id: I6c8884398eba5dcf8a74c9cdc96c869b6108fb7e

diff --git a/desktop/Module_desktop.mk b/desktop/Module_desktop.mk
index c725a26..d74d406 100644
--- a/desktop/Module_desktop.mk
+++ b/desktop/Module_desktop.mk
@@ -130,8 +130,10 @@ $(eval $(call gb_Module_add_check_targets,desktop, \
 CppunitTest_desktop_version \
 ))
 
+ifeq ($(OS),LINUX)
 $(eval $(call gb_Module_add_check_targets,desktop, \
 CppunitTest_desktop_lib \
 ))
+endif
 
 # vim: set ts=4 sw=4 et:
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94087] predictive text input does not work from Android browser

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94087

--- Comment #1 from Mihai Varga  ---
Predictive text and such might be hard to implement. The user is currently
typing in a hidden text area where Android can modify the text as it pleases. 
But we only send the keystrokes to the server and I assume predictive text /
auto-correct don't generate keystrokes.

And what do you mean by 'keypresses'?

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


[Libreoffice-commits] dev-tools.git: helpauthoring/HelpAuthoring

2015-09-10 Thread Yousuf Philips
 helpauthoring/HelpAuthoring/Validate.xba |   10 --
 1 file changed, 4 insertions(+), 6 deletions(-)

New commits:
commit 8a50ace751fbeb22e3fb0607fdb00975db637b66
Author: Yousuf Philips 
Date:   Thu Sep 10 02:55:39 2015 +0400

Always jump to cursor position to insert new paragraph data

Change-Id: I76041a4cfd056da18812771bd16218ca63b45568
Reviewed-on: https://gerrit.libreoffice.org/18454
Reviewed-by: Jan Holesovsky 
Tested-by: Jan Holesovsky 

diff --git a/helpauthoring/HelpAuthoring/Validate.xba 
b/helpauthoring/HelpAuthoring/Validate.xba
index cbdab4b..70e07a7 100644
--- a/helpauthoring/HelpAuthoring/Validate.xba
+++ b/helpauthoring/HelpAuthoring/Validate.xba
@@ -209,18 +209,16 @@ Sub CheckParaID(TE As Object)
 If bWarnParaNoID Then
  Warn(Paragraph has no ID.,IDs will be 
assigned on save. You can also assign an ID using the Assign Paragraph ID menu 
item,TPE)
  bWarnParaNoID = FALSE
-InsertNewParaData
- Else
- oCur = TE.getText.createTextCursorByRange(TE)
-thiscomponent.getcurrentcontroller.select(oCur)
-InsertNewParaData
  End If
+
+ oCur = TE.getText.createTextCursorByRange(TE)
+ thiscomponent.getcurrentcontroller.select(oCur)
+ InsertNewParaData
 ElseIf posID  1 Then
 Terminate(Paragraph ID not at the start of the 
paragraph. The paragraph ID must be the first element of a paragraph. Move the 
ID to the beginning of the paragraph,TPE)
 End If
 
 End If
-
 End If
 End Sub
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: helpauthoring/Addons.xcu helpauthoring/HelpAuthoring

2015-09-10 Thread Yousuf Philips
 helpauthoring/Addons.xcu  |   15 +--
 helpauthoring/HelpAuthoring/_Main.xba |   15 +++
 2 files changed, 24 insertions(+), 6 deletions(-)

New commits:
commit ab66694f39a4e550bf8d4e4e1d4ae635c9ea00ea
Author: Yousuf Philips 
Date:   Thu Sep 10 01:54:19 2015 +0400

Add ability to reload the active help document

Change-Id: I931478ba7f0ea78a312bb13c0a48679f3b45d96f
Reviewed-on: https://gerrit.libreoffice.org/18452
Reviewed-by: Jan Holesovsky 
Tested-by: Jan Holesovsky 

diff --git a/helpauthoring/Addons.xcu b/helpauthoring/Addons.xcu
index 13ee45e..07679f3 100644
--- a/helpauthoring/Addons.xcu
+++ b/helpauthoring/Addons.xcu
@@ -47,6 +47,15 @@
 Open Help File
 
 
+
+
+
vnd.sun.star.script:HelpAuthoring._Main.ReloadXHP?language=Basiclocation=application
+
+
+
+Reload File
+
+
 
 
 
@@ -54,9 +63,6 @@
 
 
 
-
-com.sun.star.text.TextDocument
-
 
 Paragraph Styles
 
@@ -112,9 +118,6 @@
 
 
 
-
-com.sun.star.text.TextDocument
-
 
 Character Styles
 
diff --git a/helpauthoring/HelpAuthoring/_Main.xba 
b/helpauthoring/HelpAuthoring/_Main.xba
index e12e9a2..9746c02 100644
--- a/helpauthoring/HelpAuthoring/_Main.xba
+++ b/helpauthoring/HelpAuthoring/_Main.xba
@@ -214,4 +214,19 @@ Dim FileProperties(1) As New 
com.sun.star.beans.PropertyValue
 oFileDialog.Dispose()
 End Sub
 
+Sub ReloadXHP
+If not IsHelpFile Then
+msgbox( strErr_NoHelpFile )
+Exit Sub
+End If
+
+   document = StarDesktop.CurrentComponent
+   Dim FileProperties(1) As New com.sun.star.beans.PropertyValue
+   FileProperties(0).Name = FilterName
+   FileProperties(0).Value =XHP_Help
+
+   path = document.URL
+   document.close(-1)
+   oDoc = StarDesktop.loadComponentFromURL(path, path, 0, FileProperties())
+End Sub
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94088] New: FILESAVE: paragraph background colour not saved in HTML file

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94088

Bug ID: 94088
   Summary: FILESAVE: paragraph background colour not saved in
HTML file
   Product: LibreOffice
   Version: 5.0.1.2 release
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: zw...@ziggo.nl

Paragraph background colour is not saved when saving an ODT as HTML, nor when
saving an HTML (as HTML).

This happens when using direct formatting and also when using a style with a
background colour.

This was not broken in the latest LO4 Still version.

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


[Libreoffice-bugs] [Bug 94089] New: soffice process burning CPU

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94089

Bug ID: 94089
   Summary: soffice process burning CPU
   Product: LibreOffice
   Version: 5.0.1.2 release
  Hardware: IA64 (Itanium)
OS: Mac OS X (All)
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: enekogot...@gmail.com

Created attachment 118568
  --> https://bugs.documentfoundation.org/attachment.cgi?id=118568=edit
Log file (all messages)

After agree to "Continue checking [hyphenation] at the beginning of the
document?" Writer hangs. Same issue occurred with the previous LibreOffice
version.

I think that the relevant message from the log viewer is: 10/09/2015
01:02:23.000kernel[0]process soffice[772] thread 107040 caught burning
CPU!; EXC_RESOURCE supressed due to audio playback.

A further test was conducted without the incidence has happened.

Thank you very much for your work.

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


[Libreoffice-bugs] [Bug 76239] OpenSymbol font is not retained after an upgrade (work around in comment 16, 32, .. install log in comment 50 )

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=76239

--- Comment #65 from Cor Nouws  ---
(In reply to Ulrich Windl from comment #64)
>  If you look at
> the changes to the installer from the last version hat didn't have the
> defect to the first version that has the defect, it should be not too hard
> to find the cause.

I looks as if you are right there. But a huge amount of simple problems may be
a problem too. I mean it may be an indication that there is always room for
more people to help ;)

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


[Libreoffice-bugs] [Bug 93964] Opening a file protected by password will result in multiple "Enter password entries" in Dock contextual menu

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93964

Alex Thurgood  changed:

   What|Removed |Added

  Component|LibreOffice |Calc

--- Comment #2 from Alex Thurgood  ---
In

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale : fr-FR (fr.UTF-8)

there is no freeze, LO remains responsive, only the password window can not be
closed - it appears to be detached from the thread controlling the Calc
document when it is re-opened via the Dock.

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


[Libreoffice-bugs] [Bug 93964] Opening a file protected by password will result in multiple "Enter password entries" in Dock contextual menu

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93964

Alex Thurgood  changed:

   What|Removed |Added

   Keywords||regression
 Whiteboard||bibisectRequest

--- Comment #4 from Alex Thurgood  ---
Does not occur in 

Version: 4.1.4.2
Build ID: 0a0440ccc0227ad9829de5f46be37cfb6edcf72

==>> regression

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


[Libreoffice-bugs] [Bug 93964] Opening a file protected by password will result in multiple "Enter password entries" in Dock contextual menu

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93964

Alex Thurgood  changed:

   What|Removed |Added

   Priority|medium  |high
   Severity|normal  |major

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


[Libreoffice-bugs] [Bug 93964] Opening a file protected by password will result in multiple "Enter password entries" in Dock contextual menu

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93964

Alex Thurgood  changed:

   What|Removed |Added

   Keywords|regression  |
   Priority|high|medium
 Whiteboard|bibisectRequest |
   Severity|major   |normal

--- Comment #5 from Alex Thurgood  ---
Hmm, something weird happens here, so removing bibisectrequest and regression
tag until I can test further.

After failing to reproduce the buggy behaviour with 4142, I tried narrowing the
range down, but was unable to reproduce the same problem with any further more
recent version, including 5.0.0.5, and even Dev master 5.1 build. It could be a
user profile problem that only appears on first time opening with any version,
but that requires further testing.

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


[Libreoffice-bugs] [Bug 94087] predictive text input does not work from Android browser

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94087

--- Comment #3 from Mihai Varga  ---
Maybe we could just disable autocomplete as indicated here
http://www.w3.org/TR/html5/forms.html#attr-form-autocomplete 
Editing on mobile devices might be needed by some.

I'll give it a try

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


[Libreoffice-bugs] [Bug 93487] FORMATTING: Using Borders & Border Style button on toolbar crashes Calc

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93487

--- Comment #8 from Chu Chin Kuan  ---
It still crashes on version 5.0.1.2.0+ on AwesomeWM 3.5.6-2 for me.

Build ID: 5.0.1.2 Arch Linux build-1
Locale: en-GB (en_GB.utf8)

I also tested this version on KDE (KWin 5.4.0) and Xfce (xfwm4 version 4.12.3
r.7fdcb53 for Xfce 4.12). Both of them don't crash and work just fine.

Before this, on version 5.0.0.5, it crashes on both AwesomeWM and Xfce. I
didn't test KDE because I didn't have it installed at the time.

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


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

2015-09-10 Thread Noel Grandin
 sc/source/filter/excel/xestream.cxx |1 -
 1 file changed, 1 deletion(-)

New commits:
commit f5a86c394c872e59cc0c7c793a5270d661c16561
Author: Noel Grandin 
Date:   Thu Sep 10 09:29:37 2015 +0200

-Werror,-Wunused-variable

Change-Id: I0587ab4ca354756fcda4a4959ccc2738739d49e2

diff --git a/sc/source/filter/excel/xestream.cxx 
b/sc/source/filter/excel/xestream.cxx
index 1184cfe..2969a16 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -1094,7 +1094,6 @@ bool XclExpXmlStream::exportDocument()
 VbaExport aExport(getModel());
 if (aExport.containsVBAProject())
 {
-const OUString aVbaStreamLocation("/tmp/vba_out.bin");
 SvMemoryStream aVbaStream(4096, 4096);
 tools::SvRef pVBAStorage(new SotStorage(aVbaStream));
 aExport.exportVBA(pVBAStorage);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-10 Thread Stephan Bergmann
 oox/source/ole/vbaexport.cxx |4 
 1 file changed, 4 insertions(+)

New commits:
commit 5a52fefc192dde9fc47badca526089f8d63c5ee6
Author: Stephan Bergmann 
Date:   Thu Sep 10 09:45:45 2015 +0200

Missing include

Change-Id: Ie8a045c82311556f79b8b37704fcd04c19614048

diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx
index 26af809..d6e2b4f 100644
--- a/oox/source/ole/vbaexport.cxx
+++ b/oox/source/ole/vbaexport.cxx
@@ -7,6 +7,10 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
+#include 
+
+#include 
+
 #include 
 
 #include 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94087] New: predictive text input does not work from Android browser

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94087

Bug ID: 94087
   Summary: predictive text input does not work from Android
browser
   Product: LibreOffice Online
   Version: unspecified
  Hardware: Other
OS: Android
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: tima...@gmail.com

I tested LOOL demo from my Android phone (Chrome and Browser apps). Editing
does not work with predictive text input, neither keypresses, nor suggested
words can be entered. Normal typing works.

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


[Libreoffice-commits] dev-tools.git: helpauthoring/Addons.xcu

2015-09-10 Thread Yousuf Philips
 helpauthoring/Addons.xcu |   21 +
 1 file changed, 13 insertions(+), 8 deletions(-)

New commits:
commit ff57c5683637cf96e1bb83403285d82c652040b4
Author: Yousuf Philips 
Date:   Thu Sep 10 04:09:02 2015 +0400

Additional cleanup of the menu

Change-Id: If4ab7d3d360dfa5e8ab83e63291825371d141181
Reviewed-on: https://gerrit.libreoffice.org/18458
Reviewed-by: Jan Holesovsky 
Tested-by: Jan Holesovsky 

diff --git a/helpauthoring/Addons.xcu b/helpauthoring/Addons.xcu
index 07679f3..84c7d31 100644
--- a/helpauthoring/Addons.xcu
+++ b/helpauthoring/Addons.xcu
@@ -25,9 +25,6 @@
 
 Help Authoring
 
-
-com.sun.star.text.TextDocument
-
 
 
 
@@ -138,6 +135,14 @@
 Menu Item Path 
(hlp_menuitem)
 
 
+
+
+
.uno:StyleApply?Style:string=DefaultFamilyName:string=CharacterStyles
+
+
+Default
+
+
 
 
 
@@ -246,7 +251,7 @@
 
 
 
-Insert Help ID 
+Insert Help ID 
(bookmark branch=hid/...) 
 
 
 
@@ -255,7 +260,7 @@
 
 
 
-Insert Extended Tip 
(avis/ahis) 
+Insert Extended Tip 
(avis/ahis) 
 
 
 
@@ -264,7 +269,7 @@
 
 
 
-Insert Comment 
+Insert Comment 
(comment) 
 
 
 
@@ -333,7 +338,7 @@
 
 
 
-Toggle L10N 
+Toggle L10N 
(localize=...) 
 
 
 
@@ -342,7 +347,7 @@
 
 
 
-Validate this Help File 

+Validate Help File 
 
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: helpauthoring/HelpAuthoring

2015-09-10 Thread Yousuf Philips
 helpauthoring/HelpAuthoring/_Main.xba |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4869d188a8f506022afa80ee4dcc436ab199fb1a
Author: Yousuf Philips 
Date:   Thu Sep 10 04:01:52 2015 +0400

Dont clear help topic id and indexer

Change-Id: Ibe5fe6b9ba400f9bd749b464b4b51dca1ddc6de3
Reviewed-on: https://gerrit.libreoffice.org/18456
Reviewed-by: Jan Holesovsky 
Tested-by: Jan Holesovsky 

diff --git a/helpauthoring/HelpAuthoring/_Main.xba 
b/helpauthoring/HelpAuthoring/_Main.xba
index ff3ab44..e19e844 100644
--- a/helpauthoring/HelpAuthoring/_Main.xba
+++ b/helpauthoring/HelpAuthoring/_Main.xba
@@ -68,8 +68,8 @@ Sub SetMetaDataOnSave(Path as String)
 document.DocumentInfo.SetUserFieldName(2,Comment)
 document.DocumentInfo.SetPropertyValue(Subject,Path)
 
-document.DocumentProperties.UserDefinedProperties.Indexer =  
 Present in template properties
-document.DocumentProperties.UserDefinedProperties.ID =   
Present in template properties
+document.DocumentProperties.UserDefinedProperties.Indexer = 
  Present in template properties
+document.DocumentProperties.UserDefinedProperties.ID =  
 Present in template properties
 document.DocumentInfo.SetUserFieldName(2,Comment)
 document.DocumentProperties.Subject = Path
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-10 Thread Miklos Vajna
 oox/source/ole/vbaexport.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f9674ddf81f9600a74edcf59324ad99624be1348
Author: Miklos Vajna 
Date:   Thu Sep 10 10:58:36 2015 +0200

oox: work around Android build problem

Android seems to be missing std::log2(), see
.

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

diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx
index 10c0d21..b9c9676 100644
--- a/oox/source/ole/vbaexport.cxx
+++ b/oox/source/ole/vbaexport.cxx
@@ -271,7 +271,7 @@ void VBACompressionChunk::CopyTokenHelp(sal_uInt16& 
rLengthMask, sal_uInt16& rOf
 sal_uInt16& rBitCount, sal_uInt16& rMaximumLength)
 {
 sal_uInt16 nDifference = mnDecompressedCurrent;
-sal_uInt16 nBitCount = std::ceil(std::log2(nDifference));
+sal_uInt16 nBitCount = std::ceil(std::log(nDifference)/std::log(2));
 rBitCount = std::max(nBitCount, 4);
 rLengthMask = 0x >> rBitCount;
 rOffsetMask = ~rLengthMask;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Implementing "translation in context"

2015-09-10 Thread Dashamir Hoxha
Hi,

I have implemented what I call "translation in context" in this application:
 - http://v.btranslator.org/
 - http://v.btranslator.org?proj=ICT_de=de
 - http://v.btranslator.org?proj=ICT_fr=fr
 - http://v.btranslator.org?proj=ICT_it=it

It works like this: when the user makes a Ctrl+Click on a string/translation
anywhere on the UI, a browser tab/window is opened automatically
with the correct url in the translation server (web application), where he
can
give a translation or a new suggestion for the selected string.
Of course, for a normal Click  the UI works as normally it should.

The funny thing is that this is a mobile application and in a mobile
application
you cannot make a Ctrl+Click. But for translation purposes it can be opened
in a desktop browser. Anyway, it serves to illustrate/demonstrate the idea
of "translation in context" (or whatever it can be called).

The implementation details are not so complicated. This app uses a
gettext-like localization system, where there is a JavaScript function `_()`
that is used to mark the strings that need to be translated, like this:
_("string")
it returns the corresponding "translation", which is then used in the
application.

I have overridden the function `_()` so that it does not return just the
plain
"translation", but it returns instead a decorated translation like this:

translation

See:
https://github.com/FreeSoft-AL/vocabulary/blob/gh-pages/js/_app/translate_in_context.js#L43-L54

Then I assign with jQuery an event-handler for the event Ctrl+Click
to all the elements of the class "gettext". This event handler gets the
id of the string and opens in a tab the proper URL for translating that
string
in the translation server.
See:
https://github.com/FreeSoft-AL/vocabulary/blob/gh-pages/js/_app/translate_in_context.js#L82-L98

My question is:
Is it possible to implement something like this for LibreOffice?
I think that it would be a great feature for improving the quality
of translations and for helping users to give feedback and suggestions
to the translators.

I believe that it should be possible, but I don't know the details of the
translation system in LibreOffice. The most difficult part in my opinion
is how to mark (or decorate) the translated string, so that it can respond
to a Ctrl+Click event. Then you can construct the correct url and open it
in browser. It can be designed to work with B-Translator, or Pootle, or
some other online translation system. But maybe it can also work with
local desktop applications like Virtaal, Lokalize, etc.

It seems to me like an interesting and important project, which may also
turn out to be not so difficult to implement.

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


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

2015-09-10 Thread Caolán McNamara
 oox/source/ole/vbaexport.cxx |9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

New commits:
commit f19402658dce6944e82a9058a6888e488b37b336
Author: Caolán McNamara 
Date:   Thu Sep 10 10:22:59 2015 +0100

fix windows build

Change-Id: Ibd768bef633de63ad3f7e826eb8044e04c1159ae

diff --git a/oox/source/ole/vbaexport.cxx b/oox/source/ole/vbaexport.cxx
index b9c9676..904056d 100644
--- a/oox/source/ole/vbaexport.cxx
+++ b/oox/source/ole/vbaexport.cxx
@@ -778,10 +778,11 @@ void VbaExport::exportVBA(SotStorage* pRootStorage)
 // start here with the VBA export
 SotStorage* pVBAStream = pRootStorage->OpenSotStorage("VBA", 
STREAM_READWRITE);
 SotStorageStream* pDirStream = pVBAStream->OpenSotStream("dir", 
STREAM_READWRITE);
-SotStorageStream* pModuleStream[n];
+std::vector aModuleStreams;
+aModuleStreams.reserve(n);
 for (sal_Int32 i = 0; i < n; ++i)
 {
-pModuleStream[i] = pVBAStream->OpenSotStream(aElementNames[i], 
STREAM_READWRITE);
+aModuleStreams.push_back(pVBAStream->OpenSotStream(aElementNames[i], 
STREAM_READWRITE));
 }
 SotStorageStream* pVBAProjectStream = 
pVBAStream->OpenSotStream("_VBA_PROJECT", STREAM_READWRITE);
 SotStorageStream* pPROJECTStream = pRootStorage->OpenSotStream("PROJECT", 
STREAM_READWRITE);
@@ -795,7 +796,7 @@ void VbaExport::exportVBA(SotStorage* pRootStorage)
 css::uno::Any aCode = xNameContainer->getByName(aElementNames[i]);
 OUString aSourceCode;
 aCode >>= aSourceCode;
-exportModuleStream(*pModuleStream[i], aSourceCode, aElementNames[i]);
+exportModuleStream(*aModuleStreams[i], aSourceCode, aElementNames[i]);
 }
 exportVBAProjectStream(*pVBAProjectStream);
 exportPROJECTStream(*pPROJECTStream, xNameContainer, getProjectName());
@@ -804,7 +805,7 @@ void VbaExport::exportVBA(SotStorage* pRootStorage)
 pVBAProjectStream->Commit();
 for(sal_Int32 i = 0; i < n; i++)
 {
-pModuleStream[i]->Commit();
+aModuleStreams[i]->Commit();
 }
 pDirStream->Commit();
 pVBAStream->Commit();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-09-10 Thread Noel Grandin
 include/vcl/button.hxx|1 -
 vcl/source/control/button.cxx |2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 3d95279f6c1e42986a64e76ffc95a432004d4d88
Author: Noel Grandin 
Date:   Tue Sep 8 15:54:20 2015 +0200

remove unused Link<> field

Change-Id: I9fa72bd4a39d630829356117cec73b686efc7ae7

diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index 10a241c..5717ebc 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -121,7 +121,6 @@ protected:
 PushButtonDropdownStyle mnDDStyle;
 boolmbPressed;
 boolmbInUserDraw;
-Link<>  maToggleHdl;
 
 SAL_DLLPRIVATE voidImplInitPushButtonData();
 SAL_DLLPRIVATE WinBits ImplInitStyle( const vcl::Window* 
pPrevWindow, WinBits nStyle );
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index a9e616b..50058ea 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -1544,7 +1544,7 @@ bool PushButton::PreNotify( NotifyEvent& rNEvt )
 
 void PushButton::Toggle()
 {
-ImplCallEventListenersAndHandler( VCLEVENT_PUSHBUTTON_TOGGLE, [this] () { 
maToggleHdl.Call(this); } );
+ImplCallEventListenersAndHandler( VCLEVENT_PUSHBUTTON_TOGGLE, NULL );
 }
 
 void PushButton::SetSymbol( SymbolType eSymbol )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] dev-tools.git: helpauthoring/HelpAuthoring

2015-09-10 Thread Yousuf Philips
 helpauthoring/HelpAuthoring/Helpers.xba |   81 +++-
 helpauthoring/HelpAuthoring/_Main.xba   |   62 
 2 files changed, 91 insertions(+), 52 deletions(-)

New commits:
commit faa1bf41bb02e21d22dc3082bd53b58aad243c5e
Author: Yousuf Philips 
Date:   Thu Sep 10 03:59:50 2015 +0400

Add wizard to creating new help file

Change-Id: Id56b80da8311078787f17f16a1012580193b0ec0
Reviewed-on: https://gerrit.libreoffice.org/18455
Reviewed-by: Jan Holesovsky 
Tested-by: Jan Holesovsky 

diff --git a/helpauthoring/HelpAuthoring/Helpers.xba 
b/helpauthoring/HelpAuthoring/Helpers.xba
index 628578d..fdd56bf 100644
--- a/helpauthoring/HelpAuthoring/Helpers.xba
+++ b/helpauthoring/HelpAuthoring/Helpers.xba
@@ -229,11 +229,11 @@ Sub InsertField(Field as String, Content as String)
 End Sub
 
 ===
- GoUp
+ GoKey
 ---
- Simulates the CursorUp key
+ Executes any uno command but targetting to keyboard keystrokes
 ===
-Sub goUp(Count As Integer, Optional bSelect As Boolean)
+Sub goKey(Command as String, Optional Count As Integer, Optional bSelect As 
Boolean)
 dim document   as object
 dim dispatcher as object
 
@@ -250,7 +250,20 @@ Sub goUp(Count As Integer, Optional bSelect As Boolean)
 args(1).Value = bSelect
 End If
 
-dispatcher.executeDispatch(document, .uno:GoUp, , 
0, args())
+dispatcher.executeDispatch(document, Command, , 0, args())
+End Sub
+
+===
+ GoUp
+---
+ Simulates the CursorUp key
+===
+Sub goUp(Count As Integer, Optional bSelect As Boolean)
+If IsMissing(bSelect) Then
+   goKey( .uno:GoUp, Count )
+   Else
+   goKey( .uno:GoUp, Count, bSelect )
+   End if
 End Sub
 
 ===
@@ -259,23 +272,11 @@ End Sub
  Simulates the CursorDown key
 ===
 Sub goDown(Count As Integer, Optional bSelect As Boolean)
-dim document   as object
-dim dispatcher as object
-
-document   = ThisComponent.CurrentController.Frame
-dispatcher = 
createUnoService(com.sun.star.frame.DispatchHelper)
-
-dim args(1) as new com.sun.star.beans.PropertyValue
-args(0).Name = Count
-args(0).Value = Count
-args(1).Name = Select
 If IsMissing(bSelect) Then
-args(1).Value = false
-Else
-args(1).Value = bSelect
-End If
-
-dispatcher.executeDispatch(document, .uno:GoDown, 
, 0, args())
+   goKey( .uno:GoDown, Count )
+   Else
+   goKey( .uno:GoDown, Count, bSelect )
+   End if
 End Sub
 
 
@@ -285,23 +286,11 @@ End Sub
  Simulates the CursorRight key
 ===
 Sub goRight(Count As Integer, Optional bSelect As Boolean)
-dim document   as object
-dim dispatcher as object
-
-document   = ThisComponent.CurrentController.Frame
-dispatcher = 
createUnoService(com.sun.star.frame.DispatchHelper)
-
-dim args(1) as new com.sun.star.beans.PropertyValue
-args(0).Name = Count
-args(0).Value = Count
-args(1).Name = Select
 If IsMissing(bSelect) Then
-args(1).Value = false
-Else
-args(1).Value = bSelect
-End If
-
-dispatcher.executeDispatch(document, .uno:GoRight, 
, 0, args())
+   goKey( .uno:GoRight, Count )
+   Else
+   goKey( .uno:GoRight, Count, bSelect )
+   End if
 End Sub
 
 ===
@@ -310,23 +299,11 @@ End Sub
  Simulates the CursorLeft key
 ===
 Sub goLeft(Count As Integer, optional bSelect As boolean)
-dim document   as object
-dim dispatcher as object
-
-document   = ThisComponent.CurrentController.Frame
-dispatcher = 
createUnoService(com.sun.star.frame.DispatchHelper)
-
-dim args(1) as new com.sun.star.beans.PropertyValue
-args(0).Name = Count
-args(0).Value = Count
-args(1).Name = Select
 If IsMissing(bSelect) Then
-args(1).Value = false
-Else
-args(1).Value = bSelect
-End If
-
-dispatcher.executeDispatch(document, .uno:GoLeft, 
, 0, args())
+   goKey( .uno:GoLeft, Count )
+   Else
+   goKey( .uno:GoLeft, Count, bSelect )
+   End if
 End Sub
 
 ===
diff --git a/helpauthoring/HelpAuthoring/_Main.xba 
b/helpauthoring/HelpAuthoring/_Main.xba
index 9746c02..ff3ab44 100644
--- a/helpauthoring/HelpAuthoring/_Main.xba
+++ b/helpauthoring/HelpAuthoring/_Main.xba
@@ -73,6 +73,68 @@ 

[Libreoffice-bugs] [Bug 93964] Opening a file protected by password will result in multiple "Enter password entries" in Dock contextual menu

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93964

--- Comment #3 from Alex Thurgood  ---
How to reproduce :

1) Open a new Calc file.

2) Enter some random strings into any cells

3) Save the Calc file, and tick the option box "with password"

4) Enter password to encrypt the file.

5) Close file and close LO

6) Now re-open file, the password is requested before the file will load

7) Enter correct password, file opens

8) Note how a new entry appears in the Dock menu list of opened files, with the
name of the Calc file without an icon - clicking on this displays the password
entry dialog, which is then frozen.

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


[Libreoffice-bugs] [Bug 94054] Page Watermaker EPS not working

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94054

Alex Thurgood  changed:

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 93554] Not possible to adjust row and column sizes when rulers are hidden

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93554

Jan Holesovsky  changed:

   What|Removed |Added

 Blocks||91488

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


[Libreoffice-bugs] [Bug 92644] some inserted .eps image files disappear

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92644

Alex Thurgood  changed:

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 94054] Writer watermark EPS background image not exported to PDF

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94054

Alex Thurgood  changed:

   What|Removed |Added

Summary|Page Watermaker EPS not |Writer watermark EPS
   |working |background image not
   ||exported to PDF

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


[Libreoffice-commits] core.git: 4 commits - include/oox oox/qa oox/source

2015-09-10 Thread Noel Grandin
 include/oox/ole/vbaexport.hxx   |8 
 oox/qa/unit/vba_compression.cxx |   28 ++--
 oox/source/ole/vbaexport.cxx|4 ++--
 3 files changed, 20 insertions(+), 20 deletions(-)

New commits:
commit 7b8e8e5d809bf2e172a4af1654415055654e30c8
Author: Noel Grandin 
Date:   Thu Sep 10 08:50:19 2015 +0200

loplugin:cstylecast

Change-Id: I237ee6cf764d5bca9147e6d5e0bbb1162ece06ac

diff --git a/oox/qa/unit/vba_compression.cxx b/oox/qa/unit/vba_compression.cxx
index 0247fb9..72b7bb2 100644
--- a/oox/qa/unit/vba_compression.cxx
+++ b/oox/qa/unit/vba_compression.cxx
@@ -92,8 +92,8 @@ void TestVbaCompression::testSimple1()
 
 CPPUNIT_ASSERT_EQUAL(aReferenceMemoryStream.GetSize(), 
aOutputMemoryStream.GetSize());
 
-const sal_uInt8* pReferenceData = (const sal_uInt8*) 
aReferenceMemoryStream.GetData();
-const sal_uInt8* pData = (const sal_uInt8*)aOutputMemoryStream.GetData();
+const sal_uInt8* pReferenceData = static_cast( 
aReferenceMemoryStream.GetData() );
+const sal_uInt8* pData = static_cast( 
aOutputMemoryStream.GetData() );
 
 size_t nSize = std::min(aReferenceMemoryStream.GetSize(),
 aOutputMemoryStream.GetSize());
@@ -114,8 +114,8 @@ void TestVbaCompression::testSimple2()
 
 CPPUNIT_ASSERT_EQUAL(aReferenceMemoryStream.GetSize(), 
aOutputMemoryStream.GetSize());
 
-const sal_uInt8* pReferenceData = (const sal_uInt8*) 
aReferenceMemoryStream.GetData();
-const sal_uInt8* pData = (const sal_uInt8*)aOutputMemoryStream.GetData();
+const sal_uInt8* pReferenceData = static_cast( 
aReferenceMemoryStream.GetData() );
+const sal_uInt8* pData = static_cast( 
aOutputMemoryStream.GetData() );
 
 size_t nSize = std::min(aReferenceMemoryStream.GetSize(),
 aOutputMemoryStream.GetSize());
@@ -136,8 +136,8 @@ void TestVbaCompression::testSimple3()
 
 CPPUNIT_ASSERT_EQUAL(aReferenceMemoryStream.GetSize(), 
aOutputMemoryStream.GetSize());
 
-const sal_uInt8* pReferenceData = (const sal_uInt8*) 
aReferenceMemoryStream.GetData();
-const sal_uInt8* pData = (const sal_uInt8*)aOutputMemoryStream.GetData();
+const sal_uInt8* pReferenceData = static_cast( 
aReferenceMemoryStream.GetData()  );
+const sal_uInt8* pData = static_cast( 
aOutputMemoryStream.GetData() );
 
 size_t nSize = std::min(aReferenceMemoryStream.GetSize(),
 aOutputMemoryStream.GetSize());
@@ -158,8 +158,8 @@ void TestVbaCompression::testComplex1()
 
 CPPUNIT_ASSERT_EQUAL(aReferenceMemoryStream.GetSize(), 
aOutputMemoryStream.GetSize());
 
-const sal_uInt8* pReferenceData = (const sal_uInt8*) 
aReferenceMemoryStream.GetData();
-const sal_uInt8* pData = (const sal_uInt8*)aOutputMemoryStream.GetData();
+const sal_uInt8* pReferenceData = static_cast( 
aReferenceMemoryStream.GetData() );
+const sal_uInt8* pData = static_cast( 
aOutputMemoryStream.GetData() );
 
 size_t nSize = std::min(aReferenceMemoryStream.GetSize(),
 aOutputMemoryStream.GetSize());
@@ -180,8 +180,8 @@ void TestVbaCompression::testSpec321()
 
 CPPUNIT_ASSERT_EQUAL(aReferenceMemoryStream.GetSize(), 
aOutputMemoryStream.GetSize());
 
-const sal_uInt8* pReferenceData = (const sal_uInt8*) 
aReferenceMemoryStream.GetData();
-const sal_uInt8* pData = (const sal_uInt8*)aOutputMemoryStream.GetData();
+const sal_uInt8* pReferenceData = static_cast( 
aReferenceMemoryStream.GetData() );
+const sal_uInt8* pData = static_cast( 
aOutputMemoryStream.GetData() );
 
 size_t nSize = std::min(aReferenceMemoryStream.GetSize(),
 aOutputMemoryStream.GetSize());
@@ -202,8 +202,8 @@ void TestVbaCompression::testSpec322()
 
 CPPUNIT_ASSERT_EQUAL(aReferenceMemoryStream.GetSize(), 
aOutputMemoryStream.GetSize());
 
-const sal_uInt8* pReferenceData = (const sal_uInt8*) 
aReferenceMemoryStream.GetData();
-const sal_uInt8* pData = (const sal_uInt8*)aOutputMemoryStream.GetData();
+const sal_uInt8* pReferenceData = static_cast( 
aReferenceMemoryStream.GetData() );
+const sal_uInt8* pData = static_cast( 
aOutputMemoryStream.GetData() );
 
 size_t nSize = std::min(aReferenceMemoryStream.GetSize(),
 aOutputMemoryStream.GetSize());
@@ -224,8 +224,8 @@ void TestVbaCompression::testSpec323()
 
 CPPUNIT_ASSERT_EQUAL(aReferenceMemoryStream.GetSize(), 
aOutputMemoryStream.GetSize());
 
-const sal_uInt8* pReferenceData = (const sal_uInt8*) 
aReferenceMemoryStream.GetData();
-const sal_uInt8* pData = (const sal_uInt8*)aOutputMemoryStream.GetData();
+const sal_uInt8* pReferenceData = static_cast( 
aReferenceMemoryStream.GetData() );
+const sal_uInt8* pData = static_cast( 
aOutputMemoryStream.GetData() );
 
 size_t nSize = std::min(aReferenceMemoryStream.GetSize(),
 aOutputMemoryStream.GetSize());
commit 9e2628503db9641b722e3dd373845fd9b435a938
Author: Noel Grandin 
Date:   Thu Sep 10 08:47:37 2015 +0200


[Libreoffice-bugs] [Bug 94087] predictive text input does not work from Android browser

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94087

Andras Timar  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||ke...@collabora.com,
   ||mihai.m...@gmail.com
 Ever confirmed|0   |1

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


[Libreoffice-bugs] [Bug 94067] Including a DXF file

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94067

--- Comment #2 from raal  ---
Created attachment 118567
  --> https://bugs.documentfoundation.org/attachment.cgi?id=118567=edit
test file

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


Crash test update

2015-09-10 Thread Crashtest VM
New crashtest update available at 
http://dev-builds.libreoffice.org/crashtest/ba8cdfca4d875af0c95622c7b87a8291e130865a/


exportCrashes.csv
Description: Binary data


importCrash.csv
Description: Binary data


validationErrors.csv
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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

2015-09-10 Thread Caolán McNamara
 oox/qa/unit/vba_compression.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 823150ff153a6e02781b1b2b09ea6eb528111d2e
Author: Caolán McNamara 
Date:   Thu Sep 10 10:31:38 2015 +0100

include algorithm for std::min

Change-Id: I7b57b8f1c86b3ed1e31467fc7c094b3520d4e74e

diff --git a/oox/qa/unit/vba_compression.cxx b/oox/qa/unit/vba_compression.cxx
index 72b7bb2..3e36bd5 100644
--- a/oox/qa/unit/vba_compression.cxx
+++ b/oox/qa/unit/vba_compression.cxx
@@ -14,6 +14,7 @@
 #include 
 
 #include 
+#include 
 
 class TestVbaCompression : public test::BootstrapFixtureBase
 {
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94089] soffice process burning CPU

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94089

Alex Thurgood  changed:

   What|Removed |Added

   Severity|major   |normal

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


[Libreoffice-bugs] [Bug 94079] NETWORKDAYS gives error #VALUE! when Holidays range is empty

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94079

Winfried Donkers  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=77
   ||985
 QA Contact||winfrieddonkers@libreoffice
   ||.org
 Whiteboard|bibisectRequest |

--- Comment #2 from Winfried Donkers  ---
A first quick glance indicates that the problem was introduced with
commit 111952dccc1bf9e28e61c0233816248c848cbf53
(fdo#77985 make calc function NETWORKDAYS comply with ODFF1.2)

I will correct this.

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


[Libreoffice-bugs] [Bug 93672] LO writer freezes when saving large documents, win 8, 10

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93672

--- Comment #5 from vas...@gmail.com ---
It the document is opened in Apache Openoffice 4.1.1 all is OK. Then I can do
further editing, saving etc.
I tried to make a new empty writer document in LibreOffice 5.0.1.2 and
copy/paste one chapter from the document in OpenOffice into the LibreOffice
document. It seemed to work fine (with some increasing delays) until the LO
document was about 80% of the OO document. Then, after a Save, the LO Writer
freezes and exits directly.

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


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

2015-09-10 Thread Caolán McNamara
 filter/qa/cppunit/data/psd/pass/hang-1.psd |binary
 filter/source/graphicfilter/ipsd/ipsd.cxx  |   19 ++-
 2 files changed, 10 insertions(+), 9 deletions(-)

New commits:
commit b02f1c58e7bb8b6c9381107431557d3f39794fe0
Author: Caolán McNamara 
Date:   Thu Sep 10 09:24:13 2015 +0100

fix size check related hang

Change-Id: I3e8aa5c48ba802cd363688502b44e27bfdf67f01

diff --git a/filter/qa/cppunit/data/psd/pass/hang-1.psd 
b/filter/qa/cppunit/data/psd/pass/hang-1.psd
new file mode 100644
index 000..8f557dd
Binary files /dev/null and b/filter/qa/cppunit/data/psd/pass/hang-1.psd differ
diff --git a/filter/source/graphicfilter/ipsd/ipsd.cxx 
b/filter/source/graphicfilter/ipsd/ipsd.cxx
index 0e256ae..9d92ab5 100644
--- a/filter/source/graphicfilter/ipsd/ipsd.cxx
+++ b/filter/source/graphicfilter/ipsd/ipsd.cxx
@@ -172,9 +172,6 @@ bool PSDReader::ReadPSD(Graphic & rGraphic )
 
 bool PSDReader::ImplReadHeader()
 {
-sal_uInt16  nCompression;
-sal_uInt32  nColorLength, nResourceLength, nLayerMaskLength;
-
 mpFileHeader = new PSDFileHeader;
 
 m_rPSD.ReadUInt32( mpFileHeader->nSignature ).ReadUInt16( 
mpFileHeader->nVersion ).ReadUInt32( mpFileHeader->nPad1 ).ReadUInt16( 
mpFileHeader->nPad2 ).ReadUInt16( mpFileHeader->nChannels ).ReadUInt32( 
mpFileHeader->nRows ).ReadUInt32( mpFileHeader->nColumns 
).ReadUInt16( mpFileHeader->nDepth ).ReadUInt16( mpFileHeader->nMode );
@@ -194,6 +191,7 @@ bool PSDReader::ImplReadHeader()
 
 mnDestBitDepth = ( nDepth == 16 ) ? 8 : nDepth;
 
+sal_uInt32 nColorLength(0);
 m_rPSD.ReadUInt32( nColorLength );
 if ( mpFileHeader->nMode == PSD_CMYK )
 {
@@ -270,7 +268,10 @@ bool PSDReader::ImplReadHeader()
 default:
 return false;
 }
-m_rPSD.ReadUInt32( nResourceLength );
+sal_uInt32 nResourceLength(0);
+m_rPSD.ReadUInt32(nResourceLength);
+if (nResourceLength > m_rPSD.remainingSize())
+return false;
 sal_uInt32 nLayerPos = m_rPSD.Tell() + nResourceLength;
 
 // this is a loop over the resource entries to get the resolution info
@@ -291,8 +292,8 @@ bool PSDReader::ImplReadHeader()
 if ( nResEntryLen & 1 )
 nResEntryLen++; // the resource entries are padded
 sal_uInt32 nCurrentPos = m_rPSD.Tell();
-if ( ( nResEntryLen + nCurrentPos ) > nLayerPos )   // check if size
-break;  // is possible
+if (nResEntryLen > (nLayerPos - nCurrentPos))   // check if size
+break;  // is possible
 switch( nUniqueID )
 {
 case 0x3ed :// UID for the resolution info
@@ -307,10 +308,12 @@ bool PSDReader::ImplReadHeader()
 m_rPSD.Seek( nCurrentPos + nResEntryLen );  // set the stream 
to the next
 }   // resource entry
 m_rPSD.Seek( nLayerPos );
+sal_uInt32 nLayerMaskLength(0);
 m_rPSD.ReadUInt32( nLayerMaskLength );
 m_rPSD.SeekRel( nLayerMaskLength );
 
-m_rPSD.ReadUInt16( nCompression );
+sal_uInt16 nCompression(0);
+m_rPSD.ReadUInt16(nCompression);
 if ( nCompression == 0 )
 {
 mbCompression = false;
@@ -326,8 +329,6 @@ bool PSDReader::ImplReadHeader()
 return true;
 }
 
-
-
 bool PSDReader::ImplReadBody()
 {
 sal_uLong   nX, nY;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94087] predictive text input does not work from Android browser

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94087

--- Comment #2 from Andras Timar  ---
Google Drive detects somehow, that it was loaded from Android browser, and does
not let the user edit documents. Maybe we should do the same.

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


[Libreoffice-bugs] [Bug 67464] Request for built-in EPS rendering ...

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=67464

Alex Thurgood  changed:

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 94069] EDITING: Moving a tablecontrol while editing a form leads to a hang

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94069

Jean-Baptiste Faure  changed:

   What|Removed |Added

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

--- Comment #1 from Jean-Baptiste Faure  ---
Reproducible with Version: 5.0.3.0.0+
Build ID: 651205cdf64d3fce6685a58587c8ec4626278779
Ubuntu_15.04_x86-64
Locale : fr-FR (fr_FR.UTF-8)

Best regards. JBF

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


[Bug 93243] replace boost::bind with C++11 lambdas

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93243

--- Comment #4 from Commit Notification 
 ---
n.r.pearson committed a patch related to this issue.
It has been pushed to "master":

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

tdf#93243 replace boost::bind with C++11 lambdas in unoshape.cxx

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

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


[Libreoffice-bugs] [Bug 93243] replace boost::bind with C++11 lambdas

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93243

--- Comment #4 from Commit Notification 
 ---
n.r.pearson committed a patch related to this issue.
It has been pushed to "master":

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

tdf#93243 replace boost::bind with C++11 lambdas in unoshape.cxx

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

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


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

2015-09-10 Thread n . r . pearson
 svx/source/unodraw/unoshape.cxx |3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit fa4871b7436c159c9d206d910f899d8af3044d72
Author: n.r.pearson 
Date:   Wed Sep 9 11:24:33 2015 -0400

tdf#93243 replace boost::bind with C++11 lambdas in unoshape.cxx

Change-Id: I0f87956800e741a837f3492aa76968df35b692ec
Reviewed-on: https://gerrit.libreoffice.org/18449
Reviewed-by: Noel Grandin 
Tested-by: Noel Grandin 

diff --git a/svx/source/unodraw/unoshape.cxx b/svx/source/unodraw/unoshape.cxx
index 35423a2..667d687 100644
--- a/svx/source/unodraw/unoshape.cxx
+++ b/svx/source/unodraw/unoshape.cxx
@@ -92,7 +92,6 @@
 #include "svx/lathe3d.hxx"
 #include "svx/extrud3d.hxx"
 
-#include 
 #include 
 #include 
 
@@ -1831,7 +1830,7 @@ void SAL_CALL SvxShape::setPropertyValues( const 
::com::sun::star::uno::Sequence
 
 // make sure mbIsMultiPropertyCall and mpImpl->mpItemSet are
 // reseted even when an exception is thrown
-const ::comphelper::ScopeGuard aGuard( boost::bind( 
::endSetPropertyValues, this ) );
+const ::comphelper::ScopeGuard aGuard( [this] () { return 
this->endSetPropertyValues(); } );
 
 mbIsMultiPropertyCall = true;
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 94067] Including a DXF file

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94067

--- Comment #3 from raal  ---
I can not confirm with Verze: 5.0.1.2
ID sestavení: 81898c9f5c0d43f3473ba111d7b351050be20261, win7. Please test with
version 5.0.1.2, http://www.libreoffice.org/download/

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


[Libreoffice-bugs] [Bug 93849] Allow specifying the JDBC jar in the Database Wizard

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93849

Alex Thurgood  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from Alex Thurgood  ---
Confirming. This would be a useful enhancement IMO, but as Lionel has said, we
would also need for the UI to provide the possibility to open the default file
explorer and allow the user to point to where the jar file is stored.

We would need to take account of the possibility for confusion / conflict with
the add classpath / archive dialog that is currently used for this purpose
though.

On Mac OSX, there is no default directory for JDBC connectors in general. Most
users just download a zip/tar file, and unzip/untar to the folder of their
choice (more often than not the /Desktop or /Downloads folder out of sheer
laziness).

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


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

2015-09-10 Thread Michael Meeks
 vcl/source/app/idle.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 76eff026062c2bb755256cf9b335711d5421d27f
Author: Michael Meeks 
Date:   Thu Sep 10 09:36:30 2015 +0100

Fixup low-prio idle's effect on min-period.

Change-Id: Ib01883e09a32d839cc20455276655ad39bd6828c

diff --git a/vcl/source/app/idle.cxx b/vcl/source/app/idle.cxx
index dcf11b2..5ce5361 100644
--- a/vcl/source/app/idle.cxx
+++ b/vcl/source/app/idle.cxx
@@ -65,7 +65,7 @@ sal_uInt64 Idle::UpdateMinPeriod( sal_uInt64 nMinPeriod, 
sal_uInt64 /* nTime */
 break;
 default:
 // FIXME: tdf#92036 workaround, I should be 1 too - wait 5ms
-if (nMinPeriod < 5)
+if (nMinPeriod > 5) // only shrink the min. period if nothing is 
quicker.
 nMinPeriod = 5;
 break;
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 93964] Opening a file protected by password will result in multiple "Enter password entries" in Dock contextual menu

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93964

Alex Thurgood  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||ipla...@yahoo.co.uk
Version|5.0.1.2 release |5.0.0.5 release
 Ever confirmed|0   |1

--- Comment #1 from Alex Thurgood  ---
Confirming also on

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale : fr-FR (fr.UTF-8)

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


[Libreoffice-bugs] [Bug 94087] predictive text input does not work from Android browser

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94087

--- Comment #4 from Andras Timar  ---
See also
http://stackoverflow.com/questions/14019796/how-do-i-activate-deactivate-predictive-text-for-input-fields-on-mobile-devices

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


[Libreoffice-bugs] [Bug 94037] Crash when uncheck Protect this... in Protec Sheet window

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94037

Katarina Behrens (CIB)  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |katarina.behr...@cib.de
   |desktop.org |

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


[Libreoffice-bugs] [Bug 94010] UI: Horizontal srcoll Wheel backwards with RTL sheet on linux

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94010

Binyamin Sagal  changed:

   What|Removed |Added

Summary|UI: Horizontal srcoll Wheel |UI: Horizontal srcoll Wheel
   |backwards with RTL sheet|backwards with RTL sheet on
   |and kde4 ui |linux

--- Comment #4 from Binyamin Sagal  ---
I just tested with SAL_USE_VCLPLUGIN=gen or SAL_USE_VCLPLUGIN=gtk and both of
them are also affected

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


[Libreoffice-bugs] [Bug 94054] Writer watermark EPS background image not exported to PDF

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94054

V Stuart Foote  changed:

   What|Removed |Added

 CC||vstuart.fo...@utsa.edu
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=81
   ||497

--- Comment #3 from V Stuart Foote  ---
(In reply to gianbeos from comment #0)
> With the latest two version of LibreOffice, I can't print or export to pdf
> an EPS file set as watermark on the page. The watermarks is visible on the
> screen but when I print or export the file, the watermark is substitute with
> this:
> 
> Title:Watermark.eps
> Creator:Adobe Illustrator(R) 16.2
> CreationDate:23/05/13
> LanguageLevel:2
> 

Suspect that error means that you do not have valid path to either of the
"helper" files that LibreOffice uses to render EPS to vector or bitmap.  

pstoedit or convert (from Imagemagick)

Believe your EPS has a preview--that is what you see when the document is open.
But when printed or exported to PDF LibreOffice has no way to handle the EPS,
and you get the error.

Do things improve (or simply change) if you install pstoedit and/or
Imagemagick? Available from Fink, MacPorts or MacAppStore

Unfortunately, once installed you may end up with issue of bug 81497 --
PRINTING: to PDF with Adobe Distiller or GS based PDF printer, EPS images not
rendered to PS vector for PDF, instead print uses the preview of EPS image.

But 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
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 92145] Writer text table rows can't be resized

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=92145

--- Comment #12 from László Németh  ---
The reason of the bug  is the following change:

commit 9905a8b953953b9ec5e123a17997d5931978acfe
Author: Tomaž Vajngerl 
Date:   Tue Apr 28 12:53:27 2015 +0900

replace Paint calls to Invalidate + fix compilation

Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674

...
@@ -2364,7 +2364,7 @@ bool Ruler::StartDocDrag( const MouseEvent& rMEvt,
RulerType eDragType )
 // update ruler
 if ( mbFormat )
 {
-Paint(Rectangle());
+Invalidate();
 mnUpdateFlags &= ~RULER_UPDATE_DRAW;
 }
...


Paint() sets the mpData values by calling ImplFormat() and ImplCalc(), and
these data are used by StartDocDrag() to check the place of the click.

When the rulers are switched off, now Paint()/ImplFormat()/ImplCalc() aren't
called, and mpData will contain only initial empty data, first resulting
bad false return value (RULER_TYPE_OUTSIDE case) in ImplHitTest(): 

bool Ruler::ImplHitTest( const Point& rPos, RulerSelection* pHitTest,
 bool bRequireStyle, sal_uInt16 nRequiredStyle ) const

...
if ((nX < mpData->nRulVirOff - nXExtraOff) ||
 (nX > mpData->nRulVirOff + mpData->nRulWidth + nXExtraOff) ||
 (nY < 0) ||
 (nY > nHitBottom) )
{
pHitTest->nPos = 0;
pHitTest->eType = RULER_TYPE_OUTSIDE;
return false;
}
...

because mpData->nRulVirOff is zero.

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


[Libreoffice-ux-advise] [Bug 94091] Removing File > Printer Settings

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94091

Cor Nouws  changed:

   What|Removed |Added

 CC||c...@nouenoff.nl

--- Comment #1 from Cor Nouws  ---
There is still a discussion on the UX list, where this is part of.
Promise to look at it ASAP.

-- 
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
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-bugs] [Bug 91870] cursor blinking abnormally if the document contains some field

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=91870

--- Comment #13 from ro...@developer.falconiform.de ---
Still reproduceable in Writer 5.0.2.1 …

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


[Bug 88206] Change uses of cppu::WeakImplHelper* and cppu::ImplInheritanceHelper* to use variadic variants instead

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88206

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

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

unoxml: tdf#88206 replace cppu::WeakImplHelper* etc.

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

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


[Libreoffice-bugs] [Bug 88206] Change uses of cppu::WeakImplHelper* and cppu::ImplInheritanceHelper* to use variadic variants instead

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88206

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

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

vbahelper: tdf#88206 replace cppu::WeakImplHelper* etc.

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

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


[Libreoffice-commits] core.git: Branch 'feature/fixes10' - dictionaries helpcontent2 README.md

2015-09-10 Thread László Németh
 README.md|1 +
 dictionaries |2 +-
 helpcontent2 |2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit dea65645be9685118b2a4992c2d74d1d1ad67bc2
Author: László Németh 
Date:   Thu Sep 10 12:33:20 2015 +0200

trigger new tests with more processIdle()

with this empty commit

Change-Id: I38e9d9491b07b7ca4e03e9e91b78bbee69dbfaf1

diff --git a/README.md b/README.md
index 501c4a0..a612ea3 100644
--- a/README.md
+++ b/README.md
@@ -66,3 +66,4 @@ on the mailing list libreoffice@lists.freedesktop.org (no 
subscription
 required) or poke people on IRC `#libreoffice-dev` on irc.freenode.net -
 we're a friendly and generally helpful mob. We know the code can be
 hard to get into at first, and so there are no silly questions.
+
diff --git a/dictionaries b/dictionaries
index 71f54e9..773db8a 16
--- a/dictionaries
+++ b/dictionaries
@@ -1 +1 @@
-Subproject commit 71f54e95a0b443c673f924c71e23d04b540cc441
+Subproject commit 773db8ae5a62869bac230c124dd019f5123db685
diff --git a/helpcontent2 b/helpcontent2
index 68c46e7..f5f4e37 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 68c46e7dbaf5cf34a5b5ccb80122801dad778bbe
+Subproject commit f5f4e37a3be9226440aebd9554c1bf950a8025d7
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 75318] FORMATTING: shape in .docx file is out of page bounds

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=75318

Xisco Faulí  changed:

   What|Removed |Added

 CC||aniste...@gmail.com

--- Comment #7 from Xisco Faulí  ---
This issue is still present in

Version: 5.0.1.2
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: es-ES (es_ES)

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


[Libreoffice-bugs] [Bug 93327] Can't open document with webdav(s) url (dav:// or davs://)

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93327

--- Comment #6 from francois.cre...@agglo.morlaix.fr ---
Hello,
How to know if this change is wanted or if it is a bug?
Thank you !

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


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

2015-09-10 Thread Michael Stahl
 vcl/source/control/button.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a9fa776cdaacac30fd8df22d85aab30ef70c9776
Author: Michael Stahl 
Date:   Thu Sep 10 14:35:41 2015 +0200

vcl: fix utterly mysterious error C2064 term does not evaluate

... to a function taking 0 arguments with MSVC 2013.

Change-Id: I73744bfe9def70d00e6e489f7064472cdb64b113

diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 50058ea..49ad2cf 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -1544,7 +1544,7 @@ bool PushButton::PreNotify( NotifyEvent& rNEvt )
 
 void PushButton::Toggle()
 {
-ImplCallEventListenersAndHandler( VCLEVENT_PUSHBUTTON_TOGGLE, NULL );
+ImplCallEventListenersAndHandler( VCLEVENT_PUSHBUTTON_TOGGLE, nullptr );
 }
 
 void PushButton::SetSymbol( SymbolType eSymbol )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 37251] Save as XLS corrupts formulas, causes 100% CPU load when reopen

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=37251

Chris Halls  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO
   Assignee|libreoffice-b...@lists.free |dave_uhrenho...@yahoo.com
   |desktop.org |

--- Comment #24 from Chris Halls  ---
Dave, good news, I can't reproduce this problem on Libreoffice master (will
become version 5.1).

Would you be able to test this on a nightly snapshot to see if the problem is
fixed for you?

You can find builds here:

 http://dev-builds.libreoffice.org/daily/master/

If not, you could wait for the 5.1 release and then test that when it is
available for your distro.

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


[Libreoffice-bugs] [Bug 89082] patch-testing, ignore

2015-09-10 Thread bugzilla-daemon
https://bugzilla-test.documentfoundation.org/show_bug.cgi?id=89082

Christian Lohmaier  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |lohma...@gmx.de
   |desktop.org |
   Severity|blocker |normal

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


[Libreoffice-bugs] [Bug 83917] FILESAVE: Export to DOCX Missing header if a section is created on the first line

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=83917

Xisco Faulí  changed:

   What|Removed |Added

 CC||aniste...@gmail.com

--- Comment #5 from Xisco Faulí  ---
I have retested it with 

Version: 5.0.1.2
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: es-ES (es_ES)

and I can no longer reproduce the missing header problem. However, the second
page problem is still present. I'll change the summary acordently

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


[Libreoffice-bugs] [Bug 88206] Change uses of cppu::WeakImplHelper* and cppu::ImplInheritanceHelper* to use variadic variants instead

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88206

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

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

unoxml: tdf#88206 replace cppu::WeakImplHelper* etc.

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

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


[Bug 88206] Change uses of cppu::WeakImplHelper* and cppu::ImplInheritanceHelper* to use variadic variants instead

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=88206

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

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

vbahelper: tdf#88206 replace cppu::WeakImplHelper* etc.

It will be available in 5.1.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.

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


Re: [Idea] Add files from SVG Test Suite Overview to get-bugzilla-attachments-by-mimetype (crashtest)

2015-09-10 Thread Xisco Faulí
Hello again,

Thanks for your interest Caolán. It's cold that those files has been added
to the crashtesting archive.
Here comes another idea: For some reasons, some users just upload the
documents to bugzilla compressed ( Ie:
https://bugs.documentfoundation.org/show_bug.cgi?id=82624)
Do you think it would be worth to improve the downloader script to download
those compressed files and uncompress the files that can be used for the
testing?

Regards

2015-08-28 12:23 GMT+02:00 Caolán McNamara :

> On Wed, 2015-08-26 at 16:59 +0200, Xisco Faulí wrote:
> > Hello,
> >
> > Reviewing some issues in bugzilla, I found that some of them make
> > mention of files in the SVG Test Suite Overview(1), so I thought it
> > could be a good a idea to include the files from the different test
> > suite editions into get-bugzilla-attachments-by-mimetype.
>
> What I've done is to take the suite archive and just add it manually to
> the crashtesting archive rather than hack the downloader, which is more
> for scraping documents out of bugzillas.
>
> C.
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 94010] UI: Horizontal srcoll Wheel backwards with RTL sheet and kde4 ui

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94010

--- Comment #2 from Binyamin Sagal  ---
I use a laptop with touchpad that scrolls Horizontaly when swiping with
2-fingers Horizontaly (the equvalent of having a Horizontal scroll wheel)

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


[Libreoffice-bugs] [Bug 81497] PRINTING: to PDF with Adobe Distiller or GS based PDF printer, EPS images not rendered to PS vector for PDF, instead print uses the preview of EPS image

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=81497

V Stuart Foote  changed:

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 94056] Editing

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94056

raal  changed:

   What|Removed |Added

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

--- Comment #1 from raal  ---
Hello,

Thank you for reporting the bug. Unfortunately without clear steps to reproduce
it, we cannot track down the origin of the problem. Please provide a clearer
set of step-by-step instructions on how to reproduce the problem.

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


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

2015-09-10 Thread Caolán McNamara
 sw/inc/fesh.hxx  |   13 ++-
 sw/source/core/access/accframebase.cxx   |2 
 sw/source/core/access/accmap.cxx |2 
 sw/source/core/access/accselectionhelper.cxx |   10 +-
 sw/source/core/frmedt/fefly1.cxx |   96 ++-
 sw/source/uibase/app/docst.cxx   |8 +-
 sw/source/uibase/ribbar/drawbase.cxx |2 
 sw/source/uibase/shells/basesh.cxx   |2 
 sw/source/uibase/shells/frmsh.cxx|8 +-
 sw/source/uibase/shells/grfsh.cxx|2 
 sw/source/uibase/wrtsh/wrtsh1.cxx|2 
 11 files changed, 66 insertions(+), 81 deletions(-)

New commits:
commit 4e6194fe8357efc5afa8d094e209ea94335b5923
Author: Caolán McNamara 
Date:   Thu Sep 10 13:49:32 2015 +0100

GetCurFrameFormat->GetSelectedFrameFormat

Change-Id: I2f1eb4567b6e073991d95dbcecdc79b24010f2c1

diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index 89ce3d6..317b2f8 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -391,7 +391,7 @@ public:
  - add output parameter  */
 bool IsFrmVertical(const bool bEnvironment, bool& bRightToLeft, bool& 
bVertL2R) const;
 
-SwFrameFormat* GetCurFrameFormat() const; ///< If frame then frame style, 
else 0.
+SwFrameFormat* GetSelectedFrameFormat() const; ///< If frame then frame 
style, else 0.
 void SetFrameFormat( SwFrameFormat *pFormat, bool bKeepOrient = false, 
Point* pDocPos = 0 ); ///< If frame then set frame style.
 
 // Get selected fly
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx
index 1f4f421..d814cfd 100644
--- a/sw/source/core/frmedt/fefly1.cxx
+++ b/sw/source/core/frmedt/fefly1.cxx
@@ -1132,7 +1132,7 @@ bool SwFEShell::ResetFlyFrmAttr( sal_uInt16 nWhich, const 
SfxItemSet* pSet )
 }
 
 // Returns frame-format if frame, otherwise 0
-SwFrameFormat* SwFEShell::GetCurFrameFormat() const
+SwFrameFormat* SwFEShell::GetSelectedFrameFormat() const
 {
 SwFrameFormat* pRet = 0;
 SwLayoutFrm *pFly = GetSelectedFlyFrm();
diff --git a/sw/source/uibase/app/docst.cxx b/sw/source/uibase/app/docst.cxx
index 9815b98..eb33d34 100644
--- a/sw/source/uibase/app/docst.cxx
+++ b/sw/source/uibase/app/docst.cxx
@@ -129,7 +129,7 @@ void  SwDocShell::StateStyleSheet(SfxItemSet& rSet, 
SwWrtShell* pSh)
  // so that this family is being showed
 if(pShell->IsFrmSelected())
 {
-SwFrameFormat* pFormat = pShell->GetCurFrameFormat();
+SwFrameFormat* pFormat = pShell->GetSelectedFrameFormat();
 if( pFormat )
 aName = pFormat->GetName();
 }
@@ -195,7 +195,7 @@ void  SwDocShell::StateStyleSheet(SfxItemSet& rSet, 
SwWrtShell* pSh)
 rSet.DisableItem( nWhich );
 else
 {
-SwFrameFormat* pFormat = pShell->GetCurFrameFormat();
+SwFrameFormat* pFormat = pShell->GetSelectedFrameFormat();
 if(pFormat && pShell->IsFrmSelected())
 {
 aName = pFormat->GetName();
@@ -429,7 +429,7 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq )
 break;
 case SFX_STYLE_FAMILY_FRAME:
 {
-SwFrameFormat* pFrm = 
m_pWrtShell->GetCurFrameFormat();
+SwFrameFormat* pFrm = 
m_pWrtShell->GetSelectedFrameFormat();
 if( pFrm )
 aParam = pFrm->GetName();
 }
@@ -1175,7 +1175,7 @@ sal_uInt16 SwDocShell::MakeByExample( const OUString 
, sal_uInt16 nFamily,
 SfxItemSet aSet(GetPool(), aFrameFormatSetRange );
 pCurrWrtShell->GetFlyFrmAttr( aSet );
 
-SwFrameFormat* pFFormat = pCurrWrtShell->GetCurFrameFormat();
+SwFrameFormat* pFFormat = 
pCurrWrtShell->GetSelectedFrameFormat();
 pFrm->SetDerivedFrom( pFFormat );
 
 pFrm->SetFormatAttr( aSet );
diff --git a/sw/source/uibase/ribbar/drawbase.cxx 
b/sw/source/uibase/ribbar/drawbase.cxx
index aea8dbe..90226cd 100644
--- a/sw/source/uibase/ribbar/drawbase.cxx
+++ b/sw/source/uibase/ribbar/drawbase.cxx
@@ -287,7 +287,7 @@ bool SwDrawBase::MouseButtonUp(const MouseEvent& rMEvt)
 aCol.Init(m_pWin->GetFrmColCount(), aCol.GetGutterWidth(), 
aCol.GetWishWidth());
 aSet.Put(aCol);
 // Template AutoUpdate
-SwFrameFormat* pFormat = m_pSh->GetCurFrameFormat();
+SwFrameFormat* pFormat = m_pSh->GetSelectedFrameFormat();
 if(pFormat && pFormat->IsAutoUpdateFormat())
 m_pSh->AutoUpdateFrame(pFormat, aSet);
 else
diff --git 

[Libreoffice-bugs] [Bug 94097] New: Make 'Print to File' button always visible in print dialog

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94097

Bug ID: 94097
   Summary: Make 'Print to File' button always visible in print
dialog
   Product: LibreOffice
   Version: Inherited From OOo
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Printing and PDF export
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: bu...@bubli.org,
libreoffice-ux-adv...@lists.freedesktop.org

If you open up the print dialog and click on the options tab's print to file
checkbox, the OK button while be swapped with a 'Print to File...' button. This
print to file option should always be visible, as many users wanting this
option will miss this useful option found in print dialogs in other apps (bug
75518).

The print to file/pdf option is visible in the default OS print dialogs in OSX,
Gnome, KDE, Windows, as well as in the print dialogs of apps word processors
from IBM Symphony, MS Office (they install a virtual printer), WPS, Calligra
(it uses the KDE print dialog), WordPerfect.

All these print dialogs can be seen here -
http://pad.documentfoundation.org/p/UX-PrintDialog

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


[Libreoffice-ux-advise] [Bug 94097] New: Make 'Print to File' button always visible in print dialog

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94097

Bug ID: 94097
   Summary: Make 'Print to File' button always visible in print
dialog
   Product: LibreOffice
   Version: Inherited From OOo
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Printing and PDF export
  Assignee: libreoffice-b...@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: bu...@bubli.org,
libreoffice-ux-advise@lists.freedesktop.org

If you open up the print dialog and click on the options tab's print to file
checkbox, the OK button while be swapped with a 'Print to File...' button. This
print to file option should always be visible, as many users wanting this
option will miss this useful option found in print dialogs in other apps (bug
75518).

The print to file/pdf option is visible in the default OS print dialogs in OSX,
Gnome, KDE, Windows, as well as in the print dialogs of apps word processors
from IBM Symphony, MS Office (they install a virtual printer), WPS, Calligra
(it uses the KDE print dialog), WordPerfect.

All these print dialogs can be seen here -
http://pad.documentfoundation.org/p/UX-PrintDialog

-- 
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
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


Re: Tinderbox failure, Linux-F19-x86_64@14-with-check, MASTER, last success: 2015-09-08 12:32:12

2015-09-10 Thread Stephan Bergmann

On 09/10/2015 12:11 PM, Eike Rathke wrote:

On Wednesday, 2015-09-09 07:17:47 +, 
stephan.bergmann.tinder...@googlemail.com wrote:


/home/tinderbox/master/sc/qa/unit/ucalc_formula.cxx:5599:41: error: elide 
construction of rtl::OUString with string constant argument in call of 
rtl::operator+ [loplugin:stringconstant]
 CPPUNIT_ASSERT_EQUAL( aPrefix + OUString("448"), aPrefix + 
m_pDoc->GetString( aPos));


That's funny, because I tried without the ctor first and it didn't
compile.. I guess the cppunit type deduction gets in the way there.


Yeah, that one is somewhat funny (aPrefix and m_pDoc->GetString(aPos) 
both being of type OUString, too):


*  OUString + OUString returns a OUStringConcat (at 
least in LIBO_INTERNAL_ONLY)


*  OUString + "literal" returns some OUStringConcat

*  CPPUNIT_ASSERT_EQUAL(a, b), somewhat unfortunately, requires a and b 
to be of the same type (and ultimately calls "a == b")


So CPPUNIT_ASSERT_EQUAL(OUString+OUString, OUString+OUString) happens to 
compile (and does the right thing, as OUString+OUString == 
OUString+OUString will use the implicit OUString(OUStringConcat) 
conversion ctor to end up as OUString == OUString).


But CPPUNIT_ASSERT_EQUAL(OUString+"literal", OUString+OUString) fails to 
compile due to two different types being passed to CPPUNIT_ASSERT_EQUAL.


(What fixes it and still works around the---somewhat unhelpful in this 
specific case, but often useful---loplugin::stringconstant warning, is 
 
"WaE: loplugin:stringconstant.")

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


[Libreoffice-bugs] [Bug 94091] New: Removing File > Printer Settings

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94091

Bug ID: 94091
   Summary: Removing File > Printer Settings
   Product: LibreOffice
   Version: Inherited From OOo
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: UI
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: bu...@bubli.org,
libreoffice-ux-adv...@lists.freedesktop.org

At last friday's design session, heiko, bubli and i were discussing the removal
of the File > Printer Settings menu item as it doesnt provide any customization
of print options that arent already in the Print dialog and in Tools > Options.
Kendy was also in agreement in yesterday's design meeting. So if anyone has
objections of this removal, please do let us know your reasonings.

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


[Libreoffice-ux-advise] [Bug 94091] New: Removing File > Printer Settings

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94091

Bug ID: 94091
   Summary: Removing File > Printer Settings
   Product: LibreOffice
   Version: Inherited From OOo
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: UI
  Assignee: libreoffice-b...@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: bu...@bubli.org,
libreoffice-ux-advise@lists.freedesktop.org

At last friday's design session, heiko, bubli and i were discussing the removal
of the File > Printer Settings menu item as it doesnt provide any customization
of print options that arent already in the Print dialog and in Tools > Options.
Kendy was also in agreement in yesterday's design meeting. So if anyone has
objections of this removal, please do let us know your reasonings.

-- 
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
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise


[Libreoffice-bugs] [Bug 94092] New: Option not saved

2015-09-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=94092

Bug ID: 94092
   Summary: Option not saved
   Product: LibreOffice
   Version: unspecified
  Hardware: x86 (IA32)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: usiffaguc-8...@yopmail.com

User-Agent:   Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174
Build Identifier: LibreOffice 4.4.5.2

The option "continue curve" in "outline option" of a diagram is not saved

Reproducible: Always

Steps to Reproduce:
1. Create a diagram (the 5th type of diagram for example) that gathers a few
data. Don't fill every box (leave blanks)
2. Edit the diagram and dubble clic on the curve
I am using the french GUI, but in english the labels should'nt be that
different :
3. Go to "Tools" > "Drawing tools" > "draw missing values" > select the 3rd
radiobutton
4. The curve has the right appearance (so far so good)
5. Save the document, exit and open it

Actual Results:  
6. Here is the bug : the curve doesn't have the right appearance (it has the
default one)
(personnaly, I have several (4) curves on a single diagram, but I didn't try
with a single curve)

Expected Results:  
There should be a curve without any break

[Information automatically included from LibreOffice]
Locale: fr
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes


Reset User Profile?No

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


  1   2   3   >