[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-1-0' - loleaflet/dist loleaflet/src

2016-05-26 Thread Henry Castro
 loleaflet/dist/toolbar/toolbar.js |   20 
 loleaflet/src/control/Styles.js   |   21 -
 loleaflet/src/control/Toolbar.js  |   14 ++
 3 files changed, 38 insertions(+), 17 deletions(-)

New commits:
commit f90dc1d6017daf982b7d99742adfaf85ecb3a46f
Author: Henry Castro 
Date:   Thu May 26 21:37:09 2016 -0400

loleaflet: bccu#1799 Apply Styles does not work in Presentation

(cherry picked from commit b1172c6b2463dc8c80f336edc0feadfe85fd3408)

diff --git a/loleaflet/dist/toolbar/toolbar.js 
b/loleaflet/dist/toolbar/toolbar.js
index 117a75f..3fb3da7 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -377,7 +377,7 @@ function onStyleSelect (e) {
map.applyStyle(style, 'CellStyles');
}
else if (map.getDocType() === 'presentation' || map.getDocType() === 
'drawing') {
-   map.applyStyle(style, 'Default');
+   map.applyLayout(style);
}
map.focus();
 }
@@ -718,21 +718,9 @@ map.on('updatetoolbarcommandvalues', function (e) {
styles = e.commandValues.CellStyles;
}
else if (map.getDocType() === 'presentation' || 
map.getDocType() === 'drawing') {
-   Object.keys(e.commandValues).forEach(function(style) {
-   switch (style) {
-   case 'graphics':
-   case 'table':
-   case 'cell':
-   case 'Commands':
-   break;
-
-   default:
-   if ( styles.length === 0 ) {
-   styles = 
e.commandValues[style];
-   }
-   break;
-   }
-   });
+   L.Styles.impressLayout.forEach(function(layout) {
+   data = data.concat({id: layout.id, text: 
layout.text});
+   }, this);
}
 
if (topStyles.length > 0) {
diff --git a/loleaflet/src/control/Styles.js b/loleaflet/src/control/Styles.js
index 124d652..0f396f4 100644
--- a/loleaflet/src/control/Styles.js
+++ b/loleaflet/src/control/Styles.js
@@ -297,5 +297,24 @@ L.Styles = {
'Hintergrund':'background',
'Hintergrundobjekte':'backgroundobjects',
'Notizen':'notes'
-   }
+   },
+
+   impressLayout : [
+   {id: 0, text: 'Title Slide'},
+   {id: 1, text: 'Title, Content'},
+   {id: 3, text: 'Title and 2 Content'},
+   {id: 19, text: 'Title Only'},
+   {id: 20, text: 'Blank Slide'},
+   {id: 32, text: 'Centered Text'},
+   {id: 12, text: 'Title, Content and 2 Content'},
+   {id: 15, text: 'Title, 2 Content and Content'},
+   {id: 16, text: 'Title, 2 Content over Content'},
+   {id: 14, text: 'Title, Content over Content'},
+   {id: 18, text: 'Title, 4 Content'},
+   {id: 34, text: 'Title, 6 Content'},
+   {id: 27, text: 'Vertical Title, Text, Chart'},
+   {id: 28, text: 'Vertical Title, Vertical Text'},
+   {id: 29, text: 'Title, Vertical Content'},
+   {id: 30, text: 'Title, 2 Vertical Content'}
+   ]
 };
diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js
index 9ebdd4e..aff5e3f 100644
--- a/loleaflet/src/control/Toolbar.js
+++ b/loleaflet/src/control/Toolbar.js
@@ -85,6 +85,20 @@ L.Map.include({
}
},
 
+   applyLayout: function (layout) {
+   if (!layout) {
+   this.fire('error', {cmd: 'setLayout', kind: 
'incorrectparam'});
+   return;
+   }
+   if (this._permission === 'edit') {
+   var msg = 'uno .uno:AssignLayout {' +
+   '"WhatPage":{"type":"unsigned short", 
"value": "' + this.getCurrentPartNumber() + '"},' +
+   '"WhatLayout":{"type":"unsigned short", 
"value": "' + layout + '"}' +
+   '}';
+   this._socket.sendMessage(msg);
+   }
+   },
+
sendUnoCommand: function (command, json) {
if (this._permission === 'edit') {
this._socket.sendMessage('uno ' + command + (json ? ' ' 
+ JSON.stringify(json) : ''));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org

[Libreoffice-commits] core.git: Branch 'feature/fixes22' - 2 commits - vcl/inc vcl/opengl vcl/Package_opengl.mk

2016-05-26 Thread Tomaž Vajngerl
 vcl/Package_opengl.mk |4 
 vcl/inc/opengl/program.hxx|   19 +++
 vcl/inc/openglgdiimpl.hxx |1 
 vcl/opengl/combinedFragmentShader.glsl|   45 +++
 vcl/opengl/combinedTextureFragmentShader.glsl |   64 +++
 vcl/opengl/combinedTextureVertexShader.glsl   |   32 +
 vcl/opengl/combinedVertexShader.glsl  |   47 
 vcl/opengl/gdiimpl.cxx|  148 +-
 vcl/opengl/program.cxx|   18 +++
 9 files changed, 329 insertions(+), 49 deletions(-)

New commits:
commit df85b5344ae48a1bddd7fa532d13f7155ac29fe4
Author: Tomaž Vajngerl 
Date:   Fri May 27 14:24:38 2016 +0900

tdf#100080 set unused shader attribs with values, fixes GL on AMD

Change-Id: If0abcfb664c3b71bb657b9a810d2d2a14fe5d9b4

diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx
index da0fe69..df7b9e9 100644
--- a/vcl/inc/openglgdiimpl.hxx
+++ b/vcl/inc/openglgdiimpl.hxx
@@ -119,7 +119,6 @@ public:
 bool UseInvert(SalInvert nFlags);
 
 void DrawPoint( long nX, long nY );
-void DrawLine( double nX1, double nY1, double nX2, double nY2 );
 void DrawConvexPolygon( sal_uInt32 nPoints, const SalPoint* pPtAry, bool 
blockAA = false );
 void DrawConvexPolygon( const tools::Polygon& rPolygon, bool blockAA = 
false );
 void DrawTrapezoid( const basegfx::B2DTrapezoid& trapezoid, bool blockAA = 
false );
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 40df037..9292b59 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -613,25 +613,13 @@ void OpenGLSalGraphicsImpl::DrawPoint( long nX, long nY )
 GLfloat(nX), GLfloat(nY)
 };
 
+std::vector aExtrusion(3, 0);
+mpProgram->SetExtrusionVectors(aExtrusion.data());
 ApplyProgramMatrices(0.5f);
 mpProgram->DrawArrays(GL_POINTS, pPoint);
 CHECK_GL_ERROR();
 }
 
-void OpenGLSalGraphicsImpl::DrawLine( double nX1, double nY1, double nX2, 
double nY2 )
-{
-OpenGLZone aZone;
-
-std::vector pPoint {
-GLfloat(nX1), GLfloat(nY1),
-GLfloat(nX2), GLfloat(nY2)
-};
-
-ApplyProgramMatrices(0.5f);
-mpProgram->DrawArrays(GL_LINES, pPoint);
-CHECK_GL_ERROR();
-}
-
 namespace
 {
 
@@ -959,6 +947,8 @@ void OpenGLSalGraphicsImpl::DrawConvexPolygon( sal_uInt32 
nPoints, const SalPoin
 }
 
 ApplyProgramMatrices();
+std::vector aExtrusion(nPoints * 3, 0);
+mpProgram->SetExtrusionVectors(aExtrusion.data());
 mpProgram->DrawArrays(GL_TRIANGLE_FAN, aVertices);
 CHECK_GL_ERROR();
 
@@ -1002,6 +992,8 @@ void OpenGLSalGraphicsImpl::DrawConvexPolygon( const 
tools::Polygon& rPolygon, b
 }
 
 ApplyProgramMatrices();
+std::vector aExtrusion(nPoints * 3, 0);
+mpProgram->SetExtrusionVectors(aExtrusion.data());
 mpProgram->DrawArrays(GL_TRIANGLE_FAN, aVertices);
 CHECK_GL_ERROR();
 
@@ -1051,6 +1043,8 @@ void OpenGLSalGraphicsImpl::DrawTrapezoid( const 
basegfx::B2DTrapezoid& trapezoi
 return;
 }
 
+std::vector aExtrusion(nPoints * 3, 0);
+mpProgram->SetExtrusionVectors(aExtrusion.data());
 ApplyProgramMatrices();
 mpProgram->DrawArrays(GL_TRIANGLE_FAN, aVertices);
 CHECK_GL_ERROR();
@@ -1169,19 +1163,16 @@ void OpenGLSalGraphicsImpl::DrawRegionBand( const 
RegionBand& rRegion )
 CHECK_GL_ERROR();
 }
 
-void OpenGLSalGraphicsImpl::DrawTextureRect( OpenGLTexture& rTexture, const 
SalTwoRect& rPosAry, bool bInverted )
+void OpenGLSalGraphicsImpl::DrawTextureRect( OpenGLTexture& /*rTexture*/, 
const SalTwoRect& rPosAry, bool /*bInverted*/ )
 {
 OpenGLZone aZone;
 
 SAL_INFO("vcl.opengl", "draw texture rect");
 
-GLfloat aTexCoord[8];
-rTexture.GetCoord( aTexCoord, rPosAry, bInverted );
-mpProgram->SetTextureCoord( aTexCoord );
 DrawRect( rPosAry.mnDestX, rPosAry.mnDestY, rPosAry.mnDestWidth, 
rPosAry.mnDestHeight );
 }
 
-void OpenGLSalGraphicsImpl::DrawTexture( OpenGLTexture& rTexture, const 
SalTwoRect& pPosAry, bool bInverted )
+void OpenGLSalGraphicsImpl::DrawTexture( OpenGLTexture& rTexture, const 
SalTwoRect& rPosAry, bool bInverted )
 {
 OpenGLZone aZone;
 
@@ -1192,7 +1183,14 @@ void OpenGLSalGraphicsImpl::DrawTexture( OpenGLTexture& 
rTexture, const SalTwoRe
 mpProgram->SetShaderType(TextureShaderType::Normal);
 mpProgram->SetIdentityTransform("transform");
 mpProgram->SetTexture("texture", rTexture);
-DrawTextureRect( rTexture, pPosAry, bInverted );
+
+GLfloat aTexCoord[8];
+rTexture.GetCoord(aTexCoord, rPosAry, bInverted);
+mpProgram->SetTextureCoord(aTexCoord);
+mpProgram->SetMaskCoord(aTexCoord);
+mpProgram->SetAlphaCoord(aTexCoord);
+
+DrawTextureRect( rTexture, rPosAry, bInverted );
 mpProgram->Clean();
 }
 
@@ -1405,6 +1403,13 @@ void OpenGLSalGraphicsImpl::DrawAlphaTexture( 
OpenGLTexture& rTexture, const Sal
 

[Libreoffice-bugs] [Bug 93529] Meta: VCL/OpenGL tracker bug for 5.0+

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=93529

Tomaz Vajngerl  changed:

   What|Removed |Added

 Depends on||100080


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=100080
[Bug 100080] Window don't have any content when OpenGL is enabled on AMD card
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100080] Window don' t have any content when OpenGL is enabled on AMD card

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100080

Tomaz Vajngerl  changed:

   What|Removed |Added

 Blocks||93529


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=93529
[Bug 93529] Meta: VCL/OpenGL tracker bug for 5.0+
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100080] Window don' t have any content when OpenGL is enabled on AMD card

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100080

Tomaz Vajngerl  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

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


[Libreoffice-bugs] [Bug 100080] New: Window don' t have any content when OpenGL is enabled on AMD card

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100080

Bug ID: 100080
   Summary: Window don't have any content when OpenGL is enabled
on AMD card
   Product: LibreOffice
   Version: 5.1.0.3 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: graphics stack
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: qui...@gmail.com

There is no content drawn to LibreOffice windows when OpenGL is enabled. This
happens on AMD cards only, Intel cards draw the content.

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


[Libreoffice-bugs] [Bug 99134] Background in text boxes is not refreshing

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99134

--- Comment #12 from Elmar  ---
The title may be misleading - this is not a problem with text boxes, but with
dropdowns. specifically, the style, font and font size dropdowns. But those
that allow one to type into the dropdown text control.
Somehow it shows the previous value together with the newly selected value.
It is almost as if the text is being take from two places - could it be that
that the contents in the toolbar is stored in a different place to the sidebar,
but when displaying it is showing both?

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


[Libreoffice-bugs] [Bug 99790] Something seriously wrong with this build

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99790

Elmar  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Elmar  ---
It seems this may have been a temporary problem.

Situation has been "normal".

Currently using:
Version: 5.2.0.0.alpha1+
Build ID: 366de0553beb0f545b3cb0a74831ae120f01c7d6
CPU Threads: 4; OS Version: Linux 3.19; UI Render: default; 
TinderBox: Linux-rpm_deb-x86@71-TDF, Branch:master, Time: 2016-05-23_00:25:58
Locale: en-ZA (en_GB.UTF-8)

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


[Libreoffice-bugs] [Bug 99975] Problem Concerning Undo Manager

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99975

--- Comment #4 from Julien Nabet  ---
The patch seems wrong so I abandonned it.
Certainly someone else will help here.

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


[Libreoffice-bugs] [Bug 100005] Paragraph option from Right Click in a cell causes crash of Writer

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=15

--- Comment #8 from raal  ---
Also please install latest version and test with this version:
http://www.libreoffice.org/download/libreoffice-fresh/

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


[Libreoffice-bugs] [Bug 100005] Paragraph option from Right Click in a cell causes crash of Writer

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=15

raal  changed:

   What|Removed |Added

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

--- Comment #7 from raal  ---
no repro  5.1.3.2 (x64), win7
File with empty table
right click on cell
Paragraph
No crash

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


[Libreoffice-bugs] [Bug 99840] 'Mouse pointer as pen' actual trail saved in Presentation

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99840

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #4 from raal  ---
I can not confirm with Version: 5.2.0.0.alpha1+
Build ID: fa9416906e615f5f19ad8524176d2ed693662769
CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2016-05-24_00:05:55

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


[Libreoffice-bugs] [Bug 100077] filesave

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100077

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #1 from raal  ---
I can not confirm with Verze: 5.1.2.2
ID sestavení: 1:5.1.2-0ubuntu1
Vlákna CPU: 4; Verze OS: Linux 4.4; Vykreslování UI: výchozí; 
when I change the file and click icon save, then file is saved.

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


[Libreoffice-bugs] [Bug 100053] FILEOPEN: Opening .doc from remote computer in LAN triggers read-only mode

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100053

raal  changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #3 from raal  ---
Hello, what's your OS and remote server's OS? Could you test fresh version?
http://www.libreoffice.org/download/libreoffice-fresh/

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


[Libreoffice-bugs] [Bug 100079] FILEOPEN of .docx file drive CPU usage, almost freezes Writer

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100079

raal  changed:

   What|Removed |Added

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

--- Comment #1 from raal  ---
I can confirm with Version: 5.2.0.0.alpha1+
Build ID: fa9416906e615f5f19ad8524176d2ed693662769
CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2016-05-24_00:05:55
File works in word2010.

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


[Libreoffice-bugs] [Bug 74214] VIEWING: Replacements in AutoCorrect Options Dialogue are Displayed not Completely

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=74214

Jean-Baptiste Faure  changed:

   What|Removed |Added

   Keywords|possibleRegression  |regression
 CC||jbfa...@libreoffice.org

--- Comment #3 from Jean-Baptiste Faure  ---
regression keyword instead of possibleRegression.

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


[Libreoffice-bugs] [Bug 100053] FILEOPEN: Opening .doc from remote computer in LAN triggers read-only mode

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100053

Adolfo Jayme  changed:

   What|Removed |Added

Summary|fileopen|FILEOPEN: Opening .doc from
   ||remote computer in LAN
   ||triggers read-only mode

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


[Libreoffice-bugs] [Bug 99130] OpenGL Antialiasing of curve filled becomes polygon

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99130

Adolfo Jayme  changed:

   What|Removed |Added

 Whiteboard|target:5.1.4|target:5.2.0 target:5.1.4

--- Comment #7 from Adolfo Jayme  ---
For reference, this is the master commit:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=37ed508022e0be8b793caa4748cfee634c1c8a9c

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


[Libreoffice-bugs] [Bug 73977] Other: Increase available footnote area to support traditional Arabic, Urdu, and Persian typesetting

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=73977

--- Comment #6 from Ishayahu  ---
Created attachment 125317
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125317=edit
example in docx. It looks like here it is ok

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


[Libreoffice-bugs] [Bug 73977] Other: Increase available footnote area to support traditional Arabic, Urdu, and Persian typesetting

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=73977

--- Comment #5 from Ishayahu  ---
Created attachment 125316
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125316=edit
example of a problem

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


[Libreoffice-bugs] [Bug 100079] New: FILEOPEN of .docx file drive CPU usage, almost freezes Writer

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100079

Bug ID: 100079
   Summary: FILEOPEN of .docx file drive CPU usage, almost freezes
Writer
   Product: LibreOffice
   Version: 5.0.4.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: u...@flanagan-consulting.com

Created attachment 125315
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125315=edit
.docx file that pushes CPU usage, nearly kills Writer

The submitted file is from the NSF web site (public).  It is 4 pages of text
with some decoration, but the file size is 5 MB.  On opening this file, the
initial load takes minutes with CPU usage near 50% (90%+ on one core).  All
Writer functions stop until this file finishes displaying.
System Monitor (openSuse 42.1, 64-bit) shows that "X" is the top activity by
CPU percentage (24%, or one thread of a dual-core CPU).  soffice.bin takes
almost as much, and produces a zombie process when I try to kill LibreOffice.
Tried to delete the decorations (possibly in the header), but the system was so
slow that I couldn't.
Managed to save this file as .odt and .doc but upon opening those formats found
the same problem.

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


[Libreoffice-ux-advise] [Bug 83830] SIDEBAR: Proposal for the creation of a page tab

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=83830

Susobhan Ghosh  changed:

   What|Removed |Added

   Assignee|kris.kr...@gmail.com|susobhan...@gmail.com

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


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

2016-05-26 Thread Takeshi Abe
 starmath/inc/visitors.hxx|   10 +--
 starmath/source/visitors.cxx |  120 +--
 2 files changed, 65 insertions(+), 65 deletions(-)

New commits:
commit 79e247d657ec400ce851c8b14500448113ee6013
Author: Takeshi Abe 
Date:   Thu May 26 14:23:16 2016 +0900

starmath: Prefix members of SmSetSelectionVisitor

Change-Id: I3a5d195d65fe3a9b7b7859e3ad4c1d051628f44d
Reviewed-on: https://gerrit.libreoffice.org/25491
Tested-by: Jenkins 
Reviewed-by: Takeshi Abe 

diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx
index bbb2ff3..22816b6 100644
--- a/starmath/inc/visitors.hxx
+++ b/starmath/inc/visitors.hxx
@@ -255,15 +255,15 @@ private:
 void DefaultVisit( SmNode* pNode ) override;
 void VisitCompositionNode( SmNode* pNode );
 /** Caret position where the selection starts */
-SmCaretPos  StartPos;
+SmCaretPos maStartPos;
 /** Caret position where the selection ends */
-SmCaretPos  EndPos;
+SmCaretPos maEndPos;
 /** The current state of this visitor
- * This property changes when the visitor meets either StartPos
- * or EndPos. This means that anything visited in between will be
+ * This property changes when the visitor meets either maStartPos
+ * or maEndPos. This means that anything visited in between will be
  * selected.
  */
-bool IsSelecting;
+bool mbSelecting;
 };
 
 
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index f9868db..62040c4 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -551,34 +551,34 @@ void SmDrawingVisitor::DrawChildren( SmNode* pNode )
 
 // SmSetSelectionVisitor
 
-SmSetSelectionVisitor::SmSetSelectionVisitor( SmCaretPos startPos, SmCaretPos 
endPos, SmNode* pTree) {
-StartPos= startPos;
-EndPos  = endPos;
-IsSelecting = false;
-
+SmSetSelectionVisitor::SmSetSelectionVisitor( SmCaretPos startPos, SmCaretPos 
endPos, SmNode* pTree)
+: maStartPos(startPos)
+, maEndPos(endPos)
+, mbSelecting(false)
+{
 //Assume that pTree is a SmTableNode
 SAL_WARN_IF(pTree->GetType() != NTABLE, "starmath", "pTree should be a 
SmTableNode!");
 //Visit root node, this is special as this node cannot be selected, but 
its children can!
 if(pTree->GetType() == NTABLE){
-//Change state if StartPos is in front of this node
-if( StartPos.pSelectedNode == pTree && StartPos.Index == 0 )
-IsSelecting = !IsSelecting;
-//Change state if EndPos is in front of this node
-if( EndPos.pSelectedNode == pTree && EndPos.Index == 0 )
-IsSelecting = !IsSelecting;
-SAL_WARN_IF(IsSelecting, "starmath", "Caret positions needed to set 
IsSelecting about, shouldn't be possible!");
+//Change state if maStartPos is in front of this node
+if( maStartPos.pSelectedNode == pTree && maStartPos.Index == 0 )
+mbSelecting = !mbSelecting;
+//Change state if maEndPos is in front of this node
+if( maEndPos.pSelectedNode == pTree && maEndPos.Index == 0 )
+mbSelecting = !mbSelecting;
+SAL_WARN_IF(mbSelecting, "starmath", "Caret positions needed to set 
mbSelecting about, shouldn't be possible!");
 
 //Visit lines
 SmNodeIterator it( pTree );
 while( it.Next( ) ) {
 it->Accept( this );
 //If we started a selection in this line and it haven't ended, we 
do that now!
-if(IsSelecting) {
-IsSelecting = false;
+if(mbSelecting) {
+mbSelecting = false;
 SetSelectedOnAll(it.Current());
-//Set StartPos and EndPos to invalid positions, this ensures 
that an unused
+//Set maStartPos and maEndPos to invalid positions, this 
ensures that an unused
 //start or end (because we forced end above), doesn't start a 
new selection.
-StartPos = EndPos = SmCaretPos();
+maStartPos = maEndPos = SmCaretPos();
 }
 }
 //Check if pTree isn't selected
@@ -600,26 +600,26 @@ void SmSetSelectionVisitor::SetSelectedOnAll( SmNode* 
pSubTree, bool IsSelected
 }
 
 void SmSetSelectionVisitor::DefaultVisit( SmNode* pNode ) {
-//Change state if StartPos is in front of this node
-if( StartPos.pSelectedNode == pNode && StartPos.Index == 0 )
-IsSelecting = !IsSelecting;
-//Change state if EndPos is in front of this node
-if( EndPos.pSelectedNode == pNode && EndPos.Index == 0 )
-IsSelecting = !IsSelecting;
+//Change state if maStartPos is in front of this node
+if( maStartPos.pSelectedNode == pNode && maStartPos.Index == 0 )
+mbSelecting = !mbSelecting;
+//Change state if maEndPos is in front of this node
+if( maEndPos.pSelectedNode == pNode && maEndPos.Index == 0 )
+

[Libreoffice-commits] online.git: loleaflet/dist loleaflet/src

2016-05-26 Thread Henry Castro
 loleaflet/dist/toolbar/toolbar.js |   20 
 loleaflet/src/control/Styles.js   |   21 -
 loleaflet/src/control/Toolbar.js  |   14 ++
 3 files changed, 38 insertions(+), 17 deletions(-)

New commits:
commit b1172c6b2463dc8c80f336edc0feadfe85fd3408
Author: Henry Castro 
Date:   Thu May 26 21:37:09 2016 -0400

loleaflet: bccu#1799 Apply Styles does not work in Presentation

diff --git a/loleaflet/dist/toolbar/toolbar.js 
b/loleaflet/dist/toolbar/toolbar.js
index 117a75f..3fb3da7 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -377,7 +377,7 @@ function onStyleSelect (e) {
map.applyStyle(style, 'CellStyles');
}
else if (map.getDocType() === 'presentation' || map.getDocType() === 
'drawing') {
-   map.applyStyle(style, 'Default');
+   map.applyLayout(style);
}
map.focus();
 }
@@ -718,21 +718,9 @@ map.on('updatetoolbarcommandvalues', function (e) {
styles = e.commandValues.CellStyles;
}
else if (map.getDocType() === 'presentation' || 
map.getDocType() === 'drawing') {
-   Object.keys(e.commandValues).forEach(function(style) {
-   switch (style) {
-   case 'graphics':
-   case 'table':
-   case 'cell':
-   case 'Commands':
-   break;
-
-   default:
-   if ( styles.length === 0 ) {
-   styles = 
e.commandValues[style];
-   }
-   break;
-   }
-   });
+   L.Styles.impressLayout.forEach(function(layout) {
+   data = data.concat({id: layout.id, text: 
layout.text});
+   }, this);
}
 
if (topStyles.length > 0) {
diff --git a/loleaflet/src/control/Styles.js b/loleaflet/src/control/Styles.js
index 124d652..0f396f4 100644
--- a/loleaflet/src/control/Styles.js
+++ b/loleaflet/src/control/Styles.js
@@ -297,5 +297,24 @@ L.Styles = {
'Hintergrund':'background',
'Hintergrundobjekte':'backgroundobjects',
'Notizen':'notes'
-   }
+   },
+
+   impressLayout : [
+   {id: 0, text: 'Title Slide'},
+   {id: 1, text: 'Title, Content'},
+   {id: 3, text: 'Title and 2 Content'},
+   {id: 19, text: 'Title Only'},
+   {id: 20, text: 'Blank Slide'},
+   {id: 32, text: 'Centered Text'},
+   {id: 12, text: 'Title, Content and 2 Content'},
+   {id: 15, text: 'Title, 2 Content and Content'},
+   {id: 16, text: 'Title, 2 Content over Content'},
+   {id: 14, text: 'Title, Content over Content'},
+   {id: 18, text: 'Title, 4 Content'},
+   {id: 34, text: 'Title, 6 Content'},
+   {id: 27, text: 'Vertical Title, Text, Chart'},
+   {id: 28, text: 'Vertical Title, Vertical Text'},
+   {id: 29, text: 'Title, Vertical Content'},
+   {id: 30, text: 'Title, 2 Vertical Content'}
+   ]
 };
diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js
index 9ebdd4e..aff5e3f 100644
--- a/loleaflet/src/control/Toolbar.js
+++ b/loleaflet/src/control/Toolbar.js
@@ -85,6 +85,20 @@ L.Map.include({
}
},
 
+   applyLayout: function (layout) {
+   if (!layout) {
+   this.fire('error', {cmd: 'setLayout', kind: 
'incorrectparam'});
+   return;
+   }
+   if (this._permission === 'edit') {
+   var msg = 'uno .uno:AssignLayout {' +
+   '"WhatPage":{"type":"unsigned short", 
"value": "' + this.getCurrentPartNumber() + '"},' +
+   '"WhatLayout":{"type":"unsigned short", 
"value": "' + layout + '"}' +
+   '}';
+   this._socket.sendMessage(msg);
+   }
+   },
+
sendUnoCommand: function (command, json) {
if (this._permission === 'edit') {
this._socket.sendMessage('uno ' + command + (json ? ' ' 
+ JSON.stringify(json) : ''));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100076] Computer Crash after selected marking part of document with right mouse click

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100076

Aron Budea  changed:

   What|Removed |Added

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

--- Comment #1 from Aron Budea  ---
Can you share details about the issue you're facing?
Which LibreOffice version/operating system are you using?
What are the exact steps you take before the crash?
Does the crash happen every single time, or only sometimes?

Note that while there are a number of bugs that can crash LibreOffice itself, a
computer crash is extremely rare, therefore I'd suggest looking for OS and
driver updates first.

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


[Libreoffice-bugs] [Bug 84704] SIDEBAR: Slow 1-pixel scrollbar scrolling when clicking in empty space or arrow buttons

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=84704

Terrence Enger  changed:

   What|Removed |Added

Version|5.2.0.0.alpha1  |4.1.6.2 release

--- Comment #11 from Terrence Enger  ---
Setting version back to 4.1.6 2 release.

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


[Libreoffice-bugs] [Bug 73977] Other: Increase available footnote area to support traditional Arabic, Urdu, and Persian typesetting

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=73977

Bartosz Kosiorek  changed:

   What|Removed |Added

Version|5.0.6.2 release |5.2.0.0.alpha1

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


[Libreoffice-bugs] [Bug 99753] text content from other cells is capitalised

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99753

--- Comment #16 from Aron Budea  ---
To be precise about what I mean about reproducible/not reproducible. In both
cases BAR/BAZ appear capitalized in the Data sheet initially, but:

-in 5.1.3.2 they remain capitalized after editing them as described in comment
14,
-in 5.0.5.2 they won't be capitalized anymore after such edits.

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


[Libreoffice-bugs] [Bug 99519] Impress Crashes When Animated GIF added to presentation

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99519

Aron Budea  changed:

   What|Removed |Added

   Keywords|regression  |
 Status|UNCONFIRMED |NEW
 CC||ba...@caesar.elte.hu
  Component|Impress |graphics stack
Version|5.1.1.3 release |Inherited From OOo
 Ever confirmed|0   |1

--- Comment #7 from Aron Budea  ---
I could reproduce this in LO 5.1.3.2/Windows 7, and with earlier ones as well,
back to 3.3. Also with master build.

When the image is inserted, the memory consumed by soffice.bin rapidly starts
to grow, on my machine the error screen attached in Comment 5 appears in less
than 30 seconds at ~1.5 GB memory usage.
In the early LO versions the growing stops at ~1.3-1.4 GBs, the animation plays
for a bit, and then disappears.

I'd say the high resource consumption with this particular gif is not a
regression, and can also be observed in Writer => adjusting component to
graphics stack.

Just noting that trying to reproduce it crashed my Ubuntu VM (with a modest 2
GB memory limit), does that count as reproducible? :)
Buovjaga, what's the resource usage in your system after inserting the image?

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


[Libreoffice-bugs] [Bug 54409] AutoCorrect not correcting word next to smart/ curved quote-mark (single or double)

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=54409

--- Comment #10 from Tom Colley  ---
It's 4 years since I first reported this bug. I solved the issue in my work
practice by using an operating-system-wide autocorrect software. I chose
Autokey for this purpose. I notice that this type of software provides two
important functions which may render autocorrection in individual software
redundant.

a) It allows text auto-correction across ALL software on that installation of
ubuntu/linux. So the same autocorrection works on text editors, word
processors, web browser forms, etc.
b) The personalised autocorrect data from one installation can be copied and/or
synchronised with other installations, allowing one set of autocorrect data to
be applied and updated across multiple computers. This data is also easily
carried beyond the life of an installation, becoming part of a user's personal
tools.

I suspect this will become (is becoming) the direction for the future. Given
the lack of resources for autocorrect fixes in LibreOffice, perhaps the LO team
might consider formalising dependence on such tools as Autokey, and invest some
effort in their quality and integration with LO.

I notice that Autokey has its own bugs, which I work around by a simple quick
restart. So it (and its equivalents) would benefit from such consolidation of
resources.

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


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

2016-05-26 Thread Zdeněk Crhonek
 sc/qa/unit/data/functions/fods/datedif.fods | 2646 
 1 file changed, 2646 insertions(+)

New commits:
commit e10a4c1cc9f8b2033997c7f032255071aafab9c9
Author: Zdeněk Crhonek 
Date:   Thu May 26 16:38:54 2016 +0200

add DATEDIF test case

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

diff --git a/sc/qa/unit/data/functions/fods/datedif.fods 
b/sc/qa/unit/data/functions/fods/datedif.fods
new file mode 100644
index 000..9f13e96
--- /dev/null
+++ b/sc/qa/unit/data/functions/fods/datedif.fods
@@ -0,0 +1,2646 @@
+
+
+http://www.w3.org/1999/xlink; 
xmlns:dc="http://purl.org/dc/elements/1.1/; 
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" 
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" 
xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" 
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" 
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" 
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" 
xmlns:math="http://www.w3.org/1998/Math/MathML; 
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:scr
 ipt="urn:oasis:names:tc:opendocument:xmlns:script:1.0" 
xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" 
xmlns:ooo="http://openoffice.org/2004/office; 
xmlns:ooow="http://openoffice.org/2004/writer; 
xmlns:oooc="http://openoffice.org/2004/calc; 
xmlns:dom="http://www.w3.org/2001/xml-events; 
xmlns:xforms="http://www.w3.org/2002/xforms; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xmlns:rpt="http://openoffice.org/2005/report; 
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" 
xmlns:xhtml="http://www.w3.org/1999/xhtml; 
xmlns:grddl="http://www.w3.org/2003/g/data-view#; 
xmlns:tableooo="http://openoffice.org/2009/table; 
xmlns:drawooo="http://openoffice.org/2010/draw; 
xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
 
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
 xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" 
xmlns:form
 x="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" 
xmlns:css3t="http://www.w3.org/TR/css3-text/; office:version="1.2" 
office:mimetype="application/vnd.oasis.opendocument.spreadsheet">
+ 
2016-05-26T16:38:23.158699521P0D1LibreOfficeDev/5.2.0.0.alpha1$Linux_X86_64
 
LibreOffice_project/fa9416906e615f5f19ad8524176d2ed693662769
+ 
+  
+   0
+   0
+   38680
+   51674
+   
+
+ view1
+ 
+  
+   1
+   8
+   0
+   0
+   0
+   0
+   2
+   0
+   0
+   0
+   0
+   0
+   100
+   60
+   true
+  
+  
+   5
+   85
+   0
+   0
+   0
+   0
+   2
+   0
+   0
+   0
+   82
+   0
+   100
+   60
+   true
+  
+ 
+ Sheet1
+ 1241
+ 0
+ 100
+ 60
+ false
+ true
+ true
+ true
+ 12632256
+ true
+ true
+ true
+ true
+ false
+ false
+ false
+ 1270
+ 1270
+ 1
+ 1
+ true
+
+   
+  
+  
+   7
+   false
+   false
+   true
+   true
+   false
+   false
+   false
+   1270
+   1270
+   true
+   true
+   true
+   true
+   true
+   false
+   12632256
+   false
+   Lexmark-E352dn
+   
+
+ cs
+ CZ
+ 
+ 
+ 
+
+
+ en
+ US
+ 
+ 
+ 
+
+   
+   true
+   true
+   3
+   1
+   true
+   1
+   true
+   jQH+/0xleG1hcmstRTM1MmRuQ1VQUzpMZXhtYXJrLUUzNTJkbgAWAAMAswAEAAhSAAAEdAAASm9iRGF0YSAxCnByaW50ZXI9TGV4bWFyay1FMzUyZG4Kb3JpZW50YXRpb249UG9ydHJhaXQKY29waWVzPTEKY29sbGF0ZT1mYWxzZQptYXJnaW5kYWp1c3RtZW50PTAsMCwwLDAKY29sb3JkZXB0aD0yNApwc2xldmVsPTAKcGRmZGV2aWNlPTEKY29sb3JkZXZpY2U9MApQUERDb250ZXhEYXRhClBhZ2VTaXplOkE0AAASAENPTVBBVF9EVVBMRVhfTU9ERQoARFVQTEVYX09GRg==
+   false
+   0
+  
+ 
+ 
+  
+   http://openoffice.org/2004/office; 
xmlns:xlink="http://www.w3.org/1999/xlink;>
+
+   
+  
+ 
+ 
+  
+  
+  
+  
+  
+ 
+ 
+  
+   
+   
+  
+  
+   
+  
+  
+   
+
+   Kč
+  
+  
+   
+   -
+   
+
+   Kč
+   
+  
+  
+   £
+   
+  
+  
+   -
+   £
+   
+   
+  
+  
+   £
+   
+  
+  
+   -
+   £
+   
+   
+  
+  
+   £
+   
+  
+  
+   
+   -
+   £
+   
+   
+  
+  
+   £
+   
+  
+  
+   
+   -
+   £
+   
+   
+  
+  
+   £
+   
+  
+  
+   
+   -
+   £
+   
+   
+  
+  
+   
+
+  
+  
+   (
+   
+   )
+   
+  
+  
+   
+
+  
+  
+   (
+   
+   )
+   
+  
+  
+   £
+
+   
+  
+  
+   -
+   £
+
+   
+   
+  
+  
+   £
+

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

2016-05-26 Thread Zdeněk Crhonek
 sc/qa/unit/data/functions/fods/date.fods | 1315 +++
 1 file changed, 1315 insertions(+)

New commits:
commit a378dc77a57cb3a8b33f4687355e6e10ddda7cc9
Author: Zdeněk Crhonek 
Date:   Thu May 26 15:48:15 2016 +0200

add DATE test case

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

diff --git a/sc/qa/unit/data/functions/fods/date.fods 
b/sc/qa/unit/data/functions/fods/date.fods
new file mode 100644
index 000..b8f7297
--- /dev/null
+++ b/sc/qa/unit/data/functions/fods/date.fods
@@ -0,0 +1,1315 @@
+
+
+http://www.w3.org/1999/xlink; 
xmlns:dc="http://purl.org/dc/elements/1.1/; 
xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" 
xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" 
xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0" 
xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" 
xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" 
xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" 
xmlns:math="http://www.w3.org/1998/Math/MathML; 
xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:scr
 ipt="urn:oasis:names:tc:opendocument:xmlns:script:1.0" 
xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" 
xmlns:ooo="http://openoffice.org/2004/office; 
xmlns:ooow="http://openoffice.org/2004/writer; 
xmlns:oooc="http://openoffice.org/2004/calc; 
xmlns:dom="http://www.w3.org/2001/xml-events; 
xmlns:xforms="http://www.w3.org/2002/xforms; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xmlns:rpt="http://openoffice.org/2005/report; 
xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" 
xmlns:xhtml="http://www.w3.org/1999/xhtml; 
xmlns:grddl="http://www.w3.org/2003/g/data-view#; 
xmlns:tableooo="http://openoffice.org/2009/table; 
xmlns:drawooo="http://openoffice.org/2010/draw; 
xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0"
 
xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0"
 xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" 
xmlns:form
 x="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" 
xmlns:css3t="http://www.w3.org/TR/css3-text/; office:version="1.2" 
office:mimetype="application/vnd.oasis.opendocument.spreadsheet">
+ 
2016-05-26T15:42:48.977846871P0D1LibreOfficeDev/5.2.0.0.alpha1$Linux_X86_64
 
LibreOffice_project/fa9416906e615f5f19ad8524176d2ed693662769
+ 
+  
+   0
+   0
+   22009
+   4261
+   
+
+ view1
+ 
+  
+   2
+   12
+   0
+   0
+   0
+   0
+   2
+   0
+   0
+   0
+   0
+   0
+   100
+   60
+   true
+  
+  
+   3
+   20
+   0
+   0
+   0
+   0
+   2
+   0
+   0
+   0
+   0
+   0
+   100
+   60
+   true
+  
+ 
+ Sheet1
+ 1241
+ 0
+ 100
+ 60
+ false
+ true
+ true
+ true
+ 12632256
+ true
+ true
+ true
+ true
+ false
+ false
+ false
+ 1270
+ 1270
+ 1
+ 1
+ true
+
+   
+  
+  
+   7
+   false
+   false
+   true
+   true
+   false
+   false
+   false
+   1270
+   1270
+   true
+   true
+   true
+   true
+   true
+   false
+   12632256
+   false
+   Lexmark-E352dn
+   
+
+ cs
+ CZ
+ 
+ 
+ 
+
+
+ en
+ US
+ 
+ 
+ 
+
+   
+   true
+   true
+   3
+   1
+   true
+   1
+   true
+   jQH+/0xleG1hcmstRTM1MmRuQ1VQUzpMZXhtYXJrLUUzNTJkbgAWAAMAswAEAAhSAAAEdAAASm9iRGF0YSAxCnByaW50ZXI9TGV4bWFyay1FMzUyZG4Kb3JpZW50YXRpb249UG9ydHJhaXQKY29waWVzPTEKY29sbGF0ZT1mYWxzZQptYXJnaW5kYWp1c3RtZW50PTAsMCwwLDAKY29sb3JkZXB0aD0yNApwc2xldmVsPTAKcGRmZGV2aWNlPTEKY29sb3JkZXZpY2U9MApQUERDb250ZXhEYXRhClBhZ2VTaXplOkE0AAASAENPTVBBVF9EVVBMRVhfTU9ERQoARFVQTEVYX09GRg==
+   false
+   0
+  
+ 
+ 
+  
+   http://openoffice.org/2004/office; 
xmlns:xlink="http://www.w3.org/1999/xlink;>
+
+   
+  
+ 
+ 
+  
+  
+  
+  
+  
+  
+  
+  
+ 
+ 
+  
+   
+   
+  
+  
+   
+  
+  
+   
+
+   Kč
+  
+  
+   
+   -
+   
+
+   Kč
+   
+  
+  
+   £
+   
+  
+  
+   -
+   £
+   
+   
+  
+  
+   £
+   
+  
+  
+   -
+   £
+   
+   
+  
+  
+   £
+   
+  
+  
+   
+   -
+   £
+   
+   
+  
+  
+   £
+   
+  
+  
+   
+   -
+   £
+   
+   
+  
+  
+   £
+   
+  
+  
+   
+   -
+   £
+   
+   
+  
+  
+   
+
+  
+  
+   (
+   
+   )
+   
+  
+  
+   
+
+  
+  
+   (
+   
+   )
+   
+  
+  
+   £
+
+   
+  
+  
+   -
+   £
+
+   
+   
+  
+  
+   £
+

[Libreoffice-bugs] [Bug 73977] Other: Increase available footnote area to support traditional Arabic, Urdu, and Persian typesetting

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=73977

Bartosz Kosiorek  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

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


[Libreoffice-bugs] [Bug 73977] Other: Increase available footnote area to support traditional Arabic, Urdu, and Persian typesetting

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=73977

Bartosz Kosiorek  changed:

   What|Removed |Added

Version|4.1.0.4 release |5.0.6.2 release

--- Comment #4 from Bartosz Kosiorek  ---
I would like to fix that issue.
Could you please attach some example file with large footnote.
It will be great to have it both in "odt" and "docx" file formats.

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


[Libreoffice-bugs] [Bug 100078] New: Feature request: restrict Recent Document list to components that can open the document

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100078

Bug ID: 100078
   Summary: Feature request: restrict Recent Document list to
components that can open the document
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: LibreOffice
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: wv99...@gmail.com

Opening an .odt file with CALC won't work, and neither does the reverse,
opening an .ods file with WRITER.
Why then must WRITER show me in the "Recent Documents" list files I recently
worked on in CALC, and CALC does the same for WRITER files?
Since I have to choose which OpenOffice component to open before I may choose a
file, shouldn't the "Recent Documents" list be restricted to files that can be
opened with that component?

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


[Libreoffice-bugs] [Bug 100077] New: filesave

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100077

Bug ID: 100077
   Summary: filesave
   Product: LibreOffice
   Version: 5.1.2.2 release
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: wv99...@gmail.com

Created attachment 125314
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125314=edit
spreadsheet collecting and graphing rain gauge observations

My operating system: Kubuntu 16.4

Problem: saving an edited file (I use only .ods format) requires a variable
amount of clicks on the save icon, usually 3-5 clicks. On the other occasions,
a drop-down box opens, requiring me to choose between actions which I do not
want to take. There is no specific portion of the icon area where SAVE might
take place on the first click. This problem was not present on the CALC version
that shipped with Kubuntu 14.4.

This problem is restricted to CALC, and apparently is restricted to
spreadsheets created with the older version of CALC. I cannot reproduce it on
WRITER at all. 

Desired behavior: clicking on any pixel of the SAVE icon will initiate the
"save" action, first time, every time. 
Also desired: facility to remove drop-down boxes from the icon bar, so that
icons are shown only for the most frequently used actions. After all, to find
an infrequently used action on a drop-down menu is much easier if your screen
is large enough - and I don't like to waste time on software behavior that is
appropriate for a small cellphone screen on my large desktop screen. Thus,
allow me to put infrequently used actions onto the menu, for sheer efficiency
in using the software, and to get rid of drop-downs from the icon bar.

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


[Libreoffice-bugs] [Bug 100071] Update to 5.1.2 or 5.1.3 causes Fatal Error Unknown SEH Exception on restart

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100071

V Stuart Foote  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||vstuart.fo...@utsa.edu
 Ever confirmed|0   |1
 OS|All |Windows (All)

--- Comment #1 from V Stuart Foote  ---
Download the install "Run as Administrator" to ensure the Windows registry is
updated.

Personally I would clear the Windows jump lists -- MRU, and also delete the
LibreOffice user profile (C:\Users\\AppData\Roaming\LibreOffice
5).

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


Jason C. McDonald (CodeMouse) license statement

2016-05-26 Thread Jason C. McDonald

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

--
Jason C. McDonald

Check out my scribblings!
www.indeliblebluepen.com

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


[Libreoffice-commits] help.git: Branch 'libreoffice-5-2' - source/text

2016-05-26 Thread Eike Rathke
 source/text/scalc/01/04060101.xhp |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit c1724f5eeef808cefac89d5101c25f06aab1a55a
Author: Eike Rathke 
Date:   Thu May 26 23:55:42 2016 +0200

tdf#70806 get rid of the "number 0 for the entire database" nonsense

1. there is no "entire database" in this context
2. 0 was an old workaround for an omitted argument that Excel knows for
   DCOUNT and DCOUNTA functions to count records that match the
   criteria without applying a further count on a selected column, but
   not for other functions
3. Excel does not know a 0 argument
4. ODFF does not specify a 0 argument
=> so give examples that don't use it.

Change-Id: I03654e90798a97bfd37a5f20de26d45e96726206
(cherry picked from commit f5f2b4982350ee6e0616d49742b29b0a57ed)
Reviewed-on: https://gerrit.libreoffice.org/25525
Reviewed-by: Eike Rathke 
Tested-by: Eike Rathke 

diff --git a/source/text/scalc/01/04060101.xhp 
b/source/text/scalc/01/04060101.xhp
index cceac7d..41dc0c9 100644
--- a/source/text/scalc/01/04060101.xhp
+++ b/source/text/scalc/01/04060101.xhp
@@ -398,14 +398,14 @@
  
   
 
-  The formula in cell B16 is =DCOUNT(A1:E10;0;A13:E14)
+  The formula in cell B16 is =DCOUNT(A1:E10;D1;A13:E14)
   Database Function Parameters:
   The following items are the parameter definitions for all database 
functions:
   
 Database is the cell range defining the database.
   
-DatabaseField specifies the column where the function operates on 
after the search criteria of the first parameter is applied and the data rows 
are selected. It is not related to the search criteria itself. Use the number 0 
to specify the whole data range. To reference a column by 
means of the column header name, place quotation marks around the header name.
+DatabaseField specifies the column where the function operates on 
after the search criteria of the first parameter is applied and the data rows 
are selected. It is not related to the search criteria itself. To reference a column by means of the column header name, place 
quotation marks around the header name.
 
   
 SearchCriteria is the cell range containing search criteria. If 
you write several criteria in one row they are connected by AND. If you write 
the criteria in different rows they are connected by OR. Empty cells in the 
search criteria range will be ignored.
@@ -419,18 +419,18 @@
 
 DCOUNT
- DCOUNT counts the number of 
rows (records) in a database that match the specified search criteria and 
contain numerical values.
+ DCOUNT counts the number of 
rows (records) in a database that match the specified search criteria and 
contain numerical values in the DatabaseField column.
  
  Syntax
  DCOUNT(Database; DatabaseField; SearchCriteria)
- For the DatabaseField parameter you can enter a cell to 
specify the column, or enter the number 0 for the entire database. The 
parameter cannot be empty. 
+ For the DatabaseField parameter you can enter a cell to 
specify the column. 
 
  Example
- In the example above (scroll up, please), we want to know 
how many children have to travel more than 600 meters to school. The result is 
to be stored in cell B16. Set the cursor in cell B16. Enter the formula =DCOUNT(A1:E10;0;A13:E14) in B16. The Function 
Wizard helps you to input ranges.
+ In the example above (scroll up, please), we want to know 
how many children have to travel more than 600 meters to school. The result is 
to be stored in cell B16. Set the cursor in cell B16. Enter the formula =DCOUNT(A1:E10;D1;A13:E14) in B16. The Function 
Wizard helps you to input ranges.
  
-Database is the range of data to be evaluated, including its 
headers: in this case A1:E10. DatabaseField specifies the column 
for the search criteria: in this case, the whole database. 
SearchCriteria is the range where you can enter the search 
parameters: in this case, A13:E14.
+Database is the range of data to be evaluated, including its 
headers: in this case A1:E10. DatabaseField specifies the column 
for the search criteria: in this case, the column with the numerical distance 
values. SearchCriteria is the range where you can enter the search 
parameters: in this case, A13:E14.
  To learn how many children in second grade are over 7 
years of age, delete the entry 600 in cell D14 and enter 2 in cell B14 under Grade, and enter 7 in cell C14 to the right. The result is 2. Two 
children are in second grade and over 7 years of age. As both criteria are in 
the same row, they are connected by AND.
   
   
@@ -672,4 +672,4 @@
  
   

-
\ No newline at end of file
+
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org

[Libreoffice-commits] core.git: Branch 'libreoffice-5-2' - helpcontent2

2016-05-26 Thread Eike Rathke
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d33cba7d22b6f99a9502d6227bb3b510c25a3e38
Author: Eike Rathke 
Date:   Thu May 26 23:55:42 2016 +0200

Updated core
Project: help  c1724f5eeef808cefac89d5101c25f06aab1a55a

tdf#70806 get rid of the "number 0 for the entire database" nonsense

1. there is no "entire database" in this context
2. 0 was an old workaround for an omitted argument that Excel knows for
   DCOUNT and DCOUNTA functions to count records that match the
   criteria without applying a further count on a selected column, but
   not for other functions
3. Excel does not know a 0 argument
4. ODFF does not specify a 0 argument
=> so give examples that don't use it.

Change-Id: I03654e90798a97bfd37a5f20de26d45e96726206
(cherry picked from commit f5f2b4982350ee6e0616d49742b29b0a57ed)
Reviewed-on: https://gerrit.libreoffice.org/25525
Reviewed-by: Eike Rathke 
Tested-by: Eike Rathke 

diff --git a/helpcontent2 b/helpcontent2
index 97922d2..c1724f5 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit 97922d2199577a138f7336c0a0bf045b93204b55
+Subproject commit c1724f5eeef808cefac89d5101c25f06aab1a55a
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 39268] UI: Drawing tools should not switch back to Selection tool

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=39268

V Stuart Foote  changed:

   What|Removed |Added

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

--- Comment #24 from V Stuart Foote  ---
Draw tool is "locked" active with a double click on any of the tool button
widgets in the Drawing toolbar, and the button indicates it has been selected.

On completion of the object a single click on the document canvas completes use
of the drawing tool and reverts to selection mode.

So single click -> create single object vs. a double click -> create multiple
objects using the Drawing toolbar buttons seems correctly implemented.

Not sure when it was done, but agree WFM.

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


[Libreoffice-ux-advise] [Bug 100023] META: Enhance Draw's user experience

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100023
Bug 100023 depends on bug 39268, which changed state.

Bug 39268 Summary: UI: Drawing tools should not switch back to Selection tool
https://bugs.documentfoundation.org/show_bug.cgi?id=39268

   What|Removed |Added

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

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


[Libreoffice-ux-advise] [Bug 39268] UI: Drawing tools should not switch back to Selection tool

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=39268

V Stuart Foote  changed:

   What|Removed |Added

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

--- Comment #24 from V Stuart Foote  ---
Draw tool is "locked" active with a double click on any of the tool button
widgets in the Drawing toolbar, and the button indicates it has been selected.

On completion of the object a single click on the document canvas completes use
of the drawing tool and reverts to selection mode.

So single click -> create single object vs. a double click -> create multiple
objects using the Drawing toolbar buttons seems correctly implemented.

Not sure when it was done, but agree WFM.

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


[Libreoffice-bugs] [Bug 90558] Find & Replace Within Selection

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=90558

--- Comment #4 from Paul  ---
This bug does not need to be within a table. I'm on LO 5.1.2 and the original
selection is lost as soon as a search is performed, whether it is a Find Once
search or a Replace All search. Further manipulation becomes impossible without
reselecting the original range again. This is a major weakness to the
find/replace function.

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


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

2016-05-26 Thread Eike Rathke
 source/text/scalc/01/04060101.xhp |   14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

New commits:
commit f5f2b4982350ee6e0616d49742b29b0a57ed
Author: Eike Rathke 
Date:   Thu May 26 23:55:42 2016 +0200

tdf#70806 get rid of the "number 0 for the entire database" nonsense

1. there is no "entire database" in this context
2. 0 was an old workaround for an omitted argument that Excel knows for
   DCOUNT and DCOUNTA functions to count records that match the
   criteria without applying a further count on a selected column, but
   not for other functions
3. Excel does not know a 0 argument
4. ODFF does not specify a 0 argument
=> so give examples that don't use it.

Change-Id: I03654e90798a97bfd37a5f20de26d45e96726206

diff --git a/source/text/scalc/01/04060101.xhp 
b/source/text/scalc/01/04060101.xhp
index cceac7d..41dc0c9 100644
--- a/source/text/scalc/01/04060101.xhp
+++ b/source/text/scalc/01/04060101.xhp
@@ -398,14 +398,14 @@
  
   
 
-  The formula in cell B16 is =DCOUNT(A1:E10;0;A13:E14)
+  The formula in cell B16 is =DCOUNT(A1:E10;D1;A13:E14)
   Database Function Parameters:
   The following items are the parameter definitions for all database 
functions:
   
 Database is the cell range defining the database.
   
-DatabaseField specifies the column where the function operates on 
after the search criteria of the first parameter is applied and the data rows 
are selected. It is not related to the search criteria itself. Use the number 0 
to specify the whole data range. To reference a column by 
means of the column header name, place quotation marks around the header name.
+DatabaseField specifies the column where the function operates on 
after the search criteria of the first parameter is applied and the data rows 
are selected. It is not related to the search criteria itself. To reference a column by means of the column header name, place 
quotation marks around the header name.
 
   
 SearchCriteria is the cell range containing search criteria. If 
you write several criteria in one row they are connected by AND. If you write 
the criteria in different rows they are connected by OR. Empty cells in the 
search criteria range will be ignored.
@@ -419,18 +419,18 @@
 
 DCOUNT
- DCOUNT counts the number of 
rows (records) in a database that match the specified search criteria and 
contain numerical values.
+ DCOUNT counts the number of 
rows (records) in a database that match the specified search criteria and 
contain numerical values in the DatabaseField column.
  
  Syntax
  DCOUNT(Database; DatabaseField; SearchCriteria)
- For the DatabaseField parameter you can enter a cell to 
specify the column, or enter the number 0 for the entire database. The 
parameter cannot be empty. 
+ For the DatabaseField parameter you can enter a cell to 
specify the column. 
 
  Example
- In the example above (scroll up, please), we want to know 
how many children have to travel more than 600 meters to school. The result is 
to be stored in cell B16. Set the cursor in cell B16. Enter the formula =DCOUNT(A1:E10;0;A13:E14) in B16. The Function 
Wizard helps you to input ranges.
+ In the example above (scroll up, please), we want to know 
how many children have to travel more than 600 meters to school. The result is 
to be stored in cell B16. Set the cursor in cell B16. Enter the formula =DCOUNT(A1:E10;D1;A13:E14) in B16. The Function 
Wizard helps you to input ranges.
  
-Database is the range of data to be evaluated, including its 
headers: in this case A1:E10. DatabaseField specifies the column 
for the search criteria: in this case, the whole database. 
SearchCriteria is the range where you can enter the search 
parameters: in this case, A13:E14.
+Database is the range of data to be evaluated, including its 
headers: in this case A1:E10. DatabaseField specifies the column 
for the search criteria: in this case, the column with the numerical distance 
values. SearchCriteria is the range where you can enter the search 
parameters: in this case, A13:E14.
  To learn how many children in second grade are over 7 
years of age, delete the entry 600 in cell D14 and enter 2 in cell B14 under Grade, and enter 7 in cell C14 to the right. The result is 2. Two 
children are in second grade and over 7 years of age. As both criteria are in 
the same row, they are connected by AND.
   
   
@@ -672,4 +672,4 @@
  
   

-
\ No newline at end of file
+
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: helpcontent2

2016-05-26 Thread Eike Rathke
 helpcontent2 |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 27608d3364a578fa885a51d4677fe386d3d73a5f
Author: Eike Rathke 
Date:   Thu May 26 23:55:42 2016 +0200

Updated core
Project: help  f5f2b4982350ee6e0616d49742b29b0a57ed

tdf#70806 get rid of the "number 0 for the entire database" nonsense

1. there is no "entire database" in this context
2. 0 was an old workaround for an omitted argument that Excel knows for
   DCOUNT and DCOUNTA functions to count records that match the
   criteria without applying a further count on a selected column, but
   not for other functions
3. Excel does not know a 0 argument
4. ODFF does not specify a 0 argument
=> so give examples that don't use it.

Change-Id: I03654e90798a97bfd37a5f20de26d45e96726206

diff --git a/helpcontent2 b/helpcontent2
index f2361eb..f5f2b49 16
--- a/helpcontent2
+++ b/helpcontent2
@@ -1 +1 @@
-Subproject commit f2361eb91e2e47b0ecbc02bedb8763c08007f0c4
+Subproject commit f5f2b4982350ee6e0616d49742b29b0a57ed
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 74608] Constructor functions for UNO component implementations

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=74608

Commit Notification  changed:

   What|Removed |Added

 Whiteboard| target:5.2.0   | target:5.2.0 target:5.3.0

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


[Libreoffice-commits] core.git: 2 commits - comphelper/util include/svx svx/source

2016-05-26 Thread Michael Stahl
 comphelper/util/comphelp.component |2 +-
 include/svx/rubydialog.hxx |   10 ++
 svx/source/dialog/rubydialog.cxx   |   32 
 3 files changed, 19 insertions(+), 25 deletions(-)

New commits:
commit 59ceaff255e2759f2e416d76b95f6efa22819c39
Author: Michael Stahl 
Date:   Thu May 26 21:21:13 2016 +0200

svx: need a UNO interface to use css::uno::Reference

Change-Id: I16a144ed410f5ef3f49ec4febf199aa2db96bdaa

diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx
index 441ebdc..a9aae6e 100644
--- a/include/svx/rubydialog.hxx
+++ b/include/svx/rubydialog.hxx
@@ -29,14 +29,8 @@
 #include 
 #include 
 #include 
-#include 
 #include 
-
-namespace com{namespace sun{namespace star{
-namespace view{
-class XSelectionChangeListener;
-}
-}}}
+#include 
 
 
 class SvxRubyDialog;
@@ -166,7 +160,7 @@ public:
 virtual voidDeactivate() override;
 
 private:
-css::uno::Reference pImpl;
+rtl::Reference m_pImpl;
 };
 
 #endif // INCLUDED_SVX_RUBYDIALOG_HXX
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index a4c9fb7..b3e48e2 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -207,7 +207,7 @@ SvxRubyDialog::SvxRubyDialog(SfxBindings* pBind, 
SfxChildWindow* pCW, vcl::Windo
 , nCurrentEdit(0)
 , bModified(false)
 , pBindings(pBind)
-, pImpl( new SvxRubyData_Impl )
+, m_pImpl( new SvxRubyData_Impl )
 {
 get(m_pLeftFT, "basetextft");
 get(m_pRightFT, "rubytextft");
@@ -279,7 +279,7 @@ void SvxRubyDialog::dispose()
 {
 ClearCharStyleList();
 EventObject aEvent;
-pImpl->disposing(aEvent);
+m_pImpl->disposing(aEvent);
 m_pLeftFT.clear();
 m_pRightFT.clear();
 m_pLeft1ED.clear();
@@ -333,16 +333,16 @@ void SvxRubyDialog::Activate()
 //get selection from current view frame
 SfxViewFrame* pCurFrm = SfxViewFrame::Current();
 Reference< XController > xCtrl = pCurFrm->GetFrame().GetController();
-pImpl->SetController(xCtrl);
-if (pImpl->HasSelectionChanged())
+m_pImpl->SetController(xCtrl);
+if (m_pImpl->HasSelectionChanged())
 {
 
-Reference< XRubySelection > xRubySel = pImpl->GetRubySelection();
-pImpl->UpdateRubyValues();
+Reference< XRubySelection > xRubySel = m_pImpl->GetRubySelection();
+m_pImpl->UpdateRubyValues();
 EnableControls(xRubySel.is());
 if (xRubySel.is())
 {
-Reference< XModel > xModel = pImpl->GetModel();
+Reference< XModel > xModel = m_pImpl->GetModel();
 const OUString sCharStyleSelect = m_pCharStyleLB->GetSelectEntry();
 ClearCharStyleList();
 Reference xSupplier(xModel, UNO_QUERY);
@@ -412,7 +412,7 @@ void SvxRubyDialog::Deactivate()
 void SvxRubyDialog::SetRubyText(sal_Int32 nPos, Edit& rLeft, Edit& rRight)
 {
 OUString sLeft, sRight;
-const Sequence&  aRubyValues = pImpl->GetRubyValues();
+const Sequence& aRubyValues = m_pImpl->GetRubyValues();
 bool bEnable = aRubyValues.getLength() > nPos;
 if (bEnable)
 {
@@ -446,7 +446,7 @@ void SvxRubyDialog::GetRubyText()
 if (aEditArr[i]->IsEnabled() &&
 (aEditArr[i]->IsValueChangedFromSaved() || aEditArr[i + 
1]->IsValueChangedFromSaved()))
 {
-Sequence& aRubyValues = pImpl->GetRubyValues();
+Sequence& aRubyValues = m_pImpl->GetRubyValues();
 DBG_ASSERT(aRubyValues.getLength() > (i / 2 + nTempLastPos), 
"wrong index" );
 SetModified(true);
 Sequence& rProps = aRubyValues.getArray()[i / 2 + 
nTempLastPos];
@@ -464,7 +464,7 @@ void SvxRubyDialog::GetRubyText()
 
 void SvxRubyDialog::Update()
 {
-const Sequence& aRubyValues = pImpl->GetRubyValues();
+const Sequence& aRubyValues = m_pImpl->GetRubyValues();
 sal_Int32 nLen = aRubyValues.getLength();
 m_pScrollSB->Enable(nLen > 4);
 m_pScrollSB->SetRange( Range(0, nLen > 4 ? nLen - 4 : 0));
@@ -564,7 +564,7 @@ IMPL_LINK_TYPED(SvxRubyDialog, ScrollHdl_Impl, ScrollBar*, 
pScroll, void)
 
 IMPL_LINK_NOARG_TYPED(SvxRubyDialog, ApplyHdl_Impl, Button*, void)
 {
-const Sequence& aRubyValues = pImpl->GetRubyValues();
+const Sequence& aRubyValues = m_pImpl->GetRubyValues();
 if (!aRubyValues.getLength())
 {
 AssertOneEntry();
@@ -576,7 +576,7 @@ IMPL_LINK_NOARG_TYPED(SvxRubyDialog, ApplyHdl_Impl, 
Button*, void)
 //reset all edit fields - SaveValue is called
 ScrollHdl_Impl(m_pScrollSB);
 
-Reference xSelection = pImpl->GetRubySelection();
+Reference xSelection = m_pImpl->GetRubySelection();
 if (IsModified() && xSelection.is())
 {
 try
@@ -610,7 +610,7 @@ IMPL_LINK_TYPED(SvxRubyDialog, AdjustHdl_Impl, ListBox&, 
rBox, void)
 {
 AssertOneEntry();
 sal_Int16 nAdjust = rBox.GetSelectEntryPos();
-Sequence&  aRubyValues = pImpl->GetRubyValues();

[Libreoffice-commits] core.git: comphelper/source comphelper/util

2016-05-26 Thread Steven Guo
 comphelper/source/inc/comphelper_services.hxx  |1 
 comphelper/source/misc/comphelper_services.cxx |1 
 comphelper/source/property/opropertybag.cxx|   38 +
 comphelper/source/property/opropertybag.hxx|   10 +-
 comphelper/util/comphelp.component |3 +
 5 files changed, 12 insertions(+), 41 deletions(-)

New commits:
commit 85f404151e308bc1e97a0f3f15702c1c40a3b59b
Author: Steven Guo 
Date:   Sat Mar 26 12:35:45 2016 -0700

tdf#74608 Constructor functions for OPropertyBag

Added constructor function for OPropertyBag in /comphelper/source/property/.

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

diff --git a/comphelper/source/inc/comphelper_services.hxx 
b/comphelper/source/inc/comphelper_services.hxx
index 63f2394..9d356c1 100644
--- a/comphelper/source/inc/comphelper_services.hxx
+++ b/comphelper/source/inc/comphelper_services.hxx
@@ -23,7 +23,6 @@
 #include 
 
 void createRegistryInfo_Map();
-void createRegistryInfo_OPropertyBag();
 void createRegistryInfo_UNOMemoryStream();
 
 #endif
diff --git a/comphelper/source/misc/comphelper_services.cxx 
b/comphelper/source/misc/comphelper_services.cxx
index af1df82..23d8e7f 100644
--- a/comphelper/source/misc/comphelper_services.cxx
+++ b/comphelper/source/misc/comphelper_services.cxx
@@ -34,7 +34,6 @@ namespace comphelper { namespace module
 public:
 doInitialize()
 {
-createRegistryInfo_OPropertyBag();
 createRegistryInfo_UNOMemoryStream();
 createRegistryInfo_Map();
 }
diff --git a/comphelper/source/property/opropertybag.cxx 
b/comphelper/source/property/opropertybag.cxx
index 512003b..fb69439 100644
--- a/comphelper/source/property/opropertybag.cxx
+++ b/comphelper/source/property/opropertybag.cxx
@@ -19,8 +19,6 @@
 
 
 #include "opropertybag.hxx"
-#include "comphelper_module.hxx"
-#include "comphelper_services.hxx"
 
 #include 
 #include 
@@ -39,12 +37,14 @@
 
 using namespace ::com::sun::star;
 
-void createRegistryInfo_OPropertyBag()
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_comphelper_OPropertyBag (
+css::uno::XComponentContext *,
+css::uno::Sequence const &)
 {
-static ::comphelper::module::OAutoRegistration< ::comphelper::OPropertyBag 
> aAutoRegistration;
+return cppu::acquire(new comphelper::OPropertyBag());
 }
 
-
 namespace comphelper
 {
 
@@ -74,14 +74,6 @@ namespace comphelper
 IMPLEMENT_FORWARD_XINTERFACE2( OPropertyBag, OPropertyBag_Base, 
OPropertyBag_PBase )
 IMPLEMENT_FORWARD_XTYPEPROVIDER2( OPropertyBag, OPropertyBag_Base, 
OPropertyBag_PBase )
 
-
-Sequence< OUString > OPropertyBag::getSupportedServiceNames_static() 
throw( RuntimeException )
-{
-Sequence< OUString > aServices { "com.sun.star.beans.PropertyBag" };
-return aServices;
-}
-
-
 void SAL_CALL OPropertyBag::initialize( const Sequence< Any >& _rArguments 
) throw (Exception, RuntimeException, std::exception)
 {
 Sequence< Type > aTypes;
@@ -120,22 +112,9 @@ namespace comphelper
 }
 }
 
-
-OUString OPropertyBag::getImplementationName_static() throw( 
RuntimeException )
-{
-return OUString( "com.sun.star.comp.comphelper.OPropertyBag" );
-}
-
-
-Reference< XInterface > SAL_CALL OPropertyBag::Create( 
SAL_UNUSED_PARAMETER const Reference< XComponentContext >& )
-{
-return *new OPropertyBag;
-}
-
-
 OUString SAL_CALL OPropertyBag::getImplementationName() throw 
(RuntimeException, std::exception)
 {
-return getImplementationName_static();
+return OUString( "com.sun.star.comp.comphelper.OPropertyBag" );
 }
 
 sal_Bool SAL_CALL OPropertyBag::supportsService( const OUString& 
rServiceName ) throw (RuntimeException, std::exception)
@@ -143,13 +122,12 @@ namespace comphelper
 return cppu::supportsService(this, rServiceName);
 }
 
-
 Sequence< OUString > SAL_CALL OPropertyBag::getSupportedServiceNames(  ) 
throw (RuntimeException, std::exception)
 {
-return getSupportedServiceNames_static();
+Sequence< OUString > aServices { "com.sun.star.beans.PropertyBag" };
+return aServices;
 }
 
-
 void OPropertyBag::fireEvents(
 sal_Int32 * /*pnHandles*/,
 sal_Int32 nCount,
diff --git a/comphelper/source/property/opropertybag.hxx 
b/comphelper/source/property/opropertybag.hxx
index 214a6b8..467aee2 100644
--- a/comphelper/source/property/opropertybag.hxx
+++ b/comphelper/source/property/opropertybag.hxx
@@ -91,16 +91,10 @@ namespace comphelper
 //noncopyable
 OPropertyBag(const OPropertyBag&) = delete;
 const OPropertyBag& operator=(const OPropertyBag&) = delete;

[Libreoffice-bugs] [Bug 74608] Constructor functions for UNO component implementations

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=74608

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

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

tdf#74608 Constructor functions for OPropertyBag

It will be available in 5.3.0.

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

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

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


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

2016-05-26 Thread Jorenz Paragas
 include/oox/ppt/animationspersist.hxx|8 ++
 include/oox/ppt/backgroundproperties.hxx |6 +++-
 include/oox/ppt/comments.hxx |3 ++
 include/oox/ppt/customshowlistcontext.hxx|8 +-
 include/oox/ppt/dgmimport.hxx|   23 +-
 include/oox/ppt/dgmlayout.hxx|   24 ++-
 include/oox/ppt/headerfooter.hxx |2 -
 include/oox/ppt/layoutfragmenthandler.hxx|7 -
 include/oox/ppt/pptfilterhelpers.hxx |5 +++
 include/oox/ppt/pptgraphicshapecontext.hxx   |7 +
 include/oox/ppt/pptimport.hxx|   29 +++
 include/oox/ppt/pptshape.hxx |   19 +++
 include/oox/ppt/pptshapecontext.hxx  |6 
 include/oox/ppt/pptshapegroupcontext.hxx |   10 +++
 include/oox/ppt/pptshapepropertiescontext.hxx|8 ++
 include/oox/ppt/presentationfragmenthandler.hxx  |   14 +++
 include/oox/ppt/slidefragmenthandler.hxx |   13 ++
 include/oox/ppt/slidemastertextstylescontext.hxx |4 ++-
 include/oox/ppt/slidepersist.hxx |   24 ---
 include/oox/ppt/slidetimingcontext.hxx   |8 +++---
 include/oox/ppt/slidetransition.hxx  |6 +++-
 include/oox/ppt/slidetransitioncontext.hxx   |7 -
 include/oox/ppt/soundactioncontext.hxx   |8 +-
 include/oox/ppt/timenode.hxx |   19 +--
 include/oox/ppt/timenodelistcontext.hxx  |9 ++-
 oox/source/drawingml/shape.cxx   |1 
 oox/source/drawingml/textparagraphproperties.cxx |1 
 oox/source/ppt/dgmimport.cxx |1 
 oox/source/ppt/dgmlayout.cxx |1 
 oox/source/ppt/pptimport.cxx |1 
 oox/source/ppt/pptshape.cxx  |2 +
 oox/source/ppt/slidepersist.cxx  |1 
 oox/source/ppt/slidetimingcontext.cxx|2 -
 oox/source/ppt/slidetransition.cxx   |1 
 oox/source/ppt/timenode.cxx  |1 
 35 files changed, 225 insertions(+), 64 deletions(-)

New commits:
commit 5c05f1b201be8c1b978dc8d409f3c4dbf0b4beb6
Author: Jorenz Paragas 
Date:   Sun May 15 11:41:45 2016 -0700

tdf#42949: clean up includes in include/oox/ppt with iwyu

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

diff --git a/include/oox/ppt/animationspersist.hxx 
b/include/oox/ppt/animationspersist.hxx
index 7a49964..a10c9c6 100644
--- a/include/oox/ppt/animationspersist.hxx
+++ b/include/oox/ppt/animationspersist.hxx
@@ -21,17 +21,15 @@
 #ifndef INCLUDED_OOX_PPT_ANIMATIONSPERSIST_HXX
 #define INCLUDED_OOX_PPT_ANIMATIONSPERSIST_HXX
 
+#include 
 #include 
 #include 
-#include 
-
-#include 
 
 #include 
-#include 
-
 #include 
 #include 
+#include 
+#include 
 
 namespace oox { namespace ppt {
 
diff --git a/include/oox/ppt/backgroundproperties.hxx 
b/include/oox/ppt/backgroundproperties.hxx
index 4df7a30..ce8925d 100644
--- a/include/oox/ppt/backgroundproperties.hxx
+++ b/include/oox/ppt/backgroundproperties.hxx
@@ -20,8 +20,12 @@
 #ifndef INCLUDED_OOX_PPT_BACKGROUNDPROPERTIES_HXX
 #define INCLUDED_OOX_PPT_BACKGROUNDPROPERTIES_HXX
 
+#include 
 #include 
-#include 
+#include 
+
+namespace oox { class AttributeList; }
+namespace oox { namespace drawingml { struct FillProperties; } }
 
 namespace oox { namespace ppt {
 
diff --git a/include/oox/ppt/comments.hxx b/include/oox/ppt/comments.hxx
index a722ff3..db8a547 100644
--- a/include/oox/ppt/comments.hxx
+++ b/include/oox/ppt/comments.hxx
@@ -12,7 +12,10 @@
 #define INCLUDED_OOX_PPT_COMMENTS_HXX
 
 #include 
+
 #include 
+#include 
+#include 
 
 namespace oox { namespace ppt {
 
diff --git a/include/oox/ppt/customshowlistcontext.hxx 
b/include/oox/ppt/customshowlistcontext.hxx
index 136d6e5..5baea22 100644
--- a/include/oox/ppt/customshowlistcontext.hxx
+++ b/include/oox/ppt/customshowlistcontext.hxx
@@ -20,9 +20,15 @@
 #ifndef INCLUDED_OOX_PPT_CUSTOMSHOWLISTCONTEXT_HXX
 #define INCLUDED_OOX_PPT_CUSTOMSHOWLISTCONTEXT_HXX
 
-#include 
 #include 
 
+#include 
+#include 
+#include 
+#include 
+
+namespace oox { class AttributeList; }
+
 namespace oox { namespace ppt {
 
 
diff --git a/include/oox/ppt/dgmimport.hxx b/include/oox/ppt/dgmimport.hxx
index 7272eeeb..cac00b1 100644
--- a/include/oox/ppt/dgmimport.hxx
+++ b/include/oox/ppt/dgmimport.hxx
@@ -20,14 +20,25 @@
 #ifndef INCLUDED_OOX_PPT_DGMIMPORT_HXX
 #define INCLUDED_OOX_PPT_DGMIMPORT_HXX
 
-#include 
+#include 
 
-#include 
+#include 
+#include 
+#include 
+#include 
 #include 
-#include 
-#include 
-#include 
-#include 
+#include 

[Libreoffice-bugs] [Bug 42949] accelerating compile times by removing unnecessary header #include

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42949

Commit Notification  changed:

   What|Removed |Added

 Whiteboard| target:5.2.0   | target:5.2.0 target:5.3.0

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


[Libreoffice-bugs] [Bug 42949] accelerating compile times by removing unnecessary header #include

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=42949

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

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

tdf#42949: clean up includes in include/oox/ppt with iwyu

It will be available in 5.3.0.

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

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

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


[Libreoffice-bugs] [Bug 84704] SIDEBAR: Slow 1-pixel scrollbar scrolling when clicking in empty space or arrow buttons

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=84704

Bartosz Kosiorek  changed:

   What|Removed |Added

 CC||gan...@poczta.onet.pl
Version|4.1.6.2 release |5.2.0.0.alpha1

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


[Libreoffice-bugs] [Bug 100076] New: Computer Crash after selected marking part of document with right mouse click

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100076

Bug ID: 100076
   Summary: Computer Crash after selected marking part of document
with right mouse click
   Product: LibreOffice
   Version: 5.2.0.0.alpha1
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: sassofam...@yahoo.de

After having selected a part of document, that means marking it with the mouse,
I have then tried to copy the marked part and Writer does not have any more
reaction other than to "cold start" computer.
This happened many many times.

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


[Libreoffice-bugs] [Bug 99840] 'Mouse pointer as pen' actual trail saved in Presentation

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99840

A (Andy)  changed:

   What|Removed |Added

 CC||stgohi-lob...@yahoo.de

--- Comment #3 from A (Andy)  ---
For me not reproducible under Win 8.1 (LO 5.1.3.2).

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


[Libreoffice-bugs] [Bug 100005] Paragraph option from Right Click in a cell causes crash of Writer

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=15

A (Andy)  changed:

   What|Removed |Added

 CC||stgohi-lob...@yahoo.de

--- Comment #6 from A (Andy)  ---
For me not reproducible with LO 5.1.3.2, Win 8.1.

Which Windows OS are you using?

Can you give more detailed information about the single steps to reproduce the
bug?  Have you done any specific formatting?

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


[Libreoffice-bugs] [Bug 100075] Spacing wrong in document read in docx format

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100075

--- Comment #1 from Oliver Sander  ---
Created attachment 125312
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125312=edit
The document as shown by MSOffice 2010

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


[Libreoffice-bugs] [Bug 100075] New: Spacing wrong in document read in docx format

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100075

Bug ID: 100075
   Summary: Spacing wrong in document read in docx format
   Product: LibreOffice
   Version: 5.1.3.2 rc
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: oliver.san...@tu-dresden.de

Created attachment 125311
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125311=edit
The docx file in question

I have a letter template from my university administration in docx format,
which looks slightly different in MSOffice 2010 and LibreOffice 5.1.3.  In
particular, 
LibreOffice gets the vertical spacing wrong between the 'Adressfeld' and the
'Betreffzeile'.

Example documents are attached.  The document actually shows four different
problems; I will open separate bugs for the other three.

Thanks for your consideration.

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


[Libreoffice-bugs] [Bug 100075] Spacing wrong in document read in docx format

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100075

--- Comment #2 from Oliver Sander  ---
Created attachment 125313
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125313=edit
The document as shown by LibreOffice 5.1.3

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


[Libreoffice-bugs] [Bug 100074] Wrong font and font size in file read in docx format

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100074

--- Comment #2 from Oliver Sander  ---
Created attachment 125310
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125310=edit
The document as shown by LibreOffice 5.1.3

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


[Libreoffice-bugs] [Bug 100074] Wrong font and font size in file read in docx format

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100074

--- Comment #1 from Oliver Sander  ---
Created attachment 125309
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125309=edit
The document as shown by MSOffice 2010

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


[Libreoffice-bugs] [Bug 100074] New: Wrong font and font size in file read in docx format

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100074

Bug ID: 100074
   Summary: Wrong font and font size in file read in docx format
   Product: LibreOffice
   Version: 5.1.3.2 rc
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: oliver.san...@tu-dresden.de

Created attachment 125308
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125308=edit
The docx file in question

I have a letter template from my university administration in docx format,
which looks slightly different in MSOffice 2010 and LibreOffice 5.1.3.  In
particular, there are three blocks of text on the bottom of the page specifying
visitor addresses etc.  The font used for the third column is wrong.

Example documents are attached.  The document actually shows four different
problems; I will open separate bugs for the other three.

Thanks for your consideration.

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


[Libreoffice-bugs] [Bug 100073] Last line on page is only partially shown in docx document

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100073

--- Comment #2 from Oliver Sander  ---
Created attachment 125307
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125307=edit
The document as shown by LibreOffice 5.1.3

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


[Libreoffice-bugs] [Bug 100073] Last line on page is only partially shown in docx document

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100073

--- Comment #1 from Oliver Sander  ---
Created attachment 125306
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125306=edit
The document as shown by MSOffice 2010

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


[Libreoffice-bugs] [Bug 100073] New: Last line on page is only partially shown in docx document

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100073

Bug ID: 100073
   Summary: Last line on page is only partially shown in docx
document
   Product: LibreOffice
   Version: 5.1.3.2 rc
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: oliver.san...@tu-dresden.de

Created attachment 125305
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125305=edit
The docx file in question

I have a letter template from my university administration in docx format,
which looks slightly different in MSOffice 2010 and LibreOffice 5.1.3.  In
particular, LibreOffice shows only the upper half of the last line of text.

Example documents are attached.  The document actually shows four different
problems; I will open separate bugs for the other three.

Thanks for your consideration.

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


[Libreoffice-bugs] [Bug 100045] No contrast in table border line style dialog when line color is white

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100045

A (Andy)  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||stgohi-lob...@yahoo.de
 Ever confirmed|0   |1

--- Comment #2 from A (Andy)  ---
Reproducible with LO 5.1.3.2 (Win 8.1).

There are no line styles visible.  Even if I move with the mouse over the lines
there seem to be only simple single white lines.

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


[Libreoffice-bugs] [Bug 100072] Horizontal lines too short in file read from docx

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100072

--- Comment #2 from Oliver Sander  ---
Created attachment 125304
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125304=edit
The document as shown by LibreOffice 5.1.3

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


[Libreoffice-bugs] [Bug 100072] Horizontal lines too short in file read from docx

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100072

--- Comment #1 from Oliver Sander  ---
Created attachment 125303
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125303=edit
The document as shown by MSOffice 2010

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


[Libreoffice-bugs] [Bug 100072] New: Horizontal lines too short in file read from docx

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100072

Bug ID: 100072
   Summary: Horizontal lines too short in file read from docx
   Product: LibreOffice
   Version: 5.1.3.2 rc
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: oliver.san...@tu-dresden.de

Created attachment 125302
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125302=edit
The docx file in question

I have a letter template from my university administration in docx format,
which looks slightly different in MSOffice 2010 and LibreOffice 5.1.3.  In
particular, the header contains two black lines spanning the entire page width.
 However, LibreOffice only shows the left half.

Example documents are attached.  The document actually shows four different
problems; I will open separate bugs for the other three.

Thanks for your consideration.

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


[Libreoffice-bugs] [Bug 100070] UKENR (Norwegian WEEKNUM function) gives wrong week numbers.

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100070

A (Andy)  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||stgohi-lob...@yahoo.de
 Ever confirmed|0   |1
 OS|Linux (All) |All

--- Comment #1 from A (Andy)  ---
I suppose you have used =UKENR("01.01.1995";2) instead of =UKENR(01.01.1995;2)?

For me this is reproducible with LO 5.1.3.2, (Win 8.1).  I also receive only 1.
 This is differently than expected (see
https://help.libreoffice.org/Calc/WEEKNUM).

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


[Libreoffice-commits] core.git: Branch 'feature/fixes22' - sc/inc sc/source

2016-05-26 Thread Marco Cecchetti
 sc/inc/column.hxx|1 +
 sc/inc/document.hxx  |1 +
 sc/inc/table.hxx |1 +
 sc/inc/tokenarray.hxx|1 +
 sc/source/core/data/column.cxx   |   29 +
 sc/source/core/data/document.cxx |   13 +
 sc/source/core/data/table2.cxx   |8 
 sc/source/ui/unoobj/docuno.cxx   |9 +
 8 files changed, 63 insertions(+)

New commits:
commit 23d40a1f0b54edd501d7327f4df55e9bd69bb146
Author: Marco Cecchetti 
Date:   Thu May 26 21:28:35 2016 +0200

opencl: re-check for vectorization state each time OpenCL is enabled

Change-Id: I652397dd154f5fbf788cb511c70e53a47cc94293

diff --git a/sc/inc/column.hxx b/sc/inc/column.hxx
index 69cb036..5b319d5 100644
--- a/sc/inc/column.hxx
+++ b/sc/inc/column.hxx
@@ -375,6 +375,7 @@ public:
 
 bool IsFormulaDirty( SCROW nRow ) const;
 
+void CheckVectorizationState();
 void SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt );
 void SetDirtyFromClip( SCROW nRow1, SCROW nRow2, sc::ColumnSpanSet& 
rBroadcastSpans );
 void SetDirty( SCROW nRow1, SCROW nRow2, BroadcastMode );
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 4cb2de4..194fc7d 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -1036,6 +1036,7 @@ public:
 
 voidResetChanged( const ScRange& rRange );
 
+void CheckVectorizationState();
 void SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt );
 voidSetDirty( const ScRange&, bool bIncludeEmptyCells );
 voidSetTableOpDirty( const ScRange& );  // for Interpreter 
TableOp
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index da2876f..9efd590 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -526,6 +526,7 @@ public:
 
 voidResetChanged( const ScRange& rRange );
 
+void CheckVectorizationState();
 void SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt );
 voidSetDirty( const ScRange&, ScColumn::BroadcastMode );
 voidSetDirtyAfterLoad();
diff --git a/sc/inc/tokenarray.hxx b/sc/inc/tokenarray.hxx
index 1644264..9808b8b 100644
--- a/sc/inc/tokenarray.hxx
+++ b/sc/inc/tokenarray.hxx
@@ -65,6 +65,7 @@ public:
 size_t GetHash() const { return mnHashValue;}
 
 ScFormulaVectorState GetVectorState() const { return meVectorState;}
+void ResetVectorState() { meVectorState = FormulaVectorEnabled; }
 
 /**
  * If the array contains at least one relative row reference or named
diff --git a/sc/source/core/data/column.cxx b/sc/source/core/data/column.cxx
index 5f562ca..d4b5a2e 100644
--- a/sc/source/core/data/column.cxx
+++ b/sc/source/core/data/column.cxx
@@ -2646,6 +2646,28 @@ public:
 }
 };
 
+class CheckVectorizationHandler
+{
+public:
+CheckVectorizationHandler()
+{}
+
+void operator() (size_t /*nRow*/, ScFormulaCell* p)
+{
+ScTokenArray* pCode = p->GetCode();
+if (pCode != nullptr && pCode->GetVectorState() == 
FormulaVectorDisabled)
+{
+pCode->ResetVectorState();
+FormulaToken* pFT = pCode->First();
+while (pFT != nullptr)
+{
+pCode->CheckToken(*pFT);
+pFT = pCode->Next();
+}
+}
+}
+};
+
 struct SetDirtyVarHandler
 {
 void operator() (size_t /*nRow*/, ScFormulaCell* p)
@@ -3089,6 +3111,13 @@ bool ScColumn::IsFormulaDirty( SCROW nRow ) const
 return p->GetDirty();
 }
 
+void ScColumn::CheckVectorizationState()
+{
+sc::AutoCalcSwitch aSwitch(*pDocument, false);
+CheckVectorizationHandler aFunc;
+sc::ProcessFormula(maCells, aFunc);
+}
+
 void ScColumn::SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt )
 {
 // is only done documentwide, no FormulaTracking
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index ca63d82..c0f4fa3 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -3716,6 +3716,19 @@ bool ScDocument::HasSelectionData( SCCOL nCol, SCROW 
nRow, SCTAB nTab ) const
 return HasStringCells( ScRange( nCol, 0, nTab, nCol, MAXROW, nTab ) );
 }
 
+void ScDocument::CheckVectorizationState()
+{
+bool bOldAutoCalc = GetAutoCalc();
+bAutoCalc = false;  // no mulitple calculations
+
+TableContainer::iterator it = maTabs.begin();
+for (; it != maTabs.end(); ++it)
+if (*it)
+(*it)->CheckVectorizationState();
+
+SetAutoCalc(bOldAutoCalc);
+}
+
 void ScDocument::SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt )
 {
 bool bOldAutoCalc = GetAutoCalc();
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 453ba0a..5d43a37 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -1700,6 +1700,14 @@ void ScTable::SetDirtyVar()
 aCol[i].SetDirtyVar();
 }
 
+void 

[Libreoffice-bugs] [Bug 100071] New: Update to 5.1.2 or 5.1.3 causes Fatal Error Unknown SEH Exception on restart

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100071

Bug ID: 100071
   Summary: Update to 5.1.2 or 5.1.3 causes Fatal Error Unknown
SEH Exception on restart
   Product: LibreOffice
   Version: 5.1.3.2 rc
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Installation
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: fynrdz...@gmail.com

Win7x64 with 5.0.5 running OK (except Calc refused to retain some Column
Widths)
Updated 5.1.2 last month but as soon as I ran it I noticed everything I had
pinned to the Start Menu (Calc & Writer) had disappeared, as well as the MRU
for each.
Immediately generated the Unknown SEH Exception. Also claimed the .xlsx file
I'd been working on needed Recovery. Neither Calc nor Writer were running when
I did the update.
System restored to 5.0.5
Yesterday I was prompted to update again. Downloaded 5.1.3 this time.
Installation claimed it couldn't write (permission) to the original
installation folder "C:\Program Files (x86)\LibreOffice 5" so I changed the
installation folder to "C:\Program Files (x86)\LibreOffice 5132update". It
claimed to install successfully.
However, the problem persists! I rebooted the system prior to initially trying
to run Libre Office.
Calc now shows the Jump List but when I select the MRU .xlsx I'm told it needs
Recovery. I proceed & it says it's successful but when Calc opens, it still
generates LibreOffice 5.1 - Fatal Error "SEH Exception: ACCESS VIOLATION"

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


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

2016-05-26 Thread Ashod Nakashian
 sc/inc/fillinfo.hxx  |5 +++--
 sc/source/core/data/fillinfo.cxx |   17 -
 sc/source/ui/view/gridwin4.cxx   |2 +-
 3 files changed, 12 insertions(+), 12 deletions(-)

New commits:
commit bdb112ea8bcf6f6f80483c31af05fefb2a40e026
Author: Ashod Nakashian 
Date:   Sat May 21 23:10:35 2016 -0400

sc lok bccu#1610 - Tiles not rendering in large spreadsheets

Variable max info rows instead of hard-coded allows
for collecting info on more rows.

FillInfo, however, is extremely slow for large
row count (a few thousand) and needs improving.

Reviewed-on: https://gerrit.libreoffice.org/25293
Reviewed-by: Ashod Nakashian 
Tested-by: Ashod Nakashian 
(cherry picked from commit 4c338a328d6be0450bfdcb08876abfd149cb80ca)

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

diff --git a/sc/inc/fillinfo.hxx b/sc/inc/fillinfo.hxx
index d35bb8e..3b42dff 100644
--- a/sc/inc/fillinfo.hxx
+++ b/sc/inc/fillinfo.hxx
@@ -195,10 +195,11 @@ struct ScTableInfo
 {
 svx::frame::Array   maArray;
 RowInfo*mpRowInfo;
-sal_uInt16  mnArrCount;
+SCSIZE  mnArrCount;
+SCSIZE  mnArrCapacity;
 boolmbPageMode;
 
-explicitScTableInfo();
+explicitScTableInfo(const SCSIZE capacity = 1024);
 ~ScTableInfo();
 ScTableInfo(const ScTableInfo&) = delete;
 const ScTableInfo& operator=(const ScTableInfo&) = delete;
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 8cd7534..6f71550 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -46,8 +46,6 @@
 #include 
 #include 
 
-const sal_uInt16 ROWINFO_MAX = 1024;
-
 enum FillInfoLinePos
 {
 FILP_TOP,
@@ -209,7 +207,7 @@ bool isRotateItemUsed(ScDocumentPool *pPool)
 return false;
 }
 
-void initRowInfo(ScDocument* pDoc, RowInfo* pRowInfo,
+void initRowInfo(ScDocument* pDoc, RowInfo* pRowInfo, const SCSIZE nMaxRow,
 double fRowScale, SCROW nRow1, SCTAB nTab, SCROW& rYExtra, SCSIZE& 
rArrRow, SCROW& rRow2)
 {
 sal_uInt16 nDocHeight = ScGlobal::nStdRowHeight;
@@ -249,7 +247,7 @@ void initRowInfo(ScDocument* pDoc, RowInfo* pRowInfo,
 pThisRowInfo->nRotMaxCol= SC_ROTMAX_NONE;
 
 ++rArrRow;
-if (rArrRow >= ROWINFO_MAX)
+if (rArrRow >= nMaxRow)
 {
 OSL_FAIL("FillInfo: Range too big" );
 rYExtra = nSignedY; // End
@@ -434,7 +432,7 @@ void ScDocument::FillInfo(
 
 nArrRow=0;
 SCROW nYExtra = nRow2+1;
-initRowInfo(this, pRowInfo, fRowScale, nRow1,
+initRowInfo(this, pRowInfo, rTabInfo.mnArrCapacity, fRowScale, nRow1,
 nTab, nYExtra, nArrRow, nRow2);
 nArrCount = nArrRow;  // incl. Dummys
 
@@ -1124,17 +1122,18 @@ void ScDocument::FillInfo(
 rArray.MirrorSelfX();
 }
 
-ScTableInfo::ScTableInfo()
-: mpRowInfo(new RowInfo[ROWINFO_MAX])
+ScTableInfo::ScTableInfo(const SCSIZE capacity)
+: mpRowInfo(new RowInfo[capacity])
 , mnArrCount(0)
+, mnArrCapacity(capacity)
 , mbPageMode(false)
 {
-memset(mpRowInfo, 0, ROWINFO_MAX*sizeof(RowInfo));
+memset(mpRowInfo, 0, mnArrCapacity * sizeof(RowInfo));
 }
 
 ScTableInfo::~ScTableInfo()
 {
-for( sal_uInt16 nIdx = 0; nIdx < ROWINFO_MAX; ++nIdx )
+for( SCSIZE nIdx = 0; nIdx < mnArrCapacity; ++nIdx )
 delete [] mpRowInfo[ nIdx ].pCellInfo;
 delete [] mpRowInfo;
 }
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 3da00b5..e698066 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -986,7 +986,7 @@ void ScGridWindow::PaintTile( VirtualDevice& rDevice,
 double fPPTX = pViewData->GetPPTX();
 double fPPTY = pViewData->GetPPTY();
 
-ScTableInfo aTabInfo;
+ScTableInfo aTabInfo(nEndRow + 2);
 pDoc->FillInfo(aTabInfo, nStartCol, nStartRow, nEndCol, nEndRow, nTab, 
fPPTX, fPPTY, false, false);
 
 ScOutputData aOutputData(, OUTTYPE_WINDOW, aTabInfo, pDoc, nTab,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2016-05-26 Thread Jakub Trzebiatowski
 sw/inc/tblafmt.hxx  |7 +
 sw/inc/unostyle.hxx |   29 
 sw/qa/python/check_styles.py|   38 ++
 sw/source/core/unocore/unostyle.cxx |  129 ++--
 sw/source/uibase/app/docstyle.cxx   |3 
 5 files changed, 186 insertions(+), 20 deletions(-)

New commits:
commit d4188f643db050c962a937547d19a9a08bd2235d
Author: Jakub Trzebiatowski 
Date:   Tue May 24 16:44:19 2016 +0200

Sw UNO API TableStyles getByName

Implementing TableStyle family getByName, hasByName, getByIndex
Implementing SwXTextTableStyle
Implementing basic tests

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

diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx
index f98067a..73c1f5a 100644
--- a/sw/inc/tblafmt.hxx
+++ b/sw/inc/tblafmt.hxx
@@ -230,6 +230,8 @@ class SW_DLLPUBLIC SwTableAutoFormat
 friend void FinitCore();   // To destroy default pointer.
 static SwBoxAutoFormat* pDfltBoxAutoFormat;
 
+css::uno::WeakReference m_wXObject;
+
 OUString m_aName;
 sal_uInt16 nStrResId;
 
@@ -292,6 +294,11 @@ public:
 
 bool Load( SvStream& rStream, const SwAfVersions& );
 bool Save( SvStream& rStream, sal_uInt16 fileVersion ) const;
+
+css::uno::WeakReference const& GetXObject() const
+{ return m_wXObject; }
+void SetXObject(css::uno::Reference const& xObject)
+{ m_wXObject = xObject; }
 };
 
 class SW_DLLPUBLIC SwTableAutoFormatTable
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx
index 72b6b04..9a56b5c 100644
--- a/sw/inc/unostyle.hxx
+++ b/sw/inc/unostyle.hxx
@@ -246,6 +246,35 @@ protected:
 virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew) 
override;
 
 };
+
+class SwTableAutoFormat;
+
+/// A text table style is a uno api wrapper for a SwTableAutoFormat
+class SwXTextTableStyle : public cppu::WeakImplHelper
+{
+OUString m_sTableAutoFormatName;
+SwDocShell* m_pDocShell;
+
+SwTableAutoFormat* GetTableAutoFormat();
+public:
+SwXTextTableStyle(SwDocShell* pDocShell, const OUString& 
rTableAutoFormatName);
+//XStyle
+virtual sal_Bool SAL_CALL isUserDefined() throw 
(css::uno::RuntimeException, std::exception) override;
+virtual sal_Bool SAL_CALL isInUse() throw (css::uno::RuntimeException, 
std::exception) override;
+virtual OUString SAL_CALL getParentStyle() throw 
(css::uno::RuntimeException, std::exception) override;
+virtual void SAL_CALL setParentStyle(const OUString& aParentStyle ) throw 
(css::container::NoSuchElementException, css::uno::RuntimeException, 
std::exception) override;
+
+//XNamed
+virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, 
std::exception) override;
+virtual void SAL_CALL setName(const OUString& rName) 
throw(css::uno::RuntimeException, std::exception) override;
+
+//XServiceInfo
+virtual OUString SAL_CALL getImplementationName() 
throw(css::uno::RuntimeException, std::exception) override;
+virtual sal_Bool SAL_CALL supportsService(const OUString& rServiceName) 
throw(css::uno::RuntimeException, std::exception) override;
+virtual css::uno::Sequence SAL_CALL getSupportedServiceNames() 
throw(css::uno::RuntimeException, std::exception) override;
+
+static css::uno::Reference 
CreateXTextTableStyle(SwDocShell* pDocShell, const OUString& 
rTableAutoFormatName);
+};
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/qa/python/check_styles.py b/sw/qa/python/check_styles.py
index 4f9cefb..79972ef 100644
--- a/sw/qa/python/check_styles.py
+++ b/sw/qa/python/check_styles.py
@@ -48,7 +48,7 @@ class CheckStyle(unittest.TestCase):
 xStyleFamilies.getByName("foobarbaz")
 xDoc.dispose()
 
-def __test_StyleFamily(self, xFamily, vExpectedNames):
+def __test_StyleFamily(self, xFamily, vExpectedNames, sElementImplName):
 self.assertEqual(xFamily.ImplementationName, "XStyleFamily")
 self.assertEqual(len(xFamily.SupportedServiceNames), 1)
 
@@ -67,7 +67,7 @@ class CheckStyle(unittest.TestCase):
 
 for sStylename in xFamily.ElementNames:
 self.assertTrue(xFamily.hasByName(sStylename))
-self.assertEqual(xFamily[sStylename].ImplementationName, 
"SwXStyle")
+self.assertEqual(xFamily[sStylename].ImplementationName, 
sElementImplName)
 self.assertFalse(xFamily[sStylename].isUserDefined())
 
 vExpectedNames.sort()
@@ -75,12 +75,12 @@ class CheckStyle(unittest.TestCase):
 vNames.sort()
 self.assertListEqual(vNames, vExpectedNames)
 
-def __test_StyleFamilyIndex(self, xFamily, vExpectedNames):
+def __test_StyleFamilyIndex(self, xFamily, vExpectedNames, 
sElementImplName):
 

[Libreoffice-bugs] [Bug 58358] VIEWING Scrolling broken - page totally distorted [Summary: comment#38, comment#42]

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=58358

--- Comment #52 from Heinz Repp  ---
If it was that easy to close a bug that bites only a very small minority: just
find someone who is not involved to close it worksforme: you could get rid of
most of the bugs here in no time ...

btw, still present and unchanged in Libreoffice 5.1.3.2 on Ubuntu 14.04.3 32
bit ...

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


[Libreoffice-bugs] [Bug 99519] Impress Crashes When Animated GIF added to presentation

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99519

--- Comment #6 from turboboost17  ---
Reproduced the error with different Win7 machine and Impress 5.0.0.5

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


[Libreoffice-bugs] [Bug 99519] Impress Crashes When Animated GIF added to presentation

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99519

--- Comment #5 from turboboost17  ---
Created attachment 125301
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125301=edit
Error screen

This is the error screen that appears when Impress fails

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


Re: error C2397: conversion from 'size_t' to 'BYTE (64 bit MSVC 2015)

2016-05-26 Thread Michael Stahl
On 26.05.2016 20:18, Luke Benes wrote:
> 
> Within the last day or so, the 64-bit version stop building. Now I'm
> getting the following error:

> E:/core/canvas/source/directx/dx_canvasbitmap.cxx(71): error C2397:
> conversion from 'size_t' to 'BYTE' requires a narrowing conversion

> The following commit looks suspicious:
> 
> https://cgit.freedesktop.org/libreoffice/core/commit/?id=03ddce193b3a031d9156775a8ee94206ba5b39ce

odd that my 32-bit build doesn't complain, hopefully commit
f2d039f67743c7588df5cfd725915627b6efb0ba should fix this

> Is there any chance we could add a 64-bit Windows platform for Jenkins
> to build on? I've been trying to bisect a separate older 64-bit Windows
> bug. What should have been a simple bisect is turning into a project
> because of all of the cherry-picking/reverting that I've needed to do. A
> Jenkins bot would save us a lot of work.

hmm that would be nice, probably even better than a clang-plugin box...


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


[Libreoffice-bugs] [Bug 58358] VIEWING Scrolling broken - page totally distorted [Summary: comment#38, comment#42]

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=58358

Heinz Repp  changed:

   What|Removed |Added

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

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


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

2016-05-26 Thread Michael Stahl
 canvas/source/directx/dx_canvasbitmap.cxx |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit f2d039f67743c7588df5cfd725915627b6efb0ba
Author: Michael Stahl 
Date:   Thu May 26 20:34:09 2016 +0200

canvas: error C2397: conversion from 'size_t' to 'BYTE' requires ...

a narrowing conversion (at least other people's MSVC says so, mine
doesn't complain)

Change-Id: Ic87da76567778884b81361067075fd9325e2d276

diff --git a/canvas/source/directx/dx_canvasbitmap.cxx 
b/canvas/source/directx/dx_canvasbitmap.cxx
index e2e249a..35877dd 100644
--- a/canvas/source/directx/dx_canvasbitmap.cxx
+++ b/canvas/source/directx/dx_canvasbitmap.cxx
@@ -68,7 +68,8 @@ namespace dxcanvas
 {
 // this here fills palette with grey level colors, starting
 // from 0,0,0 up to 255,255,255
-bmiColors[i] = { i,i,i,i };
+BYTE const b(i);
+bmiColors[i] = { b,b,b,b };
 }
 }
 };
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100070] New: UKENR (Norwegian WEEKNUM function) gives wrong week numbers.

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100070

Bug ID: 100070
   Summary: UKENR (Norwegian WEEKNUM function) gives wrong week
numbers.
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ole.h.sand...@gmail.com

User-Agent:   Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:46.0)
Gecko/20100101 Firefox/46.0
Build Identifier: LibreOffice 5.1.2.2

LibreOffice versjon 5.1.2.2. Norwegian version. Function UKENR(01.01.1995;1) is
expected to be different than UKENR(01.01.1995;2), but provides the same
output. I have not tried the English version but it is the WEEKNUM function.

Reproducible: Always

Steps to Reproduce:
1. Install Norwegian version of LO 5.1.2.2
2. Enter =UKENR(01.01.1995;2). 
3. Compare with =UKENR(01.01.1995;1) 
Actual Results:  
Both provide week 1 as output

Expected Results:  
 =UKENR(01.01.1995;2) should output week no 52
 =UKENR(01.01.1995;1) sould output week 1 

[Information automatically included from LibreOffice]
Locale: nb
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (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
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100016] Grid is not drawn correctly in sheet

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100016

m.a.riosv  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |NOTABUG

--- Comment #4 from m.a.riosv  ---
Thanks Donal, resolved as not a bug.

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


[Libreoffice-bugs] [Bug 100064] Cannot remove error bars along Y axis when errors are defined on a cells range

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100064

A (Andy)  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||stgohi-lob...@yahoo.de
 Ever confirmed|0   |1

--- Comment #2 from A (Andy)  ---
Reproducible with LO 5.1.3.2, Win 8.1 (also with a clean new file)

Steps done:
1. Open CALC
2. As a test sample fill four columns with numbers for the x and y values and
for the x and y error
3. Select the cells of the first two columns
4. Go to INSERT -> CHART and select the type Line: Points and Lines and click
FINISH
5. Repeat step 4 to have a second chart
6. Double-click to select the first chart to edit it and then go to INSERT ->
X-ERROR BARS and select CELL RANGE and for Positive (+) use column C and
Negative (-) column D
7. Double-click to select the second chart to edit it and go to INSERT ->
Y-ERROR BARS and select CELL RANGE and for Positive (+) use column C and
Negative (-) column D
8. Now double-click on the first chart with x-error bars (from step 6) to
select to edit it and go to INSERT -> X-ERROR BARS and click OK
-> The x-Error Bars are removed
9. Now double-click on the second chart with y-error bars (from step 7) to
select to edit it and go to INSERT -> Y-ERROR BARS
10. Now you have to select NONE as Error Category (different to step 8)
-> You will see the result from the attachment
If you try to click OK it is not working.  If you press ENTER it works.  To
make the OK button working you have to enlarge the window until everything is
shown fine.

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


[Libreoffice-commits] core.git: external/boost

2016-05-26 Thread Michael Stahl
 external/boost/UnpackedTarball_boost.mk   |8 -
 external/boost/boost.crc.Wshadow.warnings.patch   |   21 ---
 external/boost/boost.random.Wunused-local-typedefs.warnings.patch |   11 -
 external/boost/boost.signal2.Wshadow.warnings.patch   |   15 --
 external/boost/boost_1_44_0-clang-warnings.patch  |   70 
--
 external/boost/boost_1_44_0-unused-parameters.patch   |   38 -
 external/boost/boost_1_59_0.multi_array.wshadow.patch |   21 ---
 external/boost/boost_1_59_0.property_tree.wshadow.patch   |   21 +++
 8 files changed, 21 insertions(+), 184 deletions(-)

New commits:
commit 423f709ad78b2de2f29484cf444a429018c1b246
Author: Michael Stahl 
Date:   Thu May 26 13:59:48 2016 +0200

boost: remove patches for headers that are no longer used

The following libraries are mostly or completely unused on current
master, in MSVC 2013 and GCC builds:

* crc
* dynamic_bitset
* ptr_container
* random
* signal2

That's much less removal than we hoped, but it turns out that a lot of
boost headers include other boost headers, so removing includes in LO
code only goes this far.

Also move one property_tree hunk from a wrong patch file to more
approriate one.

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

diff --git a/external/boost/UnpackedTarball_boost.mk 
b/external/boost/UnpackedTarball_boost.mk
index 728b3c3..e446e99 100644
--- a/external/boost/UnpackedTarball_boost.mk
+++ b/external/boost/UnpackedTarball_boost.mk
@@ -17,8 +17,6 @@ boost_patches += boost.6369.warnings.patch
 #https://svn.boost.org/trac/boost/ticket/6142
 boost_patches += boost.6142.warnings.patch.1
 
-# https://svn.boost.org/trac/boost/ticket/9881
-boost_patches += boost.crc.Wshadow.warnings.patch
 # https://svn.boost.org/trac/boost/ticket/9882
 boost_patches += boost.date_time.Wshadow.warnings.patch
 # https://svn.boost.org/trac/boost/ticket/9885
@@ -29,8 +27,6 @@ boost_patches += 
boost.multi_array.Wunused-local-typedefs.warnings.patch
 boost_patches += boost.preprocessor.Wundef.warnings.patch
 # https://svn.boost.org/trac/boost/ticket/9892
 boost_patches += boost.property_tree.Wshadow.warnings.patch.1
-# fixed upstream
-boost_patches += boost.random.Wunused-local-typedefs.warnings.patch
 # https://svn.boost.org/trac/boost/ticket/9900
 boost_patches += boost.spirit.Wshadow.warnings.patch
 # https://svn.boost.org/trac/boost/ticket/9901
@@ -46,13 +42,9 @@ ifeq (GCC,$(COM))
 boost_patches += boost_1_44_0-unused-parameters.patch
 endif
 
-# Clang warnings:
-boost_patches += boost_1_44_0-clang-warnings.patch
-
 boost_patches += boost.auto_link.patch
 boost_patches += boost.std.move.patch
 boost_patches += boost.wunused.patch
-boost_patches += boost.signal2.Wshadow.warnings.patch
 
 boost_patches += ubsan.patch.0
 boost_patches += rtti.patch.0
diff --git a/external/boost/boost.crc.Wshadow.warnings.patch 
b/external/boost/boost.crc.Wshadow.warnings.patch
deleted file mode 100644
index e83615a..000
--- a/external/boost/boost.crc.Wshadow.warnings.patch
+++ /dev/null
@@ -1,21 +0,0 @@
 misc/boost_1_44_0/boost/boost/crc.hpp
-+++ misc/build/boost_1_44_0/boost/boost/crc.hpp
-@@ -755,15 +755,15 @@ void
- crc_basic::process_bits
- (
- unsigned char  bits,
--std::size_tbit_count
-+std::size_tbit_count_
- )
- {
- // ignore the bits above the ones we want
--bits <<= CHAR_BIT - bit_count;
-+bits <<= CHAR_BIT - bit_count_;
- 
- // compute the CRC for each bit, starting with the upper ones
- unsigned char const  high_bit_mask = 1u << ( CHAR_BIT - 1u );
--for ( std::size_t i = bit_count ; i > 0u ; --i, bits <<= 1u )
-+for ( std::size_t i = bit_count_ ; i > 0u ; --i, bits <<= 1u )
- {
- process_bit( static_cast(bits & high_bit_mask) );
- }
diff --git a/external/boost/boost.random.Wunused-local-typedefs.warnings.patch 
b/external/boost/boost.random.Wunused-local-typedefs.warnings.patch
deleted file mode 100644
index 73f8c0b..000
--- a/external/boost/boost.random.Wunused-local-typedefs.warnings.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ru boost.orig/boost/random/generate_canonical.hpp 
boost/boost/random/generate_canonical.hpp
 a/b/boost.orig/boost/random/generate_canonical.hpp 2015-02-27 
18:44:45.0 +0100
-+++ a/b/boost/boost/random/generate_canonical.hpp  2015-07-18 
21:55:44.152972440 +0200
-@@ -32,7 +32,6 @@
- RealType generate_canonical_impl(URNG& g, boost::mpl::true_ /*is_integral*/)
- {
- using std::pow;
--typedef typename URNG::result_type base_result;
- std::size_t digits = std::numeric_limits::digits;
- RealType R = RealType((g.max)()) - RealType((g.min)()) + 1;
- RealType mult = R;
diff 

[Libreoffice-bugs] [Bug 72504] EDITING: Unable to edit .odb file with non-local URL

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=72504

--- Comment #28 from Guillermo Lo Coco  ---
Today I was trying to load a BASE ODB from my USB-connected mobile storage and
found out the same error.

LO Base is unable to load any file located in GVFS share (smb, ftp, mtp, and so
on)

Is this bug trivial ?

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


[Libreoffice-commits] core.git: 2 commits - sc/uiconfig sd/uiconfig

2016-05-26 Thread Szymon Kłos
 sc/uiconfig/scalc/ui/notebookbar.ui| 2827 +++--
 sd/uiconfig/simpress/ui/notebookbar.ui | 2457 
 2 files changed, 5179 insertions(+), 105 deletions(-)

New commits:
commit 7e4a55dd8faa5eb73b297c9f2134955d187d902e
Author: Szymon Kłos 
Date:   Thu May 26 20:08:22 2016 +0200

notebookbar: updated sd ui file

Change-Id: I2378dc70664d71c4ede1345f6a662e7143d8330e

diff --git a/sd/uiconfig/simpress/ui/notebookbar.ui 
b/sd/uiconfig/simpress/ui/notebookbar.ui
index f11f6eb..cd78e37 100644
--- a/sd/uiconfig/simpress/ui/notebookbar.ui
+++ b/sd/uiconfig/simpress/ui/notebookbar.ui
@@ -2,6 +2,127 @@
 
 
   
+  
+  
+True
+False
+cmd/lc_bringtofront.png
+  
+  
+True
+False
+cmd/lc_fontworkgalleryfloater.png
+  
+  
+True
+False
+cmd/lc_formatpaintbrush.png
+  
+  
+True
+False
+cmd/lc_editheaderandfooter.png
+  
+  
+True
+False
+cmd/lc_hyperlinkdialog.png
+  
+  
+True
+False
+cmd/lc_insertannotation.png
+  
+  
+True
+False
+cmd/lc_insertgraphic.png
+  
+  
+True
+False
+cmd/lc_insertmath.png
+  
+  
+True
+False
+cmd/lc_importfromfile.png
+  
+  
+True
+False
+cmd/lc_insertobjectchart.png
+  
+  
+True
+False
+cmd/lc_insertslide.png
+  
+  
+True
+False
+cmd/lc_insertsymbol.png
+  
+  
+True
+False
+cmd/lc_inserttable.png
+  
+  
+True
+False
+cmd/lc_paste.png
+  
+  
+True
+False
+cmd/lc_presentationcurrentslide.png
+  
+  
+True
+False
+cmd/lc_presentationdialog.png
+  
+  
+True
+False
+cmd/lc_presentation.png
+  
+  
+True
+False
+cmd/lc_rehearsetimings.png
+  
+  
+True
+False
+cmd/lc_sendtoback.png
+  
+  
+True
+False
+cmd/lc_spelldialog.png
+  
+  
+True
+False
+cmd/lc_spellonline.png
+  
+  
+True
+False
+cmd/lc_text.png
+  
+  
+True
+False
+cmd/lc_thesaurusdialog.png
+  
+  
+True
+False
+cmd/lc_zoom.png
+  
   
 True
 False
@@ -77,12 +198,1137 @@
   
 
 
-  
+  
 True
 False
 6
 
-  
+  
+True
+False
+6
+
+  
+True
+False
+
+  
+True
+True
+True
+.uno:Paste
+PasteImg
+none
+top
+  
+  
+False
+True
+0
+  
+
+
+  
+True
+False
+vertical
+
+  
+True
+True
+True
+.uno:Cut
+none
+0
+  
+  
+False
+True
+0
+  
+
+
+  
+True
+True
+True
+.uno:Copy
+none
+0
+  
+  
+False
+True
+1
+  
+
+  
+  
+False
+True
+1
+  
+
+
+  
+True
+True
+True
+.uno:FormatPaintbrush
+FormatPaintbrushImg
+none
+top
+  
+  
+False
+True
+2
+  
+ 

error C2397: conversion from 'size_t' to 'BYTE (64 bit MSVC 2015)

2016-05-26 Thread Luke Benes

Within the last day or so, the 64-bit version stop building. Now I'm getting 
the following error:
[build CXX] canvas/source/directx/dx_canvasbitmap.cxx
cl : Command line warning D9025 : overriding '/DNOMINMAX' with '/UNOMINMAX'
MathMLSolverPrecompiled.o : warning LNK4221: This object file does not define 
any previously undefined public symbols, so it will not be used by any link 
operation that consumes this library
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: 
E:\cygwin\home\Hearthstone\lode\dev\core\ridljar\com\sun\star\lib\util\WeakMap.java
 uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[build CXX] canvas/source/directx/dx_canvasfont.cxx
cl : Command line warning D9025 : overriding '/DNOMINMAX' with '/UNOMINMAX'
COLLADASaxFWLPrecompiledHeaders.o : warning LNK4221: This object file does not 
define any previously undefined public symbols, so it will not be used by any 
link operation that consumes this library
COLLADAFWPrecompiledHeaders.o : warning LNK4221: This object file does not 
define any previously undefined public symbols, so it will not be used by any 
link operation that consumes this library
E:/core/canvas/source/directx/dx_canvasbitmap.cxx(71): error C2397: conversion 
from 'size_t' to 'BYTE' requires a narrowing conversion
[build CXX] canvas/source/directx/dx_canvashelper.cxx
cl : Command line warning D9025 : overriding '/DNOMINMAX' with '/UNOMINMAX'
E:/core/solenv/gbuild/LinkTarget.mk:189: recipe for target 
'E:/core/workdir/CxxObject/canvas/source/directx/dx_canvasbitmap.o' failed
make[1]: *** 
[E:/core/workdir/CxxObject/canvas/source/directx/dx_canvasbitmap.o] Error 2
make[1]: *** Waiting for unfinished jobs
Makefile:257: recipe for target 'build' failed
make: *** [build] Error 2
The following commit looks suspicious: 
https://cgit.freedesktop.org/libreoffice/core/commit/?id=03ddce193b3a031d9156775a8ee94206ba5b39ce

Is there any chance we could add a 64-bit Windows platform for Jenkins to build 
on? I've been trying to bisect a separate older 64-bit Windows bug. What should 
have been a simple bisect is turning into a project because of all of the 
cherry-picking/reverting that I've needed to do. A Jenkins bot would save us a 
lot of work.

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


[Libreoffice-bugs] [Bug 99446] Garbled text characters / glyphs in some dialogs with open-source radeonsi drivers

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99446

Aron Budea  changed:

   What|Removed |Added

 CC||ba...@caesar.elte.hu
   See Also||https://bugzilla.suse.com/s
   ||how_bug.cgi?id=981360

--- Comment #12 from Aron Budea  ---
Just a question, do we know if this is fixed in the 5.1 branch?

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


[Libreoffice-bugs] [Bug 99446] Garbled text characters / glyphs in some dialogs with open-source radeonsi drivers

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=99446

Aron Budea  changed:

   What|Removed |Added

 CC||robby.engelm...@igfs-ev.de

--- Comment #11 from Aron Budea  ---
*** Bug 100063 has been marked as a duplicate of this bug. ***

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


[Libreoffice-bugs] [Bug 100063] Sometimes bad font rendering in LibreOffice dialogs

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100063

Aron Budea  changed:

   What|Removed |Added

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

--- Comment #3 from Aron Budea  ---
Thanks for the bug report. This is a duplicate of bug 99446.

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

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


[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-1-0' - loleaflet/dist

2016-05-26 Thread Jan Holesovsky
 loleaflet/dist/toolbar.css|6 +++---
 loleaflet/dist/toolbar/toolbar.js |2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 58fbef6b4f808e873022a683aba09193aa13df6e
Author: Jan Holesovsky 
Date:   Thu May 26 20:03:00 2016 +0200

Minor visual tweak of the insert table (more space on the right).

diff --git a/loleaflet/dist/toolbar.css b/loleaflet/dist/toolbar.css
index 28b48c7..abc6c25 100644
--- a/loleaflet/dist/toolbar.css
+++ b/loleaflet/dist/toolbar.css
@@ -281,8 +281,8 @@ button.leaflet-control-search-next
 position: relative;
 padding: 2px;
 display: block;
-width: 230px;
-height: 230px;
+width: 232px;
+height: 232px;
 }
 
 .inserttable-grid .row {
@@ -304,4 +304,4 @@ button.leaflet-control-search-next
 .inserttable-grid .col.bright {
 border: 0px;
 background: rgba(66, 151, 215, 1);
-}
\ No newline at end of file
+}
diff --git a/loleaflet/dist/toolbar/toolbar.js 
b/loleaflet/dist/toolbar/toolbar.js
index e1ad85e..117a75f 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -1084,7 +1084,7 @@ function insertTable() {
$('.col').removeClass('bright');
$('.row:nth-child(-n+' + row + ') .col:nth-child(-n+' + 
col + ')')
.addClass('bright');
-   $status.html(col+"x"+row);
+   $status.html(col + " x " + row);
 
},
click: function(){
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] online.git: loleaflet/dist

2016-05-26 Thread Jan Holesovsky
 loleaflet/dist/toolbar.css|6 +++---
 loleaflet/dist/toolbar/toolbar.js |2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 74c4e08a5f355b9d13754efa5f3666f24e334d9b
Author: Jan Holesovsky 
Date:   Thu May 26 20:03:00 2016 +0200

Minor visual tweak of the insert table (more space on the right).

diff --git a/loleaflet/dist/toolbar.css b/loleaflet/dist/toolbar.css
index 28b48c7..abc6c25 100644
--- a/loleaflet/dist/toolbar.css
+++ b/loleaflet/dist/toolbar.css
@@ -281,8 +281,8 @@ button.leaflet-control-search-next
 position: relative;
 padding: 2px;
 display: block;
-width: 230px;
-height: 230px;
+width: 232px;
+height: 232px;
 }
 
 .inserttable-grid .row {
@@ -304,4 +304,4 @@ button.leaflet-control-search-next
 .inserttable-grid .col.bright {
 border: 0px;
 background: rgba(66, 151, 215, 1);
-}
\ No newline at end of file
+}
diff --git a/loleaflet/dist/toolbar/toolbar.js 
b/loleaflet/dist/toolbar/toolbar.js
index e1ad85e..117a75f 100644
--- a/loleaflet/dist/toolbar/toolbar.js
+++ b/loleaflet/dist/toolbar/toolbar.js
@@ -1084,7 +1084,7 @@ function insertTable() {
$('.col').removeClass('bright');
$('.row:nth-child(-n+' + row + ') .col:nth-child(-n+' + 
col + ')')
.addClass('bright');
-   $status.html(col+"x"+row);
+   $status.html(col + " x " + row);
 
},
click: function(){
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 100069] Windows 10** Windows crashes when Format.Page was selected

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100069

raal  changed:

   What|Removed |Added

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

--- Comment #1 from raal  ---
I can not confirm with Verze: 5.1.3.2 (x64)
ID sestavení: 644e4637d1d8544fd9f56425bd6cec110e49301b
Vlákna CPU: 1; Verze OS: Windows 6.19; Vykreslování UI: výchozí; 

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

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


[Libreoffice-bugs] [Bug 100066] Ctrl don't work

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100066

Cor Nouws  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||c...@nouenoff.nl
 Resolution|--- |WORKSFORME

--- Comment #1 from Cor Nouws  ---
Hi beautiful...@163.com

Thanks for being and reporting here. I think indeed the problem is how to use
it :) - Possibly there is something that prevents you selecting the whole
stuff, or ...
Please try to get help from one of the resources here
  http://www.libreoffice.org/get-help/community-support/

Regards,
Cor

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


[Libreoffice-bugs] [Bug 100063] Sometimes bad font rendering in LibreOffice dialogs

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100063

--- Comment #2 from robsn5  ---
Not wondering about that, a libreoffice maintainer from openSUSE guessed that
it is some kde4-specific code path. see the link...

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


[Libreoffice-bugs] [Bug 100069] New: Windows 10** Windows crashes when Format.Page was selected

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100069

Bug ID: 100069
   Summary: Windows 10** Windows crashes when Format.Page was
selected
   Product: LibreOffice
   Version: 5.1.3.2 rc
  Hardware: x86-64 (AMD64)
OS: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: ca...@pcgeek.co.uk

Windows 10 completely crashes and restarts when Format->Page is selected from
the pull down menu.  This occurs about five seconds after clicking.

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


Re: SUITE SETUP() and TERADOWN()

2016-05-26 Thread Markus Mohrhard
Hey

On Thu, May 26, 2016 at 7:15 PM, Usha Nayak  wrote:

> Hello
>
>
>
> Which version/build of CppUnit  has these new macros..
>
>
>
> #define
>
> *CPPUNIT_TEST_SUITE_SETUP*
> 
> ()
>
>
>
> Setup method that is executed before all tests.
>
> #define
>
> *CPPUNIT_TEST_SUITE_TEARDOWN*
> 
> ()
>
>
>
> Tear down method that is executed after all tests.
>
>
>
> I didn't see these defines in cppunit/extensions/HelperMacros.h
> 
>
>
> Please let me know
>


No version yet. That documentation was generated from my private working
tree where I have these macros already. At some point I need to release
that code.

Regards,
Markus


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


[Libreoffice-bugs] [Bug 54908] printing when a selection is active should take in account it and activate the "print selection" radio button

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=54908

--- Comment #15 from Jim Avera  ---
*** Bug 100036 has been marked as a duplicate of this bug. ***

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


[Libreoffice-bugs] [Bug 100036] Phantom rows appear only when exporting to PDF ( not when printing or editing)

2016-05-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100036

Jim Avera  changed:

   What|Removed |Added

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

--- Comment #5 from Jim Avera  ---
Ok, I understand now.  Thanks for your persistence.

It would be nice if PDF and Print dialogs had exactly the same default
settings!

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

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


  1   2   3   4   >