[Libreoffice-bugs] [Bug 89228] Allow to use Apache OpenOffice 4.0+ extensions

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

Robinson Tryon (qubit) qu...@runcibility.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||qu...@runcibility.com
 Ever confirmed|0   |1

--- Comment #1 from Robinson Tryon (qubit) qu...@runcibility.com ---
(In reply to Lukas Jelinek from comment #0)
 Developers of Apache OpenOffice changed slightly the API for extensions. It
 has caused that the current AOO extensions are unusable in LibreOffice.
 Please make relevant changes to allow to use these extensions.

If it's not too much work, this sounds like it could give our users some more
flexibility.

Status - NEW

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


[Libreoffice-bugs] [Bug 89417] Crash when activating Tools Options LibreOffice View use hardware acceleration

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

--- Comment #5 from Caolán McNamara caol...@redhat.com ---
Well its the oor:finalized=true which makes it throw the configmgr
modification of finalized item exception

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


[Libreoffice-bugs] [Bug 89417] Crash when activating Tools Options LibreOffice View use hardware acceleration

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

--- Comment #6 from Stephan Bergmann sberg...@redhat.com ---
When configmgr is asked to change a finalized value via

  xNameReplace-replaceByName( OUString(ForceSafeServiceImpl),
   makeAny(!_bEnabled) );

in CanvasSettings::EnabledHardwareAcceleration (cui/source/options/optgdlg.cxx)
it throws a css::lang::IllegalArgumentException in
configmgr::Access::checkFinalized (configmgr/source/access.cxx) that is
apparently not handled properly.

The Options dialog appears to handle the possibility of the underlying
configuration value being finalized for only a few of the configuration values
exposed through the dialog.  One example is m_pFileDialogCB/m_pFileDlgROImage
in OfaMiscTabPage (also cui/source/options/optgdlg.cxx), which is supposed to
show a lock and disable the checkbox of Use LbireOffice dialogs when the
underlying configuration value is finalized.

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


[Libreoffice-bugs] [Bug 83169] CRASH after copying a cell with URL then deleting whole row

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

Caolán McNamara caol...@redhat.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Assignee|libreoffice-b...@lists.free |caol...@redhat.com
   |desktop.org |
 Whiteboard|PossibleRegression  |BSA target:4.3.6

--- Comment #8 from Caolán McNamara caol...@redhat.com ---
The EditView is NULL so this was fixed by
http://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-4-3id=2962addb8bdc6207302283407b5de0d65fa7445f

commit 2962addb8bdc6207302283407b5de0d65fa7445f
Author: Caolán McNamara caol...@redhat.com
Date:   Wed Nov 19 16:39:55 2014 +

Resolves: rhbz#1165444 abrt crash with NULL pView

Change-Id: I37f02f16209f274cf0358defba6bfa109948990f
(cherry picked from commit 755209d88073fd497b884b8de1348ec75c2df7eb)
Reviewed-on: https://gerrit.libreoffice.org/13156
Reviewed-by: Andras Timar andras.ti...@collabora.com
Tested-by: Andras Timar andras.ti...@collabora.com

where we now check for that NULL

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


[Libreoffice-bugs] [Bug 89420] Expert Configuration: DocBoundaries IsVisible boolean property is not honored for Draw component, unable to turn off margin markings

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

V Stuart Foote vstuart.fo...@utsa.edu changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 CC||vstuart.fo...@utsa.edu
Summary|Allow hiding of page|Expert Configuration:
   |margins / borders   |DocBoundaries IsVisible
   ||boolean property is not
   ||honored for Draw component,
   ||unable to turn off margin
   ||markings
 Ever confirmed|0   |1
   Severity|enhancement |normal

--- Comment #1 from V Stuart Foote vstuart.fo...@utsa.edu ---
Page margins are set from the Tools - Options - Appearance: General Text
boundaries value.  If you set that the same color as the Document background
the margins will disappear.

Color can also be adjusted from Expert Configuration--but uses the internal
color index reference not a direct color name or hex value, so a bit
cumbersome.

Additionally you can toggle the DocBoundaries IsVisble boolean on and off from
Expert Configuration:

/org.openoffice.Office.UI/ColorScheme/ColorSchemes/org.openoffice.Office.UI:ColorScheme[LibreOffice]/DocBoundaries
 IsVisible

but the IsVisible property is not being honored in Draw--that is an issue,
adjusting summary to that.

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


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

2015-02-16 Thread Deena Francis
 sc/source/core/data/column3.cxx  |   12 +++-
 sc/source/ui/cctrl/checklistmenu.cxx |   20 
 2 files changed, 27 insertions(+), 5 deletions(-)

New commits:
commit 726430db96434f64037af719ad649ab109add5d1
Author: Deena Francis deena.fran...@gmail.com
Date:   Sun Dec 21 11:34:58 2014 +0530

tdf#65505 tdf#57431 Autofilter checkbox for blank cells like in MS Excel

Change-Id: I955d0a3c99aa516677cac9c38b81aff41b616dc3
Reviewed-on: https://gerrit.libreoffice.org/13573
Tested-by: Jenkins c...@libreoffice.org
Reviewed-by: Eike Rathke er...@redhat.com

diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 5170d14..b8c99c5 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -2053,6 +2053,16 @@ public:
 processCell(nRow, aCell);
 }
 
+void operator() (const int nElemType, size_t nRow, size_t /* nDataSize */)
+{
+if ( nElemType == sc::element_type_empty ) {
+mrStrings.push_back(ScTypedStrData(OUString()));
+return;
+}
+ScRefCellValue aCell = mrColumn.GetCellValue(nRow);
+processCell(nRow, aCell);
+}
+
 bool hasDates() const { return mbHasDates; }
 };
 
@@ -2064,7 +2074,7 @@ void ScColumn::GetFilterEntries(
 {
 FilterEntriesHandler aFunc(*this, rStrings);
 rBlockPos.miCellPos =
-sc::ParseAllNonEmpty(rBlockPos.miCellPos, maCells, nStartRow, nEndRow, 
aFunc);
+sc::ParseAll(rBlockPos.miCellPos, maCells, nStartRow, nEndRow, aFunc, 
aFunc);
 rHasDates = aFunc.hasDates();
 }
 
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx 
b/sc/source/ui/cctrl/checklistmenu.cxx
index 8e1ce73..a9d1701 100644
--- a/sc/source/ui/cctrl/checklistmenu.cxx
+++ b/sc/source/ui/cctrl/checklistmenu.cxx
@@ -20,6 +20,7 @@
 #include checklistmenu.hxx
 #include checklistmenu.hrc
 #include strload.hxx
+#include globstr.hrc
 
 #include vcl/decoview.hxx
 #include vcl/settings.hxx
@@ -1053,8 +1054,13 @@ void ScCheckListMenuWindow::packWindow()
 void ScCheckListMenuWindow::setAllMemberState(bool bSet)
 {
 size_t n = maMembers.size();
-for (size_t i = 0; i  n; ++i)
-maChecks.CheckEntry( maMembers[i].maName, maMembers[i].mpParent, bSet);
+OUString aLabel;
+for (size_t i = 0; i  n; ++i) {
+aLabel = maMembers[i].maName;
+if (aLabel.isEmpty())
+aLabel = ScGlobal::GetRscString(STR_EMPTYDATA);
+maChecks.CheckEntry( aLabel, maMembers[i].mpParent, bSet);
+}
 
 if (!maConfig.mbAllowEmptySet)
 // We need to have at least one member selected.
@@ -1493,8 +1499,11 @@ void ScCheckListMenuWindow::initMembers()
 }
 else
 {
+OUString aLabel = maMembers[i].maName;
+if (aLabel.isEmpty())
+aLabel = ScGlobal::GetRscString(STR_EMPTYDATA);
 SvTreeListEntry* pEntry = maChecks.InsertEntry(
-maMembers[i].maName, NULL, false, TREELIST_APPEND, NULL,
+aLabel, NULL, false, TREELIST_APPEND, NULL,
 SvLBoxButtonKind_enabledCheckbox);
 
 maChecks.SetCheckButtonState(
@@ -1544,7 +1553,10 @@ void ScCheckListMenuWindow::getResult(ResultType 
rResult)
 {
 if ( maMembers[i].mbLeaf )
 {
-bool bState =  maChecks.IsChecked( maMembers[i].maName,  
maMembers[i].mpParent );
+OUString aLabel = maMembers[i].maName;
+if (aLabel.isEmpty())
+aLabel = ScGlobal::GetRscString(STR_EMPTYDATA);
+bool bState =  maChecks.IsChecked( aLabel,  maMembers[i].mpParent 
);
 OUString sName;
 if ( maMembers[i].mbDate )
 sName = maMembers[i].maRealName;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 82661] Paragraph background fills all space above paragraph

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

--- Comment #19 from Pierre C pierre.choffar...@free.fr ---
Same problem on Android beta

Yes, this is a real problem, a clear regression, and the workaround is to go
back to 4.2.

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


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

2015-02-16 Thread Caolán McNamara
 sw/source/core/txtnode/thints.cxx |2 --
 1 file changed, 2 deletions(-)

New commits:
commit 28474dcd834b04b851f25f8ec5840d0e72de3c71
Author: Caolán McNamara caol...@redhat.com
Date:   Mon Feb 16 17:31:50 2015 +

remove debugging spew

Change-Id: I8652e7fb41bce932afa418cedfab308f03379040

diff --git a/sw/source/core/txtnode/thints.cxx 
b/sw/source/core/txtnode/thints.cxx
index 0f55043..343eb64 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1257,8 +1257,6 @@ bool SwTxtNode::InsertHint( SwTxtAttr * const pAttr, 
const SetAttrMode nMode )
 OSL_ENSURE( pAttr  pAttr-GetStart() = Len(), StartIdx out of bounds! 
);
 OSL_ENSURE( !pAttr-GetEnd() || (*pAttr-GetEnd() = Len()),
 EndIdx out of bounds! );
-if (pAttr-GetEnd()  (*pAttr-GetEnd()  Len()))
-fprintf(stderr, debug here\n);
 
 // translate from SetAttrMode to InsertMode (for hints with CH_TXTATR)
 const enum IDocumentContentOperations::InsertFlags nInsertFlags =
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-02-16 Thread Caolán McNamara
 scaddins/source/analysis/analysis.cxx |   29 +
 scaddins/source/datefunc/datefunc.cxx |   23 +++
 scaddins/source/pricing/pricing.cxx   |   25 +++--
 sw/source/core/bastyp/breakit.cxx |1 +
 sw/source/core/txtnode/thints.cxx |2 ++
 5 files changed, 26 insertions(+), 54 deletions(-)

New commits:
commit c21b18077d9776c7c36875e0e9c15907cc46f1fb
Author: Caolán McNamara caol...@redhat.com
Date:   Mon Feb 16 15:47:26 2015 +

include algorithm for std::max

Change-Id: I03c3bf1f920e77871383ab52e2c729154860b15d

diff --git a/sw/source/core/bastyp/breakit.cxx 
b/sw/source/core/bastyp/breakit.cxx
index bf468b9..559d6f2 100644
--- a/sw/source/core/bastyp/breakit.cxx
+++ b/sw/source/core/bastyp/breakit.cxx
@@ -30,6 +30,7 @@
 #include unotools/localedatawrapper.hxx
 #include comphelper/processfactory.hxx
 #include osl/diagnose.h
+#include algorithm
 
 using namespace com::sun::star;
 
diff --git a/sw/source/core/txtnode/thints.cxx 
b/sw/source/core/txtnode/thints.cxx
index 343eb64..0f55043 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -1257,6 +1257,8 @@ bool SwTxtNode::InsertHint( SwTxtAttr * const pAttr, 
const SetAttrMode nMode )
 OSL_ENSURE( pAttr  pAttr-GetStart() = Len(), StartIdx out of bounds! 
);
 OSL_ENSURE( !pAttr-GetEnd() || (*pAttr-GetEnd() = Len()),
 EndIdx out of bounds! );
+if (pAttr-GetEnd()  (*pAttr-GetEnd()  Len()))
+fprintf(stderr, debug here\n);
 
 // translate from SetAttrMode to InsertMode (for hints with CH_TXTATR)
 const enum IDocumentContentOperations::InsertFlags nInsertFlags =
commit d929a1715da3088229f6b41b03e9713fe110b881
Author: Caolán McNamara caol...@redhat.com
Date:   Mon Feb 16 14:49:45 2015 +

Related: fdo#74880 small leak in scaddins

Change-Id: I331a3a358c5275b770aa1319f43af21b9bb3fd83

diff --git a/scaddins/source/analysis/analysis.cxx 
b/scaddins/source/analysis/analysis.cxx
index f7b7fe8..de02b1c 100644
--- a/scaddins/source/analysis/analysis.cxx
+++ b/scaddins/source/analysis/analysis.cxx
@@ -120,14 +120,10 @@ OUString AnalysisAddIn::GetFuncDescrStr( sal_uInt16 
nResId, sal_uInt16 nStrIndex
 
 void AnalysisAddIn::InitData( void )
 {
-if( pResMgr )
-delete pResMgr;
-
-OString aModName( analysis );
-pResMgr = ResMgr::CreateResMgr( aModName.getStr(), LanguageTag( aFuncLoc) 
);
+delete pResMgr;
+pResMgr = ResMgr::CreateResMgr(analysis, LanguageTag(aFuncLoc));
 
-if( pFD )
-delete pFD;
+delete pFD;
 
 if( pResMgr )
 pFD = new FuncDataList( *pResMgr );
@@ -153,17 +149,11 @@ AnalysisAddIn::AnalysisAddIn( const uno::Reference 
uno::XComponentContext  xC
 
 AnalysisAddIn::~AnalysisAddIn()
 {
-if( pFD )
-delete pFD;
-
-if( pFactDoubles )
-delete[] pFactDoubles;
-
-if( pCDL )
-delete pCDL;
-
-if( pDefLocales )
-delete[] pDefLocales;
+delete pResMgr;
+delete pCDL;
+delete[] pFactDoubles;
+delete pFD;
+delete[] pDefLocales;
 }
 
 sal_Int32 AnalysisAddIn::getDateMode(
@@ -235,8 +225,7 @@ uno::Sequence OUString  
AnalysisAddIn::getSupportedServiceNames_Static()
 uno::Reference uno::XInterface  SAL_CALL AnalysisAddIn_CreateInstance(
 const uno::Reference lang::XMultiServiceFactory  xServiceFact )
 {
-static uno::Reference uno::XInterface  xInst = (cppu::OWeakObject*) new 
AnalysisAddIn( comphelper::getComponentContext(xServiceFact) );
-return xInst;
+return (cppu::OWeakObject*) new AnalysisAddIn( 
comphelper::getComponentContext(xServiceFact) );
 }
 
 // XServiceName
diff --git a/scaddins/source/datefunc/datefunc.cxx 
b/scaddins/source/datefunc/datefunc.cxx
index 28d9a8d..0aa2d7d 100644
--- a/scaddins/source/datefunc/datefunc.cxx
+++ b/scaddins/source/datefunc/datefunc.cxx
@@ -166,8 +166,7 @@ ScaFuncRes::ScaFuncRes( ResId rResId, ResMgr rResMgr, 
sal_uInt16 nIndex, OUStr
 uno::Reference uno::XInterface  SAL_CALL ScaDateAddIn_CreateInstance(
 const uno::Reference lang::XMultiServiceFactory  )
 {
-static uno::Reference uno::XInterface  xInst = (cppu::OWeakObject*) new 
ScaDateAddIn();
-return xInst;
+return (cppu::OWeakObject*) new ScaDateAddIn();
 }
 
 extern C {
@@ -208,12 +207,9 @@ ScaDateAddIn::ScaDateAddIn() :
 
 ScaDateAddIn::~ScaDateAddIn()
 {
-if( pFuncDataList )
-delete pFuncDataList;
-if( pDefLocales )
-delete[] pDefLocales;
-
-// pResMgr already deleted (_all_ resource managers are deleted _before_ 
this dtor is called)
+delete pFuncDataList;
+delete pResMgr;
+delete[] pDefLocales;
 }
 
 static const sal_Char*  pLang[] = { de, en };
@@ -252,14 +248,9 @@ ResMgr ScaDateAddIn::GetResMgr() throw( 
uno::RuntimeException )
 
 void ScaDateAddIn::InitData()
 {
-if( pResMgr )
-delete pResMgr;
-
-OString aModName( date );
-pResMgr = ResMgr::CreateResMgr( 

[Libreoffice-bugs] [Bug 82661] Paragraph background fills all space above paragraph

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

   Priority|medium  |highest
   Severity|normal  |major

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


Re: what's with the static uno::References in Foo_CreateInstance ?

2015-02-16 Thread Stephan Bergmann

On 02/16/2015 04:29 PM, Caolán McNamara wrote:

uno::Reference uno::XInterface  SAL_CALL AnalysisAddIn_CreateInstance(
 const uno::Reference lang::XMultiServiceFactory  xServiceFact
)
{
 static uno::Reference uno::XInterface  xInst =
(cppu::OWeakObject*) new AnalysisAddIn(...);
 return xInst;
}

now, the above is an argument to createOneInstanceFactory. So it's only
going to be called once anyway, right ? So if the intent is to ensure
it's a singleton then that's unnecessary.

Some grepping shows that this is a fairly common calc theme, but rare
elsewhere.


Yes, should be completely unnecessary.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 89405] FILESAVE: export to MS Word 97-2003 (DOC) corrupts comments

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

--- Comment #4 from Piet van Oostrum p...@vanoostrum.org ---
I found that Apache OpenOffice 4.0.1 does it right. Both the file I attached to
this bug report and my original, much bigger file.

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


[Libreoffice-bugs] [Bug 89420] Expert Configuration: DocBoundaries IsVisible boolean property is not honored for Draw component, unable to turn off margin markings

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

--- Comment #2 from samtuke m...@samtuke.com ---
Thanks for the quick and in-depth reply!

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


[Libreoffice-bugs] [Bug 82661] Paragraph background fills all space above paragraph

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

--- Comment #20 from superki...@sissaoui.com ---
For instance, 4.3.5.2 does not suffer of this bug. I've installed this version
to go on.

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


[Libreoffice-bugs] [Bug 86468] FILEOPEN: DOC import splits the page into two - Section break problem

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

Joel Madero jmadero@gmail.com changed:

   What|Removed |Added

   Priority|medium  |highest
 CC||jmadero@gmail.com
   Hardware|Other   |All

--- Comment #9 from Joel Madero jmadero@gmail.com ---
@Timur - in the future please do not put bugs that you report on the MAB list.
It's really quite impossible for people to be unbiased with their own bug
reports. I am not going to remove the bug but I don't see why it should be on
the MAB list (we have a single test). 

Also for MAB please ensure that the priority is set to highest

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


[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - include/svx sd/inc sd/source

2015-02-16 Thread Miklos Vajna
 include/svx/svdmodel.hxx   |2 +-
 sd/inc/drawdoc.hxx |2 ++
 sd/source/core/drawdoc.cxx |   20 
 sd/source/ui/view/sdwindow.cxx |6 ++
 4 files changed, 29 insertions(+), 1 deletion(-)

New commits:
commit 78f341b1f29d3d02aa0bf727067ee047d603a84c
Author: Miklos Vajna vmik...@collabora.co.uk
Date:   Mon Feb 16 15:16:57 2015 +0100

sd: add SdDrawDocument::dumpAsXml()

SdDrawDocument inherits from SdrModel which already has an XML dumper,
so just add an sd method that can create the XML writer and then we get
the rest for free.

Change-Id: Iac9bfb779e111f9887f171db6f5bd5151dd7e447

diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index b3fa3c4..ddcd369 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -663,7 +663,7 @@ public:
 also during the runtime of the Undo() and Redo() methods. */
 bool IsUndoEnabled() const;
 
-void dumpAsXml(struct _xmlTextWriter* pWriter) const;
+virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const;
 };
 
 
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index 524dcba..17d19fd 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -591,6 +591,8 @@ public:
 SAL_DLLPRIVATE bool IsUsingEmbededFonts() { return mbUseEmbedFonts; }
 SAL_DLLPRIVATE void SetIsUsingEmbededFonts( bool bUse ) { mbUseEmbedFonts 
= bUse; }
 
+void dumpAsXml(struct _xmlTextWriter* pWriter) const SAL_OVERRIDE;
+
 private:
 /** This member stores the printer independent layout mode.  Please
 refer to memberSetPrinterIndependentLayout()/member for its
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index d80b5fb..6948639 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -17,6 +17,8 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include libxml/xmlwriter.h
+
 #include PageListWatcher.hxx
 #include com/sun/star/text/WritingMode.hpp
 #include com/sun/star/document/PrinterIndependentLayout.hpp
@@ -1047,4 +1049,22 @@ void SdDrawDocument::InitObjectVector()
 }
 }
 }
+
+void SdDrawDocument::dumpAsXml(xmlTextWriterPtr pWriter) const
+{
+bool bOwns = false;
+if (!pWriter)
+{
+pWriter = xmlNewTextWriterFilename(model.xml, 0);
+xmlTextWriterStartDocument(pWriter, NULL, NULL, NULL);
+bOwns = true;
+}
+FmFormModel::dumpAsXml(pWriter);
+if (bOwns)
+{
+xmlTextWriterEndDocument(pWriter);
+xmlFreeTextWriter(pWriter);
+}
+}
+
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx
index 5f5061b..880c82d 100644
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -213,6 +213,12 @@ void Window::Paint(const Rectangle rRect)
 
 void Window::KeyInput(const KeyEvent rKEvt)
 {
+if (getenv(SD_DEBUG)  rKEvt.GetKeyCode().GetCode() == KEY_F12  
mpViewShell)
+{
+mpViewShell-GetDoc()-dumpAsXml(0);
+return;
+}
+
 if (!(mpViewShell  mpViewShell-KeyInput(rKEvt, this)))
 {
 if (mpViewShell  rKEvt.GetKeyCode().GetCode() == KEY_ESCAPE)
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 82326] FILESAVE: osl::Thread::create failed when saving Calc file open for at while

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

--- Comment #11 from PISSOTTE franck.pisso...@laposte.net ---
(In reply to PISSOTTE from comment #9)
 Created attachment 113436 [details]
 screen capture
 
 cant open a spreadsheet file whith several tabs one of them is big.
 very annoying i need to do some work this this file.
 any workarround to use or convert the file?

same probleme with LibreOffice_4.4.1.1_Win_x86

i reverted to LibreOffice_4.3.5_Win_x86
who works

also 4.4 selecting a range with mouse is unusable.

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


Re: broken --enable-tde (was: Tinderbox failure, Linux-Ubuntu-x86_64@54-TDE, MASTER, last success: 2015-02-12 12:15:08)

2015-02-16 Thread Norbert Thiebaud
On Mon, Feb 16, 2015 at 2:13 PM, Stephan Bergmann sberg...@redhat.com wrote:


 Somebody who cares for that TDE integration should put some love into this.

isn't TDE an emphemism for KDE3 ?
maybe that should be forwarded to the guy that maintain OS/2 ? :-

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


[Libreoffice-bugs] [Bug 50699] Template Changer: Allow ability to change a document's associated template

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

--- Comment #27 from Joel Madero jmadero@gmail.com ---
That clearly wasn't what I was saying at all. What I was saying is that when
users who know no code say how easy things are to implement, they are likely
mistaken. Just because an extension is well commented does not mean it's easy
to implement (I would personally love to see CT2N brought into core...but it's
not so easy).

I have no issue with this ability being brought into core - all I'm saying is
that: (1) it needs to be in c++; and (2) it's likely not as easy as one might
assume if they aren't aware of c++ and the 10,000,000 lines of code that we
already have.


If you choose to take this as a personal insult, that's on you. I also am not a
programmer (I dabble in C++ but this would be well above my abilities). And,
I've been told on a number of occasions that things I assumed would be easy to
do, would in fact be either impossible or really really hard. That's all I was
saying...sorry if you read more into my comment than I intended

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


[Libreoffice-commits] core.git: 2 commits - shell/Package_scripts_kde.mk shell/source sw/inc sw/source

2015-02-16 Thread Jan-Marek Glogowski
 shell/Package_scripts_kde.mk|6 +
 shell/source/unix/misc/kde4-open-url.sh |   22 ++
 sw/inc/dbmgr.hxx|2 
 sw/source/core/fields/dbfld.cxx |4 -
 sw/source/core/fields/docufld.cxx   |3 
 sw/source/uibase/dbui/dbmgr.cxx |  104 
 6 files changed, 86 insertions(+), 55 deletions(-)

New commits:
commit f7db2461292be3e23f5b3af47e488eaa8105d8db
Author: Jan-Marek Glogowski glo...@fbihome.de
Date:   Wed Nov 26 13:35:42 2014 +0100

Add kde4-open-url script

Adds a KDE4 specific URL processing script.

Change-Id: I0116fa95f076a5772e88c616e93de542fe4fe4e4

diff --git a/shell/Package_scripts_kde.mk b/shell/Package_scripts_kde.mk
index c5e4978..162bcc5 100644
--- a/shell/Package_scripts_kde.mk
+++ b/shell/Package_scripts_kde.mk
@@ -9,6 +9,12 @@
 
 $(eval $(call 
gb_Package_Package,shell_scripts_kde,$(SRCDIR)/shell/source/unix/misc))
 
+ifeq ($(ENABLE_KDE),TRUE)
 $(eval $(call 
gb_Package_add_file,shell_scripts_kde,$(LIBO_BIN_FOLDER)/kde-open-url,kde-open-url.sh))
+endif
+
+ifeq ($(ENABLE_KDE4),TRUE)
+$(eval $(call 
gb_Package_add_file,shell_scripts_kde,$(LIBO_BIN_FOLDER)/kde4-open-url,kde4-open-url.sh))
+endif
 
 # vim: set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/shell/source/unix/misc/kde4-open-url.sh 
b/shell/source/unix/misc/kde4-open-url.sh
new file mode 100755
index 000..e5b8125
--- /dev/null
+++ b/shell/source/unix/misc/kde4-open-url.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+#   Licensed to the Apache Software Foundation (ASF) under one or more
+#   contributor license agreements. See the NOTICE file distributed
+#   with this work for additional information regarding copyright
+#   ownership. The ASF licenses this file to you under the Apache
+#   License, Version 2.0 (the License); you may not use this file
+#   except in compliance with the License. You may obtain a copy of
+#   the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+# use kde-open or xdg-open if available, falling back to our own open-url
+kde-open $1 2/dev/null || xdg-open $1 2/dev/null || `dirname 
$0`/open-url $1 2/dev/null
+exit 0
commit 585bcac8eaa27396ea749a7bdb66abf62fc60335
Author: Jan-Marek Glogowski glo...@fbihome.de
Date:   Wed Oct 29 16:04:47 2014 +0100

MM: don't read column content twice to fill SwCalc

Currently we fill the SwCalc dict twice via lcl_GetColumnCnt and
GetMergeColumnCnt.

This also drops the unused nFmt argument from GetMergeColumnCnt.

Change-Id: I2f7fd1578353e919209002c0c3040adc14b08528

diff --git a/sw/inc/dbmgr.hxx b/sw/inc/dbmgr.hxx
index b79cda0..aa6117b 100644
--- a/sw/inc/dbmgr.hxx
+++ b/sw/inc/dbmgr.hxx
@@ -311,7 +311,7 @@ public:
 voidCloseAll(bool bIncludingMerge = true);
 
 boolGetMergeColumnCnt(const OUString rColumnName, sal_uInt16 
nLanguage,
-  OUString rResult, double *pNumber, 
sal_uInt32 *pFormat);
+  OUString rResult, double *pNumber);
 boolFillCalcWithMergeData(SvNumberFormatter *pDocFormatter,
   sal_uInt16 nLanguage, bool asString, 
SwCalc aCalc);
 boolToNextMergeRecord();
diff --git a/sw/source/core/fields/dbfld.cxx b/sw/source/core/fields/dbfld.cxx
index fb724d2..c81dec1 100644
--- a/sw/source/core/fields/dbfld.cxx
+++ b/sw/source/core/fields/dbfld.cxx
@@ -322,13 +322,13 @@ void SwDBField::Evaluate()
 if(!pMgr || !pMgr-IsDataSourceOpen(aTmpData.sDataSource, 
aTmpData.sCommand, true))
 return ;
 
-sal_uInt32 nFmt;
+sal_uInt32 nFmt = 0;
 
 // search corresponding column name
 OUString aColNm( static_castSwDBFieldType*(GetTyp())-GetColumnName() );
 
 SvNumberFormatter* pDocFormatter = GetDoc()-GetNumberFormatter();
-pMgr-GetMergeColumnCnt(aColNm, GetLanguage(), aContent, nValue, nFmt);
+pMgr-GetMergeColumnCnt(aColNm, GetLanguage(), aContent, nValue);
 if( !( nSubType  nsSwExtendedSubType::SUB_OWN_FMT ) )
 SetFormat( nFmt = pMgr-GetColumnFmt( aTmpData.sDataSource, 
aTmpData.sCommand,
 aColNm, pDocFormatter, GetLanguage() 
));
diff --git a/sw/source/core/fields/docufld.cxx 
b/sw/source/core/fields/docufld.cxx
index 3e02a32..2a74a43 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -1381,9 +1381,8 @@ void SwHiddenTxtField::Evaluate(SwDoc* pDoc)
 sDataTableOrQuery, false))
 {
 double fNumber;
-

broken git bugzilla script

2015-02-16 Thread Markus Mohrhard
Hey Robinson,

so the latest bugzilla update broke the git bugzilla script and after
reading the changelog it does not look like we can fix it. Seems that they
removed some of the xmlrpc methods that we need as part of
https://bugzilla.mozilla.org/show_bug.cgi?id=1090275 (at least they are no
longer public).

I'm not sure what is the plan but I'm not sure if it is worth to fix the
script anymore. More or less any bugzilla update has broken the script so
as it seems that we are updating more often now I don't plan to fix the
script anymore. Maybe you have some idea for a way to create updates that
will not break every few weeks.

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


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

2015-02-16 Thread Joel
 sc/qa/unit/ucalc.cxx |4 ++--
 sc/source/ui/src/scfuncs.src |4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e94ada5939acfc6015129c0e5bb470158fe83b34
Author: Joel jmadero@gmail.com
Date:   Sun Feb 15 10:40:09 2015 -0800

tdf#70733 - Move ISEVEN and ISODD functions to information

Moved ISEVEN and ISODD functions from mathematical to information

Change-Id: Ib40e877c9809338031e4b3047fd7ef3f12b392a2
Reviewed-on: https://gerrit.libreoffice.org/14501
Tested-by: Jenkins c...@libreoffice.org
Tested-by: Markus Mohrhard markus.mohrh...@googlemail.com
Reviewed-by: Markus Mohrhard markus.mohrh...@googlemail.com

diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 03c4a52..5883bf9 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -2371,11 +2371,13 @@ void Test::testFunctionLists()
 ISBLANK,
 ISERR,
 ISERROR,
+ISEVEN,
 ISFORMULA,
 ISLOGICAL,
 ISNA,
 ISNONTEXT,
 ISNUMBER,
+ISODD,
 ISREF,
 ISTEXT,
 N,
@@ -2435,9 +2437,7 @@ void Test::testFunctionLists()
 FLOOR.PRECISE,
 GCD,
 INT,
-ISEVEN,
 ISO.CEILING,
-ISODD,
 LCM,
 LN,
 LOG,
diff --git a/sc/source/ui/src/scfuncs.src b/sc/source/ui/src/scfuncs.src
index fcff272..1e7be9b 100644
--- a/sc/source/ui/src/scfuncs.src
+++ b/sc/source/ui/src/scfuncs.src
@@ -3330,7 +3330,7 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS1
 ExtraData =
 {
 0;
-ID_FUNCTION_GRP_MATH;
+ID_FUNCTION_GRP_INFO;
 U2S( HID_FUNC_ISTGERADE );
 1;  0;
 0;
@@ -3354,7 +3354,7 @@ Resource RID_SC_FUNCTION_DESCRIPTIONS1
 ExtraData =
 {
 0;
-ID_FUNCTION_GRP_MATH;
+ID_FUNCTION_GRP_INFO;
 U2S( HID_FUNC_ISTUNGERADE );
 1;  0;
 0;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2015-02-16 Thread Tor Lillqvist
 sw/source/core/crsr/viscrs.cxx |4 
 1 file changed, 4 insertions(+)

New commits:
commit 9da730a8fe253aad1778bba908f503a43081711b
Author: Tor Lillqvist t...@collabora.com
Date:   Mon Feb 16 16:42:15 2015 +0200

WaE: unused function 'lcl_getLayoutRect'

Change-Id: I1892d6c0c0466eea266b653f0b5907236cb84624

diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 46b740b..8ad7b07 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -257,6 +257,8 @@ void SwSelPaintRects::Hide()
 SwRects::clear();
 }
 
+#if HAVE_FEATURE_DESKTOP || defined(ANDROID)
+
 /**
  * Return a layout rectangle (typically with minimal width) that represents a
  * cursor at rPosition.
@@ -274,6 +276,8 @@ static SwRect lcl_getLayoutRect(const Point rPoint, const 
SwPosition rPosition
 return aRect;
 }
 
+#endif
+
 void SwSelPaintRects::Show()
 {
 SdrView* pView = (SdrView*)pCShell-GetDrawView();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Error building Visual Studio 2013 project file for LibreOffice on Windows

2015-02-16 Thread Jesper Hertel
Hi,

I just tried building LibreOffice for 32-bit Windows on a 64-bit Windows 7
Home Premium machine using Visual Studio 2013 Community Edition.

I have never built LibreOffice before, and I have carefully followed the
instructions from
https://wiki.documentfoundation.org/Development/BuildingOnWindows and used
all the recommended settings and paths. My Cygwin is 64-bit and the
used Java JDK is 32-bit.

My autogen.input for building LibreOffice is this:

--with-parallelism=2
--disable-odk
--with-junit=/cygdrive/c/sources/junit-4.10.jar
--with-ant-home=/cygdrive/c/sources/apache-ant-1.9.4
--with-jdk-home=/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_31
--enable-pch
--disable-ccache
--disable-activex
--disable-atl

and I ran the build from the Cygwin bash shell using this command:

./autogen.sh  /opt/lo/bin/make

with current directory being

/cygdrive/c/sources/libo-core

which is the root of the tree cloned from git://gerrit.libreoffice.org/core.

As instructed, I built directly to the source tree to get Visual Studio
integration.

After the first attempted builds failed, I pulled a more recent master that
didn't fail on Tinkerbox, and I think the build succeeded then. There were
no errors, but there were also no Build successful message or similar in
the end. The output just ended with this:

…
[build SLC] sw
[build SLC] libreoffice
[build SLC] loaded modules: UnoControls accessibility accessories android
animations apache-commons apple_remote avmedia basctl basebmp basegfx basic
bean beanshell binaryurp boost bridges canvas chart2 clew cli_ure clucene
codemaker coinmp collada2gltf comphelper configmgr connectivity cppcanvas
cppu cppuhelper cppunit cpputools cui curl dbaccess desktop drawinglayer
dtrans editeng embeddedobj embedserv eventattacher expat extensions
external extras filter firebird forms formula fpicker framework glew glm
graphite helpcompiler hsqldb hunspell hwpfilter hyphen i18nlangtag i18npool
i18nutil icu idl idlc instsetoo_native iojavaunohelper jfreereport
jpeg-turbo jurt jvmaccess jvmfwk l10ntools lcms2 libabw libcdr libcmis
libebook libetonyek libexttextcat libfreehand libgltf liblangtag libmspub
libmwaw libodfgen liborcus libpagemaker libpng librelogo libreoffice
libreofficekit librevenge libvisio libwpd libwpg libwps libxml2 libxmlsec
libxslt lingucomponent linguistic lotuswordpro lpsolve mdds more_fonts
msc-externals mythes neon nss o3tl offapi officecfg oovbaapi ooxopencl
opencollada openssl package poppler postgresql postprocess python3 pyuno
qadevOOo readlicense_oo redland registry remotebridges reportbuilder
reportdesign rhino ridljar rscsal salhelper sax sc scaddins sccomp scp2
scripting sd sdext setup_native sfx2 shell slideshow smoketest solenv
soltools sot starmath stoc store svgio svl svtools svx sw swext sysui test
testtools toolkit tools tubes ucb ucbhelper ucpp udkapi unodevtools unoidl
unoil unotest unotools unoxml ure uui vbahelper vcl vigra winaccessibility
wizards writerfilter writerperfect xmerge xmlhelp xmloff xmlreader
xmlscript xmlsecurity zlib

But after that, it was possible to start LibreOffice Dev
using C:\sources\libo-core\instdir\program\soffice.exe, so I guess the
build was successful???

Then I tried to build the Visual Studio 2013 solution file using

/opt/lo/bin/make vs2013-ide-integration

with current directory being /cygdrive/c/sources/libo-core.

That gave me this entire output:

cd C:/sources/libo-core  (LC_MESSAGES=C C:/cygwin/opt/lo/bin/make
cmd=C:/cygwin/opt/lo/bin/make -npf Makefile.gbuild all cmd || true) |
C:/sources/libo-core/bin/gbuild-to-ide --ide vs2013
make[1]: *** [cmd] Error 127
Solution LibreOffice:

After that, the LibreOffice.sln file is 353 bytes and only contains this:

Microsoft Visual Studio Solution File, Format Version 12.00
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Unit Tests|Win32 = Unit Tests|Win32
Integration tests|Win32 = Integration tests|Win32
Build|Win32 = Build|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
EndGlobalSection
EndGlobal

and there are no other recently created *.sln files in the entire
source/build directory tree.

The error from make (Error 127) is not so helpful and gives me no clue to
what is wrong.

Does anybody know what could be wrong?

I would really like to be able to use the comfort of Visual Studio to
browse around the source code.

Best regards,
Jesper
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/inc sc/source

2015-02-16 Thread Eike Rathke
 sc/inc/scmatrix.hxx  |9 ++---
 sc/source/core/tool/interpr4.cxx |   10 ++
 sc/source/core/tool/scmatrix.cxx |   23 +++
 3 files changed, 35 insertions(+), 7 deletions(-)

New commits:
commit 5b952ced5b2ae6151079206c3e397de653f0ced2
Author: Eike Rathke er...@redhat.com
Date:   Wed Feb 11 21:47:23 2015 +0100

Resolves: tdf#39316 add matrix empty cells to 
ScInterpreter::QueryMatrixType()

(cherry picked from commit eccbc97c7c224269fe261b8924e7866c3758ec91)

add ScMatrix::IsEmptyResult() for tdf#39316 fix preparation

(cherry picked from commit cf3f1d8dfeb45249eb60a30dba3243fe9a4a65e5)

9f2a3e6fa9f4ef43df672661afef996269b90a7a

Change-Id: Ifa5d59e90afcfff66f2e8683fac2a9090ed615da
Reviewed-on: https://gerrit.libreoffice.org/14430
Tested-by: Markus Mohrhard markus.mohrh...@googlemail.com
Reviewed-by: Markus Mohrhard markus.mohrh...@googlemail.com

diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx
index 851caa4..aebe0e7 100644
--- a/sc/inc/scmatrix.hxx
+++ b/sc/inc/scmatrix.hxx
@@ -322,13 +322,16 @@ public:
 /// @return TRUE/ if string or empty or empty path, in fact non-value.
 bool IsString( SCSIZE nC, SCSIZE nR ) const;
 
-/// @return TRUE/ if empty or empty path.
+/// @return TRUE/ if empty or empty cell or empty result, not empty path.
 bool IsEmpty( SCSIZE nC, SCSIZE nR ) const;
 
-/// @return TRUE/ if empty, not empty result or empty path.
+/// @return TRUE/ if empty cell, not empty or empty result or empty path.
 bool IsEmptyCell( SCSIZE nC, SCSIZE nR ) const;
 
-/// @return TRUE/ if empty path.
+/// @return TRUE/ if empty result, not empty or empty cell or empty path.
+bool IsEmptyResult( SCSIZE nC, SCSIZE nR ) const;
+
+/// @return TRUE/ if empty path, not empty or empty cell or empty result.
 bool IsEmptyPath( SCSIZE nC, SCSIZE nR ) const;
 
 /// @return TRUE/ if value or boolean.
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 58bc004..473f40d 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -1879,6 +1879,16 @@ void ScInterpreter::QueryMatrixType(ScMatrixRef xMat, 
short rRetTypeExpr, sal_
 PushTempToken( new ScMatrixFormulaCellToken(nCols, nRows, 
xMat, xRes.get()));
 rRetTypeExpr = NUMBERFORMAT_LOGICAL;
 }
+else if ( xMat-IsEmptyResult( 0, 0))
+{   // empty formula result
+FormulaTokenRef xRes = new ScEmptyCellToken( true, true);   // 
inherited, display empty
+PushTempToken( new ScMatrixFormulaCellToken(nCols, nRows, 
xMat, xRes.get()));
+}
+else if ( xMat-IsEmpty( 0, 0))
+{   // empty or empty cell
+FormulaTokenRef xRes = new ScEmptyCellToken( false, true);  // 
not inherited, display empty
+PushTempToken( new ScMatrixFormulaCellToken(nCols, nRows, 
xMat, xRes.get()));
+}
 else
 {
 svl::SharedString aStr( nMatVal.GetString());
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index b71cc1d..9afb2a6 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -254,6 +254,7 @@ public:
 bool IsString( SCSIZE nC, SCSIZE nR ) const;
 bool IsEmpty( SCSIZE nC, SCSIZE nR ) const;
 bool IsEmptyCell( SCSIZE nC, SCSIZE nR ) const;
+bool IsEmptyResult( SCSIZE nC, SCSIZE nR ) const;
 bool IsEmptyPath( SCSIZE nC, SCSIZE nR ) const;
 bool IsValue( SCSIZE nIndex ) const;
 bool IsValue( SCSIZE nC, SCSIZE nR ) const;
@@ -686,8 +687,8 @@ bool ScMatrixImpl::IsString( SCSIZE nC, SCSIZE nR ) const
 
 bool ScMatrixImpl::IsEmpty( SCSIZE nC, SCSIZE nR ) const
 {
-// Flag must indicate an empty element instead of an
-// 'empty path' element.
+// Flag must indicate an 'empty' or 'empty cell' or 'empty result' element,
+// but not an 'empty path' element.
 ValidColRowReplicated( nC, nR );
 return maMat.get_type(nR, nC) == mdds::mtm::element_empty 
 maMatFlag.getTMatFlag(nR, nC) != SC_MATFLAG_EMPTYPATH;
@@ -695,13 +696,22 @@ bool ScMatrixImpl::IsEmpty( SCSIZE nC, SCSIZE nR ) const
 
 bool ScMatrixImpl::IsEmptyCell( SCSIZE nC, SCSIZE nR ) const
 {
-// Flag must indicate an 'empty' element instead of an
-// 'empty result' or 'empty path' element.
+// Flag must indicate an 'empty cell' element instead of an
+// 'empty' or 'empty result' or 'empty path' element.
 ValidColRowReplicated( nC, nR );
 return maMat.get_type(nR, nC) == mdds::mtm::element_empty 
 maMatFlag.getTMatFlag(nR, nC) == SC_MATFLAG_EMPTYCELL;
 }
 
+bool ScMatrixImpl::IsEmptyResult( SCSIZE nC, SCSIZE nR ) const
+{
+// Flag must indicate an 'empty result' element instead of an
+// 'empty' or 'empty cell' or 'empty path' element.
+

[Libreoffice-bugs] [Bug 50699] Template Changer: Allow ability to change a document's associated template

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

--- Comment #26 from Pierre C pierre.choffar...@free.fr ---
@Joel Madero

in other words : IF I don't know C++ I just have to shut up. Without this
Knowledge, I'm not allowed to give my point view on this bug.

Oh yes I can, but I won't be heard... 

OK So I'm wasting my time filling bugs. That wasn't clear for me. Now it is.

thanks a lot

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


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

2015-02-16 Thread Albert Thuswaldner
 sc/source/core/data/documen7.cxx |   38 ++--
 sc/source/core/data/documen8.cxx |   28 -
 sc/source/core/data/documen9.cxx |   38 +---
 sc/source/core/data/document.cxx |  116 ++-
 4 files changed, 103 insertions(+), 117 deletions(-)

New commits:
commit 37eefa01acaf44f2c523d58c8a83568dc9763bd1
Author: Albert Thuswaldner albert.thuswald...@gmail.com
Date:   Sun Feb 8 16:41:10 2015 +0100

Translated remaining german commments in sc/source/core/data/documenX.cxx

Change-Id: I637c592aeb53830be2f32153462df7d9a189e844
Reviewed-on: https://gerrit.libreoffice.org/14370
Reviewed-by: Markus Mohrhard markus.mohrh...@googlemail.com
Tested-by: Markus Mohrhard markus.mohrh...@googlemail.com

diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx
index babd82e..36b0223 100644
--- a/sc/source/core/data/documen7.cxx
+++ b/sc/source/core/data/documen7.cxx
@@ -76,7 +76,7 @@ void ScDocument::Broadcast( const ScHint rHint )
 TrackFormulas( rHint.GetId() );
 }
 
-//  Repaint fuer bedingte Formate mit relativen Referenzen:
+// Repaint for conditional formats with relative references:
 for(SCTAB nTab = 0; nTab  static_castSCTAB(maTabs.size()); ++nTab)
 {
 if(!maTabs[nTab])
@@ -133,7 +133,7 @@ void ScDocument::BroadcastCells( const ScRange rRange, 
sal_uLong nHint, bool bB
 TrackFormulas(nHint);
 }
 
-//  Repaint fuer bedingte Formate mit relativen Referenzen:
+// Repaint for conditional formats with relative references:
 for (SCTAB nTab = nTab1; nTab = nTab2; ++nTab)
 {
 ScTable* pTab = FetchTable(nTab);
@@ -336,11 +336,11 @@ void ScDocument::PutInFormulaTree( ScFormulaCell* pCell )
 {
 OSL_ENSURE( pCell, PutInFormulaTree: pCell Null );
 RemoveFromFormulaTree( pCell );
-// anhaengen
+// append
 if ( pEOFormulaTree )
 pEOFormulaTree-SetNext( pCell );
 else
-pFormulaTree = pCell;   // kein Ende, kein Anfang..
+pFormulaTree = pCell;   // No end, no beginning..
 pCell-SetPrevious( pEOFormulaTree );
 pCell-SetNext( 0 );
 pEOFormulaTree = pCell;
@@ -423,20 +423,20 @@ void ScDocument::CalcFormulaTree( bool bOnlyForced, bool 
bProgressBar, bool bSet
 while ( pCell )
 {
 if ( pCell-GetDirty() )
-pCell = pCell-GetNext();   // alles klar
+pCell = pCell-GetNext();   // all clear
 else
 {
 if ( pCell-GetCode()-IsRecalcModeAlways() )
 {
-// pCell wird im SetDirty neu angehaengt!
+// pCell is set to Dirty again!
 ScFormulaCell* pNext = pCell-GetNext();
 pCell-SetDirty();
-// falls pNext==0 und neue abhaengige hinten angehaengt
-// wurden, so macht das nichts, da die alle bDirty sind
+// if pNext==0 and new dependencies were appended at the 
end,
+// this does not matter since they all are bDirty
 pCell = pNext;
 }
 else
-{   // andere simpel berechnen
+{   // calculate the other single
 if( bSetAllDirty )
 pCell-SetDirtyVar();
 pCell = pCell-GetNext();
@@ -451,8 +451,8 @@ void ScDocument::CalcFormulaTree( bool bOnlyForced, bool 
bProgressBar, bool bSet
 ScFormulaCell* pLastNoGood = 0;
 while ( pCell )
 {
-// Interpret setzt bDirty zurueck und callt Remove, auch der 
referierten!
-// bei RECALCMODE_ALWAYS bleibt die Zelle
+// Interpret resets bDirty and calls Remove, also the referenced!
+// the Cell remains when RECALCMODE_ALWAYS.
 if ( bOnlyForced )
 {
 if ( pCell-GetCode()-IsRecalcModeForced() )
@@ -463,7 +463,7 @@ void ScDocument::CalcFormulaTree( bool bOnlyForced, bool 
bProgressBar, bool bSet
 pCell-Interpret();
 }
 if ( pCell-GetPrevious() || pCell == pFormulaTree )
-{   // (IsInFormulaTree(pCell)) kein Remove gewesen = next
+{   // (IsInFormulaTree(pCell)) no Remove was called = next
 pLastNoGood = pCell;
 pCell = pCell-GetNext();
 }
@@ -524,13 +524,13 @@ void ScDocument::ClearFormulaTree()
 void ScDocument::AppendToFormulaTrack( ScFormulaCell* pCell )
 {
 OSL_ENSURE( pCell, AppendToFormulaTrack: pCell Null );
-// Zelle kann nicht in beiden Listen gleichzeitig sein
+// The cell can not be in both lists at the same time
 RemoveFromFormulaTrack( pCell );
 RemoveFromFormulaTree( pCell );
 if ( pEOFormulaTrack )
 pEOFormulaTrack-SetNextTrack( pCell );
 else
-pFormulaTrack = pCell; 

[Libreoffice-bugs] [Bug 89414] Upside down checkboxes when 'Use OpenGL for rendering' is on

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

Jean-Baptiste Faure jbfa...@libreoffice.org 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
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 89414] Upside down checkboxes when 'Use OpenGL for rendering' is on

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

Jean-Baptiste Faure jbfa...@libreoffice.org changed:

   What|Removed |Added

 CC||jbfa...@libreoffice.org

--- Comment #2 from Jean-Baptiste Faure jbfa...@libreoffice.org ---
Created attachment 113437
  -- https://bugs.documentfoundation.org/attachment.cgi?id=113437action=edit
screencopy with OpenGL

I can confirm that with LibreOffice 4.4.2.0.0+ built at home under Ubuntu 14.10
x86-64.

Best regards. JBF

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


[Libreoffice-bugs] [Bug 50699] Template Changer: Allow ability to change a document's associated template

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

--- Comment #24 from Pierre C pierre.choffar...@free.fr ---
@Joel Madero
That's clear... And easy.

This extension is not written in JAVA but OOBasic.

This extension does not work since some OOBASIC functions were depreciated

This extension is (were) one of the most popular on Both LO an LO

Styles are a great OO/LO feature

So, where is the problem telling that linking an existing doc to an existing
template should be a core feature of LO ?

The code is on the extension, less than 200 lines, and the code is highly
commented. (that mean less than 100 real lines of code)

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


[Libreoffice-bugs] [Bug 89190] Text doesn't appear when another textbox has animation

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

Chris King ck...@troy.edu changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #4 from Chris King ck...@troy.edu ---
Because the bug has been reproduced, (comment #3), I've changed the status back
to new.

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


[Libreoffice-bugs] [Bug 50699] Template Changer: Allow ability to change a document's associated template

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

--- Comment #28 from Pierre C pierre.choffar...@free.fr ---
I did not take this as a personal insult but as an easy way to solve a problem
or to answer a question.

I don't know C++, but many other languages. Changing template link is just
modifying XML. I'm sure it's not very difficult. It 's just the choice to not
consider this as a priority. And I accept this choice. It just have to be
assumed.

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


Re: uno.bin core dump during build

2015-02-16 Thread Gabriele Bulfon
Got it ;) sorry, I didn't get I had to read there :)
Working on it, hope to have patches soon for it
--
Da: Stephan Bergmann
A: libreoffice@lists.freedesktop.org
Data: 16 febbraio 2015 14.29.32 CET
Oggetto: Re: uno.bin core dump during build
On 02/16/2015 02:11 PM, Gabriele Bulfon wrote:
looking at the solari_intel sources, uno2cpp.cxx already
contains code similar
to the patch you pointed:
[...]
without the need for a new callvirtualmethod.cxx
The remaining part of the patches actually just take out an unused call
(dummy_can_throw_anything)
and add some throw() around.
Did you See comment in callvirtualmethod.cxx for details.?
How can we track if that solar files are already taking into account gcc
4.7?
It doesn't.  If you like you can debug into __cxa_throw to see the
reason it calls std::terminate.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - sc/inc sc/source

2015-02-16 Thread Eike Rathke
 sc/inc/scmatrix.hxx  |9 ++---
 sc/source/core/tool/interpr4.cxx |   10 ++
 sc/source/core/tool/scmatrix.cxx |   23 +++
 3 files changed, 35 insertions(+), 7 deletions(-)

New commits:
commit 26d9882b6144a4aaf6acf0458e09a5888dc1c8c2
Author: Eike Rathke er...@redhat.com
Date:   Wed Feb 11 21:47:23 2015 +0100

Resolves: tdf#39316 add matrix empty cells to 
ScInterpreter::QueryMatrixType()

(cherry picked from commit eccbc97c7c224269fe261b8924e7866c3758ec91)

add ScMatrix::IsEmptyResult() for tdf#39316 fix preparation

(cherry picked from commit cf3f1d8dfeb45249eb60a30dba3243fe9a4a65e5)

9f2a3e6fa9f4ef43df672661afef996269b90a7a

Change-Id: Ifa5d59e90afcfff66f2e8683fac2a9090ed615da
Reviewed-on: https://gerrit.libreoffice.org/14428
Tested-by: Markus Mohrhard markus.mohrh...@googlemail.com
Reviewed-by: Markus Mohrhard markus.mohrh...@googlemail.com

diff --git a/sc/inc/scmatrix.hxx b/sc/inc/scmatrix.hxx
index 6bcd8857..6f8ad91 100644
--- a/sc/inc/scmatrix.hxx
+++ b/sc/inc/scmatrix.hxx
@@ -322,13 +322,16 @@ public:
 /// @return TRUE/ if string or empty or empty path, in fact non-value.
 bool IsString( SCSIZE nC, SCSIZE nR ) const;
 
-/// @return TRUE/ if empty or empty path.
+/// @return TRUE/ if empty or empty cell or empty result, not empty path.
 bool IsEmpty( SCSIZE nC, SCSIZE nR ) const;
 
-/// @return TRUE/ if empty, not empty result or empty path.
+/// @return TRUE/ if empty cell, not empty or empty result or empty path.
 bool IsEmptyCell( SCSIZE nC, SCSIZE nR ) const;
 
-/// @return TRUE/ if empty path.
+/// @return TRUE/ if empty result, not empty or empty cell or empty path.
+bool IsEmptyResult( SCSIZE nC, SCSIZE nR ) const;
+
+/// @return TRUE/ if empty path, not empty or empty cell or empty result.
 bool IsEmptyPath( SCSIZE nC, SCSIZE nR ) const;
 
 /// @return TRUE/ if value or boolean.
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index bbb77ca..8b5fb73 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -1849,6 +1849,16 @@ void ScInterpreter::QueryMatrixType(ScMatrixRef xMat, 
short rRetTypeExpr, sal_
 PushTempToken( new ScMatrixFormulaCellToken(nCols, nRows, 
xMat, xRes.get()));
 rRetTypeExpr = NUMBERFORMAT_LOGICAL;
 }
+else if ( xMat-IsEmptyResult( 0, 0))
+{   // empty formula result
+FormulaTokenRef xRes = new ScEmptyCellToken( true, true);   // 
inherited, display empty
+PushTempToken( new ScMatrixFormulaCellToken(nCols, nRows, 
xMat, xRes.get()));
+}
+else if ( xMat-IsEmpty( 0, 0))
+{   // empty or empty cell
+FormulaTokenRef xRes = new ScEmptyCellToken( false, true);  // 
not inherited, display empty
+PushTempToken( new ScMatrixFormulaCellToken(nCols, nRows, 
xMat, xRes.get()));
+}
 else
 {
 svl::SharedString aStr( nMatVal.GetString());
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 4402002..998f562 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -254,6 +254,7 @@ public:
 bool IsString( SCSIZE nC, SCSIZE nR ) const;
 bool IsEmpty( SCSIZE nC, SCSIZE nR ) const;
 bool IsEmptyCell( SCSIZE nC, SCSIZE nR ) const;
+bool IsEmptyResult( SCSIZE nC, SCSIZE nR ) const;
 bool IsEmptyPath( SCSIZE nC, SCSIZE nR ) const;
 bool IsValue( SCSIZE nIndex ) const;
 bool IsValue( SCSIZE nC, SCSIZE nR ) const;
@@ -684,8 +685,8 @@ bool ScMatrixImpl::IsString( SCSIZE nC, SCSIZE nR ) const
 
 bool ScMatrixImpl::IsEmpty( SCSIZE nC, SCSIZE nR ) const
 {
-// Flag must indicate an empty element instead of an
-// 'empty path' element.
+// Flag must indicate an 'empty' or 'empty cell' or 'empty result' element,
+// but not an 'empty path' element.
 ValidColRowReplicated( nC, nR );
 return maMat.get_type(nR, nC) == mdds::mtm::element_empty 
 maMatFlag.getTMatFlag(nR, nC) != SC_MATFLAG_EMPTYPATH;
@@ -693,13 +694,22 @@ bool ScMatrixImpl::IsEmpty( SCSIZE nC, SCSIZE nR ) const
 
 bool ScMatrixImpl::IsEmptyCell( SCSIZE nC, SCSIZE nR ) const
 {
-// Flag must indicate an 'empty' element instead of an
-// 'empty result' or 'empty path' element.
+// Flag must indicate an 'empty cell' element instead of an
+// 'empty' or 'empty result' or 'empty path' element.
 ValidColRowReplicated( nC, nR );
 return maMat.get_type(nR, nC) == mdds::mtm::element_empty 
 maMatFlag.getTMatFlag(nR, nC) == SC_MATFLAG_EMPTYCELL;
 }
 
+bool ScMatrixImpl::IsEmptyResult( SCSIZE nC, SCSIZE nR ) const
+{
+// Flag must indicate an 'empty result' element instead of an
+// 'empty' or 'empty cell' or 'empty path' element.
+

[Libreoffice-bugs] [Bug 89410] LibreOffice interpretation of XLSX file's floating point numbers does not match Excel

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

Jean-Baptiste Faure jbfa...@libreoffice.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||jbfa...@libreoffice.org
 Resolution|--- |NOTOURBUG

--- Comment #4 from Jean-Baptiste Faure jbfa...@libreoffice.org ---
If there is a bug somewhere, I think it is on the MS-Excel side which doesn't
show the last digit. You can't ask LibreOffice to deteriorate its result in
order to mimic MS-Excel. Please report the bug to Microsoft.

Closing as NotOurBug.

Best regards. JBF

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


[Libreoffice-bugs] [Bug 82326] FILESAVE: osl::Thread::create failed when saving Calc file open for at while

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

--- Comment #10 from Joel Madero jmadero@gmail.com ---
I can open the attached file fine.
Ubuntu 14.10
LibreOffice 4.4.0.3 release

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


[Libreoffice-bugs] [Bug 89058] VIEWING: Horizontal Scoll Bar Arrows located to extreme right

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

Rostislav 'R.Yu.' Okulov ogldel...@mail.ru changed:

   What|Removed |Added

 CC||ogldel...@mail.ru
 Whiteboard|bibisectRequest |bibisected

--- Comment #7 from Rostislav 'R.Yu.' Okulov ogldel...@mail.ru ---
# bad: [4a3091e95fa263d3e2dd81e56e83996f0bb12287]
source-hash-2b5b04e1e62914bf0902dfd7943cdc44499c47a6
git bisect bad 4a3091e95fa263d3e2dd81e56e83996f0bb12287
# good: [812c4a492375ac47b3557fbb32f5637fc89d60d9]
source-hash-dea4a3b9d7182700abeb4dc756a24a9e8dea8474
git bisect good 812c4a492375ac47b3557fbb32f5637fc89d60d9
# good: [5d0dfb8e62ae61a240f8313c594d4560e7c8e048]
source-hash-0c6cd530de13f80795881f61064f1bf1dcc4ea81
git bisect good 5d0dfb8e62ae61a240f8313c594d4560e7c8e048
# bad: [7dfacd0b8bd828331d74c0f79de6e8924bc4e6a5]
source-hash-f93ce4f7eb90093d0ea3115d0a1c614612676dbd
git bisect bad 7dfacd0b8bd828331d74c0f79de6e8924bc4e6a5
# good: [1a63057f6378db7c6b8af1171b7b140f7583f246]
source-hash-59f84b4a2c082382767f12e0c7a06a3f0b52e721
git bisect good 1a63057f6378db7c6b8af1171b7b140f7583f246
# good: [2fdc98d4cfbffea5b33224bd2106aeb3b74b84a7]
source-hash-d4a8fa7db0ed4faae00408fbda2352379774cfc0
git bisect good 2fdc98d4cfbffea5b33224bd2106aeb3b74b84a7
# bad: [3ff4aa6b7f147a98388d57e35368311034bceab6]
source-hash-35e260c4a3e886c4177b232871f9f2775cd5c5f5
git bisect bad 3ff4aa6b7f147a98388d57e35368311034bceab6
# good: [67b357d7f313d5ff960b6cf6646053b11e04ef7c]
source-hash-bf640ba048704220292411e4f2bcc0d3c62caa32
git bisect good 67b357d7f313d5ff960b6cf6646053b11e04ef7c
# bad: [40670b887ae1c990ca10b37710cba6ab54e74300]
source-hash-fe9f8144c7a1a5e51544b4dacb8a2d7e70b321ee
git bisect bad 40670b887ae1c990ca10b37710cba6ab54e74300
# good: [bae1511898673d4c0ef583d050fc6c1a3661a775]
source-hash-27d79b12e17a93f6e4eab2a3c09d423a4a04a63d
git bisect good bae1511898673d4c0ef583d050fc6c1a3661a775
# first bad commit: [40670b887ae1c990ca10b37710cba6ab54e74300]
source-hash-fe9f8144c7a1a5e51544b4dacb8a2d7e70b321ee

40670b887ae1c990ca10b37710cba6ab54e74300 is the first bad commit
commit 40670b887ae1c990ca10b37710cba6ab54e74300
Author: Bjoern Michaelsen bjoern.michael...@canonical.com
Date:   Sun Oct 19 01:33:23 2014 +

source-hash-fe9f8144c7a1a5e51544b4dacb8a2d7e70b321ee

commit fe9f8144c7a1a5e51544b4dacb8a2d7e70b321ee
Author: Markus Mohrhard markus.mohrh...@googlemail.com
AuthorDate: Mon Aug 25 16:11:54 2014 +0200
Commit: Markus Mohrhard markus.mohrh...@googlemail.com
CommitDate: Tue Aug 26 13:34:03 2014 +0200

move method documentation to the header file

Change-Id: I7d4f77c50a8b6b2b0d7c0868c73b0cb13f952421

:100644 100644 616f22676ee6e170445be33047a61e6a0bfca9bf
92780d1a277a2de1d7d320a562288a6da8ddd7e0 M  ccache.log
:100644 100644 6f8fab3a1532ca6e4875551815665c188d1b0539
d848246be29eb9c2fdf416eb3dd849f584f43c07 M  commitmsg
:100644 100644 1f86582d0cef6d5e72fa1c1a1342b2f469fa67ba
2ab4ff0d03499f61bea71951794580ea61e5fa80 M  make.log
:04 04 c7a9f52bf117560a8661f7128b9ce5bdacf18b86
1869ed0462a878bfb2afb3ebff5293a623932d21 M  opt

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


[Libreoffice-bugs] [Bug 82326] FILESAVE: osl::Thread::create failed when saving Calc file open for at while

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

PISSOTTE franck.pisso...@laposte.net changed:

   What|Removed |Added

 CC||franck.pisso...@laposte.net

--- Comment #9 from PISSOTTE franck.pisso...@laposte.net ---
Created attachment 113436
  -- https://bugs.documentfoundation.org/attachment.cgi?id=113436action=edit
screen capture

cant open a spreadsheet file whith several tabs one of them is big.
very annoying i need to do some work this this file.
any workarround to use or convert the file?

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


[Libreoffice-bugs] [Bug 50699] Template Changer: Allow ability to change a document's associated template

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

--- Comment #25 from Joel Madero jmadero@gmail.com ---
From my understanding it still has to be written in C++. If it's so clear and
commented - feel free to create a C++ patch and submit it to gerrit.

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


Re: Error building Visual Studio 2013 project file for LibreOffice on Windows

2015-02-16 Thread Jesper Hertel
I tried running make with the --debug parameter, and that gave this output,
if that is helpful:

$ /opt/lo/bin/make --debug vs2013-ide-integration
GNU Make 4.0
Built for Windows32
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
GNU Make 4.0
Built for Windows32
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Reading makefiles...
Updating goal targets
 File 'vs2013-ide-integration' does not exist.
Must remake target 'vs2013-ide-integration'.
cd C:/sources/libo-core  (LC_MESSAGES=C C:/cygwin/opt/lo/bin/make
cmd=C:/cygwin/opt/lo/
bin/make -npf Makefile.gbuild all cmd || true) |
C:/sources/libo-core/bin/gbuild-to-ide -
-ide vs2013
make[1]: *** [cmd] Error 127
Solution LibreOffice:
Successfully remade target file 'vs2013-ide-integration'.


Jesper

2015-02-16 20:40 GMT+01:00 Jesper Hertel jesper.her...@gmail.com:

 Hi,

 I just tried building LibreOffice for 32-bit Windows on a 64-bit Windows 7
 Home Premium machine using Visual Studio 2013 Community Edition.

 I have never built LibreOffice before, and I have carefully followed the
 instructions from
 https://wiki.documentfoundation.org/Development/BuildingOnWindows and
 used all the recommended settings and paths. My Cygwin is 64-bit and the
 used Java JDK is 32-bit.

 My autogen.input for building LibreOffice is this:

 --with-parallelism=2
 --disable-odk
 --with-junit=/cygdrive/c/sources/junit-4.10.jar
 --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.4
 --with-jdk-home=/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_31
 --enable-pch
 --disable-ccache
 --disable-activex
 --disable-atl

 and I ran the build from the Cygwin bash shell using this command:

 ./autogen.sh  /opt/lo/bin/make

 with current directory being

 /cygdrive/c/sources/libo-core

 which is the root of the tree cloned from git://
 gerrit.libreoffice.org/core.

 As instructed, I built directly to the source tree to get Visual Studio
 integration.

 After the first attempted builds failed, I pulled a more recent master
 that didn't fail on Tinkerbox, and I think the build succeeded then. There
 were no errors, but there were also no Build successful message or
 similar in the end. The output just ended with this:

 …
 [build SLC] sw
 [build SLC] libreoffice
 [build SLC] loaded modules: UnoControls accessibility accessories android
 animations apache-commons apple_remote avmedia basctl basebmp basegfx basic
 bean beanshell binaryurp boost bridges canvas chart2 clew cli_ure clucene
 codemaker coinmp collada2gltf comphelper configmgr connectivity cppcanvas
 cppu cppuhelper cppunit cpputools cui curl dbaccess desktop drawinglayer
 dtrans editeng embeddedobj embedserv eventattacher expat extensions
 external extras filter firebird forms formula fpicker framework glew glm
 graphite helpcompiler hsqldb hunspell hwpfilter hyphen i18nlangtag i18npool
 i18nutil icu idl idlc instsetoo_native iojavaunohelper jfreereport
 jpeg-turbo jurt jvmaccess jvmfwk l10ntools lcms2 libabw libcdr libcmis
 libebook libetonyek libexttextcat libfreehand libgltf liblangtag libmspub
 libmwaw libodfgen liborcus libpagemaker libpng librelogo libreoffice
 libreofficekit librevenge libvisio libwpd libwpg libwps libxml2 libxmlsec
 libxslt lingucomponent linguistic lotuswordpro lpsolve mdds more_fonts
 msc-externals mythes neon nss o3tl offapi officecfg oovbaapi ooxopencl
 opencollada openssl package poppler postgresql postprocess python3 pyuno
 qadevOOo readlicense_oo redland registry remotebridges reportbuilder
 reportdesign rhino ridljar rscsal salhelper sax sc scaddins sccomp scp2
 scripting sd sdext setup_native sfx2 shell slideshow smoketest solenv
 soltools sot starmath stoc store svgio svl svtools svx sw swext sysui test
 testtools toolkit tools tubes ucb ucbhelper ucpp udkapi unodevtools unoidl
 unoil unotest unotools unoxml ure uui vbahelper vcl vigra winaccessibility
 wizards writerfilter writerperfect xmerge xmlhelp xmloff xmlreader
 xmlscript xmlsecurity zlib

 But after that, it was possible to start LibreOffice Dev
 using C:\sources\libo-core\instdir\program\soffice.exe, so I guess the
 build was successful???

 Then I tried to build the Visual Studio 2013 solution file using

 /opt/lo/bin/make vs2013-ide-integration

 with current directory being /cygdrive/c/sources/libo-core.

 That gave me this entire output:

 cd C:/sources/libo-core  (LC_MESSAGES=C C:/cygwin/opt/lo/bin/make
 cmd=C:/cygwin/opt/lo/bin/make -npf Makefile.gbuild all cmd || true) |
 C:/sources/libo-core/bin/gbuild-to-ide --ide vs2013
 make[1]: *** [cmd] Error 127
 Solution LibreOffice:

 After that, the LibreOffice.sln 

Re: [solved] ScInterpreter::GetString() with svDoubleRef type of argument

2015-02-16 Thread Eike Rathke
Hi Winfried,

On Monday, 2015-02-16 07:49:05 +0100, Winfried Donkers wrote:

  I was pointed to a possible bug with Calc function LEFT() when entering an
  array for the text argument. In some cases it worked, in other it didn't.
  I created bug 89358 with an attachment showing the behaviour.
 
 Found it in 
 http://docs.oasis-open.org/office/v1.2/cos01/OpenDocument-v1.2-cos01-part2.html#__RefHeading__1017984_715980110
 Nothing wrong with the code, but help documentation lacks explanation for 
 users.

Something is hidden in the help for Array Functions:

| Using Array Formulas in LibreOfficeDev Calc
| You can also create a normal formula in which the reference range,
| such as parameters, indicate an array formula. The result is obtained
| from the intersection of the reference range and the rows or columns in
| which the formula is found. If there is no intersection or if the range
| at the intersection covers several rows or columns, a #VALUE! error
| message appears. The following example illustrates this concept:

And then follows a description of how to create array formulas, which is
exactly _not_ about intersections..

While the hint about the non-array normal formula mode is helpful
there to outline the difference, the actual what happens in an
intersection and when and why ... should (also?) be covered at a more
prominent place, I just don't know where.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack


pgpcMwdjwtJ2l.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 50699] Template Changer: Allow ability to change a document's associated template

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

Joel Madero jmadero@gmail.com changed:

   What|Removed |Added

 CC|jmadero@gmail.com   |

--- Comment #29 from Joel Madero jmadero@gmail.com ---
Last post on this (removing myself from cc) but need to say that we have no
collective priority - we are a team of volunteers who individually choose
what we want to implement. For more information (while not exactly on point, it
gives a clear explanation of how there really is no collective priority):
http://joelmadero.wordpress.com/2014/10/11/user-expectations-and-the-reality-of-our-community/?sn=cc=326#comment-326

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


Re: Error building Visual Studio 2013 project file for LibreOffice on Windows

2015-02-16 Thread Jesper Hertel
I tried running the command

LC_MESSAGES=C C:/cygwin/opt/lo/bin/make cmd=C:/cygwin/opt/lo/bin/make -npf
Makefile.gbuild all cmd

which gave this output of 4359 lines:

echo custom cmd  ( C:/cygwin/opt/lo/bin/make -npf Makefile.gbuild all )
custom cmd
# make[1]: Entering directory 'C:/sources/libo-core'
[build DEP] LNK:Library/saxlo.dll
[build LNK] Library/saxlo.dll
S=C:/sources/libo-core  I=$S/instdir  W=$S/workdir   mkdir -p
$W/Dep/LinkTarget/Library/  RESPONSEFILE=C:/cygwin/tmp/gbuild.4WaPOl 
PATH=C:\sources\libo-core\instdir\program;C:\sources\libo-core\instdir\program;$PATH
  $W/LinkTarget/Executable/concat-deps.exe ${RESPONSEFILE} 
$W/Dep/LinkTarget/Library/saxlo.dll.d.tmp  rm -f ${RESPONSEFILE}
mv C:/sources/libo-core/workdir/Dep/LinkTarget/Library/saxlo.dll.d.tmp
C:/sources/libo-core/workdir/Dep/LinkTarget/Library/saxlo.dll.d
TEMPFILE=C:/cygwin/tmp/gbuild.oMUicA   mv ${TEMPFILE}
C:/sources/libo-core/workdir/LinkTarget/Library/saxlo.dll.objectlist

[… and lots more, ending with this: …]

[build CXX] sc/source/core/opencl/op_statistical.cxx
[build CXX] sc/source/core/opencl/op_array.cxx
[build CXX] sc/source/core/opencl/op_logical.cxx
[build CXX] sc/source/core/opencl/op_spreadsheet.cxx
[build SDI] sw/sdi/swslots
S=C:/sources/libo-core  I=$S/instdir  W=$S/workdir   mkdir -p
$W/SdiTarget/sw/sdi/
Makefile:193: recipe for target 'cmd' failed
make: *** [cmd] Error 127


Line 193 of Makefile is the line:

echo custom cmd  ( $(cmd) )


Does that help in finding the cause?


2015-02-16 21:19 GMT+01:00 Jesper Hertel jesper.her...@gmail.com:

 I tried running make with the --debug parameter, and that gave this
 output, if that is helpful:

 $ /opt/lo/bin/make --debug vs2013-ide-integration
 GNU Make 4.0
 Built for Windows32
 Copyright (C) 1988-2013 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later 
 http://gnu.org/licenses/gpl.html
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 Reading makefiles...
 GNU Make 4.0
 Built for Windows32
 Copyright (C) 1988-2013 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later 
 http://gnu.org/licenses/gpl.html
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 Reading makefiles...
 Updating goal targets
  File 'vs2013-ide-integration' does not exist.
 Must remake target 'vs2013-ide-integration'.
 cd C:/sources/libo-core  (LC_MESSAGES=C C:/cygwin/opt/lo/bin/make
 cmd=C:/cygwin/opt/lo/
 bin/make -npf Makefile.gbuild all cmd || true) |
 C:/sources/libo-core/bin/gbuild-to-ide -
 -ide vs2013
 make[1]: *** [cmd] Error 127
 Solution LibreOffice:
 Successfully remade target file 'vs2013-ide-integration'.


 Jesper

 2015-02-16 20:40 GMT+01:00 Jesper Hertel jesper.her...@gmail.com:

 Hi,

 I just tried building LibreOffice for 32-bit Windows on a 64-bit Windows
 7 Home Premium machine using Visual Studio 2013 Community Edition.

 I have never built LibreOffice before, and I have carefully followed the
 instructions from
 https://wiki.documentfoundation.org/Development/BuildingOnWindows and
 used all the recommended settings and paths. My Cygwin is 64-bit and the
 used Java JDK is 32-bit.

 My autogen.input for building LibreOffice is this:

 --with-parallelism=2
 --disable-odk
 --with-junit=/cygdrive/c/sources/junit-4.10.jar
 --with-ant-home=/cygdrive/c/sources/apache-ant-1.9.4
 --with-jdk-home=/cygdrive/c/Program Files (x86)/Java/jdk1.8.0_31
 --enable-pch
 --disable-ccache
 --disable-activex
 --disable-atl

 and I ran the build from the Cygwin bash shell using this command:

 ./autogen.sh  /opt/lo/bin/make

 with current directory being

 /cygdrive/c/sources/libo-core

 which is the root of the tree cloned from git://
 gerrit.libreoffice.org/core.

 As instructed, I built directly to the source tree to get Visual Studio
 integration.

 After the first attempted builds failed, I pulled a more recent master
 that didn't fail on Tinkerbox, and I think the build succeeded then. There
 were no errors, but there were also no Build successful message or
 similar in the end. The output just ended with this:

 …
 [build SLC] sw
 [build SLC] libreoffice
 [build SLC] loaded modules: UnoControls accessibility accessories android
 animations apache-commons apple_remote avmedia basctl basebmp basegfx basic
 bean beanshell binaryurp boost bridges canvas chart2 clew cli_ure clucene
 codemaker coinmp collada2gltf comphelper configmgr connectivity cppcanvas
 cppu cppuhelper cppunit cpputools cui curl dbaccess desktop drawinglayer
 dtrans editeng embeddedobj embedserv eventattacher expat extensions
 external extras filter firebird forms formula fpicker framework glew glm
 graphite helpcompiler hsqldb hunspell hwpfilter hyphen i18nlangtag i18npool
 i18nutil icu idl idlc instsetoo_native iojavaunohelper jfreereport
 jpeg-turbo jurt jvmaccess jvmfwk l10ntools lcms2 libabw libcdr libcmis
 libebook libetonyek 

[Libreoffice-bugs] [Bug 89421] New: Move/Copy Sheet dialog should remember last used Action

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

Bug ID: 89421
   Summary: Move/Copy Sheet dialog should remember last used
Action
   Product: LibreOffice
   Version: unspecified
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: adamj...@gmail.com

The Move/Copy Sheet dialog always defaults to Move, even if you have
literally just performed a Copy action.

It should remember the last action you did and default to that.

This is especially notable when you are working within a single document and
moving/copying sheets, as a sheet that is moved within one document can lead
to data loss if you don't realize that you didn't make a copy, and edit the
new sheet.

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


[Libreoffice-bugs] [Bug 72152] StartCenter does not respect page orientation of Calc spreadsheets in recent files list

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

Julien Nabet serval2...@yahoo.fr changed:

   What|Removed |Added

 CC||serval2...@yahoo.fr

--- Comment #4 from Julien Nabet serval2...@yahoo.fr ---
On pc Debian x86-64 with master sources updated today, I could reproduce this.

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


[Libreoffice-bugs] [Bug 89089] Editing: no key board shortcut to apply default formatting including removing applied character styles

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|EasyHack DifficultyBeginner |NeedsDevEval
   |SkillCpp TopicUI|

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


[Libreoffice-bugs] [Bug 62950] EDITING Add option to set default of pasting to 'paste text without formatting'

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|EasyHack|NeedsDevEval
   |DifficultyInteresting   |
   |SkillCpp TopicUI|

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


[Libreoffice-bugs] [Bug 62948] IDE Object catalog: Enter does not openen a selected module/function

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|EasyHack|NeedsDevEval
   |DifficultyInteresting   |
   |SkillCpp TopicUI|

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


[Libreoffice-bugs] [Bug 62949] IDE Object catalog: Allow searching a module name with typing the first letter

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|EasyHack|NeedsDevEval
   |DifficultyInteresting   |
   |SkillCpp TopicUI|

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


Trying to understand some points in RecentDocs management

2015-02-16 Thread julien2412
Hello,

Noticing tdf#71447 (File menu takes long time to open when network files on
recent documents list are offline) about RecentDocs, I tried some gdb
session (let's take benefit of a debug+symbols build :-)) 

1) I noticed that AddDocumentToPickList was called at the opening and at the
close of a doc (+ some other events like saveAs)
See
http://opengrok.libreoffice.org/xref/core/sfx2/source/appl/sfxpicklist.cxx#406
= I wonder in which case calling this method at close would be useful so
submitted https://gerrit.libreoffice.org/#/c/14507/

2) I noticed that this line in AddDocumentToPickList was always wrong:
178 if ( !pMed-IsUpdatePickList() )
see
http://opengrok.libreoffice.org/xref/core/sfx2/source/appl/sfxpicklist.cxx#178
I mean either the recent list or not, it seems we never return from 
AddDocumentToPickList and so we generate thumbnail of the file (some lines
below)
Trying to investigate here, I must recognize I'm not sure what
bUpdatePickList variable from SfxMedium_Impl (see
http://opengrok.libreoffice.org/xref/core/sfx2/source/doc/docfile.cxx#174)
means:
a) boolean to indicate pick list should be updated
or b) boolean to indicate pick list has been updated
IsUpdatePickList shows a bit this confusion, does it mean: is updated
PickList or must Update PickList ?

3) I noticed that at each close, BackingWindow::initControls is called (see
opengrok.libreoffice.org/xref/core/sfx2/source/dialog/backingwindow.cxx#217) 
and we never return early from here:
217 void BackingWindow::initControls()
218 {
219 if( mbInitControls )
220 return;
221 
222 mbInitControls = true;

Indeed, by closing several times the same file (without any change in it
each time), the object address is different:
Ex:
bt 1:
#0  BackingWindow::initControls (this=0x738f9a0) at
/home/julien/compile-libreoffice/libreoffice/sfx2/source/dialog/backingwindow.cxx:219
#1  0x2eb7bf9c in BackingWindow::setOwningFrame (this=0x738f9a0,
xFrame=uno::Reference to ((anonymous namespace)::Frame *) 0x281aba8)
at
/home/julien/compile-libreoffice/libreoffice/sfx2/source/dialog/backingwindow.cxx:460
#2  0x2eb76de0 in (anonymous namespace)::BackingComp::attachFrame
(this=0x739c340, xFrame=uno::Reference to ((anonymous namespace)::Frame *)
0x281aba8)
at
/home/julien/compile-libreoffice/libreoffice/sfx2/source/dialog/backingcomp.cxx:436

bt 2:
#0  BackingWindow::initControls (this=0x75dd990) at
/home/julien/compile-libreoffice/libreoffice/sfx2/source/dialog/backingwindow.cxx:219
#1  0x2eb7bf9c in BackingWindow::setOwningFrame (this=0x75dd990,
xFrame=uno::Reference to ((anonymous namespace)::Frame *) 0x281aba8)
at
/home/julien/compile-libreoffice/libreoffice/sfx2/source/dialog/backingwindow.cxx:460
#2  0x2eb76de0 in (anonymous namespace)::BackingComp::attachFrame
(this=0x6ebc610, xFrame=uno::Reference to ((anonymous namespace)::Frame *)
0x281aba8)
at
/home/julien/compile-libreoffice/libreoffice/sfx2/source/dialog/backingcomp.cxx:436

the main problem here is we call mpAllRecentThumbnails-Reload(); (line 260
of this same file) (see
http://opengrok.libreoffice.org/xref/core/sfx2/source/control/recentdocsview.cxx#158)
This method clears and reloads completely SvtHistoryOptions list


Sorry for this long description but thought it might pinpoint some locations
to improve for recent docs part.

Julien



--
View this message in context: 
http://nabble.documentfoundation.org/Trying-to-understand-some-points-in-RecentDocs-management-tp4140334.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 89105] replace all hangs in long paragraph

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

Rostislav 'R.Yu.' Okulov ogldel...@mail.ru changed:

   What|Removed |Added

 CC||ogldel...@mail.ru
 Whiteboard|bibisectRequest |bibisected

--- Comment #2 from Rostislav 'R.Yu.' Okulov ogldel...@mail.ru ---
# bad: [423a84c4f7068853974887d98442bc2a2d0cc91b]
source-hash-c15927f20d4727c3b8de68497b6949e72f9e6e9e
git bisect bad 423a84c4f7068853974887d98442bc2a2d0cc91b
# good: [65fd30f5cb4cdd37995a33420ed8273c0a29bf00]
source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932
git bisect good 65fd30f5cb4cdd37995a33420ed8273c0a29bf00
# good: [e02439a3d6297a1f5334fa558ddec5ef4212c574]
source-hash-6b8393474974d2af7a2cb3c47b3d5c081b550bdb
git bisect good e02439a3d6297a1f5334fa558ddec5ef4212c574
# bad: [4850941efe43ae800be5c76e1102ab80ac2c085d]
source-hash-980a6e552502f02f12c15bfb1c9f8e6269499f4b
git bisect bad 4850941efe43ae800be5c76e1102ab80ac2c085d
# skip: [a043626b542eb8314218d7439534dce2fc325304]
source-hash-9379a922c07df3cdb7d567cc88dfaaa39ead3681
git bisect skip a043626b542eb8314218d7439534dce2fc325304
# skip: [aba65c3e4c0df07e4909aeefb758cdb688242bf6]
source-hash-827524abfb4b577d08276fde40929a9adfb7ff1a
git bisect skip aba65c3e4c0df07e4909aeefb758cdb688242bf6
# skip: [aba65c3e4c0df07e4909aeefb758cdb688242bf6]
source-hash-827524abfb4b577d08276fde40929a9adfb7ff1a
git bisect skip aba65c3e4c0df07e4909aeefb758cdb688242bf6
# skip: [aba65c3e4c0df07e4909aeefb758cdb688242bf6]
source-hash-827524abfb4b577d08276fde40929a9adfb7ff1a
git bisect skip aba65c3e4c0df07e4909aeefb758cdb688242bf6
# skip: [aba65c3e4c0df07e4909aeefb758cdb688242bf6]
source-hash-827524abfb4b577d08276fde40929a9adfb7ff1a
git bisect skip aba65c3e4c0df07e4909aeefb758cdb688242bf6
# good: [65fd30f5cb4cdd37995a33420ed8273c0a29bf00]
source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932
git bisect good 65fd30f5cb4cdd37995a33420ed8273c0a29bf00
# good: [c81a8a0dcfc1ed095a80e4485c89dd0fcaf73f31]
source-hash-c69ed33628ec0b7abf6296539cf280d6c4265930
git bisect good c81a8a0dcfc1ed095a80e4485c89dd0fcaf73f31
# good: [c81a8a0dcfc1ed095a80e4485c89dd0fcaf73f31]
source-hash-c69ed33628ec0b7abf6296539cf280d6c4265930
git bisect good c81a8a0dcfc1ed095a80e4485c89dd0fcaf73f31
# good: [30cde618212ecaf5725321372bd1b8339f8e2b9f]
source-hash-137f872aa8e6e598e7c7ed1ffa4d21e580e22bdb
git bisect good 30cde618212ecaf5725321372bd1b8339f8e2b9f
# good: [30cde618212ecaf5725321372bd1b8339f8e2b9f]
source-hash-137f872aa8e6e598e7c7ed1ffa4d21e580e22bdb
git bisect good 30cde618212ecaf5725321372bd1b8339f8e2b9f
# bad: [306d62ec4b911895f08f2bb8efefebed7ac795f0]
source-hash-735bd120c9ee2d9bb3514907936c27efb75d7282
git bisect bad 306d62ec4b911895f08f2bb8efefebed7ac795f0
# bad: [306d62ec4b911895f08f2bb8efefebed7ac795f0]
source-hash-735bd120c9ee2d9bb3514907936c27efb75d7282
git bisect bad 306d62ec4b911895f08f2bb8efefebed7ac795f0
# bad: [306d62ec4b911895f08f2bb8efefebed7ac795f0]
source-hash-735bd120c9ee2d9bb3514907936c27efb75d7282
git bisect bad 306d62ec4b911895f08f2bb8efefebed7ac795f0
# good: [65fd30f5cb4cdd37995a33420ed8273c0a29bf00]
source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932
git bisect good 65fd30f5cb4cdd37995a33420ed8273c0a29bf00
# good: [835ce851abe657bb5a8238693ea924287e6890c0]
source-hash-1e53784811458563b36fd4cbaa15c2f526a7161b
git bisect good 835ce851abe657bb5a8238693ea924287e6890c0
# good: [835ce851abe657bb5a8238693ea924287e6890c0]
source-hash-1e53784811458563b36fd4cbaa15c2f526a7161b
git bisect good 835ce851abe657bb5a8238693ea924287e6890c0
# good: [7d9e0cb59cf7fe20b31a5c291238b5391834c278]
source-hash-c828319753558e25a48ce7808604bcc648f2483d
git bisect good 7d9e0cb59cf7fe20b31a5c291238b5391834c278
# good: [03bcabfd9fda01b23178104f5c1b8e2e0053e6b2]
source-hash-007bf2b8c04090920b54e914ac75fc13720b450c
git bisect good 03bcabfd9fda01b23178104f5c1b8e2e0053e6b2
# first bad commit: [306d62ec4b911895f08f2bb8efefebed7ac795f0]
source-hash-735bd120c9ee2d9bb3514907936c27efb75d7282

306d62ec4b911895f08f2bb8efefebed7ac795f0 is the first bad commit
commit 306d62ec4b911895f08f2bb8efefebed7ac795f0
Author: Bjoern Michaelsen bjoern.michael...@canonical.com
Date:   Sat May 10 21:19:04 2014 +

source-hash-735bd120c9ee2d9bb3514907936c27efb75d7282

commit 735bd120c9ee2d9bb3514907936c27efb75d7282
Author: Caolán McNamara caol...@redhat.com
AuthorDate: Mon Dec 16 19:21:35 2013 +
Commit: Gerrit Code Review ger...@gerrit.libreoffice.org
CommitDate: Mon Dec 16 19:21:49 2013 +

Updated core
Project: help  a527273352071934f391c38c9e22395d168d79cd

:100644 100644 77fe8f0417e6a56eeb3df9da365e111f163db948
53e2b709f28d0f924ad98e51c9b1b98aaa208546 M  ccache.log
:100644 100644 8ccce3d41d3e599c351b824ed36d520ea8d7f49c
6fb511269af05ab7b64408daa4e888945cd4ab68 M  commitmsg
:100644 100644 ead0101ca49cfe17daa14aaa64ea05cbeff03692

[Libreoffice-bugs] [Bug 68975] FORMATTING: Impress does not apply some formatting of the master page to the slides (see comment2)

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|BSA EasyHack|NeedsDevEval

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


[Libreoffice-bugs] [Bug 64439] Add Backup Reset Profile Button to Advanced Options

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|ProposedEasyHack|NeedsDevEval

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


[Libreoffice-bugs] [Bug 63898] Allow embed color palettes in all LibreOffice documents

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|ProposedEasyHack|NeedsDevEval

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


[Libreoffice-bugs] [Bug 67555] Adding a word to a custom dictionary overwrites NTFS symbolic link to dictionary

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

Jon Grossart j...@grossart.net changed:

   What|Removed |Added

 Status|NEEDINFO|UNCONFIRMED
 Ever confirmed|1   |0

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


[Libreoffice-bugs] [Bug 50699] Template Changer: Allow ability to change a document's associated template

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

Jon Grossart j...@grossart.net changed:

   What|Removed |Added

  Component|Extensions  |LibreOffice

--- Comment #30 from Jon Grossart j...@grossart.net ---
Since it's my bug, and it should be core functionality, and it was imported
from the old tracker, I've updated it to LibreOffice.

The reasons for that over writer, is that Impress also uses templates, and this
functionality should exist there as well.

So, Writer and Impress both need it.

The extensions at best is a short term workaround in any fashion, as it should
be core functionality as it ties in so explicitly with templates and styles.

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


[Libreoffice-bugs] [Bug 79381] Color of non-printable characters is hard-coded to light blue

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|BSA proposedEasyHack|NeedsDevEval

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


Re: Calc function names saved to file and backward compatibility

2015-02-16 Thread Eike Rathke
Hi Winfried,

On Thursday, 2015-02-12 11:22:04 +0100, Winfried Donkers wrote:

 In Calc, the current situation is:
 Calc UIODF  Excel
 FDIST  LEGACY.FDIST FDIST
 F.DIST COM.MICROSOFT.F.DIST _xlfn.F.DIST
 F.DIST.RT  COM.MICROSOFT.F.DIST.RT  _xlfn.F.DIST.RT
 (ODF's FDIST is not used)
 
 I think the desired situation is:
 Calc UIODF Excel
 FDIST  COM.MICROSOFT.FDIST FDIST

No, the UI FDIST is actually the ODF LEGACY.FDIST which was specified
after those implementations.

 F.DIST FDIST   _xlfn.F.DIST 
 F.DIST.RT  LEGACY.FDIST_xlfn.F.DIST.RT
 (in case of UI's F.DIST, on export to Excel add argument cum=true, if absent)

Correct, I think (if the F.DIST.RT is actually the LEGACY.FDIST,
I didn't check now).


 These F-distribution functions are not unique having this problem, at least 
 (ISO)WEEKNUM (tdf#50950) and probably other distribution functions share this.

Actually this one is easier, as it involves only some renaming of
function names written to files, not functionality or changes in
parameters and add-in vs. built-in function.

 I think an agreed method should be used to fix these problems, with the 
 method to be determined (or is the method already defined?).

In practice yes, in theory no ;-)
I still wanted to have that written that down somewhere. IIRC I even
created almost empty wiki pages but then got distracted.. have to
retrieve them again.

What we usually do is add a compatibility name to older release branches
so the next release there can read both, the new name and the old name,
but continues to write the old name so earlier releases of the same
(usually two) branches are not affected.

Then for the next release branch (now master) switch from writing the
old name to writing the new name, but still accept the old name
forever.

You can find examples of that in sc/source/core/tool/compiler.cxx
ScCompiler::IsOpCode() in aOdffAliases.

So for older release branches you'd add FDIST with ocFDist_LT there, and
in master you'd add COM.MICROSOFT.F.DIST with ocFDist_LT and in
formula/source/core/resource/core_resource.src section
RID_STRLIST_FUNCTION_NAMES_ENGLISH_ODFF replace COM.MICROSOFT.F.DIST
with FDIST for SC_OPCODE_F_DIST_LT.

 AKAICS, this method ranges from one code change (breaking compatibility with 
 older versions and documents), via stepped code changes (maintaining 
 compatibility for e.g. 2 Lo versions) to (but excluding) not changing 
 anything.

It's maintaining compatibility for the last two release branches.
We did the same for erroneously written ODF attributes btw.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack


pgpI4TwgTEgkL.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-bugs] [Bug 57879] EDITING : consider an underscore to be part of a string

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|EasyHack DifficultyBeginner |NeedsDevEval
   |SkillCpp TopicUI|

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


[Libreoffice-commits] core.git: sal/osl

2015-02-16 Thread Michael Stahl
 sal/osl/all/compat.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8d997133c3f10d3f57e9670e2bc2e1b6471ac112
Author: Michael Stahl mst...@redhat.com
Date:   Mon Feb 16 23:46:08 2015 +0100

sal: -Werror=unused-parameter

Change-Id: Iad2a1c7796812e09c408868d7fa60705a1cc91be

diff --git a/sal/osl/all/compat.cxx b/sal/osl/all/compat.cxx
index 2f482de..ca5f340 100644
--- a/sal/osl/all/compat.cxx
+++ b/sal/osl/all/compat.cxx
@@ -150,11 +150,11 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_zeroMemory(void *, 
sal_Size) {
 std::abort();
 }
 
-SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_logfile_trace( const sal_Char* 
pszFormat, ... ) {
+SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_logfile_trace( const sal_Char*, ... ) {
 std::abort();
 }
 
-SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_logfile_longTrace(char const * format, 
...) {
+SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_logfile_longTrace(char const *, ...) {
 std::abort();
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: 2 commits - include/basegfx sc/source sc/workben stoc/source sw/source

2015-02-16 Thread Caolán McNamara
 include/basegfx/color/bcolormodifier.hxx |   15 +++
 include/basegfx/tools/unopolypolygon.hxx |6 +++---
 sc/source/ui/unoobj/afmtuno.cxx  |3 +--
 sc/source/ui/unoobj/appluno.cxx  |9 +++--
 sc/source/ui/unoobj/funcuno.cxx  |3 +--
 sc/workben/addin.cxx |3 +--
 stoc/source/typeconv/convert.cxx |3 +--
 sw/source/uibase/uno/unoatxt.cxx |3 +--
 sw/source/uibase/uno/unomod.cxx  |3 +--
 9 files changed, 19 insertions(+), 29 deletions(-)

New commits:
commit 52b25c1adf3a70819aea2080b0ad50a14a3c104b
Author: Caolán McNamara caol...@redhat.com
Date:   Mon Feb 16 20:47:23 2015 +

we shouldn't need a static ref in these createOneInstance factory helpers

at least not to ensure that they are singletons anyway

Change-Id: I08176afa67ac5f8e4f479b70ca5d71c52d0bb9af

diff --git a/sc/source/ui/unoobj/afmtuno.cxx b/sc/source/ui/unoobj/afmtuno.cxx
index 7dc224f..d518965 100644
--- a/sc/source/ui/unoobj/afmtuno.cxx
+++ b/sc/source/ui/unoobj/afmtuno.cxx
@@ -178,8 +178,7 @@ uno::Referenceuno::XInterface SAL_CALL 
ScAutoFormatsObj_CreateInstance(
 {
 SolarMutexGuard aGuard;
 ScDLL::Init();
-static uno::Reference uno::XInterface  xInst((::cppu::OWeakObject*) new 
ScAutoFormatsObj);
-return xInst;
+return (::cppu::OWeakObject*) new ScAutoFormatsObj;
 }
 
 OUString ScAutoFormatsObj::getImplementationName_Static()
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index d814831..51a9591 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -314,8 +314,7 @@ uno::Referenceuno::XInterface SAL_CALL 
ScSpreadsheetSettings_CreateInstance(
 {
 SolarMutexGuard aGuard;
 ScDLL::Init();
-static uno::Referenceuno::XInterface xInst((cppu::OWeakObject*)new 
ScSpreadsheetSettings());
-return xInst;
+return (cppu::OWeakObject*)new ScSpreadsheetSettings();
 }
 
 OUString ScSpreadsheetSettings::getImplementationName_Static()
@@ -602,8 +601,7 @@ uno::Referenceuno::XInterface SAL_CALL 
ScRecentFunctionsObj_CreateInstance(
 {
 SolarMutexGuard aGuard;
 ScDLL::Init();
-static uno::Referenceuno::XInterface xInst((cppu::OWeakObject*)new 
ScRecentFunctionsObj());
-return xInst;
+return (cppu::OWeakObject*)new ScRecentFunctionsObj();
 }
 
 OUString ScRecentFunctionsObj::getImplementationName_Static()
@@ -679,8 +677,7 @@ uno::Referenceuno::XInterface SAL_CALL 
ScFunctionListObj_CreateInstance(
 {
 SolarMutexGuard aGuard;
 ScDLL::Init();
-static uno::Referenceuno::XInterface xInst((cppu::OWeakObject*)new 
ScFunctionListObj());
-return xInst;
+return (cppu::OWeakObject*)new ScFunctionListObj();
 }
 
 OUString ScFunctionListObj::getImplementationName_Static()
diff --git a/sc/source/ui/unoobj/funcuno.cxx b/sc/source/ui/unoobj/funcuno.cxx
index aa13e66..6f3b11d 100644
--- a/sc/source/ui/unoobj/funcuno.cxx
+++ b/sc/source/ui/unoobj/funcuno.cxx
@@ -205,8 +205,7 @@ uno::Referenceuno::XInterface SAL_CALL 
ScFunctionAccess_CreateInstance(
 {
 SolarMutexGuard aGuard;
 ScDLL::Init();
-static uno::Reference uno::XInterface  xInst((::cppu::OWeakObject*) new 
ScFunctionAccess);
-return xInst;
+return (::cppu::OWeakObject*) new ScFunctionAccess;
 }
 
 OUString ScFunctionAccess::getImplementationName_Static()
diff --git a/sc/workben/addin.cxx b/sc/workben/addin.cxx
index f5784c5..60089b3 100644
--- a/sc/workben/addin.cxx
+++ b/sc/workben/addin.cxx
@@ -120,8 +120,7 @@ UString ScTestAddIn::getImplementationName_Static()
 uno::Referenceuno::XInterface ScTestAddIn_CreateInstance(
 const uno::Referencelang::XMultiServiceFactory )
 {
-static uno::Referenceuno::XInterface xInst = (cppu::OWeakObject*)new 
ScTestAddIn();
-return xInst;
+return (cppu::OWeakObject*)new ScTestAddIn();
 }
 
 // XAddIn
diff --git a/stoc/source/typeconv/convert.cxx b/stoc/source/typeconv/convert.cxx
index e737f87..544243b 100644
--- a/stoc/source/typeconv/convert.cxx
+++ b/stoc/source/typeconv/convert.cxx
@@ -917,8 +917,7 @@ Reference XInterface  SAL_CALL 
TypeConverter_Impl_CreateInstance(
 SAL_UNUSED_PARAMETER const Reference XComponentContext   )
 throw( RuntimeException )
 {
-static Reference XInterface  s_ref( (OWeakObject *) new 
stoc_tcv::TypeConverter_Impl() );
-return s_ref;
+return (OWeakObject *) new stoc_tcv::TypeConverter_Impl();
 }
 }
 
diff --git a/sw/source/uibase/uno/unoatxt.cxx b/sw/source/uibase/uno/unoatxt.cxx
index 9b237ff..003e89d 100644
--- a/sw/source/uibase/uno/unoatxt.cxx
+++ b/sw/source/uibase/uno/unoatxt.cxx
@@ -65,8 +65,7 @@ uno::Reference uno::XInterface  SAL_CALL 
SwXAutoTextContainer_createInstance(
 //the module may not be loaded
 SolarMutexGuard aGuard;
 SwGlobals::ensure();
-static uno::Reference uno::XInterface  xAText = (cppu::OWeakObject*)new 
SwXAutoTextContainer();
-return xAText;
+return (cppu::OWeakObject*)new 

[Libreoffice-bugs] [Bug 84514] Plot options in chart series format are not shown for charts with internal data

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

Katarina Behrens bu...@bubli.org changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |bu...@bubli.org
   |desktop.org |

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


[Libreoffice-bugs] [Bug 72437] [UI] File Open dialog: change behaviour of Ctrl+Shft+N to create new folder

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|couldbeeasyhack |NeedsDevEval

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


[Libreoffice-commits] core.git: Branch 'private/jmux/libreoffice-4-1-6+backports' - 6 commits - desktop/source download.lst sw/source writerfilter/source

2015-02-16 Thread Andras Timar
 desktop/source/migration/migration.cxx|   33 --
 desktop/source/migration/migration_impl.hxx   |   18 ++-
 download.lst  |2 
 sw/source/filter/ww8/docxattributeoutput.cxx  |   16 ++-
 sw/source/filter/ww8/ww8atr.cxx   |2 
 writerfilter/source/dmapper/DomainMapper.cxx  |4 
 writerfilter/source/dmapper/DomainMapper_Impl.cxx |   89 --
 writerfilter/source/dmapper/DomainMapper_Impl.hxx |7 +
 writerfilter/source/ooxml/OOXMLFastContextHandler.cxx |9 +
 writerfilter/source/ooxml/OOXMLFastContextHandler.hxx |1 
 writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx|   22 
 writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx|   14 ++
 writerfilter/source/ooxml/factoryimpl_ns.xsl  |   10 ++
 writerfilter/source/ooxml/model.xml   |5 -
 14 files changed, 177 insertions(+), 55 deletions(-)

New commits:
commit b30fb9593b5efdc0e4ae4889ed34bc3d5d42bf6d
Author: Andras Timar andras.ti...@collabora.com
Date:   Tue Jun 10 22:30:07 2014 +0200

openssl-0.9.8za -- fixes multiple CVEs

Change-Id: Id4a2d2af49518317511da194a582d3bb18c346f7
(cherry picked from commit 2f926a476b73a7c06a4579f422a4458ac3e789a1)

diff --git a/download.lst b/download.lst
index 789221f..b42968b 100644
--- a/download.lst
+++ b/download.lst
@@ -72,7 +72,7 @@ export NEON_TARBALL := 
ff369e69ef0f0143beb5626164e87ae2-neon-0.29.5.tar.gz
 export NSS_TARBALL := 
a0a861f539f0e7a91d05e6b9457e4db1-nss-3.13.5-with-nspr-4.9.1.tar.gz
 export ODFGEN_TARBALL := 
8473296c671b6e3dd8197f4145e0854b-libodfgen-0.0.2.tar.bz2
 export OPENLDAP_TARBALL := 804c6cb5698db30b75ad0ff1c25baefd-openldap-2.4.31.tgz
-export OPENSSL_TARBALL := 
51a40a81b3b7abe8a5c33670bd3da0ce-openssl-0.9.8v.tar.gz
+export OPENSSL_TARBALL := 
2f989915f8fea49aa1bc37aa58500cce-openssl-0.9.8za.tar.gz
 export ORCUS_TARBALL := ea2acaf140ae40a87a952caa75184f4d-liborcus-0.5.1.tar.bz2
 export PIXMAN_TARBALL := c63f411b3ad147db2bcce1bf262a0e02-pixman-0.24.4.tar.bz2
 export PNG_TARBALL := 9e5d864bce8f06751bbd99962ecf4aad-libpng-1.5.10.tar.gz
commit aa7d1d64385aec1a1ecad3bff7158dec9fdf6abd
Author: Eilidh McAdam eilidh.mca...@itomig.de
Date:   Wed Dec 10 03:50:10 2014 +

Support for docx import of fixed date and time fields.

If a field is fixed, mark it as such and parse value to seed it.
This is the other half of the docx filter improvement for fdo#59886.

Reviewed on:
https://gerrit.libreoffice.org/13431

(cherry picked from commit 8826934016d60d0a4a1e824e3f1cff814d915515)

Conflicts:
writerfilter/source/dmapper/DomainMapper_Impl.cxx
writerfilter/source/dmapper/DomainMapper_Impl.hxx
writerfilter/source/ooxml/OOXMLPropertySetImpl.cxx
writerfilter/source/ooxml/OOXMLPropertySetImpl.hxx
writerfilter/source/ooxml/factoryimpl_ns.py
writerfilter/source/ooxml/model.xml

Change-Id: Id00c454921cd386589e04b9572f4040898625a6f

diff --git a/writerfilter/source/dmapper/DomainMapper.cxx 
b/writerfilter/source/dmapper/DomainMapper.cxx
index a9474a6..35df878 100644
--- a/writerfilter/source/dmapper/DomainMapper.cxx
+++ b/writerfilter/source/dmapper/DomainMapper.cxx
@@ -3596,6 +3596,10 @@ void DomainMapper::lcl_text(const sal_uInt8 * data_, 
size_t len)
 switch(*data_)
 {
 case 0x02: return; //footnote character
+case 0x08: // Lock field if in field context
+if (m_pImpl-IsOpenField())
+m_pImpl-SetFieldLocked();
+return;
 case 0x0c: //page break
 m_pImpl-deferBreak(PAGE_BREAK);
 return;
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx 
b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 5528a9f..a051a9b 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -52,6 +52,8 @@
 #include com/sun/star/text/XTextFieldsSupplier.hpp
 #include com/sun/star/style/DropCapFormat.hpp
 #include com/sun/star/util/XNumberFormatsSupplier.hpp
+#include com/sun/star/util/XNumberFormatter.hpp
+#include com/sun/star/util/NumberFormatter.hpp
 #include com/sun/star/document/XViewDataSupplier.hpp
 #include com/sun/star/container/XIndexContainer.hpp
 #include com/sun/star/awt/XControlModel.hpp
@@ -166,6 +168,7 @@ DomainMapper_Impl::DomainMapper_Impl(
 m_xTextFactory( xModel, uno::UNO_QUERY ),
 m_xComponentContext( xContext ),
 m_bSetUserFieldContent( false ),
+m_bSetDateValue( false ),
 m_bIsFirstSection( true ),
 m_bIsColumnBreakDeferred( false ),
 m_bIsPageBreakDeferred( false ),
@@ -2144,10 +2147,17 @@ bool DomainMapper_Impl::IsOpenField() const
 return !m_aFieldStack.empty();
 }
 
+// Mark top field context as containing a fixed 

[Libreoffice-bugs] [Bug 50746] UI: Under customize Edit menu options: add the option paste unformatted text

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|EasyHack DifficultyBeginner |NeedsDevEval
   |SkillCpp|

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


[Libreoffice-bugs] [Bug 49464] Add Ctrl-Shift-F for repeated search in basic IDE

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|EasyHack DifficultyBeginner |NeedsDevEval
   |SkillCpp TopicUI|

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


[Libreoffice-commits] core.git: sal/osl sal/util

2015-02-16 Thread Thorsten Behrens
 sal/osl/all/compat.cxx |   12 
 sal/util/sal.map   |3 +++
 2 files changed, 15 insertions(+)

New commits:
commit 5818dd94599540196072955b5987671f7f7d5a44
Author: Thorsten Behrens t...@documentfoundation.org
Date:   Mon Feb 16 17:22:14 2015 +0100

Related: tdf#63690 - add stubs for removed rtl_logfile functions.

This fixes up 3d403f2af2e5b7d26254d45590764f279450fab6, by not
removing public API.

Change-Id: I60a4b7284661238bdf32a1600f27a7e507c5374a

diff --git a/sal/osl/all/compat.cxx b/sal/osl/all/compat.cxx
index 592ac90..2f482de 100644
--- a/sal/osl/all/compat.cxx
+++ b/sal/osl/all/compat.cxx
@@ -150,6 +150,18 @@ SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_zeroMemory(void *, 
sal_Size) {
 std::abort();
 }
 
+SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_logfile_trace( const sal_Char* 
pszFormat, ... ) {
+std::abort();
+}
+
+SAL_DLLPUBLIC_EXPORT void SAL_CALL rtl_logfile_longTrace(char const * format, 
...) {
+std::abort();
+}
+
+SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL rtl_logfile_hasLogFile( void ) {
+for (;;) { std::abort(); } // avoid must return a value warnings
+}
+
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sal/util/sal.map b/sal/util/sal.map
index bca9c88..6acd9c4 100644
--- a/sal/util/sal.map
+++ b/sal/util/sal.map
@@ -500,6 +500,7 @@ UDK_3_0_0 {
 rtl_addUnloadingListener;
 rtl_removeUnloadingListener;
 
+rtl_logfile_trace;
 osl_getProcessLocale;
 osl_setProcessLocale;
 local:
@@ -545,6 +546,7 @@ UDK_3.3 {
 osl_setCommandArgs;
 rtl_uStringbuffer_insertUtf32;
 rtl_ustr_ascii_compareIgnoreAsciiCase_WithLengths;
+rtl_logfile_longTrace;
 rtl_ustr_asciil_reverseEquals_WithLength;
 } UDK_3.2;
 
@@ -606,6 +608,7 @@ UDK_3.9 { # OOo 3.1
 
 UDK_3.10 { # OOo 3.2
 global:
+rtl_logfile_hasLogFile;
 rtl_math_erf;
 rtl_math_erfc;
 rtl_math_asinh;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-bugs] [Bug 72152] StartCenter does not respect page orientation of Calc spreadsheets in recent files list

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

Julien Nabet serval2...@yahoo.fr changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|libreoffice-b...@lists.free |serval2...@yahoo.fr
   |desktop.org |

--- Comment #5 from Julien Nabet serval2...@yahoo.fr ---
Submitted a patch to review, see https://gerrit.libreoffice.org/#/c/14512/

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


[Libreoffice-bugs] [Bug 89214] Mailmerge: 4.4: loosing numbered and bulleted lists in target documents

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

--- Comment #3 from Joe P. jdpellegr...@comcast.net ---
Just an update. I did a bisect however in performing the bisect I ran into a
minor problem. It seems that the final step doing the mail merge and saving
the result failed in some of the tested versions. This was performed on
43-all, of the builds tested that worked, I did not encounter a problem with
the formatting, yet. Anyway, the log below are the results that I got with a
bisect and marking bad those builds which failed to write a mail-merge.

# bad: [423a84c4f7068853974887d98442bc2a2d0cc91b]
source-hash-c15927f20d4727c3b8de68497b6949e72f9e6e9e
# good: [65fd30f5cb4cdd37995a33420ed8273c0a29bf00]
source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932
git bisect start 'latest' 'oldest'
# bad: [e02439a3d6297a1f5334fa558ddec5ef4212c574]
source-hash-6b8393474974d2af7a2cb3c47b3d5c081b550bdb
git bisect bad e02439a3d6297a1f5334fa558ddec5ef4212c574
# good: [8f4aeaad2f65d656328a451154142bb82efa4327]
source-hash-1885266f274575327cdeee9852945a3e91f32f15
git bisect good 8f4aeaad2f65d656328a451154142bb82efa4327
# good: [9995fae0d8a24ce31bcb5e9cd0459b69cfbf7a02]
source-hash-8600bc24bbc9029e92bea6102bff2921bc10b33e
git bisect good 9995fae0d8a24ce31bcb5e9cd0459b69cfbf7a02
# good: [8ad82bc1416a07501651e8d96fe268e47d3931d3]
source-hash-13821254f88d2c5488fba9fe6393dcf4ae810db4
git bisect good 8ad82bc1416a07501651e8d96fe268e47d3931d3
# bad: [d084d250b04446535ca1d7c29cf2062e6bd042b3]
source-hash-688f72e3a2c3ef923389bbd21f6aea3afe1114db
git bisect bad d084d250b04446535ca1d7c29cf2062e6bd042b3
# bad: [013adf05b6bf8e5d44a4e820d43177d7fb749079]
source-hash-a16a4006e40bdb2cb4671846295fe2bf5a856e68
git bisect bad 013adf05b6bf8e5d44a4e820d43177d7fb749079
# bad: [ff4b17247dc05a006a5c4c57dced132c87f2396c]
source-hash-d74ba0c4147f33abd9d0c03883cc88f15e160ee5
git bisect bad ff4b17247dc05a006a5c4c57dced132c87f2396c
# bad: [54c7e3977148ffe7631292f2f7d6d60cf7c86bbc]
source-hash-5ad95cec96f6f08c55bb226a6eaeb1eeb95c1279
git bisect bad 54c7e3977148ffe7631292f2f7d6d60cf7c86bbc
# bad: [891878bfdd77870aa99f3f9cc6ee6169c4d1c886]
source-hash-ef4b5aad82da7133e89e37e3e04791398d6fb3a6
git bisect bad 891878bfdd77870aa99f3f9cc6ee6169c4d1c886

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


Re: Building the code on OS X

2015-02-16 Thread Tor Lillqvist
Don't try to use Valgrind with LibreOffice on OS X. Nobody else does, so if
you run into problems with it, you are on your own.

(If you solve such problems, and Valgrind indeed now works fine on OS X in
general, and on LibreOffice in particular, then do contribute any necessary
patches to LibreOffice back, please! But anyway, at first do a normal
LibreOffice build without any attempts to use special 3rd-party stuff.)

No idea what causes your MAX_FALLBACK issue. It is clearly defined in
vcl/inc/magic.h:
#define MAX_FALLBACK 16. Quite possibly, your VALGRIND_CFLAGS, or some
other special thing you do, causes some other magic.h to be included
instead.

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


LibreOffice Gerrit News for core on 2015-02-17

2015-02-16 Thread gerrit
Moin!

* Open changes on master for project core changed in the last 25 hours:

 First time contributors doing great things! 
+ Enhancement tdf#87972 :  Cannot repeat items labels on a pivot table
  in https://gerrit.libreoffice.org/14504 from Deena P. F.
  about module include, sc, xmloff
+ tdf#64573: Add captions to Photo Album
  in https://gerrit.libreoffice.org/14506 from Rishabh Kumar
  about module sd
+ Remove old icons -2
  in https://gerrit.libreoffice.org/14503 from Andrew Dent
  about module icon-themes
+ Drop local FindPageDesc implementations
  in https://gerrit.libreoffice.org/14508 from Jan-Marek Glogowski
  about module sw
+ tdf#39440 - cppcheck cleanliness
  in https://gerrit.libreoffice.org/14487 from Ioan Radu
  about module basctl, basegfx, basic, canvas, chart2, connectivity
+ tdf#87820  Images not displayed properly in Calc
  in https://gerrit.libreoffice.org/14505 from Henry Castro
  about module svx
 End of freshness 

+ forms: use constructor feature for form modules
  in https://gerrit.libreoffice.org/14502 from Chris Sherlock
  about module forms
+ Resolves tdf#72152: respect page orientation of Calc files in recent docs
  in https://gerrit.libreoffice.org/14512 from Julien Nabet
  about module sc
+ Recent docs: Optimize a bit
  in https://gerrit.libreoffice.org/14507 from Julien Nabet
  about module sfx2


* Merged changes on master for project core changed in the last 25 hours:

+ update mdds to 0.12.0
  in https://gerrit.libreoffice.org/14515 from Markus Mohrhard
+ fix indentation
  in https://gerrit.libreoffice.org/14513 from Markus Mohrhard
+ update chart xshape reference files
  in https://gerrit.libreoffice.org/14514 from Markus Mohrhard
+ tdf#70733 - Move ISEVEN and ISODD functions to information
  in https://gerrit.libreoffice.org/14501 from Joel Madero
+ Translated remaining german commments in sc/source/core/data/documenX.cxx
  in https://gerrit.libreoffice.org/14370 from Albert Thuswaldner
+ tdf#65505 tdf#57431 Autofilter checkbox for blank cells like in MS Excel
  in https://gerrit.libreoffice.org/13573 from Deena P. F.
+ Remove old icons.
  in https://gerrit.libreoffice.org/14466 from Andrew Dent
+ tdf#89243 Allow box to expand on resizing
  in https://gerrit.libreoffice.org/14453 from Adolfo Jayme Barrientos
+ add GetSelectEntryData to ListBox and ComboBox
  in https://gerrit.libreoffice.org/14472 from Noel Grandin
+ SALEVENT_ VOLUMECHANGED, DATETIMECHANGED and KEYBOARDCHANGED are unused
  in https://gerrit.libreoffice.org/14460 from Noel Grandin
+ Document SfxItemState
  in https://gerrit.libreoffice.org/14496 from Ursache Vladimir


* Abandoned changes on master for project core changed in the last 25 hours:

None

* Open changes needing tweaks, but being untouched for more than a week:

+ fdo#88045-Edit Button for Numbering Style in Edit Paragraph Style
  in https://gerrit.libreoffice.org/13740 from Heena Gupta
+ fdo#87675-Edit Button for linked style in edit paragraph style
  in https://gerrit.libreoffice.org/13785 from Heena Gupta
+ GPU Calc:Support string parameter in SUMIF an SUMIFS.
  in https://gerrit.libreoffice.org/12044 from Hao Chen
+ vcl: Reduce OpenGLX11CairoTextRender surface area to size of text bounds
  in https://gerrit.libreoffice.org/14148 from Chris Sherlock
+ wip: get rid of svx dbtoolsclient
  in https://gerrit.libreoffice.org/11737 from Lionel Elie Mamane
+ fdo#86606 removal of direct formatting options from the context menu
  in https://gerrit.libreoffice.org/13196 from Yousuf Philips
+ Fix typo code Persistant
  in https://gerrit.libreoffice.org/14030 from Andrea Gelmini
+ fdo#88309: Standardize, cleanup, and improve Assertions
  in https://gerrit.libreoffice.org/13945 from Ashod Nakashian
+ --with-macosx-app-name= is unused, so bin it from AC_ARG_WITH list
  in https://gerrit.libreoffice.org/13658 from Douglas Mencken
+ fdo#30541: Default icon set on Windows should be Galaxy, not Tango.
  in https://gerrit.libreoffice.org/13859 from Rimas Kudelis
+ fdo#75825-Send Document as E-Mail not working
  in https://gerrit.libreoffice.org/13786 from Charu Tyagi
+ solenv-filelists.pm: fix can't call method `mode' on an undefined value
  in https://gerrit.libreoffice.org/13669 from Douglas Mencken
+ gbuild-to-ide fixes
  in https://gerrit.libreoffice.org/11754 from Peter Foley
+ fdo#82335.
  in https://gerrit.libreoffice.org/11555 from Sudarshan Rao
+ fdo#39625 Make existing CppUnittests work
  in https://gerrit.libreoffice.org/11605 from Tobias Madl
+ fdo#86784 make soffice commandline in juh Bootstrap.bootstrap() configura
  in https://gerrit.libreoffice.org/13290 from Christoph Lutz
+ start detection of kf5 stuff in configure.ac
  in https://gerrit.libreoffice.org/13079 from Jonathan Riddell
+ more breeze icons
  in https://gerrit.libreoffice.org/13058 from Jonathan Riddell
+ Perftest for loading autocorrect dictionaries, related fdo#79761
  in https://gerrit.libreoffice.org/11296 from Matúš Kukan


Best,

Your friendly 

[Libreoffice-bugs] [Bug 89190] Text doesn't appear when another textbox has animation and hardware acceleration is enabled

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

Jean-Baptiste Faure jbfa...@libreoffice.org changed:

   What|Removed |Added

Summary|Text doesn't appear when|Text doesn't appear when
   |another textbox has |another textbox has
   |animation   |animation and hardware
   ||acceleration is enabled

--- Comment #5 from Jean-Baptiste Faure jbfa...@libreoffice.org ---
Updated summary.

Best regards. JBF

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


[Libreoffice-bugs] [Bug 89415] The problem of sorting data via AutoFilter; header with dropdowns sorted (header with empty cells)

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

raal r...@post.cz changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
Summary|The problem of sorting data |The problem of sorting data
   |via AutoFilter  |via AutoFilter; header with
   ||dropdowns sorted (header
   ||with empty cells)
 Ever confirmed|0   |1

--- Comment #2 from raal r...@post.cz ---
I can confirm with LO 4.4.0.3, win7.

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


[Libreoffice-bugs] [Bug 89423] Small icon for deleting table is missing

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

--- Comment #3 from Mark Hung mark...@gmail.com ---
Step1. Insert a table 
Step2. Tools - Options - Icon size and style, select Small 
Step3. Tools - Options - Icon size and style, select Large

In Step 2, Table Bar has a 'Delete Table' button without icon.
In Step 3, saw the icon instead. 

Verified with 4.4.0.3, in two UI language settings ( Traditional Chinese and
English. )

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


[Libreoffice-commits] core.git: basctl/source basegfx/source basic/source canvas/workben chart2/source connectivity/source

2015-02-16 Thread Radu Ioan
 basctl/source/dlged/dlgedfunc.cxx |4 -
 basegfx/source/polygon/b2dpolygontools.cxx|1 
 basic/source/runtime/basrdll.cxx  |7 +-
 basic/source/runtime/ddectrl.cxx  |1 
 basic/source/runtime/runtime.cxx  |3 -
 canvas/workben/canvasdemo.cxx |4 -
 chart2/source/controller/chartapiwrapper/WrappedScaleProperty.cxx |2 
 chart2/source/controller/dialogs/DataBrowser.cxx  |   11 ++-
 chart2/source/controller/main/ChartController_Window.cxx  |4 -
 chart2/source/tools/ThreeDHelper.cxx  |3 -
 connectivity/source/drivers/file/fcomp.cxx|2 
 connectivity/source/drivers/jdbc/CallableStatement.cxx|4 +
 connectivity/source/drivers/jdbc/DatabaseMetaData.cxx |9 +--
 connectivity/source/drivers/jdbc/JConnection.cxx  |   10 ++-
 connectivity/source/drivers/jdbc/JStatement.cxx   |6 +-
 connectivity/source/drivers/jdbc/PreparedStatement.cxx|   28 
++
 connectivity/source/drivers/jdbc/Timestamp.cxx|   18 --
 17 files changed, 66 insertions(+), 51 deletions(-)

New commits:
commit a8e6f0bea0e8bc028ee64d0b4d9046e52de94eda
Author: Radu Ioan ioan.rad...@gmail.com
Date:   Sat Feb 14 00:31:54 2015 +0200

tdf#39440 - cppcheck cleanliness

Fixed some cppcheck defects

Change-Id: I25fd6aba9d76df98d20b9a1bb4c9d3c1bf6f84bb
Reviewed-on: https://gerrit.libreoffice.org/14487
Reviewed-by: Noel Grandin noelgran...@gmail.com
Tested-by: Noel Grandin noelgran...@gmail.com

diff --git a/basctl/source/dlged/dlgedfunc.cxx 
b/basctl/source/dlged/dlgedfunc.cxx
index 7beccb6..3937b20 100644
--- a/basctl/source/dlged/dlgedfunc.cxx
+++ b/basctl/source/dlged/dlgedfunc.cxx
@@ -459,8 +459,6 @@ bool DlgEdFuncSelect::MouseButtonDown( const MouseEvent 
rMEvt )
 if ( rMEvt.IsLeft()  rMEvt.GetClicks() == 1 )
 {
 SdrHdl* pHdl = rView.PickHandle(aMDPos);
-SdrObject* pObj;
-SdrPageView* pPV;
 
 // hit selected object?
 if ( pHdl!=NULL || rView.IsMarkedHit(aMDPos, nHitLog) )
@@ -474,6 +472,8 @@ bool DlgEdFuncSelect::MouseButtonDown( const MouseEvent 
rMEvt )
 rView.UnmarkAll();
 else
 {
+SdrObject* pObj;
+SdrPageView* pPV;
 if( rView.PickObj( aMDPos, nHitLog, pObj, pPV ) )
 {
 //if (dynamic_castDlgEdForm*(pObj))
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx 
b/basegfx/source/polygon/b2dpolygontools.cxx
index 03c298e..09cb226 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -1088,7 +1088,6 @@ namespace basegfx
 // inside parameter range edge2, too
 if(fTools::more(fCut2, fZero)  
fTools::less(fCut2, fOne))
 {
-bFinished = true;
 aRetval = CUTFLAG_LINE;
 }
 }
diff --git a/basic/source/runtime/basrdll.cxx b/basic/source/runtime/basrdll.cxx
index 85fe736..a1ad75a 100644
--- a/basic/source/runtime/basrdll.cxx
+++ b/basic/source/runtime/basrdll.cxx
@@ -86,14 +86,13 @@ void BasicDLL::SetDebugMode( bool bDebugMode )
 
 void BasicDLL::BasicBreak()
 {
-// bJustStopping: if there's someone pressing STOP like crazy umpteen 
times,
-// but the Basic doesn't stop early enough, the box might appear more 
often...
-static bool bJustStopping = false;
-
 BasicDLL* pThis = BASIC_DLL();
 DBG_ASSERT( pThis, BasicDLL::EnableBreak: No instance yet! );
 if ( pThis )
 {
+// bJustStopping: if there's someone pressing STOP like crazy umpteen 
times,
+// but the Basic doesn't stop early enough, the box might appear more 
often...
+static bool bJustStopping = false;
 if (StarBASIC::IsRunning()  !bJustStopping
  (pThis-m_xImpl-bBreakEnabled || pThis-m_xImpl-bDebugMode))
 {
diff --git a/basic/source/runtime/ddectrl.cxx b/basic/source/runtime/ddectrl.cxx
index 2557c9e..232008a 100644
--- a/basic/source/runtime/ddectrl.cxx
+++ b/basic/source/runtime/ddectrl.cxx
@@ -133,7 +133,6 @@ SbError SbiDdeControl::Terminate( size_t nChannel )
 return SbERR_DDE_NO_CHANNEL;
 }
 delete pConv;
-pConv = DDE_FREECHANNEL;
 
 return 0L;
 }
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 4dc9979..21d1cb8 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -1397,12 +1397,13 @@ void SbiRuntime::StepCompare( SbxOperator eOp )
 }
 static SbxVariable* pTRUE = NULL;
 

[Libreoffice-bugs] [Bug 63690] replace RTL_CONTEXT_ macros with SAL_INFO

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

--- Comment #26 from Adolfo Jayme f...@libreoffice.org ---
For the record:

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

Related: tdf#63690 - add stubs for removed rtl_logfile functions.

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


[Libreoffice-commits] core.git: nlpsolver/src

2015-02-16 Thread LeMoyne Castle
 nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java |   19 
--
 nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java  |7 ++-
 nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/Registration.java  |4 --
 3 files changed, 13 insertions(+), 17 deletions(-)

New commits:
commit c290998df667bd2a8a12379642f79d09eca471c3
Author: LeMoyne Castle lemoyne.cas...@gmail.com
Date:   Sun Feb 15 09:05:46 2015 -0700

tdf#87074 null-ref error from NLPSolver in Basic

Initialize java class member objects exposed as
XSolver properties: no default construction in java.
Fixes issue for both DEPS and SCO solvers.
Also removed info level console prints.

Change-Id: I6762c5cca978072ce20b1f69a6b523f53364107d
Reviewed-on: https://gerrit.libreoffice.org/14499
Reviewed-by: Noel Grandin noelgran...@gmail.com
Tested-by: Noel Grandin noelgran...@gmail.com

diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java 
b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
index 30b8392..73da46b 100644
--- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
+++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/BaseNLPSolver.java
@@ -78,9 +78,17 @@ public abstract class BaseNLPSolver extends WeakBase
 private com.sun.star.lang.Locale m_locale = new com.sun.star.lang.Locale();
 private final ResourceManager resourceManager;
 
+private CellAddress m_objective;
+protected CellAddress[] m_variables;
+protected SolverConstraint[] m_constraints;
+
 public BaseNLPSolver(XComponentContext xContext, String name) {
 m_xContext = xContext;
 m_name = name;
+// init members exposed as XSolver properties thru uno bridge
+m_objective = new CellAddress();
+m_variables = new CellAddress[0];
+m_constraints = new SolverConstraint[0];
 
 XMultiComponentFactory componentFactory = xContext.getServiceManager();
 try {
@@ -117,9 +125,6 @@ public abstract class BaseNLPSolver extends WeakBase
 private XSpreadsheetDocument m_document;
 private XModel m_xModel;
 protected XReschedule m_xReschedule;
-private CellAddress m_objective;
-protected CellAddress[] m_variables;
-protected SolverConstraint[] m_constraints;
 protected ExtSolverConstraint[] m_extConstraints;
 protected boolean m_maximize;
 
@@ -155,9 +160,6 @@ public abstract class BaseNLPSolver extends WeakBase
 }
 
 public CellAddress[] getVariables() {
-if (m_variables == null)
-return new CellAddress[0]; //Workaround for basic scripts; 
otherwise
-   //setting the Variables property fails.
 return m_variables;
 }
 
@@ -296,9 +298,6 @@ public abstract class BaseNLPSolver extends WeakBase
 }
 
 public SolverConstraint[] getConstraints() {
-if (m_constraints == null)
-return new SolverConstraint[0]; //Workaround for basic scripts; 
otherwise
-//setting the Constraints property 
fails.
 return m_constraints;
 }
 
@@ -463,7 +462,7 @@ public abstract class BaseNLPSolver extends WeakBase
 return m_propertyMap.containsKey(property);
 }
 
-// editor-fold defaultstate=collapsed desc=Helper functions
+// Helper functions
 private void lockDocument(boolean lock) {
 if (lock)
 m_xModel.lockControllers();
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java 
b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java
index 2371f0e..f1a7a47 100644
--- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java
+++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/PropertyInfo.java
@@ -89,10 +89,11 @@ public class PropertyInfoPropType {
 
 public void localize(ResourceManager resourceManager) {
 try {
-m_description = resourceManager.getLocalizedString(Properties. + 
m_property.Name);
-   System.out.println(Localised description to  + m_description);
+m_description = resourceManager.getLocalizedString(Properties.
++ m_property.Name);
 } catch (com.sun.star.resource.MissingResourceException ex) {
-   System.out.println(No properties file !);
+System.out.println(Can't localize. Resource missing for property: 

++ m_property.Name);
 }
 }
 
diff --git a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/Registration.java 
b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/Registration.java
index 02a3d3e..157f496 100644
--- a/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/Registration.java
+++ b/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/Registration.java
@@ -23,8 +23,6 @@ public final class Registration {
 {
 XSingleComponentFactory xFactory = null;
 
-   System.out.println(Get 

[Libreoffice-bugs] [Bug 89325] selecting the slide design is not available

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

--- Comment #3 from Jean-Baptiste Faure jbfa...@libreoffice.org ---
Created attachment 113442
  -- https://bugs.documentfoundation.org/attachment.cgi?id=113442action=edit
Master Pages in Impress

In Impress we call that master pages.

Best regards. JBF

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


[Libreoffice-bugs] [Bug 89326] separating a image and text is not available in libre office impress

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

--- Comment #6 from Jean-Baptiste Faure jbfa...@libreoffice.org ---
Screen copy is useless here if you do not provide your own test file in
OpenDocument format (.odp).

Best regards. JBF

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


[Libreoffice-bugs] [Bug 89424] New: Ability to set cell contents as anchor text and being able to edit the anchor text for a hyper link, in cell itself

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

Bug ID: 89424
   Summary: Ability to set cell contents as anchor text and being
able to edit the anchor text for a hyper link, in cell
itself
   Product: LibreOffice
   Version: 4.3.5.2 release
  Hardware: All
OS: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Calc
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: vkmr2...@outlook.com

Open a calc spreadsheet and save it. On the Sheet1, enter some text in a cell.
Insert Sheet2 in spreadsheet. Goto Insert  Hyperlink  Document  Path and
select the current spreadsheet.
In Same Hyperlink Dialog  Further settings  Text  input the anchor text.
Click Apply  Close.
Now We want to be able to set the *cell contents* itself as hyperlink like
excel does, without needing separate anchor text.
and be able to edit the anchor text of the hyperlink in the cell itself, like
excel allows it.

see also closely related Bug 87957

Thanks.

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


[Libreoffice-bugs] [Bug 62955] UI When opening a Macro (Alt-F11) allow searching a module/ function name with typing the first letter

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|EasyHack|NeedsDevEval
   |DifficultyInteresting   |
   |SkillCpp TopicUI|

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


[Libreoffice-bugs] [Bug 35591] Incorrect print range detection in calc, hidden cells are not handled correct

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

Cor Nouws c...@nouenoff.nl changed:

   What|Removed |Added

 Whiteboard|ProposedEasyHack|

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


Re: [SOLVED] Re: unused easy code, getZoneOffsetInMillis (unotools)

2015-02-16 Thread Eike Rathke
Hi julien2412,

On Sunday, 2015-02-15 04:07:56 -0700, julien2412 wrote:

 Anyway, I pushed the patch, see
 http://cgit.freedesktop.org/libreoffice/core/commit/?id=836481e35999c3722f1c4fdef8c86c8c098a2492

Yup, the only use was eliminated with
http://cgit.freedesktop.org/libreoffice/core/commit/?id=c72cd80f4503f54f6c79cdc1ab03b0654663f488

Thanks
  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
Better use 64-bit 0x6A6CD5B765632D3A here is why: https://evil32.com/
Care about Free Software, support the FSFE https://fsfe.org/support/?erack


pgpOodHrDApak.pgp
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: 6 commits - include/toolkit sw/CppunitTest_sw_macros_test.mk sw/inc sw/qa sw/source toolkit/source

2015-02-16 Thread Michael Stahl
 include/toolkit/helper/macros.hxx   |   10 +-
 sw/CppunitTest_sw_macros_test.mk|1 
 sw/inc/ring.hxx |   23 +++--
 sw/qa/core/macros-test.cxx  |   64 
 sw/qa/core/uwriter.cxx  |   11 ++
 sw/source/core/crsr/findtxt.cxx |   18 +++-
 sw/source/core/doc/DocumentContentOperationsManager.cxx |9 +-
 sw/source/core/doc/docedt.cxx   |4 -
 sw/source/core/inc/docedt.hxx   |2 
 toolkit/source/helper/listenermultiplexer.cxx   |9 ++
 10 files changed, 130 insertions(+), 21 deletions(-)

New commits:
commit 6b3aa0fe4094e87290bd33a30bd6cd99ee78ce38
Author: Michael Stahl mst...@redhat.com
Date:   Sat Feb 14 00:17:06 2015 +0100

tdf#78174: toolkit: work around GCC 4.9 -Os link failure

A build with gcc (GCC) 4.9.2 20141101 (Red Hat 4.9.2-1) for 32-bit x86
fails because of these undefined symbols:

 nm --demangle workdir/CxxObject/svx/source/fmcomp/fmgridif.o | grep
 \\bWindowListenerMultiplexer::acquire
 U non-virtual thunk to WindowListenerMultiplexer::acquire()

They should probably be generated inline.  Work around by out-lining the
definition of the methods.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64812

Change-Id: I318f7c39bdf1243be385bc6dc0a47862b22e92c5

diff --git a/include/toolkit/helper/macros.hxx 
b/include/toolkit/helper/macros.hxx
index 43ef27a..85474c8 100644
--- a/include/toolkit/helper/macros.hxx
+++ b/include/toolkit/helper/macros.hxx
@@ -112,8 +112,8 @@ class ClassName : public ListenerMultiplexerBase, public 
InterfaceName \
 public: \
 ClassName( ::cppu::OWeakObject rSource ); \
 ::com::sun::star::uno::Any  SAL_CALL queryInterface( const 
::com::sun::star::uno::Type  rType ) 
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
-voidSAL_CALL acquire() throw() SAL_OVERRIDE  { 
ListenerMultiplexerBase::acquire(); } \
-voidSAL_CALL release() throw() SAL_OVERRIDE  { 
ListenerMultiplexerBase::release(); } \
+voidSAL_CALL acquire() throw() SAL_OVERRIDE; \
+voidSAL_CALL release() throw() SAL_OVERRIDE; \
 voidSAL_CALL disposing( const 
::com::sun::star::lang::EventObject Source ) 
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 
@@ -124,8 +124,8 @@ class TOOLKIT_DLLPUBLIC ClassName : public 
ListenerMultiplexerBase, public Inter
 public: \
 ClassName( ::cppu::OWeakObject rSource ); \
 ::com::sun::star::uno::Any  SAL_CALL queryInterface( const 
::com::sun::star::uno::Type  rType ) 
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
-voidSAL_CALL acquire() throw() SAL_OVERRIDE  { 
ListenerMultiplexerBase::acquire(); } \
-voidSAL_CALL release() throw() SAL_OVERRIDE  { 
ListenerMultiplexerBase::release(); } \
+voidSAL_CALL acquire() throw() SAL_OVERRIDE; \
+voidSAL_CALL release() throw() SAL_OVERRIDE; \
 voidSAL_CALL disposing( const 
::com::sun::star::lang::EventObject Source ) 
throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 
@@ -140,6 +140,8 @@ ClassName::ClassName( ::cppu::OWeakObject rSource ) \
 : ListenerMultiplexerBase( rSource ) \
 { \
 } \
+void SAL_CALL ClassName::acquire() throw() { 
ListenerMultiplexerBase::acquire(); } \
+void SAL_CALL ClassName::release() throw() { 
ListenerMultiplexerBase::release(); } \
 ::com::sun::star::uno::Any ClassName::queryInterface( const 
::com::sun::star::uno::Type  rType ) 
throw(::com::sun::star::uno::RuntimeException, std::exception) \
 { \
 ::com::sun::star::uno::Any aRet = ::cppu::queryInterface( rType, \
diff --git a/toolkit/source/helper/listenermultiplexer.cxx 
b/toolkit/source/helper/listenermultiplexer.cxx
index 797fad2..b109c5f 100644
--- a/toolkit/source/helper/listenermultiplexer.cxx
+++ b/toolkit/source/helper/listenermultiplexer.cxx
@@ -47,6 +47,15 @@ EventListenerMultiplexer::EventListenerMultiplexer( 
::cppu::OWeakObject rSource
 {
 }
 
+void SAL_CALL EventListenerMultiplexer::acquire() throw ()
+{
+return ListenerMultiplexerBase::acquire();
+}
+void SAL_CALL EventListenerMultiplexer::release() throw ()
+{
+return ListenerMultiplexerBase::release();
+}
+
 // ::com::sun::star::uno::XInterface
 ::com::sun::star::uno::Any EventListenerMultiplexer::queryInterface( const 
::com::sun::star::uno::Type  rType ) 
throw(::com::sun::star::uno::RuntimeException, std::exception)
 {
commit ddadc1ee95c09eaadb0a1d01e234952b8581694c
Author: Michael Stahl mst...@redhat.com
Date:   Mon Feb 16 22:14:27 2015 +0100


[Libreoffice-bugs] [Bug 80715] Search and replace with over 16k+ replacements halts LibO

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

Michael Stahl mst...@redhat.com changed:

   What|Removed |Added

 CC||bjoern.michaelsen@canonical
   ||.com, caol...@redhat.com

--- Comment #18 from Michael Stahl mst...@redhat.com ---
this pathological case is changing quite a bit:

4.0.6 asks to disable undo, can do it in 2-3 minutes
 creating 17 paragraphs

4.1.6/4.2.8 asks to disable undo, goes into infinite loop
 because paragraphs cannot be merged due to 64k char limit and
 likely the code removed by the commit in comment #15 was
 somehow handling that corner case

4.3.6/4.4 does not ask to disable undo, but needs 50 minutes to do it,
 creating one  1 million char paragraph

current master goes into infinite loop because of recent
 Ring boost-ification

i have fixed the 4.2 infinite loop bug and the boost-Ring bugs,
but not for the 4.3 big-paragraph slowdown.

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


[Libreoffice-bugs] [Bug 78174] Build failure: undefined reference to `non-virtual thunk to WindowListenerMultiplexer::acquire()' etc. in svx/source/fmcomp/fmgridif.cxx

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

Michael Stahl mst...@redhat.com changed:

   What|Removed |Added

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

--- Comment #12 from Michael Stahl mst...@redhat.com ---
the GCC bug now has a reduced reproducer for the bug

work-around pushed to master

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


[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-4.2' - configure.ac

2015-02-16 Thread Andras Timar
 configure.ac |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7edd532c989a71744b277752c9bef0b5872024be
Author: Andras Timar andras.ti...@collabora.com
Date:   Mon Feb 16 14:21:56 2015 -0800

Bump version to 4.2-25

Change-Id: I5061b96787324fa5c2a718650b8dee4da3b447e3

diff --git a/configure.ac b/configure.ac
index 5715f58..ff31b37 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,7 +9,7 @@ dnl in order to create a configure script.
 # several non-alphanumeric characters, those are split off and used only for 
the
 # ABOUTBOXPRODUCTVERSIONSUFFIX in openoffice.lst. Why that is necessary, no 
idea.
 
-AC_INIT([LibreOffice],[4.2.10.24],[],[],[https://libreoffice-from-collabora.com/])
+AC_INIT([LibreOffice],[4.2.10.25],[],[],[https://libreoffice-from-collabora.com/])
 
 AC_PREREQ([2.59])
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: About last cppcheck fixes

2015-02-16 Thread Noel Grandin

Hi Julien

On 2015-02-17 08:32 AM, Julien Nabet wrote:

Hello Noel,

I noticed these lines in last patch about cppcheck fixes:
diff --git a/basic/source/runtime/ddectrl.cxx b/basic/source/runtime/ddectrl.cxx
index 2557c9e..232008a 100644
--- a/basic/source/runtime/ddectrl.cxx
http://cgit.freedesktop.org/libreoffice/core/tree/basic/source/runtime/ddectrl.cxx?id=a30e2cb912c6bae240ced35a392151e34090665b
+++ b/basic/source/runtime/ddectrl.cxx
http://cgit.freedesktop.org/libreoffice/core/tree/basic/source/runtime/ddectrl.cxx?id=a8e6f0bea0e8bc028ee64d0b4d9046e52de94eda
@@ -133,7 +133,6 @@ SbError SbiDdeControl::Terminate( size_t nChannel )
return SbERR_DDE_NO_CHANNEL;
}
delete pConv;
- pConv = DDE_FREECHANNEL;
return 0L;
}

Are you sure we can remove pConv = DDE_FREECHANNEL;? the test about if equal 
or different from DDE_FREECHANNEL seems
used in the code.

Indeed cppcheck returned this:
[basic/source/runtime/ddectrl.cxx:136]: (style) Variable 'pConv' is assigned a 
value that is never used.
but it seems a false positive since pConv is a pointer on a specific element of 
aConvList



pConv is a local variable, so the code that was removed was a dead assignment.

However, now that you mention it, it is possible that the method in question 
should actually look like:

123 SbError SbiDdeControl::Terminate( size_t nChannel )
124 {
125 if (!nChannel || nChannel  aConvList.size())
126 {
127 return SbERR_DDE_NO_CHANNEL;
128 }
129 DdeConnection* pConv = aConvList[nChannel-1];
130
131 if( pConv == DDE_FREECHANNEL )
132 {
133 return SbERR_DDE_NO_CHANNEL;
134 }
135 delete pConv;
136 aConvList[nChannel-1] = DDE_FREECHANNEL;  //  fix
137
138 return 0L;
139 }

CC'ing the list in case anyone knows better.

Regards, Noel.

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


[Libreoffice-bugs] [Bug 89421] Move/Copy Sheet dialog should remember last used Action

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

raal r...@post.cz changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||r...@post.cz
   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=68
   ||582
 Resolution|--- |WONTFIX

--- Comment #1 from raal r...@post.cz ---
There is request in bug 68582 for split Move/Copy item in menu. With resolving
of bug 68582 this bug is also solved.
Closing as wontfix.

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


[Libreoffice-bugs] [Bug 68582] split Move/Copy Sheet item in sheet tab menu

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

raal r...@post.cz changed:

   What|Removed |Added

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

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


[Libreoffice-bugs] [Bug 89418] Query don't work with directly connect at Microsoft Access file (not Access 2007)

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

raal r...@post.cz changed:

   What|Removed |Added

 CC||r...@post.cz

--- Comment #1 from raal r...@post.cz ---
Hello,

Thank you for reporting the bug. Please attach a sample document, as this makes
it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive
information before attaching it. 
See
https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F
for help on how to do so.)

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


[Libreoffice-bugs] [Bug 89418] Query don't work with directly connect at Microsoft Access file (not Access 2007)

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

raal r...@post.cz changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

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


[Libreoffice-bugs] [Bug 89425] New: Centering slide/page when changing

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

Bug ID: 89425
   Summary: Centering slide/page when changing
   Product: LibreOffice
   Version: 4.5.0.0.alpha0+ Master
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: ux-advise
  Assignee: libreoffice-bugs@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: libreoffice-ux-adv...@lists.freedesktop.org

Caolan mentioned in bug 83588 comment 8 that code to center a slide/page in
Impress/Draw happens when changing the slide/page, but i havent been able to
observe this behaviour and it would be useful for this to work.

This didnt work in 3.3.0, 4.2.6, 4.3.6, or master on Linux.

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


[Libreoffice-ux-advise] [Bug 89425] New: Centering slide/page when changing

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

Bug ID: 89425
   Summary: Centering slide/page when changing
   Product: LibreOffice
   Version: 4.5.0.0.alpha0+ Master
  Hardware: Other
OS: All
Status: UNCONFIRMED
  Severity: enhancement
  Priority: medium
 Component: ux-advise
  Assignee: libreoffice-b...@lists.freedesktop.org
  Reporter: philip...@hotmail.com
CC: libreoffice-ux-advise@lists.freedesktop.org

Caolan mentioned in bug 83588 comment 8 that code to center a slide/page in
Impress/Draw happens when changing the slide/page, but i havent been able to
observe this behaviour and it would be useful for this to work.

This didnt work in 3.3.0, 4.2.6, 4.3.6, or master on Linux.

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


[Libreoffice-ux-advise] [Bug 89425] Centering slide/page when changing

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

Adolfo Jayme f...@libreoffice.org changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |
   |.freedesktop.org|

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


[Libreoffice-bugs] [Bug 80657] UI: Addition of navigator page number field to Page Preview Toolbar

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

--- Comment #8 from Jay Philips philip...@hotmail.com ---
@Cor: 'needDevEval', not 'NeedsDevEval', is described as Use when you think a
bug will qualify as an easy hack and you are requesting a developer to
confirm., but a developer (meeks) has already confirmed this, so why are you
replacing the whiteboard keywords?

https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Whiteboard/Advanced#needDevEval

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


[Libreoffice-bugs] [Bug 89423] Small icon for deleting table is missing

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

Adolfo Jayme f...@libreoffice.org changed:

   What|Removed |Added

   Priority|medium  |low
 Status|RESOLVED|NEW
 Resolution|INVALID |---
 Ever confirmed|0   |1

--- Comment #4 from Adolfo Jayme f...@libreoffice.org ---
It’s not an invalid issue just because the icon is not exposed by default.

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


[Libreoffice-ux-advise] [Bug 80657] UI: Addition of navigator page number field to Page Preview Toolbar

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

--- Comment #8 from Jay Philips philip...@hotmail.com ---
@Cor: 'needDevEval', not 'NeedsDevEval', is described as Use when you think a
bug will qualify as an easy hack and you are requesting a developer to
confirm., but a developer (meeks) has already confirmed this, so why are you
replacing the whiteboard keywords?

https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Whiteboard/Advanced#needDevEval

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


[Libreoffice-bugs] [Bug 89422] Tooltips of numbered lists samples are inconsistent

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

Adolfo Jayme f...@libreoffice.org changed:

   What|Removed |Added

Version|3.3.0 release   |4.4.0.3 release

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


[Libreoffice-bugs] [Bug 82610] DEC2HEX function not working in macro, Affects Analysis AddIn functions.

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

raal r...@post.cz changed:

   What|Removed |Added

 Status|RESOLVED|NEW
 Resolution|DUPLICATE   |---
Summary|DEC2HEX function not|DEC2HEX function not
   |working in macro|working in macro, Affects
   ||Analysis AddIn functions.

--- Comment #4 from raal r...@post.cz ---
Setting back to NEW. Examples from Bug 78929 are solved, bug 78929 is solved -
no Err:508.


oSheet.getCellByPosition(2, 0).setFormula(= DEC2HEX(A1)) - error  #NAME?

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


  1   2   3   >