Sucesso absoluto desde o programa Amor e Sexo de 2012

2013-06-14 Thread Amanda Viana

Estimulante sexual natural surpreende novamente

Sucesso absoluto desde o programa Amor e Sexo de 2012, o ProviMax vem se
destacando e marcando presença entre os
principais estimulantes sexuais no Brasil. Hoje o ProviMax consolidou-se
como o melhor viagra natural do momento, batendo de frente com
os principais estimulantes sexuais, entre eles Viagra e Cialis. Pondere
seriamente tentar o uso de ProviMax antes de optar por qualquer outra
alternativa no mercado! Afinal Provimax é totalmente natural… sem
necessidade de prescrição médica!

De acordo com o feedback obtido, quase 85% do total dos clientes estão
muito satisfeitos com o produto e não reportaram quaisquer
dificuldades ou efeitos secundários tão frequentemente associados a
outros estimulantes sexuais. A restante percentagem reportou apenas um
leve rubor facial e calor corporal, que constituem reações normais, pois
o ProviMax ajuda a canalizar um fluxo sanguíneo máximo para o pénis.

Acesse e saiba mais: www.sexoamoreseducao.info





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


LibreOffice Gerrit News 2013-06-14

2013-06-14 Thread gerrit
Moin!

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

rtl: add global empty oustring 
in https://gerrit.libreoffice.org/4264 from Norbert Thiebaud
cppcheck: fix operatorEqVarError (in lotuswordpro) 
in https://gerrit.libreoffice.org/4281 from Julien Nabet
String to OUString (SfxStringItem and related) 
in https://gerrit.libreoffice.org/4280 from Matteo Casalin
65456 first try
in https://gerrit.libreoffice.org/4277 from Edmond Ciorba
cppcheck: fix duplicateExpression  
in https://gerrit.libreoffice.org/4279 from Julien Nabet
Sidebar conversion to .ui for CellAppearancePropertyPanel  
in https://gerrit.libreoffice.org/4227 from Prashant Pandey
fdo#60924 autoinstall - gbuild/scp2: still more libs to OOO
in https://gerrit.libreoffice.org/4268 from Marcos Souza
fdo#60924 autoinstall - gbuild/scp2: Move more libs to OOO 
in https://gerrit.libreoffice.org/4267 from Marcos Souza
String=OUString svl touch-up  
in https://gerrit.libreoffice.org/4266 from Norbert Thiebaud
String=OUString clean-up header include in tools and misc touch-up
in https://gerrit.libreoffice.org/4265 from Norbert Thiebaud
String=OUString part of linguistic 
in https://gerrit.libreoffice.org/4263 from Norbert Thiebaud
String=OUString svtools trasnfer* 
in https://gerrit.libreoffice.org/4262 from Norbert Thiebaud
String=OUString svtools grfmgr + fmtfield 
in https://gerrit.libreoffice.org/4261 from Norbert Thiebaud
String=OUString yet another random batch starting from svtools
in https://gerrit.libreoffice.org/4260 from Norbert Thiebaud
String=OUString svtools inetimg   
in https://gerrit.libreoffice.org/4259 from Norbert Thiebaud
String=OUString svtools imap  
in https://gerrit.libreoffice.org/4258 from Norbert Thiebaud
String=OUString virtual getStateDisplayName   
in https://gerrit.libreoffice.org/4257 from Norbert Thiebaud
String=OUString : svtools inettbc 
in https://gerrit.libreoffice.org/4256 from Norbert Thiebaud
String=OUString svtools/fileview and dep  
in https://gerrit.libreoffice.org/4255 from Norbert Thiebaud
String=OUString another daily wack at it  
in https://gerrit.libreoffice.org/4254 from Norbert Thiebaud
String=OUString big chunk of paring related code  
in https://gerrit.libreoffice.org/4253 from Norbert Thiebaud
String=OUString svl ddedummy  
in https://gerrit.libreoffice.org/4252 from Norbert Thiebaud
String=OUString in svl
in https://gerrit.libreoffice.org/4251 from Norbert Thiebaud
String=OUString and sal_Bool=bool for the module sot 
in https://gerrit.libreoffice.org/4250 from Norbert Thiebaud
Strin-OUString unotools textsearch and dep
in https://gerrit.libreoffice.org/4249 from Norbert Thiebaud
String-OUString more unotools 
in https://gerrit.libreoffice.org/4248 from Norbert Thiebaud
String-OUString few more from unotools
in https://gerrit.libreoffice.org/4247 from Norbert Thiebaud
String-OUString unotools syslocaloptions and related  
in https://gerrit.libreoffice.org/4246 from Norbert Thiebaud
String-OUString unotools, ucbstreamhelper 
in https://gerrit.libreoffice.org/4245 from Norbert Thiebaud
String-OUString unotools's pathoptions and related stuff  
in https://gerrit.libreoffice.org/4244 from Norbert Thiebaud
String - OUString of unotools Tempfile and related... 
in https://gerrit.libreoffice.org/4243 from Norbert Thiebaud
daily wacking of Strings   
in https://gerrit.libreoffice.org/4242 from Norbert Thiebaud
fdo#64238: fix for missing footer bug  
in https://gerrit.libreoffice.org/4233 from Adam CloudOn
remove last uses of config 'GUI' variable  
in https://gerrit.libreoffice.org/4188 from Matúš Kukan
fdo#36791 : fix for import of greeting card
in https://gerrit.libreoffice.org/4240 from Adam CloudOn
solenv/bin: remove unreferenced obsoleted 

Re: oox service mess

2013-06-14 Thread Stephan Bergmann

On 06/13/2013 06:37 PM, Eike Rathke wrote:

On Thursday, 2013-05-30 18:44:03 +0200, Stephan Bergmann wrote:

Anyway, if that OOXMLFormulaParser implementation should be gone for
good, the dangling reference to it should be remove from
sc/util/scfilt.component.


Which in the mean time seems to be done.


No, current sc/util/scfilt.component still contains


  implementation name=com.sun.star.comp.oox.xls.FormulaParser
service name=com.sun.star.sheet.FilterFormulaParser/
  /implementation


which is the dangling reference, as


oox::xls::OOXMLFormulaParser, com.sun.star.comp.oox.xls.FormulaParser


is erroneously listed in sc/util/scfilt.component but not included in 
scfilt_component_getFactory (sc/source/filter/excel/xestream.cxx); its 
implementation got initially moved to the scfilt library, but has since been 
removed as it was unreferenced.


as I explained in the initial mail.

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


[Libreoffice-commits] core.git: 2 commits - dbaccess/source hsqldb/patches hsqldb/UnpackedTarball_hsqldb.mk

2013-06-14 Thread Zolnai Tamás
 dbaccess/source/ui/querydesign/LimitBox.cxx   |5 ++---
 dbaccess/source/ui/querydesign/limitboxcontroller.cxx |1 +
 hsqldb/UnpackedTarball_hsqldb.mk  |1 +
 hsqldb/patches/limit_as_table_alias.patch |   11 +++
 4 files changed, 15 insertions(+), 3 deletions(-)

New commits:
commit 00eafaa9493e99dfc81ec102b1ae936b84e44d0d
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Thu Jun 13 11:27:58 2013 +0200

fix limit bug: selecting All has no effect to sql

LimitBox set its value to -1 if the current
text is All but just when it loses its focus
so dispatching its value to the controller
 must be after this setting.
(see limitboxcontroller.cxx)

Plus some clean up in LimitBox.cxx

Change-Id: Ic1d314a5a67c2b261b2e9c50973f51de2bfb8db8

diff --git a/dbaccess/source/ui/querydesign/LimitBox.cxx 
b/dbaccess/source/ui/querydesign/LimitBox.cxx
index 9556f81..b2d267e 100644
--- a/dbaccess/source/ui/querydesign/LimitBox.cxx
+++ b/dbaccess/source/ui/querydesign/LimitBox.cxx
@@ -85,7 +85,7 @@ void LimitBox::ReformatAll()
 {
 RemoveEntry( 0 );
 NumericBox::ReformatAll();
-InsertEntry( ALL_STRING, 0);
+InsertValue( ALL_INT, 0);
 }
 else
 {
@@ -101,8 +101,7 @@ Size LimitBox::GetOptimalSize() const
 ///Initialize entries
 void LimitBox::LoadDefaultLimits()
 {
-SetValue( ALL_INT );
-InsertEntry( ALL_STRING );
+InsertValue( ALL_INT );
 
 const unsigned nSize =
 sizeof(global::aDefLimitAry)/sizeof(global::aDefLimitAry[0]);
diff --git a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx 
b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
index 0445159..63724e5 100644
--- a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
+++ b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
@@ -57,6 +57,7 @@ long LimitBoxImpl::Notify( NotifyEvent rNEvt )
 {
 case EVENT_LOSEFOCUS:
 {
+nHandled = LimitBox::Notify( rNEvt );
 uno::Sequence beans::PropertyValue  aArgs( 1 );
 aArgs[0].Name  = OUString( DBLimit.Value );
 aArgs[0].Value = uno::makeAny( GetValue() );
commit 05d738294025b4a26e7cc3c6180e10ff784555e2
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Thu Jun 13 10:40:31 2013 +0200

hsqldb does not support select * from t limit n

If limit clause follow from clause directly than the statement
parser of hsqldb parses LIMIT token like a table alias and
that's why the next number is unexpected.
The problem was that the limit token was not added to a keyword
vector in which parser search while working with form clause.
If the algorithm find a keyword after table names than it
knows it is the end of the form clause. That's why it
worked with any other keywords like ORDER_BY,
WHERE, GROUP BY and so on.

Change-Id: Iacd3ea3493c85eb0f2579aaad6903537ac65d25a

diff --git a/hsqldb/UnpackedTarball_hsqldb.mk b/hsqldb/UnpackedTarball_hsqldb.mk
index af78834..271f692 100644
--- a/hsqldb/UnpackedTarball_hsqldb.mk
+++ b/hsqldb/UnpackedTarball_hsqldb.mk
@@ -23,6 +23,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,hsqldb,\
hsqldb/patches/i103528.patch \
hsqldb/patches/i104901.patch \
hsqldb/patches/fdo36824.patch \
+   hsqldb/patches/limit_as_table_alias.patch \
$(if $(filter YES,$(HSQLDB_USE_JDBC_4_1)),\
hsqldb/patches/jdbc-4.1.patch \
) \
diff --git a/hsqldb/patches/limit_as_table_alias.patch 
b/hsqldb/patches/limit_as_table_alias.patch
new file mode 100644
index 000..09f49cc
--- /dev/null
+++ b/hsqldb/patches/limit_as_table_alias.patch
@@ -0,0 +1,11 @@
+--- misc/hsqldb/src/org/hsqldb/Token.java  2013-06-13 10:04:28.975934479 
+0200
 misc/build/hsqldb/src/org/hsqldb/Token.java2013-06-13 
10:06:09.915931966 +0200
+@@ -819,7 +819,7 @@
+ Token.T_EXTRACT, Token.T_FOR, Token.T_FROM, Token.T_GROUP,
+ Token.T_HAVING, Token.T_IF, Token.T_INTO, Token.T_IFNULL,
+ Token.T_IS, Token.T_IN, Token.T_INTERSECT, Token.T_JOIN,
+-Token.T_INNER, Token.T_LEADING, Token.T_LIKE, Token.T_MAX,
++Token.T_INNER, Token.T_LEADING, Token.T_LIKE, Token.T_LIMIT, 
Token.T_MAX,
+ Token.T_MIN, Token.T_NEXT, Token.T_NULLIF, Token.T_NOT,
+ Token.T_NVL, Token.T_MINUS, Token.T_ON, Token.T_ORDER, Token.T_OR,
+ Token.T_OUTER, Token.T_POSITION, Token.T_PRIMARY, Token.T_SELECT,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - 2 commits - dbaccess/source hsqldb/patches hsqldb/UnpackedTarball_hsqldb.mk

2013-06-14 Thread Zolnai Tamás
 dbaccess/source/ui/querydesign/LimitBox.cxx   |5 ++---
 dbaccess/source/ui/querydesign/limitboxcontroller.cxx |1 +
 hsqldb/UnpackedTarball_hsqldb.mk  |1 +
 hsqldb/patches/limit_as_table_alias.patch |   11 +++
 4 files changed, 15 insertions(+), 3 deletions(-)

New commits:
commit 736473924f22ab88722e5608bec915bfe47cd224
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Thu Jun 13 11:27:58 2013 +0200

fix limit bug: selecting All has no effect to sql

LimitBox set its value to -1 if the current
text is All but just when it loses its focus
so dispatching its value to the controller
 must be after this setting.
(see limitboxcontroller.cxx)

Plus some clean up in LimitBox.cxx

Change-Id: Ic1d314a5a67c2b261b2e9c50973f51de2bfb8db8
(cherry picked from commit 00eafaa9493e99dfc81ec102b1ae936b84e44d0d)

diff --git a/dbaccess/source/ui/querydesign/LimitBox.cxx 
b/dbaccess/source/ui/querydesign/LimitBox.cxx
index 9556f81..b2d267e 100644
--- a/dbaccess/source/ui/querydesign/LimitBox.cxx
+++ b/dbaccess/source/ui/querydesign/LimitBox.cxx
@@ -85,7 +85,7 @@ void LimitBox::ReformatAll()
 {
 RemoveEntry( 0 );
 NumericBox::ReformatAll();
-InsertEntry( ALL_STRING, 0);
+InsertValue( ALL_INT, 0);
 }
 else
 {
@@ -101,8 +101,7 @@ Size LimitBox::GetOptimalSize() const
 ///Initialize entries
 void LimitBox::LoadDefaultLimits()
 {
-SetValue( ALL_INT );
-InsertEntry( ALL_STRING );
+InsertValue( ALL_INT );
 
 const unsigned nSize =
 sizeof(global::aDefLimitAry)/sizeof(global::aDefLimitAry[0]);
diff --git a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx 
b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
index 0445159..63724e5 100644
--- a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
+++ b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
@@ -57,6 +57,7 @@ long LimitBoxImpl::Notify( NotifyEvent rNEvt )
 {
 case EVENT_LOSEFOCUS:
 {
+nHandled = LimitBox::Notify( rNEvt );
 uno::Sequence beans::PropertyValue  aArgs( 1 );
 aArgs[0].Name  = OUString( DBLimit.Value );
 aArgs[0].Value = uno::makeAny( GetValue() );
commit e00a04236d999849d850d4f26b7167d5975ecf39
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Thu Jun 13 10:40:31 2013 +0200

hsqldb does not support select * from t limit n

If limit clause follow from clause directly than the statement
parser of hsqldb parses LIMIT token like a table alias and
that's why the next number is unexpected.
The problem was that the limit token was not added to a keyword
vector in which parser search while working with form clause.
If the algorithm find a keyword after table names than it
knows it is the end of the form clause. That's why it
worked with any other keywords like ORDER_BY,
WHERE, GROUP BY and so on.

Change-Id: Iacd3ea3493c85eb0f2579aaad6903537ac65d25a
(cherry picked from commit 05d738294025b4a26e7cc3c6180e10ff784555e2)

diff --git a/hsqldb/UnpackedTarball_hsqldb.mk b/hsqldb/UnpackedTarball_hsqldb.mk
index af78834..271f692 100644
--- a/hsqldb/UnpackedTarball_hsqldb.mk
+++ b/hsqldb/UnpackedTarball_hsqldb.mk
@@ -23,6 +23,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,hsqldb,\
hsqldb/patches/i103528.patch \
hsqldb/patches/i104901.patch \
hsqldb/patches/fdo36824.patch \
+   hsqldb/patches/limit_as_table_alias.patch \
$(if $(filter YES,$(HSQLDB_USE_JDBC_4_1)),\
hsqldb/patches/jdbc-4.1.patch \
) \
diff --git a/hsqldb/patches/limit_as_table_alias.patch 
b/hsqldb/patches/limit_as_table_alias.patch
new file mode 100644
index 000..09f49cc
--- /dev/null
+++ b/hsqldb/patches/limit_as_table_alias.patch
@@ -0,0 +1,11 @@
+--- misc/hsqldb/src/org/hsqldb/Token.java  2013-06-13 10:04:28.975934479 
+0200
 misc/build/hsqldb/src/org/hsqldb/Token.java2013-06-13 
10:06:09.915931966 +0200
+@@ -819,7 +819,7 @@
+ Token.T_EXTRACT, Token.T_FOR, Token.T_FROM, Token.T_GROUP,
+ Token.T_HAVING, Token.T_IF, Token.T_INTO, Token.T_IFNULL,
+ Token.T_IS, Token.T_IN, Token.T_INTERSECT, Token.T_JOIN,
+-Token.T_INNER, Token.T_LEADING, Token.T_LIKE, Token.T_MAX,
++Token.T_INNER, Token.T_LEADING, Token.T_LIKE, Token.T_LIMIT, 
Token.T_MAX,
+ Token.T_MIN, Token.T_NEXT, Token.T_NULLIF, Token.T_NOT,
+ Token.T_NVL, Token.T_MINUS, Token.T_ON, Token.T_ORDER, Token.T_OR,
+ Token.T_OUTER, Token.T_POSITION, Token.T_PRIMARY, Token.T_SELECT,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'aoo/trunk' - svx/source

2013-06-14 Thread Pavel Janík
 svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx |   66 
 1 file changed, 33 insertions(+), 33 deletions(-)

New commits:
commit 5c4e02a80ef4cc3c959b836d09fdbc56aad8a4cd
Author: Pavel Janík pavelja...@apache.org
Date:   Fri Jun 14 07:53:37 2013 +

Reorder initializations (and unify formatting) to prevent compiler warnings.

diff --git a/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx 
b/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
index d54d8bc..8624557 100755
--- a/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
+++ b/svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx
@@ -54,39 +54,39 @@ namespace svx { namespace sidebar {
 
 
 ParaLineSpacingControl::ParaLineSpacingControl(Window* pParent, 
svx::sidebar::ParaPropertyPanel rPanel)
-:   PopupControl( pParent,SVX_RES(RID_POPUPPANEL_PARAPAGE_LINESPACING))
-,   mrParaPropertyPanel(rPanel)
-,   mpBindings(NULL)
-,aLineDist  ( this, SVX_RES( LB_LINE_SPACING )),
-aLineDistAtPercentBox   ( this, SVX_RES( ED_SBINDE_LINEDISTPERCENT ) ),
-aLineDistAtMetricBox( this, SVX_RES( ED_SBINDE_LINEDISTPOINT ) ),
-maCustomFT( this, SVX_RES( FT_CUSTOM ) ),
-maLSpacingFT  ( this, SVX_RES( FT_LINE_SPACING ) ),
-maOfFT( this, SVX_RES( FT_OF ) ),
-maSpacing1   (SVX_RES(IMG_SPACING1)),
-maSpacing115 (SVX_RES(IMG_SPACING115)),
-maSpacing15  (SVX_RES(IMG_SPACING15)),
-maSpacing2   (SVX_RES(IMG_SPACING2)),
-maSelSpacing1(SVX_RES(IMG_SEL_SPACING1)),
-maSelSpacing115  (SVX_RES(IMG_SEL_SPACING115)),
-maSelSpacing15   (SVX_RES(IMG_SEL_SPACING15)),
-maSelSpacing2(SVX_RES(IMG_SEL_SPACING2)),
-maImgCusGrey (SVX_RES(IMG_CUSTOM_GRAY)),
-maImgCus (SVX_RES(IMG_CUSTOM)),
-maStrCus (SVX_RES(STR_LCVALUE)),
-pActLineDistFld ( aLineDistAtPercentBox ),
-nMinFixDist ( BEGIN_VALUE ),
-maValue ( 0 ),
-maPos   ( 0 ),
-maLineSpacing   (ValueSetWithTextControl::IMAGE_TEXT,this, SVX_RES( 
LINE_SPACING ) ),
-mpImg   (NULL),
-mpImgSel(NULL),
-mpStr   (NULL),
-mpStrTip(NULL),
-maLine  (SVX_RES(STR_LSPACING)),
-maOf(SVX_RES(STR_LS_OF))
-, mbUseLineSPCustom (0)
-, mbLineSPDisable   (0)
+:   PopupControl( pParent,SVX_RES(RID_POPUPPANEL_PARAPAGE_LINESPACING)),
+mbUseLineSPCustom   (0),
+mbLineSPDisable (0),
+mrParaPropertyPanel (rPanel),
+mpBindings  (NULL),
+nMinFixDist (BEGIN_VALUE),
+pActLineDistFld (aLineDistAtPercentBox),
+maLineSpacing   (ValueSetWithTextControl::IMAGE_TEXT,this, 
SVX_RES(LINE_SPACING)),
+maCustomFT  (this, SVX_RES(FT_CUSTOM)),
+maLSpacingFT(this, SVX_RES(FT_LINE_SPACING)),
+aLineDist   (this, SVX_RES(LB_LINE_SPACING)),
+maOfFT  (this, SVX_RES(FT_OF)),
+aLineDistAtPercentBox   (this, SVX_RES(ED_SBINDE_LINEDISTPERCENT)),
+aLineDistAtMetricBox(this, SVX_RES(ED_SBINDE_LINEDISTPOINT)),
+maSpacing1  (SVX_RES(IMG_SPACING1)),
+maSpacing115(SVX_RES(IMG_SPACING115)),
+maSpacing15 (SVX_RES(IMG_SPACING15)),
+maSpacing2  (SVX_RES(IMG_SPACING2)),
+maSelSpacing1   (SVX_RES(IMG_SEL_SPACING1)),
+maSelSpacing115 (SVX_RES(IMG_SEL_SPACING115)),
+maSelSpacing15  (SVX_RES(IMG_SEL_SPACING15)),
+maSelSpacing2   (SVX_RES(IMG_SEL_SPACING2)),
+maImgCus(SVX_RES(IMG_CUSTOM)),
+maImgCusGrey(SVX_RES(IMG_CUSTOM_GRAY)),
+maStrCus(SVX_RES(STR_LCVALUE)),
+mpImg   (NULL),
+mpImgSel(NULL),
+mpStr   (NULL),
+mpStrTip(NULL),
+maLine  (SVX_RES(STR_LSPACING)),
+maOf(SVX_RES(STR_LS_OF)),
+maValue (0),
+maPos   (0)
 {
 initial();
 FreeResource();
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - basic/source

2013-06-14 Thread Noel Power
 basic/source/runtime/dllmgr-x86.cxx |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 50d17105382f9b4ad463dc855d3a41b63701fec4
Author: Noel Power noel.po...@suse.com
Date:   Thu Jun 13 11:41:33 2013 +0100

blind ( windows ) fix re. uno::Refererence vs rtl::Reference foobar 
fdo#65545

Change-Id: I81b877e8e1b6945c2f1265947ad915ed1070800a
(cherry picked from commit c32dd08cfbaefb0d0a75a303b182e68d073ee262)

diff --git a/basic/source/runtime/dllmgr-x86.cxx 
b/basic/source/runtime/dllmgr-x86.cxx
index c517135..2bfd037 100644
--- a/basic/source/runtime/dllmgr-x86.cxx
+++ b/basic/source/runtime/dllmgr-x86.cxx
@@ -669,7 +669,7 @@ OUString fullDllName(OUString const  name) {
 
 struct SbiDllMgr::Impl: private boost::noncopyable {
 private:
-typedef std::map OUString, Reference Dll   Dlls;
+typedef std::map OUString, rtl::Reference Dll   Dlls;
 
 public:
 Dll * getDll(OUString const  name);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - d3/ea53a535fdc823e2030a15fdf6c17bf552c870

2013-06-14 Thread Caolán McNamara
 d3/ea53a535fdc823e2030a15fdf6c17bf552c870 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1bc4082815b11af5544179516bfe190638eca289
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 09:20:03 2013 +0100

Notes added by 'git notes add'

diff --git a/d3/ea53a535fdc823e2030a15fdf6c17bf552c870 
b/d3/ea53a535fdc823e2030a15fdf6c17bf552c870
new file mode 100644
index 000..24f81e9
--- /dev/null
+++ b/d3/ea53a535fdc823e2030a15fdf6c17bf552c870
@@ -0,0 +1 @@
+prefer: 1cab60bb06d7e45ffb33298dbda1d752431a3a55
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 5c/4e02a80ef4cc3c959b836d09fdbc56aad8a4cd

2013-06-14 Thread Caolán McNamara
 5c/4e02a80ef4cc3c959b836d09fdbc56aad8a4cd |1 +
 1 file changed, 1 insertion(+)

New commits:
commit d62bdcaefa2b62aa966dbf7a7d3387180ccf6506
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 09:22:24 2013 +0100

Notes added by 'git notes add'

diff --git a/5c/4e02a80ef4cc3c959b836d09fdbc56aad8a4cd 
b/5c/4e02a80ef4cc3c959b836d09fdbc56aad8a4cd
new file mode 100644
index 000..7eb749a
--- /dev/null
+++ b/5c/4e02a80ef4cc3c959b836d09fdbc56aad8a4cd
@@ -0,0 +1 @@
+prefer: d02f75a8c36705924ddd6a5921fe3012fafce812
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Julien Nabet
 lotuswordpro/source/filter/xfilter/xfparastyle.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 074c13a63d65be259ad65c9f93fcd691a88754cb
Author: Julien Nabet serval2...@yahoo.fr
Date:   Thu Jun 13 23:00:02 2013 +0200

cppcheck: fix operatorEqVarError (in lotuswordpro)

Change-Id: I0fb3d99326ec3cb930b85626c749613f65ee8b6e
Reviewed-on: https://gerrit.libreoffice.org/4281
Reviewed-by: Noel Power noel.po...@suse.com
Tested-by: Noel Power noel.po...@suse.com

diff --git a/lotuswordpro/source/filter/xfilter/xfparastyle.cxx 
b/lotuswordpro/source/filter/xfilter/xfparastyle.cxx
index 8ce3d77..d5e3053 100644
--- a/lotuswordpro/source/filter/xfilter/xfparastyle.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfparastyle.cxx
@@ -144,6 +144,7 @@ XFParaStyle XFParaStyle::operator=(const XFParaStyle 
other)
 m_strParentStyleName = other.m_strParentStyleName;
 m_nFlag = other.m_nFlag;
 m_eAlignType = other.m_eAlignType;
+m_eLastLineAlign = other.m_eLastLineAlign;
 m_fTextIndent = other.m_fTextIndent;
 m_bNumberLines = other.m_bNumberLines;
 m_nLineNumberRestart = other.m_nLineNumberRestart;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PUSHED] cppcheck: fix operatorEqVarError (in lotuswordpro)

2013-06-14 Thread Noel Power (via Code Review)
Hi,

Thank you for your patch!  It has been merged to LibreOffice.

If you are interested in details, please visit

https://gerrit.libreoffice.org/4281

Approvals:
  Noel Power: Verified; Looks good to me, approved


-- 
To view, visit https://gerrit.libreoffice.org/4281
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0fb3d99326ec3cb930b85626c749613f65ee8b6e
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet serval2...@yahoo.fr
Gerrit-Reviewer: Julien Nabet serval2...@yahoo.fr
Gerrit-Reviewer: Noel Power noel.po...@suse.com

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


Re: Limit - New Database feature

2013-06-14 Thread Zolnai Tamás
Hi Thomas, Alex

  I was wrong about hsqldb. It is not a concept which cause the problem but
a bug, at least in version 1.8.0. I look into the source code and find that
LIMIT is not used as a keyword while parsing from clause and so LIMIT is
recognized as a table alias and not as the start of limit clause.
  If you try running SELECT * FROM one_table as LIMIT in sql view with
option Run SQL commend directly (to avoid LO sytnax check, which
recognizes that this is an error) than hsqldb works this statement up and
return with the table one_table without any exception because of using a
keyword as a table alias, as it do with other keywords.
   So I fixed it inside LO and so in RC1 it will work.

Best Regards,
Tamás



2013/6/11 Thomas Hackert thack...@nexgo.de

 Hallo Tamás, *,
 On Dienstag, 11. Juni 2013 16:01 Zolnai Tamás wrote:

  Extend help is a good idea and adding a new dialog too. But I
  think
  this characteristic of hsqldb would be hide from the user instead,
  because if the deafult database change in the future (as I see
  there are some efforts to it)

 well, but as it maybe would change in the future, I think, we should
 extend the OLH (we could remove it later, when we have a replacement
 for HSQL, couldn't we?) instead of getting loads of complains or bug
 reports about a non working Base or the like ... ;)

  and this database supports LIMIT without adding
  GROUP BY or WHERE, than these things get unneeded and the
  behaviour of Base change. (Here I means that Base known by normal
  user who use it with the default driver).
  This is why I prefer adding table alias to the select
  statement behind
  GUI and allow the user to make queries like select * from table
  limit y.

 Would this be easy to implement without any strange side effects? If
 it is easy, it would be cool to get this done before releasing 4.1
 final ... ;)
 Thanks for your answer
 Thomas.

 TOFU removed

 --
 We tried to close Ohio's borders and ran into a Constitutional
 problem.
 There's a provision in the Constitution that says you can't close
 your borders to interstate commerce, and garbage is a form of
 interstate commerce.
 -- Ohio Lt. Governor Paul Leonard

 ___
 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: sw/source

2013-06-14 Thread Lei De Bin
 sw/source/filter/ww8/wrtw8esh.cxx |   28 
 sw/source/filter/ww8/wrtw8sty.cxx |   30 +-
 sw/source/filter/ww8/wrtww8.hxx   |2 ++
 3 files changed, 59 insertions(+), 1 deletion(-)

New commits:
commit 7edabc8639353aeeaa7457c8f973435d4b668f2f
Author: Lei De Bin le...@apache.org
Date:   Mon Aug 6 05:07:20 2012 +

Resolves: #i119470# fix page number in header lost when save in web layout

Reported by: luo qing le
Patch by: Lei De Bin
Review by: Chen Zuo Jun

(cherry picked from commit 3654740a6f770631d34897aad345f006313c46b9)

Conflicts:
sw/source/filter/ww8/wrtw8esh.cxx
sw/source/filter/ww8/wrtww8.hxx

Change-Id: I1c25d17b1780adeddee46d500f2f0753944e9ffc

diff --git a/sw/source/filter/ww8/wrtw8esh.cxx 
b/sw/source/filter/ww8/wrtw8esh.cxx
index e334552..ecd54e8 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -763,6 +763,16 @@ void WW8_WrPlcTxtBoxes::Append( const SdrObject rObj, 
sal_uInt32 nShapeId )
 {
 aCntnt.push_back( rObj );
 aShapeIds.push_back( nShapeId );
+//save NULL, if we have an actual SdrObject
+aSpareFmts.push_back(NULL);
+}
+
+void WW8_WrPlcTxtBoxes::Append( const SwFrmFmt* pFmt, sal_uInt32 nShapeId )
+{
+//no sdr object, we insert a NULL in the aCntnt and save the real fmt in 
aSpareFmts.
+aCntnt.push_back( NULL );
+aShapeIds.push_back( nShapeId );
+aSpareFmts.push_back(pFmt);
 }
 
 const std::vectorsal_uInt32* WW8_WrPlcTxtBoxes::GetShapeIdArr() const
@@ -2702,6 +2712,24 @@ sal_Int32 SwEscherEx::WriteFlyFrm(const DrawObj rObj, 
sal_uInt32 rShapeId,
 
 nBorderThick = WriteTxtFlyFrame(rObj, rShapeId, nTxtId, rPVec);
 }
+
+//In browse mode the sdr object doesn't always exist. For example, 
the
+//object is in the hidden header/footer. We save the fmt directly
+//in such cases; we copy most of the logic from the block above
+const bool bBrowseMode = 
(rFmt.getIDocumentSettingAccess())-get(IDocumentSettingAccess::BROWSE_MODE);
+if( bBrowseMode  rFmt.GetDoc())
+{
+if( !rFmt.GetChain().GetPrev() )//obj in header/footer?
+{
+rShapeId = GetFlyShapeId(rFmt, rObj.mnHdFtIndex, rPVec);
+pTxtBxs-Append( rFmt, rShapeId );
+sal_uInt32 nTxtId = pTxtBxs-Count();
+
+nTxtId *= 0x1;
+nBorderThick = WriteTxtFlyFrame(rObj, rShapeId, nTxtId, 
rPVec);
+}
+}
+
 }
 }
 return nBorderThick;
diff --git a/sw/source/filter/ww8/wrtw8sty.cxx 
b/sw/source/filter/ww8/wrtw8sty.cxx
index 6d52d6b..6c02203 100644
--- a/sw/source/filter/ww8/wrtw8sty.cxx
+++ b/sw/source/filter/ww8/wrtw8sty.cxx
@@ -2033,6 +2033,8 @@ bool WW8_WrPlcSubDoc::WriteGenericTxt( WW8Export rWrt, 
sal_uInt8 nTTyp,
 aCps.insert( aCps.begin()+i, nCP );
 pTxtPos-Append( nCP );
 
+if( aCntnt[ i ] != NULL )
+{
 // is it an writer or sdr - textbox?
 const SdrObject rObj = *(SdrObject*)aCntnt[ i ];
 if (rObj.GetObjInventor() == FmFormInventor)
@@ -2079,6 +2081,16 @@ bool WW8_WrPlcSubDoc::WriteGenericTxt( WW8Export rWrt, 
sal_uInt8 nTTyp,
 }
 }
 }
+}
+else if( i  aSpareFmts.size() )
+{
+if( const SwFrmFmt* pFmt = (const SwFrmFmt*)aSpareFmts[ i 
] )
+{
+const SwNodeIndex* pNdIdx = 
pFmt-GetCntnt().GetCntntIdx();
+rWrt.WriteSpecialText( pNdIdx-GetIndex() + 1,
+   pNdIdx-GetNode().EndOfSectionIndex(), 
nTTyp );
+}
+}
 
 // CR at end of one textbox text ( otherwise WW gpft :-( )
 rWrt.WriteStringAsPara( aEmptyStr );
@@ -2213,7 +2225,7 @@ void WW8_WrPlcSubDoc::WriteGenericPlc( WW8Export rWrt, 
sal_uInt8 nTTyp,
 // is it an writer or sdr - textbox?
 const SdrObject* pObj = (SdrObject*)aCntnt[ i ];
 sal_Int32 nCnt = 1;
-if ( !pObj-ISA( SdrTextObj ) )
+if (pObj  !pObj-ISA( SdrTextObj ) )
 {
 // find the highest SdrObject of this
 const SwFrmFmt rFmt = *::FindFrmFmt( pObj );
@@ -2227,6 +2239,22 @@ void WW8_WrPlcSubDoc::WriteGenericPlc( WW8Export rWrt, 
sal_uInt8 nTTyp,
 pChn = pChn-GetNext()-GetChain();
 }
 }
+if( NULL == pObj )
+{
+if( i  aSpareFmts.size()  aSpareFmts[ i ] )
+{
+

[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 36/54740a6f770631d34897aad345f006313c46b9

2013-06-14 Thread Caolán McNamara
 36/54740a6f770631d34897aad345f006313c46b9 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit d8cfc81fc45ec9adf15717219b7568595ed21686
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 09:41:46 2013 +0100

Notes added by 'git notes add'

diff --git a/36/54740a6f770631d34897aad345f006313c46b9 
b/36/54740a6f770631d34897aad345f006313c46b9
new file mode 100644
index 000..91203cb
--- /dev/null
+++ b/36/54740a6f770631d34897aad345f006313c46b9
@@ -0,0 +1 @@
+merged as: 7edabc8639353aeeaa7457c8f973435d4b668f2f
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 9b/161d18404d8fac5663bc3b3a854bdd4fad3bf0

2013-06-14 Thread Caolán McNamara
 9b/161d18404d8fac5663bc3b3a854bdd4fad3bf0 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5322c146e159cd5433504b1d7528836dd62d2679
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 09:57:34 2013 +0100

Notes added by 'git notes add'

diff --git a/9b/161d18404d8fac5663bc3b3a854bdd4fad3bf0 
b/9b/161d18404d8fac5663bc3b3a854bdd4fad3bf0
new file mode 100644
index 000..e86844e
--- /dev/null
+++ b/9b/161d18404d8fac5663bc3b3a854bdd4fad3bf0
@@ -0,0 +1 @@
+merged as: 0e619cb550390e08930ec2ad58bc5419b1965b0b
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Caolán McNamara
 sw/source/filter/ww8/ww8par2.cxx |2 +-
 sw/source/filter/ww8/ww8scan.hxx |7 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

New commits:
commit 43de0b244329378adc8406e97df882c527faf9a5
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 09:56:49 2013 +0100

Related: #i119548# document that ms changed the meaning of fWidowControl

Change-Id: I884c3c57dfd1d2e7bfa0675fd0c0184113cdda9c

diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 4b9449b..3ff4585 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -3727,7 +3727,7 @@ void WW8RStyle::Set1StyleDefaults()
 pIo-pAktColl-SetFmtAttr(aAttr);
 }
 
-if( /*pIo-pWDop-fWidowControl */ !bWidowsChanged )  // Widows ?
+if( !bWidowsChanged )  // Widows ?
 {
 pIo-pAktColl-SetFmtAttr( SvxWidowsItem( 2, RES_PARATR_WIDOWS ) );
 pIo-pAktColl-SetFmtAttr( SvxOrphansItem( 2, RES_PARATR_ORPHANS ) 
);
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx
index e52cbc5..5e381e6 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -1496,7 +1496,12 @@ public:
 sal_uInt8nDataStart;
 //-
 sal_uInt16  fFacingPages : 1;   // 1 when facing pages should be printed
-sal_uInt16  fWidowControl : 1;  // 1 when widow control is in effect. 0 
when widow control disabled.
+
+sal_uInt16  fWidowControl : 1;  //a: orig 97 docs say
+//1 when widow control is in effect. 0 
when widow control disabled.
+//b: MS-DOC: Word Binary File Format 
(.doc) Structure Specification 2008 says
+//B - unused1 (1 bit): Undefined and 
MUST be ignored.
+
 sal_uInt16  fPMHMainDoc : 1;// 1 when doc is a main doc for Print 
Merge Helper, 0 when not; default=0
 sal_uInt16  grfSuppression : 2; // 0 Default line suppression storage; 0= 
form letter line suppression; 1= no line suppression; default=0
 sal_uInt16  fpc : 2;// 1 footnote position code: 0 as 
endnotes, 1 at bottom of page, 2 immediately beneath text
commit 0e619cb550390e08930ec2ad58bc5419b1965b0b
Author: Lei De Bin le...@apache.org
Date:   Fri Aug 10 04:12:08 2012 +

Resolves: #i119548# Window/Orphan control setting lost when save .doc file

Reported by: luo qing le
Patch by: Lei De Bin
Review by: Chen Zuo Jun

(cherry picked from commit 9b161d18404d8fac5663bc3b3a854bdd4fad3bf0)

Change-Id: I7e51d2fd6b72d08b793b857cf2a3de5989145695

diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 96f1622..4b9449b 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -3727,7 +3727,7 @@ void WW8RStyle::Set1StyleDefaults()
 pIo-pAktColl-SetFmtAttr(aAttr);
 }
 
-if( pIo-pWDop-fWidowControl  !bWidowsChanged )  // Widows ?
+if( /*pIo-pWDop-fWidowControl */ !bWidowsChanged )  // Widows ?
 {
 pIo-pAktColl-SetFmtAttr( SvxWidowsItem( 2, RES_PARATR_WIDOWS ) );
 pIo-pAktColl-SetFmtAttr( SvxOrphansItem( 2, RES_PARATR_ORPHANS ) 
);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Zolnai Tamás
 comphelper/source/misc/syntaxhighlight.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 3abe80ac14d3f513a8500d0dd29d70c62bdbbec0
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Fri Jun 14 10:59:39 2013 +0200

Highlight LIMIT as a keyword in sql edit

Change-Id: I5aed0a4d9b3e912b1cad0be2092b2dc394e10b04

diff --git a/comphelper/source/misc/syntaxhighlight.cxx 
b/comphelper/source/misc/syntaxhighlight.cxx
index 84790eb..11cfc34 100644
--- a/comphelper/source/misc/syntaxhighlight.cxx
+++ b/comphelper/source/misc/syntaxhighlight.cxx
@@ -194,6 +194,7 @@ static const char* strListSqlKeyWords[] = {
 join,
 left,
 like,
+limit,
 local,
 match,
 max,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - comphelper/source

2013-06-14 Thread Zolnai Tamás
 comphelper/source/misc/syntaxhighlight.cxx |1 +
 1 file changed, 1 insertion(+)

New commits:
commit ac6f58b3a1265d6c3b7c60c12ce24a0aa788b53d
Author: Zolnai Tamás zolnaitamas2...@gmail.com
Date:   Fri Jun 14 10:59:39 2013 +0200

Highlight LIMIT as a keyword in sql edit

Change-Id: I5aed0a4d9b3e912b1cad0be2092b2dc394e10b04
(cherry picked from commit 3abe80ac14d3f513a8500d0dd29d70c62bdbbec0)

diff --git a/comphelper/source/misc/syntaxhighlight.cxx 
b/comphelper/source/misc/syntaxhighlight.cxx
index 84790eb..11cfc34 100644
--- a/comphelper/source/misc/syntaxhighlight.cxx
+++ b/comphelper/source/misc/syntaxhighlight.cxx
@@ -194,6 +194,7 @@ static const char* strListSqlKeyWords[] = {
 join,
 left,
 like,
+limit,
 local,
 match,
 max,
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[ABANDONED] daily wacking of Strings

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: daily wacking of Strings
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4242
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I3b6097255684aeb1f177aac0c5787d0ec67d9f80
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com
Gerrit-Reviewer: Stephan Bergmann sberg...@redhat.com

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


[ABANDONED] String - OUString of unotools Tempfile and related...

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String - OUString of unotools Tempfile and related...
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4243
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Iefab16211c66e25c724d5de4b565cddc418854d6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String-OUString unotools's pathoptions and related stuff

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String-OUString unotools's pathoptions and related stuff
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4244
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Id301c9b224eaa4c7deb2532cf57ece5d876aebf5
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String-OUString unotools, ucbstreamhelper

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String-OUString unotools, ucbstreamhelper
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4245
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I0e16761b2a4937df15a2746767653fd6898f2366
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String-OUString unotools syslocaloptions and related

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String-OUString unotools syslocaloptions and related
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4246
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I9e04db9f7352e3f9c43f240390c21665f8e2e8b3
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String-OUString few more from unotools

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String-OUString few more from unotools
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4247
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Iaac38fbf5158b2912aa1e6115c0fe693bdbebe48
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com
Gerrit-Reviewer: Stephan Bergmann sberg...@redhat.com

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


[ABANDONED] String-OUString more unotools

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String-OUString more unotools
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4248
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I50f61d62b6b1dc348a0253e94b7e334baaec2bb0
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] Strin-OUString unotools textsearch and dep

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: Strin-OUString unotools textsearch and dep
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4249
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I1934ba31b966ee79f10e200c37c8db4924272cb4
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString in svl

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString in svl
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4251
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Ie1cc02f168f5977b953fc13590da17f8b12513f6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString svl ddedummy

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString svl ddedummy
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4252
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: If502fbf8aac64a1776a64713babf3c0549d2cf76
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString and sal_Bool=bool for the module sot

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString and sal_Bool=bool for the module sot
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4250
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Ie5a88609722fba861b52e9530e8f7e83dee57f4b
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString big chunk of paring related code

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString big chunk of paring related code
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4253
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I65d84991291fb2ade03132d424ed833a89bbc430
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString another daily wack at it

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString another daily wack at it
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4254
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I49f0aeb4e97718428ab0b87c659da14fe30dab2e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString : svtools inettbc

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString : svtools inettbc
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4256
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I457834f2c7eef221db97387410115600748f1375
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString virtual getStateDisplayName

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString virtual getStateDisplayName
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4257
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I14263ef9acc64f7738e0532ed8425db30ac5e890
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString svtools/fileview and dep

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString svtools/fileview and dep
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4255
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: If813b3099df9e98c07f40aecdd23fe547cbd0f44
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString yet another random batch starting from svto...

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString yet another random batch starting from svtools
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4260
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Ib96e44732db8d9172bf1f804a20281343766ed33
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString svtools imap

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString svtools imap
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4258
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I56a91943080e290eabbc23575e27aab65e5d269e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString svtools grfmgr + fmtfield

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString svtools grfmgr + fmtfield
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4261
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Ie3d49014cb5edfbb709bea97b6f1332351fc6f3c
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


REMINDER: Release 4.1.0.1 from libreoffice-4-1 branch (Hard English string UI freeze)

2013-06-14 Thread Petr Mladek
Hi,

please note that the commit deadline for 4.1.0.1, aka rc1, is on
Monday, June 17, 2013. It is also the day for the hard English sting
and UI freeze.

IMPORTANT: we are reaching the final phase, so all changes in the 4-1
branch will need one review after the rc1 deadline. By other words, the
reviewing requirement starts on Tuesday, June 18, 2013.

Note that there are planned two more release candidates with deadlines
on July 1, and 15, 2013.


See also
https://wiki.documentfoundation.org/ReleasePlan/4.1#4.1.0_release
http://wiki.documentfoundation.org/Release_Criteria
http://wiki.documentfoundation.org/Development/Branches


Best Regards,
Petr


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


[ABANDONED] String=OUString svtools inetimg

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString svtools inetimg
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4259
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Id986014e3b2897478427a072be582581d3791101
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString part of linguistic

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString part of linguistic
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4263
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I8e566956416bb191a4d28acb6c3dc2c1e1daad62
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString svtools trasnfer*

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString svtools trasnfer*
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4262
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Iefa6688b91a05e248a6073c4f7216111fa4f7410
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


[ABANDONED] String=OUString svl touch-up

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString svl touch-up
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4266
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: Iaab1e0a2fdbfdac9d66fe158fca397336c6e84d1
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com
Gerrit-Reviewer: LibreOffice gerrit bot ger...@libreoffice.org

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


[ABANDONED] String=OUString clean-up header include in tools and misc t...

2013-06-14 Thread Norbert Thiebaud (via Code Review)
Norbert Thiebaud has abandoned this change.

Change subject: String=OUString clean-up header include in tools and misc 
touch-up
..


Patch Set 1: Abandoned

-- 
To view, visit https://gerrit.libreoffice.org/4265
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: abandon
Gerrit-Change-Id: I8c2220e21c58739ea41702101e0d533dc56f1208
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud nthieb...@gmail.com

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


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

2013-06-14 Thread Stephan Bergmann
 ucb/source/ucp/gio/gio_content.cxx |   42 ++---
 1 file changed, 26 insertions(+), 16 deletions(-)

New commits:
commit 4d8bf09305fc4e4bd652187aac0a02398413ba65
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Jun 14 11:22:51 2013 +0200

Always try to mount in gio::Content::getGFileInfo

...and not only if the caller happens to pass in non-null ppError.  
Otherwise,
calling soffice with a document URL handled by the gio UCP that is not yet
gio-mounted would silently do nothing and exit with EXIT_SUCCESS, as the 
first
thing the type detection code does on the URL is execute 
getPropertyValues for
IsDocument, which calls getGFileInfo with null ppError, so a void instead 
of a
boolean value is returned, which then derails the type detection code to
silently fail (which is another problem that needs fixing).

Change-Id: I48a84428cdee5caead02909abc2efd3ae3722052

diff --git a/ucb/source/ucp/gio/gio_content.cxx 
b/ucb/source/ucp/gio/gio_content.cxx
index 06e3920..a9dd6e8 100644
--- a/ucb/source/ucp/gio/gio_content.cxx
+++ b/ucb/source/ucp/gio/gio_content.cxx
@@ -337,25 +337,35 @@ MountOperation::~MountOperation()
 
 GFileInfo* Content::getGFileInfo(const uno::Reference 
ucb::XCommandEnvironment  xEnv, GError **ppError)
 {
-/*If we don't have it already, and we're not a pre-creation content then 
query for the info*/
-if (!mpInfo  !mbTransient)
-{
-if (!(mpInfo = g_file_query_info(getGFile(), *, 
G_FILE_QUERY_INFO_NONE, NULL, ppError)))
-{
-//Try and mount if unmounted
-if (ppError  (*ppError)-code == G_IO_ERROR_NOT_MOUNTED)
-{
-g_error_free(*ppError);
-
-MountOperation aMounter(xEnv);
-*ppError = aMounter.Mount(getGFile());
-
-//No Mount error, reattempt query
-if (!*ppError)
-mpInfo = g_file_query_info(getGFile(), *, 
G_FILE_QUERY_INFO_NONE, NULL, ppError);
+GError * err = 0;
+if (mpInfo == 0  !mbTransient) {
+for (bool retried = false;; retried = true) {
+mpInfo = g_file_query_info(
+getGFile(), *, G_FILE_QUERY_INFO_NONE, 0, err);
+if (mpInfo != 0) {
+break;
+}
+assert(err != 0);
+if (err-code != G_IO_ERROR_NOT_MOUNTED || retried) {
+break;
+}
+SAL_INFO(
+ucb.ucp.gio,
+G_IO_ERROR_NOT_MOUNTED \  err-message
+ \, trying to mount);
+g_error_free(err);
+err = MountOperation(xEnv).Mount(getGFile());
+if (err != 0) {
+break;
 }
 }
 }
+if (ppError != 0) {
+*ppError = err;
+} else if (err != 0) {
+SAL_WARN(ucb.ucp.gio, ignoring GError \  err-message  \);
+g_error_free(err);
+}
 return mpInfo;
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Stephan Bergmann
 comphelper/source/misc/mediadescriptor.cxx |   17 +++--
 1 file changed, 3 insertions(+), 14 deletions(-)

New commits:
commit 940dba6b0f13df4c7a42265cf52fec6ba6055c5a
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Jun 14 11:35:23 2013 +0200

Some clean up

Change-Id: Ie8f8b4fe48a94cd760fa85cc83121c4ab0f3b507

diff --git a/comphelper/source/misc/mediadescriptor.cxx 
b/comphelper/source/misc/mediadescriptor.cxx
index 586f6fc..f3bc92f 100644
--- a/comphelper/source/misc/mediadescriptor.cxx
+++ b/comphelper/source/misc/mediadescriptor.cxx
@@ -45,9 +45,6 @@
 #include ucbhelper/activedatasink.hxx
 #include comphelper/processfactory.hxx
 
-#include rtl/ustrbuf.hxx
-
-
 namespace comphelper{
 
 const OUString MediaDescriptor::PROP_ABORTED()
@@ -473,20 +470,12 @@ sal_Bool MediaDescriptor::impl_addInputStream( sal_Bool 
bLockFile )
 OUString sNormalizedURL = impl_normalizeURL( sURL );
 return impl_openStreamWithURL( sNormalizedURL, bLockFile );
 }
-#if OSL_DEBUG_LEVEL  0
 catch(const css::uno::Exception ex)
 {
-OUStringBuffer sMsg(256);
-sMsg.appendAscii(Invalid MediaDescriptor detected:\n);
-sMsg.append (ex.Message   );
-OSL_FAIL(OUStringToOString(sMsg.makeStringAndClear(), 
RTL_TEXTENCODING_UTF8).getStr());
+SAL_WARN(
+comphelper, invalid MediaDescriptor detected:   ex.Message);
+return false;
 }
-#else
-catch(const css::uno::Exception)
-{}
-#endif
-
-return sal_False;
 }
 
 sal_Bool MediaDescriptor::impl_openStreamWithPostData( const 
css::uno::Reference css::io::XInputStream  _rxPostData )
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - i18npool/source

2013-06-14 Thread Elie Roux
 i18npool/source/breakiterator/breakiterator_unicode.cxx |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 9a47b6a3727ff6153b129058a220e93e0d60
Author: Elie Roux elie.r...@telecom-bretagne.eu
Date:   Wed May 29 09:58:17 2013 +0200

fdo#64926 use icu's breakiterator for Tibetan and Dzongkha

Change-Id: I78010e216eb1582fa5074666f36c95f5b0eceee5
Reviewed-on: https://gerrit.libreoffice.org/4082
Reviewed-by: Caolán McNamara caol...@redhat.com
Tested-by: Caolán McNamara caol...@redhat.com
(cherry picked from commit 878b09a1a936c2d5bf4461e0123fafd377d948e2)

diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx 
b/i18npool/source/breakiterator/breakiterator_unicode.cxx
index 620bba1..549abd1 100644
--- a/i18npool/source/breakiterator/breakiterator_unicode.cxx
+++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx
@@ -120,7 +120,8 @@ void SAL_CALL 
BreakIterator_Unicode::loadICUBreakIterator(const com::sun::star::
 rbi = new OOoRuleBasedBreakIterator(udata_open(OpenOffice, 
brk,
 OUStringToOString(breakRules[breakType], 
RTL_TEXTENCODING_ASCII_US).getStr(), status), status);
 }
-else if (rLocale.Language != th  rLocale.Language != km) 
//use icu's breakiterator for Thai and Khmer
+//use icu's breakiterator for Thai, Khmer, Tibetan and Dzongkha
+else if (rLocale.Language != th  rLocale.Language != km  
rLocale.Language != bo  rLocale.Language != dz)
 {
 status = U_ZERO_ERROR;
 OStringBuffer aUDName(64);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Stephan Bergmann
 include/ucbhelper/registerucb.hxx |   26 +-
 ucb/source/core/ucb.cxx   |3 +--
 ucbhelper/source/provider/registerucb.cxx |   11 +--
 3 files changed, 3 insertions(+), 37 deletions(-)

New commits:
commit f31d4ad929339b4a06d5f84b14a2198345d88757
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Jun 14 12:22:40 2013 +0200

Remove unused ContentProviderRegistrationInfo

Change-Id: Ic30cbc95b4baa4dabaa0f8f8e129aa5cf4ca5f2f

diff --git a/include/ucbhelper/registerucb.hxx 
b/include/ucbhelper/registerucb.hxx
index 183dabd..89b1d00 100644
--- a/include/ucbhelper/registerucb.hxx
+++ b/include/ucbhelper/registerucb.hxx
@@ -22,7 +22,6 @@
 
 #include com/sun/star/uno/RuntimeException.hpp
 #include com/sun/star/uno/Reference.h
-#include com/sun/star/ucb/XContentProvider.hpp
 #include com/sun/star/ucb/XContentProviderManager.hpp
 #include vector
 
@@ -37,28 +36,6 @@ namespace com { namespace sun { namespace star {
 namespace ucbhelper {
 
 //
-/** Information about a registered content provider.
- */
-struct ContentProviderRegistrationInfo
-{
-/** The registered content provider (or null if registration failed).
- */
-com::sun::star::uno::Reference com::sun::star::ucb::XContentProvider 
-m_xProvider;
-
-/** The arguments the content provider was instantiated with.
- */
-OUString m_aArguments;
-
-/** The URL template the content provider is registered on.
- */
-OUString m_aTemplate;
-};
-
-typedef std::vector ContentProviderRegistrationInfo 
-ContentProviderRegistrationInfoList;
-
-//
 /** Information about a content provider, passed to
 methodconfigureUcb/method.
  */
@@ -113,8 +90,7 @@ UCBHELPER_DLLPUBLIC bool registerAtUcb(
 rxContext,
 OUString const  rName,
 OUString const  rArguments,
-OUString const  rTemplate,
-ContentProviderRegistrationInfo * pInfo)
+OUString const  rTemplate)
 throw (com::sun::star::uno::RuntimeException);
 
 }
diff --git a/ucb/source/core/ucb.cxx b/ucb/source/core/ucb.cxx
index 3d45c7f..45cdb42 100644
--- a/ucb/source/core/ucb.cxx
+++ b/ucb/source/core/ucb.cxx
@@ -849,8 +849,7 @@ void UniversalContentBroker::prepareAndRegister(
   m_xContext,
   aIt-ServiceName,
   aProviderArguments,
-  aIt-URLTemplate,
-  0);
+  aIt-URLTemplate);
 
 }
 else
diff --git a/ucbhelper/source/provider/registerucb.cxx 
b/ucbhelper/source/provider/registerucb.cxx
index a17e0ad..bce135f 100644
--- a/ucbhelper/source/provider/registerucb.cxx
+++ b/ucbhelper/source/provider/registerucb.cxx
@@ -45,8 +45,7 @@ registerAtUcb(
 uno::Reference uno::XComponentContext  const  rxContext,
 OUString const  rName,
 OUString const  rArguments,
-OUString const  rTemplate,
-ContentProviderRegistrationInfo * pInfo)
+OUString const  rTemplate)
 throw (uno::RuntimeException)
 {
 OSL_ENSURE(rxContext.is(),
@@ -85,8 +84,6 @@ registerAtUcb(
 catch (uno::RuntimeException const ) { throw; }
 catch (uno::Exception const ) {}
 
-uno::Reference ucb::XContentProvider 
-xOriginalProvider(xProvider);
 uno::Reference ucb::XParameterizedContentProvider 
 xParameterized(xProvider, uno::UNO_QUERY);
 if (xParameterized.is())
@@ -137,12 +134,6 @@ registerAtUcb(
 throw;
 }
 }
-if (bSuccess  pInfo)
-{
-pInfo-m_xProvider = xOriginalProvider;
-pInfo-m_aArguments = aProviderArguments;
-pInfo-m_aTemplate = rTemplate;
-}
 return bSuccess;
 }
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Tor Lillqvist
 vcl/aqua/source/dtrans/PictToBmpFlt.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit dc2d434687f701884f7c11e130669f63fb606074
Author: Tor Lillqvist t...@iki.fi
Date:   Fri Jun 14 13:23:42 2013 +0300

s/rtl_copyMemory/memmove

Change-Id: Iead9b7ee98a11ad5a9916d6e176c8938378b817a

diff --git a/vcl/aqua/source/dtrans/PictToBmpFlt.cxx 
b/vcl/aqua/source/dtrans/PictToBmpFlt.cxx
index 61cb721..3d5c3a7 100644
--- a/vcl/aqua/source/dtrans/PictToBmpFlt.cxx
+++ b/vcl/aqua/source/dtrans/PictToBmpFlt.cxx
@@ -63,7 +63,7 @@ bool PICTtoPNG( com::sun::star::uno::Sequencesal_Int8 
rPictData,
 rPngData.realloc( nPngSize);
 
 HLock( hPng);
-rtl_copyMemory( rPngData.getArray(), ((sal_Int8*)*hPng), nPngSize);
+memmove( rPngData.getArray(), ((sal_Int8*)*hPng), nPngSize);
 HUnlock( hPng);
 }
 
@@ -120,7 +120,7 @@ bool PNGtoPICT( com::sun::star::uno::Sequencesal_Int8 
rPngData,
 rPictData.realloc( nPictSize);
 
 HLock( (Handle)hPict);
-rtl_copyMemory( rPictData.getArray(), ((sal_Int8*)*hPict), nPictSize);
+memmove( rPictData.getArray(), ((sal_Int8*)*hPict), nPictSize);
 HUnlock( (Handle)hPict);
 
 // Release the data associated with the picture
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Limit - New Database feature

2013-06-14 Thread Alexander Thurgood
Le 14/06/13 10:39, Zolnai Tamás a écrit :

Hi Tamás,



So I fixed it inside LO and so in RC1 it will work.


Great news ! Thanks :-))


Alex


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


Re: [libreoffice-l10n] Deckard: a web based Glade Runner

2013-06-14 Thread Nicolas Delvaux
Hi everyone,

 On the launchpad page, it says: In the long run, it would be cool to have
 distinct instances for distinct projects like Xfce or LibreOffice.

Yes, I though Deckard could be useful for LO when I read the 4.0
changelog about the new .uis.

 As I understand it, the runner takes translation from a po file in a
 repository, converts it and  displays the dialog. So, to see the result, it
 is necessary to upload po file to the repository.

Yes, the runner basically needs a folder containing a .ui and a .mo file.

The layout expected by Deckard is documented in the README file:
http://bazaar.launchpad.net/~malizor/deckard/trunk/view/head:/README#L90

I wrote a script that create such a layout from Gnome git repositories
(which run once a day), so you may just want to write a similar script
for LO.
In fact I was planning to write one at some point, but it would be much
easier for someone familiar with the LO organisation.


 Looks great. I think it should basically just work for LibreOffice and
 the 250+ new .ui elements. Our .uis pretend to be gtk3 ones, with a
 handful of custom widgets, mostly previews. We have a glade catalog for
 the custom ones to provide stubs for glade. So, what does deckard do
 there, does it load the .ui with standard gtk3 code, i.e. expects all
 the widgets to be instantiatable, or does it load it the glade way, i.e.
 can reuse a glade catalog to handle those ?

It instantiates all widgets. If it encounters an unknown one, it tries
to replace it with a placeholder.
All this magic happens in the gladerunner.py file (you can download it
and easily experiment with it in a standalone way).

It may be possible to make it work with a glade catalog, I will try to
have a look at it (though I don't have much free time currently).


 There might also be a little bit of tweaking required to stitch the .po
 and .ui together because we're not (currently) using gettext natively in
 LibreOffice but are using it as an intermediate format so it probably
 wouldn't work to just throw a libreoffice .po with translations for a
 dialog at the normal gtk3 gettext loader and get it to do the right
 thing.

It is true that Deckard is a bit Gnome centric for now, so any
suggestion or patch (better :p) to make Deckard more suitable for other
projects/infrastructures would be very much welcomed.

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


Gerrit migration RESCHEDULED

2013-06-14 Thread Florian Effenberger

Hello,

as we have an unexpected board meeting next Wednesday, that would 
collide with the planned Gerrit migration previously announced, we have 
to reschedule this to


Thursday, June 27th, starting at about 1600 UTC

Please raise your voice should this date not fit at all. Expected 
downtime of Gerrit would be sometime between 1 and 3 hours.


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


[Libreoffice-commits] core.git: include/ucbhelper offapi/com officecfg/registry ucbhelper/source

2013-06-14 Thread Stephan Bergmann
 include/ucbhelper/registerucb.hxx  |9 +
 offapi/com/sun/star/ucb/XContentProviderManager.idl|2 
 officecfg/registry/data/org/openoffice/ucb/Configuration.xcu   |   11 ++
 officecfg/registry/schema/org/openoffice/ucb/Configuration.xcs |2 
 ucbhelper/source/provider/registerucb.cxx  |   46 
+-
 5 files changed, 46 insertions(+), 24 deletions(-)

New commits:
commit aa892d2b432319f949d0b45a0529036984f1aad7
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Jun 14 13:05:46 2013 +0200

Fix support for dummy content providers

...and use it so that private: URLs are not needlessly passed to the gio or
gnome-vfs catch-all UCPs.

Change-Id: I85d100567d1641130449fe21ccd072bcc0ec0979

diff --git a/include/ucbhelper/registerucb.hxx 
b/include/ucbhelper/registerucb.hxx
index 89b1d00..b50d2f6 100644
--- a/include/ucbhelper/registerucb.hxx
+++ b/include/ucbhelper/registerucb.hxx
@@ -42,6 +42,10 @@ namespace ucbhelper {
 struct ContentProviderData
 {
 /** The UNO service name to use to instanciate the content provider.
+
+If it is the empty string, a null provider will be used (see the
+documentation of the Provider argument to
+com.sun.star.ucb.XContentProviderManager.registerContentProvider).
  */
 OUString ServiceName;
 
@@ -71,7 +75,10 @@ typedef std::vector ContentProviderData  
ContentProviderDataList;
 @param rServiceFactory  A factory through which to obtain the required
 services.
 
-@param rName  The service name of the content provider.
+@param rName  The service name of the content provider.  If it is the empty
+string, a null provider will be used (see the documentation of the Provider
+argument to
+com.sun.star.ucb.XContentProviderManager.registerContentProvider).
 
 @param rArguments  Any arguments to instantiate the content provider with.
 
diff --git a/offapi/com/sun/star/ucb/XContentProviderManager.idl 
b/offapi/com/sun/star/ucb/XContentProviderManager.idl
index 9720834..aa6b453 100644
--- a/offapi/com/sun/star/ucb/XContentProviderManager.idl
+++ b/offapi/com/sun/star/ucb/XContentProviderManager.idl
@@ -146,7 +146,7 @@ published interface XContentProviderManager: 
com::sun::star::uno::XInterface
 a content identifier (i.e., a URL).
 
 @returns
-a content provider.
+a content provider, or null.
 */
 com::sun::star::ucb::XContentProvider queryContentProvider(
 [in] string Identifier );
diff --git a/officecfg/registry/data/org/openoffice/ucb/Configuration.xcu 
b/officecfg/registry/data/org/openoffice/ucb/Configuration.xcu
index a316390..e9704d3 100644
--- a/officecfg/registry/data/org/openoffice/ucb/Configuration.xcu
+++ b/officecfg/registry/data/org/openoffice/ucb/Configuration.xcu
@@ -188,6 +188,17 @@
 value/
   /prop
 /node
+node oor:name=Provider900 oor:op=replace
+  prop oor:name=ServiceName
+value/
+  /prop
+  prop oor:name=URLTemplate
+valueprivate/value
+  /prop
+  prop oor:name=Arguments
+value/
+  /prop
+/node
 !-- We want the Provider to be the final fallback provider --
 node oor:name=Provider999 oor:op=replace install:module=gio
   prop oor:name=ServiceName
diff --git a/officecfg/registry/schema/org/openoffice/ucb/Configuration.xcs 
b/officecfg/registry/schema/org/openoffice/ucb/Configuration.xcs
index 9fb25e8..872177d 100644
--- a/officecfg/registry/schema/org/openoffice/ucb/Configuration.xcs
+++ b/officecfg/registry/schema/org/openoffice/ucb/Configuration.xcs
@@ -28,7 +28,7 @@
   /info
   prop oor:name=ServiceName oor:type=xs:string
 info
-  descSpecifies the name of the UNO service to be used to 
instantiate the UCP./desc
+  descSpecifies the name of the UNO service to be used to 
instantiate the UCP.  If it is the empty string, a null provider will be used 
(see the documentation of the Provider argument to 
com.sun.star.ucb.XContentProviderManager.registerContentProvider)./desc
 /info
   /prop
   prop oor:name=URLTemplate oor:type=xs:string
diff --git a/ucbhelper/source/provider/registerucb.cxx 
b/ucbhelper/source/provider/registerucb.cxx
index bce135f..a7b4384 100644
--- a/ucbhelper/source/provider/registerucb.cxx
+++ b/ucbhelper/source/provider/registerucb.cxx
@@ -58,31 +58,35 @@ registerAtUcb(
copy(RTL_CONSTASCII_LENGTH({noproxy})) :
rArguments);
 
-// First, try to instantiate proxy for provider:
 uno::Reference ucb::XContentProvider  xProvider;
-if (!bNoProxy)
+
+if (!rName.isEmpty())
 {
-uno::Reference ucb::XContentProviderFactory  xProxyFactory;
-try
+// First, try to 

Re: oox service mess

2013-06-14 Thread Eike Rathke
Hi Stephan,

On Friday, 2013-06-14 09:01:19 +0200, Stephan Bergmann wrote:

 Anyway, if that OOXMLFormulaParser implementation should be gone for
 good, the dangling reference to it should be remove from
 sc/util/scfilt.component.
 
 Which in the mean time seems to be done.
 
 No, current sc/util/scfilt.component still contains
 
   implementation name=com.sun.star.comp.oox.xls.FormulaParser
 service name=com.sun.star.sheet.FilterFormulaParser/
   /implementation

My bad, I grep'ed for OOXMLFormulaParser ...

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
For key transition see http://erack.de/key-transition-2013-01-10.txt.asc
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack


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


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

2013-06-14 Thread Eike Rathke
 sc/util/scfilt.component |3 ---
 1 file changed, 3 deletions(-)

New commits:
commit f2fd2a66ee827024b31a310d67804cb7cb18d2da
Author: Eike Rathke er...@redhat.com
Date:   Fri Jun 14 13:31:47 2013 +0200

ditch dangling reference to com.sun.star.comp.oox.xls.FormulaParser

Change-Id: I185a9854ca2ce43f1f880f5ea2bb3b68a1757ca9

diff --git a/sc/util/scfilt.component b/sc/util/scfilt.component
index c4b3728..1414435 100644
--- a/sc/util/scfilt.component
+++ b/sc/util/scfilt.component
@@ -23,7 +23,4 @@
 service name=com.sun.star.document.ImportFilter/
 service name=com.sun.star.document.ExportFilter/
   /implementation
-  implementation name=com.sun.star.comp.oox.xls.FormulaParser
-service name=com.sun.star.sheet.FilterFormulaParser/
-  /implementation
 /component
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PATCH] Remove useless attributions in starmath

2013-06-14 Thread Marcos Souza (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/4282

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/82/4282/1

Remove useless attributions in starmath

These values are initialized as 0 in the constructor(see 
starmath/source/parse.cxx).

Change-Id: I68508f7f7132a2f43b99da3e7cdef9709fd62598
---
M starmath/source/mathmlimport.cxx
1 file changed, 0 insertions(+), 29 deletions(-)



diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx
index b5f0529..4d1f95e 100644
--- a/starmath/source/mathmlimport.cxx
+++ b/starmath/source/mathmlimport.cxx
@@ -719,7 +719,6 @@
 {
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.nLevel = 5;
 
 if (nIsBold != -1)
@@ -960,7 +959,6 @@
 
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.nLevel = 5;
 aToken.eType = TPHANTOM;
 
@@ -1024,7 +1022,6 @@
 {
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.aText = ,;
 aToken.eType = TLEFT;
 aToken.nLevel = 5;
@@ -1110,7 +1107,6 @@
 : SmXMLImportContext(rImport,nPrefix,rLName)
 {
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.nLevel = 5;
 aToken.eType = TNUMBER;
 }
@@ -1190,7 +1186,6 @@
 : SmXMLImportContext(rImport,nPrefix,rLName)
 {
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.nLevel = 5;
 aToken.eType = TTEXT;
 }
@@ -1223,7 +1218,6 @@
 : SmXMLImportContext(rImport,nPrefix,rLName)
 {
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.nLevel = 5;
 aToken.eType = TTEXT;
 }
@@ -1267,7 +1261,6 @@
 : SmXMLImportContext(rImport,nPrefix,rLName),aStyleHelper(*this)
 {
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.nLevel = 5;
 aToken.eType = TIDENT;
 }
@@ -1332,7 +1325,6 @@
 const OUString rLName)
 : SmXMLImportContext(rImport,nPrefix,rLName), bIsStretchy(sal_False)
 {
-aToken.nGroup = 0;
 aToken.eType = TSPECIAL;
 aToken.nLevel = 5;
 }
@@ -1404,7 +1396,6 @@
 {
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.eType = TBLANK;
 aToken.nLevel = 5;
 SmBlankNode *pBlank = new SmBlankNode(aToken);
@@ -1441,8 +1432,6 @@
 
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
-aToken.nLevel = 0;
 aToken.eType = eType;
 SmSubSupNode *pNode = new SmSubSupNode(aToken);
 SmNodeStack rNodeStack = GetSmImport().GetNodeStack();
@@ -1503,8 +1492,6 @@
 
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
-aToken.nLevel = 0;
 aToken.eType = eType;
 SmSubSupNode *pNode = new SmSubSupNode(aToken);
 SmNodeStack rNodeStack = GetSmImport().GetNodeStack();
@@ -1557,8 +1544,6 @@
 SmNode *pTest = lcl_popOrZero(rNodeStack);
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
-aToken.nLevel = 0;
 aToken.eType = TUNDERLINE;
 
 
@@ -1632,8 +1617,6 @@
 
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
-aToken.nLevel = 0;
 aToken.eType = TACUTE;
 
 SmAttributNode *pNode = new SmAttributNode(aToken);
@@ -1701,7 +1684,6 @@
 {
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.aText = ;
 aToken.nLevel = 5;
 aToken.eType = TIDENT;
@@ -2184,8 +2166,6 @@
 
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
-aToken.nLevel = 0;
 aToken.eType = TOVER;
 SmStructureNode *pSNode = new SmBinVerNode(aToken);
 SmNode *pOper = new SmRectangleNode(aToken);
@@ -2205,8 +2185,6 @@
 
 SmToken aToken;
 aToken.cMathChar = MS_SQRT;  //Temporary: alert, based on StarSymbol font
-aToken.nGroup = 0;
-aToken.nLevel = 0;
 aToken.eType = TNROOT;
 SmStructureNode *pSNode = new SmRootNode(aToken);
 SmNode *pOper = new SmRootSymbolNode(aToken);
@@ -2229,8 +2207,6 @@
 
 SmToken aToken;
 aToken.cMathChar = MS_SQRT;  //Temporary: alert, based on StarSymbol font
-aToken.nGroup = 0;
-aToken.nLevel = 0;
 aToken.eType = TSQRT;
 SmStructureNode *pSNode = new SmRootNode(aToken);
 SmNode *pOper = new SmRootSymbolNode(aToken);
@@ -2266,7 +2242,6 @@
 {
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.nLevel = 5;
 
 int nLeft=0,nRight=0;
@@ -2321,7 +2296,6 @@
 aRelationArray.resize(1);
 SmToken aToken;
 aToken.cMathChar = '\0';
-aToken.nGroup = 0;
 aToken.nLevel = 5;
 aToken.eType = TNEWLINE;
 aRelationArray[0] = new SmLineNode(aToken);
@@ -2452,8 +2426,6 @@
 {
 SmToken aToken;
 aToken.cMathChar = '\0';
-

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

2013-06-14 Thread Miklos Vajna
 writerfilter/qa/cppunittests/rtftok/data/pass/fdo64656.rtf |   10 ++
 writerfilter/source/rtftok/rtfdocumentimpl.cxx |1 +
 2 files changed, 11 insertions(+)

New commits:
commit f6c8a7f90154ea7251bf7aa8eb6f2db14252060a
Author: Miklos Vajna vmik...@suse.cz
Date:   Mon Jun 10 09:43:01 2013 +0200

fdo#64656 RTF import: handle levelnumbers without leveltext

(cherry picked from commit 2c64af529567324f4433984ed7673304d26062c8)

Conflicts:
writerfilter/source/rtftok/rtfdocumentimpl.cxx

Change-Id: I34ce7b172dc94489f7f506796e66b14598aab19c
Reviewed-on: https://gerrit.libreoffice.org/4219
Reviewed-by: Noel Power noel.po...@suse.com
Tested-by: Noel Power noel.po...@suse.com

diff --git a/writerfilter/qa/cppunittests/rtftok/data/pass/fdo64656.rtf 
b/writerfilter/qa/cppunittests/rtftok/data/pass/fdo64656.rtf
new file mode 100644
index 000..1c815c4
--- /dev/null
+++ b/writerfilter/qa/cppunittests/rtftok/data/pass/fdo64656.rtf
@@ -0,0 +1,10 @@
+{\rtf
+{\*\listtable 
+{\list \listtemplateid3794224 \listhybrid 
+{\listlevel \levelnfc0 \levelnfcn0 \leveljc0 \leveljcn0 \levelstartat1 
\levelfollow0 \levelspace0 \levelindent0 \levellegal0 \levelnorestart0 
+{\levelnumbers ;}
+}
+{\listname ;}
+\listid258183 }
+}
+}
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx 
b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index e06bace..f9bcdc1 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -3727,6 +3727,7 @@ int RTFDocumentImpl::popState()
 }
 break;
 case DESTINATION_LEVELNUMBERS:
+if (aState.aTableSprms.find(NS_ooxml::LN_CT_Lvl_lvlText))
 {
 RTFSprms rAttributes = 
aState.aTableSprms.find(NS_ooxml::LN_CT_Lvl_lvlText)-getAttributes();
 RTFValue::Pointer_t pValue = 
rAttributes.find(NS_ooxml::LN_CT_LevelText_val);
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - sc/util

2013-06-14 Thread Eike Rathke
 sc/util/scfilt.component |3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 369ecc76d4d30009d53769e48169f00d6eb3cdc2
Author: Eike Rathke er...@redhat.com
Date:   Fri Jun 14 13:31:47 2013 +0200

ditch dangling reference to com.sun.star.comp.oox.xls.FormulaParser

Change-Id: I185a9854ca2ce43f1f880f5ea2bb3b68a1757ca9
(cherry picked from commit f2fd2a66ee827024b31a310d67804cb7cb18d2da)

diff --git a/sc/util/scfilt.component b/sc/util/scfilt.component
index 292fbd4..13b884b 100644
--- a/sc/util/scfilt.component
+++ b/sc/util/scfilt.component
@@ -26,7 +26,4 @@
 service name=com.sun.star.document.ImportFilter/
 service name=com.sun.star.document.ExportFilter/
   /implementation
-  implementation name=com.sun.star.comp.oox.xls.FormulaParser
-service name=com.sun.star.sheet.FilterFormulaParser/
-  /implementation
 /component
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PUSHED libreoffice-4-0] fdo#64656 RTF import: handle levelnumbers without leveltext

2013-06-14 Thread Noel Power (via Code Review)
Hi,

Thank you for your patch!  It has been merged to LibreOffice.

If you are interested in details, please visit

https://gerrit.libreoffice.org/4219

Approvals:
  Noel Power: Verified; Looks good to me, approved


-- 
To view, visit https://gerrit.libreoffice.org/4219
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I34ce7b172dc94489f7f506796e66b14598aab19c
Gerrit-PatchSet: 2
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Miklos Vajna vmik...@suse.cz
Gerrit-Reviewer: Noel Power noel.po...@suse.com

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


[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - vcl/source

2013-06-14 Thread Thorsten Behrens
 vcl/source/gdi/bitmapex.cxx |   34 +-
 1 file changed, 5 insertions(+), 29 deletions(-)

New commits:
commit fefab3bb38f55471d9fa9316d1249ad00adefc37
Author: Thorsten Behrens tbehr...@suse.com
Date:   Fri Jun 14 13:26:43 2013 +0200

Fixup alpha bitmap generation for Windows.

This improves upon d6f58fd25eeca84a94528409a05b80aa5172b8b8 by
using the BitmapEx ctor instead of manual initialisation. Several
EMF+ files would otherwise show up horribly mangled on Windows.

Change-Id: I1808cb45818f3f0118653164c83c49d6134b9324

diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 59fc06a..8b22b94 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -868,9 +868,6 @@ bool BitmapEx::Create( const 
::com::sun::star::uno::Reference
::com::sun::star::rendering::XBitmapCanvas  
xBitmapCanvas,
const Size rSize )
 {
-SetEmpty();
-Size aSize( rSize );
-
 uno::Reference beans::XFastPropertySet  xFastPropertySet( xBitmapCanvas, 
uno::UNO_QUERY );
 if( xFastPropertySet.get() )
 {
@@ -890,38 +887,17 @@ bool BitmapEx::Create( const 
::com::sun::star::uno::Reference
 pSalBmp = ImplGetSVData()-mpDefInst-CreateSalBitmap();
 pSalMask = ImplGetSVData()-mpDefInst-CreateSalBitmap();
 
-if( pSalBmp-Create( xBitmapCanvas, aSize ) )
+Size aLocalSize(rSize);
+if( pSalBmp-Create( xBitmapCanvas, aLocalSize ) )
 {
-#ifdef CLAMP_BITDEPTH_PARANOIA
-// did we get alpha mixed up in the bitmap itself
-// eg. Cairo Canvas ... yes performance of this is awful.
-if( pSalBmp-GetBitCount()  24 )
-{
-// Format convert the pixels with generic code
-Bitmap aSrcPixels( pSalBmp );
-aBitmap = Bitmap( rSize, 24 );
-BitmapReadAccess aSrcRead( aSrcPixels );
-BitmapWriteAccess aDestWrite( aBitmap );
-aDestWrite.CopyBuffer( aSrcRead );
-}
-else
-#endif
-aBitmap = Bitmap( pSalBmp );
-
-aBitmapSize = rSize;
-if ( pSalMask-Create( xBitmapCanvas, aSize, true ) )
+if ( pSalMask-Create( xBitmapCanvas, aLocalSize, true ) )
 {
-aMask = Bitmap( pSalMask );
-bAlpha = sal_True;
-aBitmapSize = rSize;
-eTransparent = !aMask ? TRANSPARENT_NONE : TRANSPARENT_BITMAP;
-
+*this = BitmapEx(Bitmap(pSalBmp), Bitmap(pSalMask) );
 return true;
 }
 else
 {
-bAlpha = sal_False;
-eTransparent = TRANSPARENT_NONE;
+*this = BitmapEx(Bitmap(pSalBmp));
 return true;
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 2 commits - canvas/source drawinglayer/source

2013-06-14 Thread Armin Le Grand
 canvas/source/vcl/canvascustomsprite.cxx |5 ++---
 drawinglayer/source/primitive2d/primitivetools2d.cxx |5 +++--
 drawinglayer/source/processor2d/vclprocessor2d.cxx   |6 --
 3 files changed, 9 insertions(+), 7 deletions(-)

New commits:
commit a34f3fdf50dbf8eac0599dfb018fc0040ef2a2f0
Author: Armin Le Grand a...@apache.org
Date:   Fri Jun 14 12:02:40 2013 +

i12525 use X and Y for unit evaluation

diff --git a/drawinglayer/source/primitive2d/primitivetools2d.cxx 
b/drawinglayer/source/primitive2d/primitivetools2d.cxx
index 1cd573c..e70fcff 100644
--- a/drawinglayer/source/primitive2d/primitivetools2d.cxx
+++ b/drawinglayer/source/primitive2d/primitivetools2d.cxx
@@ -38,8 +38,9 @@ namespace drawinglayer
 {
 ::osl::MutexGuard aGuard( m_aMutex );
 
-// get the current DiscreteUnit
-const double 
fDiscreteUnit((rViewInformation.getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 0.0)).getLength());
+// get the current DiscreteUnit, look at X and Y and use the 
maximum
+const basegfx::B2DVector 
aDiscreteVector(rViewInformation.getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 1.0));
+const double fDiscreteUnit(std::min(fabs(aDiscreteVector.getX()), 
fabs(aDiscreteVector.getY(;
 
 if(getBuffered2DDecomposition().hasElements()  
!basegfx::fTools::equal(fDiscreteUnit, getDiscreteUnit()))
 {
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index ea51d51..574d743 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -1279,7 +1279,8 @@ namespace drawinglayer
 {
 const basegfx::BColor 
aColorA(maBColorModifierStack.getModifiedColor(rCandidate.getColorA()));
 const basegfx::BColor 
aColorB(maBColorModifierStack.getModifiedColor(rCandidate.getColorB()));
-const double 
fDiscreteUnit((getViewInformation2D().getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 0.0)).getLength());
+const basegfx::B2DVector 
aDiscreteVector(getViewInformation2D().getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 1.0));
+const double 
fDiscreteUnit(std::min(fabs(aDiscreteVector.getX()), 
fabs(aDiscreteVector.getY(;
 
 // use color distance and discrete lengths to calculate step 
count
 const sal_uInt32 nSteps(calculateStepsForSvgGradient(aColorA, 
aColorB, fDelta, fDiscreteUnit));
@@ -1321,7 +1322,8 @@ namespace drawinglayer
 {
 const basegfx::BColor 
aColorA(maBColorModifierStack.getModifiedColor(rCandidate.getColorA()));
 const basegfx::BColor 
aColorB(maBColorModifierStack.getModifiedColor(rCandidate.getColorB()));
-const double 
fDiscreteUnit((getViewInformation2D().getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 0.0)).getLength());
+const basegfx::B2DVector 
aDiscreteVector(getViewInformation2D().getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 1.0));
+const double 
fDiscreteUnit(std::min(fabs(aDiscreteVector.getX()), 
fabs(aDiscreteVector.getY(;
 
 // use color distance and discrete lengths to calculate step 
count
 const sal_uInt32 nSteps(calculateStepsForSvgGradient(aColorA, 
aColorB, fDeltaScale, fDiscreteUnit));
commit 16235b6d5c6222fe6fdb49f30e885ba701050fdb
Author: Armin Le Grand a...@apache.org
Date:   Fri Jun 14 11:20:45 2013 +

i122485 Preliminary fix: Do not use 1Bit deep VDevs in Linux environment

diff --git a/canvas/source/vcl/canvascustomsprite.cxx 
b/canvas/source/vcl/canvascustomsprite.cxx
index d567f2b..1287ed7 100644
--- a/canvas/source/vcl/canvascustomsprite.cxx
+++ b/canvas/source/vcl/canvascustomsprite.cxx
@@ -80,9 +80,8 @@ namespace vclcanvas
 BackBufferSharedPtr pBackBuffer( new BackBuffer( 
rOutDevProvider-getOutDev() ) );
 pBackBuffer-setSize( aSize );
 
-// create mask backbuffer, with one bit color depth
-BackBufferSharedPtr pBackBufferMask( new BackBuffer( 
rOutDevProvider-getOutDev(),
- true ) );
+// create mask backbuffer, with one bit color depth #122485# use full 
depth to avoid problem with 1bit depth, get AAed masks
+BackBufferSharedPtr pBackBufferMask( new BackBuffer( 
rOutDevProvider-getOutDev() ) ); // , true ) ); // #122485#
 pBackBufferMask-setSize( aSize );
 
 // TODO(F1): Implement alpha vdev (could prolly enable
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Stephan Bergmann
 binaryurp/source/lessoperators.cxx |   18 --
 1 file changed, 8 insertions(+), 10 deletions(-)

New commits:
commit 12dc490c3af9ec0f34b513609f3b14effd5a2906
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Jun 14 14:18:11 2013 +0200

No need for a buggy rewrite

... see 08bb8fca4144608237418d64b1479840c408256f #i122208# replace the
binaryurp cache for improved C++ compatibility and
059f041dfdffe0630ec573fb444c51cc463b90b1 cppcheck: fix 
duplicateExpression,
when the only improvement is to not needlessly acquire/release raw 
rtl_uString
instances.

Change-Id: I734304b231d69f8089cbf1d35a3deda75f771c78

diff --git a/binaryurp/source/lessoperators.cxx 
b/binaryurp/source/lessoperators.cxx
index 3a515f5..6d8952d 100644
--- a/binaryurp/source/lessoperators.cxx
+++ b/binaryurp/source/lessoperators.cxx
@@ -32,16 +32,14 @@
 
 namespace com { namespace sun { namespace star { namespace uno {
 
-bool operator( const TypeDescription rLeft, const TypeDescription rRight) {
-   assert( rLeft.is()  rRight.is());
-   const typelib_TypeDescription rA = *rLeft.get();
-   const typelib_TypeDescription rB = *rRight.get();
-if( rA.eTypeClass != rB.eTypeClass)
-   return (rA.eTypeClass  rB.eTypeClass);
-   const sal_Int32 nCmp = rtl_ustr_compare_WithLength(
-   rA.pTypeName-buffer, rA.pTypeName-length,
-   rB.pTypeName-buffer, rB.pTypeName-length);
-   return (nCmp  0);
+bool operator (TypeDescription const  left, TypeDescription const  right) {
+assert(left.is()  right.is());
+typelib_TypeClass tc1 = left.get()-eTypeClass;
+typelib_TypeClass tc2 = right.get()-eTypeClass;
+return tc1  tc2 ||
+(tc1 == tc2 
+ (OUString::unacquired(left.get()-pTypeName) 
+  OUString::unacquired(right.get()-pTypeName)));
 }
 
 bool TypeDescEqual::operator()( const TypeDescription rLeft, const 
TypeDescription rRight) const
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


OUString concatenation vs OUStringBuffer append

2013-06-14 Thread Matteo Casalin
Hi all,
   in a recent patch [1] for String to OUString conversion I replaced the 
construction of an OUString from a sequence of OUStringBuffer.append to a 
single concatenation of OUString/constant strings [2].
Noel Power (whom I thank for the careful review, and is here in copy), 
correctly asks which way is preferred for such an operation: I don't know the 
answer, can some expert provide me an insight on this? I find OUString 
concatenation easier to read, but this could be not as efficient as the 
original code, or just undesired.

Thanks and kind regards
Matteo

[1]
https://gerrit.libreoffice.org/#/c/4280/

[2]
-    OUStringBuffer aString;
-    aString.append('(');
-    aString.append(static_castsal_Int32(nColMerge));
-    aString.append(',');
-    aString.append(static_castsal_Int32(nRowMerge));
-    aString.append(')');
-    return aString.makeStringAndClear();
+    OUString aRet = (
+    + OUString::number(static_castsal_Int32(nColMerge))
+    + ,
+    + OUString::number(static_castsal_Int32(nRowMerge))
+    + );
+    return aRet;
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: configure.ac

2013-06-14 Thread Stephan Bergmann
 configure.ac |1 +
 1 file changed, 1 insertion(+)

New commits:
commit be4b5d56d7306260a61ba62126102acbda0fb28f
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Jun 14 15:22:56 2013 +0200

Missing AC_DEFINE(HAVE_CXX11)

...post d7ae9f7743d946845a8379e2fb47666f124e2c87 rename 
HAVE_CXX0X-HAVE_CXX11
and clean up to #define in a config header.

Change-Id: Ie8f62c78c9aabe06736a25e60a3035880470e7b5

diff --git a/configure.ac b/configure.ac
index d834260..abcd353 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5702,6 +5702,7 @@ fi
 
 AC_SUBST(CXXFLAGS_CXX11)
 AC_SUBST(HAVE_CXX11)
+AC_DEFINE(HAVE_CXX11)
 
 dnl ==
 dnl Check for C++11 = delete support
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Please hold off modifying sc in the next few weeks

2013-06-14 Thread Kohei Yoshida

Hi there,

I'm in the middle of a huge (I mean huge) refactoring in Calc core, 
which will take at least in the next few weeks to complete.  It touches 
pretty much every piece of the code in ScColumn and many surrounding 
code.  So, I'd appreciate it if you guys could hold off changes such as 
German comment translations and string conversions etc until this work 
is done. Having these other changes would only make my work a lot harder 
and I would have to spend more time merging, which delays completion of 
this work.


Thanks a lot.

Kohei

--
Kohei Yoshida, LibreOffice Calc hacker, SUSE.

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


[Libreoffice-commits] core.git: configure.ac

2013-06-14 Thread Stephan Bergmann
 configure.ac |   15 +++
 1 file changed, 7 insertions(+), 8 deletions(-)

New commits:
commit 38a8b6da3bae314f4a49ec6489e81e31f6cfb24d
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Jun 14 15:51:55 2013 +0200

grr

Change-Id: Ib158bc873fc41bb5668a1da3d7c928f2757d80ab

diff --git a/configure.ac b/configure.ac
index abcd353..b1e910e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5690,19 +5690,18 @@ return !(i != 0  j != 0);
 CXXFLAGS=$save_CXXFLAGS
 fi
 
-if test $HAVE_CXX11 != TRUE; then
-if test -n $CXXFLAGS_CXX11; then
-AC_MSG_NOTICE([Disabling C++11 support])
-CXXFLAGS_CXX11=
-elif test $CPP_LIBRARY = LIBCPP -a $_os = Darwin; then
-AC_MSG_ERROR([Selected libc++ but C++11 support broken])
-fi
+if test $HAVE_CXX11 = TRUE; then
+AC_DEFINE(HAVE_CXX11)
+elif test -n $CXXFLAGS_CXX11; then
+AC_MSG_NOTICE([Disabling C++11 support])
+CXXFLAGS_CXX11=
+elif test $CPP_LIBRARY = LIBCPP -a $_os = Darwin; then
+AC_MSG_ERROR([Selected libc++ but C++11 support broken])
 fi
 fi
 
 AC_SUBST(CXXFLAGS_CXX11)
 AC_SUBST(HAVE_CXX11)
-AC_DEFINE(HAVE_CXX11)
 
 dnl ==
 dnl Check for C++11 = delete support
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: fdo#59727 calc add-in functions and xlsx im/export

2013-06-14 Thread Eike Rathke
Hi Winfried,

On Tuesday, 2013-05-21 09:36:50 +0200, Winfried Donkers wrote:

 A contribution to your post-vacation pile of mails...

Lol, yeah..

  Let's postpone this. I'll be on vacation now anyway and couldn't investigate
  or help. I may have to take over when I return.
 
 I'll leave the bug as it is, we'll communicate again when you're back and 
 have time.

Let's resume next week.

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GPG key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918  630B 6A6C D5B7 6563 2D3A
For key transition see http://erack.de/key-transition-2013-01-10.txt.asc
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack


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


Re: Please hold off modifying sc in the next few weeks

2013-06-14 Thread Bjoern Michaelsen
Hi Kohei,

On Fri, Jun 14, 2013 at 09:29:56AM -0400, Kohei Yoshida wrote:
 I'm in the middle of a huge (I mean huge) refactoring in Calc core,
 which will take at least in the next few weeks to complete.  It
 touches pretty much every piece of the code in ScColumn and many
 surrounding code.  So, I'd appreciate it if you guys could hold off
 changes such as German comment translations and string conversions
 etc until this work is done. Having these other changes would only
 make my work a lot harder and I would have to spend more time
 merging, which delays completion of this work.

Im not too happy with essentially shutting down all development on master on
one application for an undefined timeframe. Can we make this a bit more
bearable by:

a/ a concrete timeframe, I would suggest until the 2013-06-30
   (with the option to extend the block another week a few days before the end
   should the need arise)
b/ make that work trackable and visible on a regularly pushed branch (maybe
   even regularly rebased), so it easier to see where possible conflicts arise
c/ instead of suggesting to stop all work on calc, divert those changes to
   gerrit, were those could stay on hold until the refactoring is done, and
   be merged in due time afterwards ...

Note also that some string refactorings or friends are global (e.g. removing a
member function), and excluding these would block all of LO, which is obviously
not a good thing.

Best,

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


Re: OUString concatenation vs OUStringBuffer append

2013-06-14 Thread Noel Power

On 14/06/13 14:19, Matteo Casalin wrote:

Hi all,
in a recent patch [1] for String to OUString conversion I replaced the 
construction of an OUString from a sequence of OUStringBuffer.append to a 
single concatenation of OUString/constant strings [2].
Noel Power (whom I thank for the careful review, and is here in copy), 
correctly asks which way is preferred for such an operation: I don't know the 
answer, can some expert provide me an insight on this? I find OUString 
concatenation easier to read, but this could be not as efficient as the 
original code, or just undesired.

Thanks and kind regards
Matteo

[1]
https://gerrit.libreoffice.org/#/c/4280/

[2]
-OUStringBuffer aString;
-aString.append('(');
-aString.append(static_castsal_Int32(nColMerge));
-aString.append(',');
-aString.append(static_castsal_Int32(nRowMerge));
-aString.append(')');
-return aString.makeStringAndClear();
+OUString aRet = (
++ OUString::number(static_castsal_Int32(nColMerge))
++ ,
++ OUString::number(static_castsal_Int32(nRowMerge))
++ );
+return aRet;


just a note, I don't find the changed code offensive or anything :-) in 
fact the opposite I find it easier on the eye than OUStringBuffer  But.. 
in this case the OUStringBuffer usage was the result of previous 
rework.  Prior to the OUStringBuffer rework the code looked quite like 
the new OUString change, I know Lubos/Stephan have done lots of stuff 
around strings and honestly ( although I am sure it probably is 
mentioned somewhere in the mailing list ) I don't know what the current 
preferred way is. I seem to remember something about OUString 
concatenation now being as efficient as OUStringBuffer these days and 
that the advantage of OUStringBuffer ( in such cases as above ) is not 
as great. but really I can't recall


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


[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0.3' - vcl/source

2013-06-14 Thread Thorsten Behrens
 vcl/source/gdi/bitmapex.cxx |   34 +-
 1 file changed, 5 insertions(+), 29 deletions(-)

New commits:
commit 891805e02f6a8dc8a8bb2dc3a7b854601c956a7d
Author: Thorsten Behrens tbehr...@suse.com
Date:   Fri Jun 14 13:26:43 2013 +0200

Fixup alpha bitmap generation for Windows.

This improves upon d6f58fd25eeca84a94528409a05b80aa5172b8b8 by
using the BitmapEx ctor instead of manual initialisation. Several
EMF+ files would otherwise show up horribly mangled on Windows.

Change-Id: I1808cb45818f3f0118653164c83c49d6134b9324

diff --git a/vcl/source/gdi/bitmapex.cxx b/vcl/source/gdi/bitmapex.cxx
index 59fc06a..8b22b94 100644
--- a/vcl/source/gdi/bitmapex.cxx
+++ b/vcl/source/gdi/bitmapex.cxx
@@ -868,9 +868,6 @@ bool BitmapEx::Create( const 
::com::sun::star::uno::Reference
::com::sun::star::rendering::XBitmapCanvas  
xBitmapCanvas,
const Size rSize )
 {
-SetEmpty();
-Size aSize( rSize );
-
 uno::Reference beans::XFastPropertySet  xFastPropertySet( xBitmapCanvas, 
uno::UNO_QUERY );
 if( xFastPropertySet.get() )
 {
@@ -890,38 +887,17 @@ bool BitmapEx::Create( const 
::com::sun::star::uno::Reference
 pSalBmp = ImplGetSVData()-mpDefInst-CreateSalBitmap();
 pSalMask = ImplGetSVData()-mpDefInst-CreateSalBitmap();
 
-if( pSalBmp-Create( xBitmapCanvas, aSize ) )
+Size aLocalSize(rSize);
+if( pSalBmp-Create( xBitmapCanvas, aLocalSize ) )
 {
-#ifdef CLAMP_BITDEPTH_PARANOIA
-// did we get alpha mixed up in the bitmap itself
-// eg. Cairo Canvas ... yes performance of this is awful.
-if( pSalBmp-GetBitCount()  24 )
-{
-// Format convert the pixels with generic code
-Bitmap aSrcPixels( pSalBmp );
-aBitmap = Bitmap( rSize, 24 );
-BitmapReadAccess aSrcRead( aSrcPixels );
-BitmapWriteAccess aDestWrite( aBitmap );
-aDestWrite.CopyBuffer( aSrcRead );
-}
-else
-#endif
-aBitmap = Bitmap( pSalBmp );
-
-aBitmapSize = rSize;
-if ( pSalMask-Create( xBitmapCanvas, aSize, true ) )
+if ( pSalMask-Create( xBitmapCanvas, aLocalSize, true ) )
 {
-aMask = Bitmap( pSalMask );
-bAlpha = sal_True;
-aBitmapSize = rSize;
-eTransparent = !aMask ? TRANSPARENT_NONE : TRANSPARENT_BITMAP;
-
+*this = BitmapEx(Bitmap(pSalBmp), Bitmap(pSalMask) );
 return true;
 }
 else
 {
-bAlpha = sal_False;
-eTransparent = TRANSPARENT_NONE;
+*this = BitmapEx(Bitmap(pSalBmp));
 return true;
 }
 }
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0' - distro-configs/AppUpSUSEWin32.conf

2013-06-14 Thread Andras Timar
 distro-configs/AppUpSUSEWin32.conf |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 08500125497c595bfdaaf51b0f2599df4a67c6d9
Author: Andras Timar ati...@suse.com
Date:   Fri Jun 14 16:26:45 2013 +0200

sync AppUpSUSEWin32.conf with SUSEWin32.conf

Change-Id: Id00334109ba953fb31079668ea52ab731bdb3d6a

diff --git a/distro-configs/AppUpSUSEWin32.conf 
b/distro-configs/AppUpSUSEWin32.conf
index 7118daf..970acfd 100644
--- a/distro-configs/AppUpSUSEWin32.conf
+++ b/distro-configs/AppUpSUSEWin32.conf
@@ -5,6 +5,7 @@
 --with-intro-progressbar-position=115,225
 --with-intro-progressbar-frame-color=138,154,137
 --with-flat-logo-svg=$(SRC_ROOT)/icon-themes/galaxy/brand_suse_bw/about.svg
+--with-about-background-svg=$(SRC_ROOT)/icon-themes/galaxy/brand_suse_bw/shell/about.svg
 
--with-startcenter-left-bitmap=$(SRC_ROOT)/icon-themes/galaxy/brand_suse_bw/shell/backing_left.png
 
--with-startcenter-right-bitmap=$(SRC_ROOT)/icon-themes/galaxy/brand_suse_bw/shell/backing_right.png
 
--with-startcenter-rtl-left-bitmap=$(SRC_ROOT)/icon-themes/galaxy/brand_suse_bw/shell/backing_left.png
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'distro/suse/suse-4.0.3' - distro-configs/AppUpSUSEWin32.conf

2013-06-14 Thread Andras Timar
 distro-configs/AppUpSUSEWin32.conf |1 +
 1 file changed, 1 insertion(+)

New commits:
commit b6e02eeff8447a1e0726fbab43da2f0cf0a205f2
Author: Andras Timar ati...@suse.com
Date:   Fri Jun 14 16:26:45 2013 +0200

sync AppUpSUSEWin32.conf with SUSEWin32.conf

Change-Id: Id00334109ba953fb31079668ea52ab731bdb3d6a

diff --git a/distro-configs/AppUpSUSEWin32.conf 
b/distro-configs/AppUpSUSEWin32.conf
index 7118daf..970acfd 100644
--- a/distro-configs/AppUpSUSEWin32.conf
+++ b/distro-configs/AppUpSUSEWin32.conf
@@ -5,6 +5,7 @@
 --with-intro-progressbar-position=115,225
 --with-intro-progressbar-frame-color=138,154,137
 --with-flat-logo-svg=$(SRC_ROOT)/icon-themes/galaxy/brand_suse_bw/about.svg
+--with-about-background-svg=$(SRC_ROOT)/icon-themes/galaxy/brand_suse_bw/shell/about.svg
 
--with-startcenter-left-bitmap=$(SRC_ROOT)/icon-themes/galaxy/brand_suse_bw/shell/backing_left.png
 
--with-startcenter-right-bitmap=$(SRC_ROOT)/icon-themes/galaxy/brand_suse_bw/shell/backing_right.png
 
--with-startcenter-rtl-left-bitmap=$(SRC_ROOT)/icon-themes/galaxy/brand_suse_bw/shell/backing_left.png
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Please hold off modifying sc in the next few weeks

2013-06-14 Thread Kohei Yoshida

On 06/14/2013 10:11 AM, Bjoern Michaelsen wrote:

Hi Kohei,

On Fri, Jun 14, 2013 at 09:29:56AM -0400, Kohei Yoshida wrote:

I'm in the middle of a huge (I mean huge) refactoring in Calc core,
which will take at least in the next few weeks to complete.  It
touches pretty much every piece of the code in ScColumn and many
surrounding code.  So, I'd appreciate it if you guys could hold off
changes such as German comment translations and string conversions
etc until this work is done. Having these other changes would only
make my work a lot harder and I would have to spend more time
merging, which delays completion of this work.

Im not too happy with essentially shutting down all development on master on
one application for an undefined timeframe. Can we make this a bit more
bearable by:
I'm not shutting down all development. If you know what you are doing 
and know that your change won't affect my ScColumn cell storage rework, 
feel free to push. Also, if your change is urgent, and/or you can't 
sleep at night until you push your change, go ahead and push.  That 
means I instead may have to stay up late a little, but I guess nobody cares.




a/ a concrete timeframe, I would suggest until the 2013-06-30
(with the option to extend the block another week a few days before the end
should the need arise)
I can't give any more concrete time frame than the next few weeks, since 
even *I* don't know exactly when it will finish.

b/ make that work trackable and visible on a regularly pushed branch (maybe
even regularly rebased), so it easier to see where possible conflicts arise
I don't want to do that because this is a huge change that won't even 
compile. I've been working on this in the past 3 to 4 weeks without 
being able to build it.  And as I understand it some people (especially 
those who admin bibisect, tinderboxes etc) do want to make sure that 
each commit is at least buildable, if I'm not mistaken.


But if you really want to see what's going on, track my change on

feature/formula-core-rework

at

ssh://anarchy.freedesktop.org/~kohei/libreoffice/core

Right now I can't afford to make each commit meaningful, and each commit 
is not in a buildable state. What I'll do is to squash all these 
fragmented commits into one once I finish all necessary changes, make it 
buildable, and make it pass all existing unit tests, before merging to 
the main repo.



c/ instead of suggesting to stop all work on calc, divert those changes to
gerrit, were those could stay on hold until the refactoring is done, and
be merged in due time afterwards ...

Fine. Then, my request is for gerrit reviewers.



Note also that some string refactorings or friends are global (e.g. removing a
member function), and excluding these would block all of LO, which is obviously
not a good thing.


Whether it's a good thing or not, I'm simply requesting some 
assistance to make my life a bit easier (as it has been rather brutal in 
the past few weeks). If you think your change is important, feel free to 
push then.  I'll have to suffer a bit more, but I guess I'm not a 
priority in the whole scope of this project, and I'm fine with it.


Or, if none of these make sense, or you find this confusing or too 
restricting, then just ignore my request and go on with your lives.


Peace,

Kohei

--
Kohei Yoshida, LibreOffice Calc hacker, SUSE.

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


Re: Please hold off modifying sc in the next few weeks

2013-06-14 Thread Fridrich Strba
On 14/06/13 16:11, Bjoern Michaelsen wrote:
 Im not too happy with essentially shutting down all development on master on
 one application for an undefined timeframe. Can we make this a bit more
 bearable by:

Bjoern, just read it again. He is asking not to merge changes like
german comments or the wholesale string/sal_Bool changes that are low
priority but complicate life when one tries to rebase changes. He also
did not speak about indefinite. Kohei is know to be a fast and concise
fellow, so don't worry, it will not take the same time as chart2.

He just implores the clemency of the pears to make his re-factoring less
of PITA.

F.

 a/ a concrete timeframe, I would suggest until the 2013-06-30
(with the option to extend the block another week a few days before the end
should the need arise)
 b/ make that work trackable and visible on a regularly pushed branch (maybe
even regularly rebased), so it easier to see where possible conflicts arise
 c/ instead of suggesting to stop all work on calc, divert those changes to
gerrit, were those could stay on hold until the refactoring is done, and
be merged in due time afterwards ...
 
 Note also that some string refactorings or friends are global (e.g. removing a
 member function), and excluding these would block all of LO, which is 
 obviously
 not a good thing.
 
 Best,
 
 Bjoern
 ___
 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: configure.ac

2013-06-14 Thread Stephan Bergmann
 configure.ac |   28 +++-
 1 file changed, 23 insertions(+), 5 deletions(-)

New commits:
commit 10919e4074ca5c90925988917f3edf730c4267e5
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Jun 14 16:37:49 2013 +0200

Better approximation of HAVE_THREADSAFE_STATICS for Clang

Change-Id: Ie29aa2e970f06a4a5bef672afe17b085600e7b88

diff --git a/configure.ac b/configure.ac
index b1e910e..673f774 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5445,13 +5445,31 @@ if test $GCC = yes; then
 dnl GNU/Linux machine); see the definition of __cxa_guard_acquire in GCC's
 dnl libstdc++-v3/libsupc++/guard.cc for what #ifdefs actually make a
 dnl difference there.  Conservative advice from Jakub Jelinek is to assume
-dnl it working in GCC = 4.3:
-if test $_os = Darwin -o $_os = Android -o ${GCCVER?} -lt 040300; 
then
-AC_MSG_RESULT([broken (i.e., no)])
-else
-HAVE_THREADSAFE_STATICS=TRUE
+dnl it working in GCC = 4.3, so conservative way to check here is to use
+dnl GCCVER for GCC but resort to __GLIBCXX__ corresponding to libstdc++
+dnl shipped with GCC 4.3.0 (cf. http://gcc.gnu.org/onlinedocs/libstdc++/
+dnl manual/abi.html#abi.versioning.history; 4.3.0 is 20080306, 4.2.4 is
+dnl 20080519, 4.3.1 is 20080606) for Clang (for which GCCVER is notoriously
+dnl too old):
+if test $_os != Darwin -a $_os != Android; then
+if test $COM_GCC_IS_CLANG = TRUE; then
+AC_LANG_PUSH([C++])
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#include list
+#if !defined __GLIBCXX__ ||(__GLIBCXX__  20080606  __GLIBCXX__ != 20080306)
+#error
+#endif
+]])],[HAVE_THREADSAFE_STATICS=TRUE],[])
+AC_LANG_POP([C++])
+elif test ${GCCVER?} -ge 040300; then
+HAVE_THREADSAFE_STATICS=TRUE
+fi
+fi
+if test $HAVE_THREADSAFE_STATICS = TRUE; then
 AC_DEFINE(HAVE_THREADSAFE_STATICS)
 AC_MSG_RESULT([yes])
+else
+AC_MSG_RESULT([broken (i.e., no)])
 fi
 else
 AC_MSG_RESULT([unknown (assuming no)])
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - b2/cc0de3fc9adee90787ca760e86869f9255b380

2013-06-14 Thread Caolán McNamara
 b2/cc0de3fc9adee90787ca760e86869f9255b380 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 45ab67709e1ff6261ed911e35999bf1d6ea2aa93
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 16:00:50 2013 +0100

Notes added by 'git notes add'

diff --git a/b2/cc0de3fc9adee90787ca760e86869f9255b380 
b/b2/cc0de3fc9adee90787ca760e86869f9255b380
new file mode 100644
index 000..f8d6796
--- /dev/null
+++ b/b2/cc0de3fc9adee90787ca760e86869f9255b380
@@ -0,0 +1 @@
+merged as: 9bb96049addebd8907854730713d8a3f5f033e34
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - d8/4324ff612c652b0f6e7a91863808db4425c316

2013-06-14 Thread Caolán McNamara
 d8/4324ff612c652b0f6e7a91863808db4425c316 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 4ed949ff1072c8257941bfa38a268010c3d4d7b0
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 16:01:17 2013 +0100

Notes added by 'git notes add'

diff --git a/d8/4324ff612c652b0f6e7a91863808db4425c316 
b/d8/4324ff612c652b0f6e7a91863808db4425c316
new file mode 100644
index 000..55db068
--- /dev/null
+++ b/d8/4324ff612c652b0f6e7a91863808db4425c316
@@ -0,0 +1 @@
+merged as: 322ee02748cf678495f73165905da0b0c2fd16a3
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - c9/0a6ca92b1239d01a2892e15488e4a183a88b1a

2013-06-14 Thread Caolán McNamara
 c9/0a6ca92b1239d01a2892e15488e4a183a88b1a |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 91058b7dbb76fc0ba7ce27195613d42c3ae9d5e4
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 16:05:37 2013 +0100

Notes added by 'git notes add'

diff --git a/c9/0a6ca92b1239d01a2892e15488e4a183a88b1a 
b/c9/0a6ca92b1239d01a2892e15488e4a183a88b1a
new file mode 100644
index 000..f8d6796
--- /dev/null
+++ b/c9/0a6ca92b1239d01a2892e15488e4a183a88b1a
@@ -0,0 +1 @@
+merged as: 9bb96049addebd8907854730713d8a3f5f033e34
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - f3/118889a0cd941f193e9b6557c0792015d77a34

2013-06-14 Thread Caolán McNamara
 f3/118889a0cd941f193e9b6557c0792015d77a34 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 77864bfed5dc927c2239f8c47024ea1cdb1a4ba3
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 16:05:17 2013 +0100

Notes added by 'git notes add'

diff --git a/f3/118889a0cd941f193e9b6557c0792015d77a34 
b/f3/118889a0cd941f193e9b6557c0792015d77a34
new file mode 100644
index 000..f8d6796
--- /dev/null
+++ b/f3/118889a0cd941f193e9b6557c0792015d77a34
@@ -0,0 +1 @@
+merged as: 9bb96049addebd8907854730713d8a3f5f033e34
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Please hold off modifying sc in the next few weeks

2013-06-14 Thread Bjoern Michaelsen
Hi Kohei,

On Fri, Jun 14, 2013 at 10:37:46AM -0400, Kohei Yoshida wrote:
 I'm not shutting down all development. If you know what you are
 doing and know that your change won't affect my ScColumn cell
 storage rework, feel free to push.

Its just that this is rather hard to judge for someone not too familiar with
the area of code, and Please hold off modifying sc in the next few weeks is a
rather generic and scary email subject. ;)


 I can't give any more concrete time frame than the next few weeks,
 since even *I* don't know exactly when it will finish.

As I said: How about saying until the end of this month and then announce you
need another week or so on demand. Having such a generic hold of modifying sc
mail out there easily creates urban myths a la I heard we should not touch sc
and I havent seen a mail unblocking that (even if there was one somewhere). 
I dont want you to commit yourself to a timeframe, just keep us up to date
iteratively.

 b/ make that work trackable and visible on a regularly pushed branch (maybe
 even regularly rebased), so it easier to see where possible conflicts 
  arise
 I don't want to do that because this is a huge change that won't
 even compile. I've been working on this in the past 3 to 4 weeks
 without being able to build it.  And as I understand it some people
 (especially those who admin bibisect, tinderboxes etc) do want to
 make sure that each commit is at least buildable, if I'm not
 mistaken.

Yep, guessed so.

 But if you really want to see what's going on, track my change on
 feature/formula-core-rework
 at
 ssh://anarchy.freedesktop.org/~kohei/libreoffice/core

Great, thanks. But why not have that branch directly on the repo, where it is
much easier to track for everyone?

 Or, if none of these make sense, or you find this confusing or too
 restricting, then just ignore my request and go on with your lives.

No, it makes perfect sense and some of this pain is unavoidable -- its just
that the more discoverable the stuff is the easier it is to avoid
misunderstandings.

Best,

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


[Libreoffice-commits] core.git: Branch 'feature/firebird-sdbc' - config_host.mk.in configure.ac connectivity/Library_firebird-sdbc.mk download.lst firebird/ExternalPackage_firebird.mk firebird/Externa

2013-06-14 Thread Andrzej J . R . Hunt
 Library_merged.mk  |2 
 Makefile.fetch |5 -
 RepositoryExternal.mk  |   77 +
 RepositoryModule_build.mk  |1 
 RepositoryModule_host.mk   |1 
 config_host.mk.in  |3 
 configure.ac   |   13 +++-
 connectivity/Library_firebird-sdbc.mk  |2 
 download.lst   |4 -
 firebird/ExternalPackage_firebird.mk   |   15 ++--
 firebird/ExternalProject_firebird.mk   |   16 -
 firebird/Module_firebird.mk|4 -
 libatomic_ops/ExternalPackage_libatomic_ops.mk |   20 ++
 libatomic_ops/ExternalProject_libatomic_ops.mk |   26 
 libatomic_ops/Makefile |7 ++
 libatomic_ops/Module_libatomic_ops.mk  |   22 +++
 libatomic_ops/README   |4 +
 libatomic_ops/UnpackedTarball_libatomic_ops.mk |   14 
 18 files changed, 183 insertions(+), 53 deletions(-)

New commits:
commit 0db44dd51be829bc8fa8e6750b8755f73265ce2c
Author: Andrzej J.R. Hunt andr...@ahunt.org
Date:   Fri Jun 14 14:55:22 2013 +0100

Build firebird 2.5 internally. Also adds libatomic_ops.

Change-Id: I44a45e781dfb3624cdebf4530ae44870bf39a82a

diff --git a/Library_merged.mk b/Library_merged.mk
index 6e404df..b66120d 100644
--- a/Library_merged.mk
+++ b/Library_merged.mk
@@ -48,6 +48,8 @@ $(eval $(call gb_Library_use_externals,merged,\
icuuc \
jpeg \
lcms2 \
+   libatomic_ops \
+   libfbembed \
liblangtag \
libxml2 \
libxslt \
diff --git a/Makefile.fetch b/Makefile.fetch
index f1922e5..3cca2b4 100644
--- a/Makefile.fetch
+++ b/Makefile.fetch
@@ -74,10 +74,9 @@ $(WORKDIR)/download: $(BUILDDIR)/config_host.mk 
$(SRCDIR)/download.lst $(SRCDIR)
@mkdir -p $(TARFILE_LOCATION)/tmp
@date  $(fetch_LOGFILE)
$(foreach item, \
-   $(call fetch_Optional,FIREBIRD,FIREBIRD_TARBALL) \
-   ,$(call 
fetch_Download_item_special,http://people.igalia.com/agomez/files,$(item)))
-   $(foreach item, \
+   $(call fetch_Optional,LIBATOMIC_OPS,LIBATOMIC_OPS_TARBALL) \
$(call fetch_Optional,CDR,CDR_TARBALL) \
+   $(call fetch_Optional,FIREBIRD,FIREBIRD_TARBALL) \
$(call fetch_Optional,MSPUB,MSPUB_TARBALL) \
$(call fetch_Optional,MWAW,MWAW_TARBALL) \
$(call fetch_Optional,VISIO,VISIO_TARBALL) \
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index f7a1b64..2062b0a 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -680,6 +680,48 @@ gb_LinkTarget__use_jawt :=
 endif # $(OS)$(COM) = WNTGCC
 
 
+ifeq ($(SYSTEM_LIBATOMIC_OPS),YES)
+
+define gb_LinkTarget__use_libatomic_ops
+$(call gb_LinkTarget_set_include,$(1),\
+   $$(INCLUDE) \
+   $(LIBATOMIC_OPS_CFLAGS) \
+)
+$(call gb_LinkTarget_add_libs,$(1), $(LIBATOMIC_OPS_LIBS))
+
+endef
+gb_ExternalProject__use_libatomic_ops :=
+
+else # !SYSTEM_LIBATOMIC_OPS
+
+$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
+libatomic-ops-7.2d \
+))
+
+
+define gb_LinkTarget__use_libatomic_ops
+$(call gb_LinkTarget_set_include,$(1),\
+$(LIBATOMIC_OPS_CFLAGS) \
+   $$(INCLUDE) \
+   $(LIBATOMIC_OPS_CFLAGS) \
+)
+$(call gb_LinkTarget_use_package,$(1),\
+   libatomic_ops \
+)
+$(call gb_LinkTarget_use_static_libraries,$(1),\
+   libatomic_ops \
+)
+
+endef
+
+define gb_ExternalProject__use_libatomic_ops
+$(call gb_ExternalProject_use_package,$(1),libatomic_ops)
+
+endef
+
+endif # SYSTEM_LIBATOMIC_OPS
+
+
 ifeq ($(SYSTEM_LIBEXTTEXTCAT),YES)
 
 define gb_LinkTarget__use_libexttextcat
@@ -2178,6 +2220,8 @@ ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
 
 ifeq ($(SYSTEM_FIREBIRD),YES)
 
+$(call gb_LinkTarget__use_libatomic_ops,$(1))
+
 define gb_LinkTarget__use_firebird
 $(call gb_LinkTarget_set_include,$(1),\
$(FIREBIRD_CFLAGS) \
@@ -2192,37 +2236,26 @@ endef
 
 else # !SYSTEM_FIREBIRD
 
-$(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \
-   firebird \
+#$(call gb_LinkTarget__use_libatomic_ops,$(1))
+
+$(eval $(call gb_Helper_register_libraries,PLAINLIBS_OOO, \
+fbembed \
 ))
-define gb_LinkTarget__use_firebird
-$(call gb_LinkTarget_use_unpacked,$(1),firebird)
+
+define gb_LinkTarget__use_libfbembed
+$(call gb_LinkTarget_use_package,$(1),firebird)
 $(call gb_LinkTarget_set_include,$(1),\
-   -I$(OUTDIR)/inc/external/firebird \
$$(INCLUDE) \
+   -I$(call gb_UnpackedTarball_get_dir,firebird)/src/include \
+   -I$(call gb_UnpackedTarball_get_dir,firebird)/src/include/gen \
+   -I$(call gb_UnpackedTarball_get_dir,firebird)/src/jrd \
 )
 $(call gb_LinkTarget_use_libraries,$(1),\
-   firebird \
+fbembed \
 )
 
 endef
 
-# $(eval $(call gb_Helper_register_static_libraries,PLAINLIBS, \

Re: menu question

2013-06-14 Thread Caolán McNamara
On Wed, 2013-06-05 at 20:54 +0200, Cor Nouws wrote:
 Hi,
 
 Have build successful on Ubuntu with 727e63452dc4de88d5dc62d5b1da6da0647564b
 where I added
node oor:name=.uno:TemplateMenu oor:op=replace
  prop oor:name=Label oor:type=xs:string
value xml:lang=en-US~Templates/value
  /prop
/node

Can you provide the full thing as a patch. A quick read through it
suggest that it should have worked.

C.

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


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

2013-06-14 Thread Armin Le Grand
 drawinglayer/source/primitive2d/primitivetools2d.cxx |5 +++--
 drawinglayer/source/processor2d/vclprocessor2d.cxx   |6 --
 2 files changed, 7 insertions(+), 4 deletions(-)

New commits:
commit 9d491e73168cc21ed9f6fc7a596e8b4aec320a9b
Author: Armin Le Grand a...@apache.org
Date:   Fri Jun 14 12:02:40 2013 +

Resolves: #i122525# use X and Y for unit evaluation

(cherry picked from commit a34f3fdf50dbf8eac0599dfb018fc0040ef2a2f0)

Change-Id: Icdb83829917315173be5e824083ed502f6a6a8cb

diff --git a/drawinglayer/source/primitive2d/primitivetools2d.cxx 
b/drawinglayer/source/primitive2d/primitivetools2d.cxx
index 063aa1c..f1998e7 100644
--- a/drawinglayer/source/primitive2d/primitivetools2d.cxx
+++ b/drawinglayer/source/primitive2d/primitivetools2d.cxx
@@ -31,8 +31,9 @@ namespace drawinglayer
 {
 ::osl::MutexGuard aGuard( m_aMutex );
 
-// get the current DiscreteUnit
-const double 
fDiscreteUnit((rViewInformation.getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 0.0)).getLength());
+// get the current DiscreteUnit, look at X and Y and use the 
maximum
+const basegfx::B2DVector 
aDiscreteVector(rViewInformation.getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 1.0));
+const double fDiscreteUnit(std::min(fabs(aDiscreteVector.getX()), 
fabs(aDiscreteVector.getY(;
 
 if(getBuffered2DDecomposition().hasElements()  
!basegfx::fTools::equal(fDiscreteUnit, getDiscreteUnit()))
 {
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index 02b80cc..a11c49b 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -1396,7 +1396,8 @@ namespace drawinglayer
 {
 const basegfx::BColor 
aColorA(maBColorModifierStack.getModifiedColor(rCandidate.getColorA()));
 const basegfx::BColor 
aColorB(maBColorModifierStack.getModifiedColor(rCandidate.getColorB()));
-const double 
fDiscreteUnit((getViewInformation2D().getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 0.0)).getLength());
+const basegfx::B2DVector 
aDiscreteVector(getViewInformation2D().getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 1.0));
+const double 
fDiscreteUnit(std::min(fabs(aDiscreteVector.getX()), 
fabs(aDiscreteVector.getY(;
 
 // use color distance and discrete lengths to calculate step 
count
 const sal_uInt32 nSteps(calculateStepsForSvgGradient(aColorA, 
aColorB, fDelta, fDiscreteUnit));
@@ -1438,7 +1439,8 @@ namespace drawinglayer
 {
 const basegfx::BColor 
aColorA(maBColorModifierStack.getModifiedColor(rCandidate.getColorA()));
 const basegfx::BColor 
aColorB(maBColorModifierStack.getModifiedColor(rCandidate.getColorB()));
-const double 
fDiscreteUnit((getViewInformation2D().getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 0.0)).getLength());
+const basegfx::B2DVector 
aDiscreteVector(getViewInformation2D().getInverseObjectToViewTransformation() * 
basegfx::B2DVector(1.0, 1.0));
+const double 
fDiscreteUnit(std::min(fabs(aDiscreteVector.getX()), 
fabs(aDiscreteVector.getY(;
 
 // use color distance and discrete lengths to calculate step 
count
 const sal_uInt32 nSteps(calculateStepsForSvgGradient(aColorA, 
aColorB, fDeltaScale, fDiscreteUnit));
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - a3/4f3fdf50dbf8eac0599dfb018fc0040ef2a2f0

2013-06-14 Thread Caolán McNamara
 a3/4f3fdf50dbf8eac0599dfb018fc0040ef2a2f0 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit d7a5f4a7e1a93b68a1d9d39017bf0ba838b68e17
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 16:25:57 2013 +0100

Notes added by 'git notes add'

diff --git a/a3/4f3fdf50dbf8eac0599dfb018fc0040ef2a2f0 
b/a3/4f3fdf50dbf8eac0599dfb018fc0040ef2a2f0
new file mode 100644
index 000..6df8f8e
--- /dev/null
+++ b/a3/4f3fdf50dbf8eac0599dfb018fc0040ef2a2f0
@@ -0,0 +1 @@
+merged as: 9d491e73168cc21ed9f6fc7a596e8b4aec320a9b
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[PATCH] Cleaning: remove use of old edt1 from dlg.h (Windows)

2013-06-14 Thread Julien Nabet (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/4283

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/83/4283/1

Cleaning: remove use of old edt1 from dlg.h (Windows)

edt1 was used before cmb13 (used from Win2K version)
So use only cmb13 + tweaks associated comments
See 
http://nabble.documentfoundation.org/Cppcheck-reassignment-of-edt1Id-because-isWin2000-has-been-removed-fpicker-module-td4061342.html

Change-Id: I9d56726508a9fbf2607c9d18b7b33eca340f1b9f
---
M fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
1 file changed, 5 insertions(+), 11 deletions(-)



diff --git a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx 
b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
index f672916..ee2760b 100644
--- a/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
+++ b/fpicker/source/win32/filepicker/WinFileOpenImpl.cxx
@@ -584,7 +584,7 @@
 // Our approach is to align all static text controls with the
 // static text control File name of the FileOpen dialog,
 // all checkboxes and all list/comboboxes will be left aligned with
-// the standard combobox edt1 (defined in MS platform sdk dlgs.h)
+// the standard combobox cmb13 (defined in MS platform sdk dlgs.h)
 // and all push buttons will be left aligned with the standard
 // OK button
 //-
@@ -689,8 +689,6 @@
 HWND hFilterBoxLabel = GetDlgItem(m_hwndFileOpenDlg, stc2);
 HWND hFileNameBoxLabel = GetDlgItem(m_hwndFileOpenDlg, stc3);
 HWND hFileNameBox = GetDlgItem(m_hwndFileOpenDlg, cmb13);
-if (!hFileNameBox)
-hFileNameBox = GetDlgItem(m_hwndFileOpenDlg, edt1); // under Win98 it 
is edt1 instead of cmb13
 
 HWND hFilterBox = GetDlgItem(m_hwndFileOpenDlg, cmb1);
 HWND hOkButton = GetDlgItem(m_hwndFileOpenDlg, IDOK);
@@ -985,15 +983,11 @@
 // open dialog (reason: see above setDefaultName)
 if (m_bInitialSelChanged  m_defaultName.getLength())
 {
-sal_Int32 edt1Id = edt1;
-
-// under W2k the there is a combobox instead
+// from W2k there is a combobox instead
 // of an edit field for the file name edit field
-// the control id of this box is cmb13 and not
-// edt1 as before so we must use this id
-edt1Id = cmb13;
-
-HWND hwndEdt1 = GetDlgItem(m_hwndFileOpenDlg, edt1Id);
+// So the control id of this box is cmb13 and not
+// edt1 as before
+HWND hwndEdt1 = GetDlgItem(m_hwndFileOpenDlg, cmb13);
 SetWindowText(hwndEdt1, 
reinterpret_castLPCTSTR(m_defaultName.getStr()));
 }
 

-- 
To view, visit https://gerrit.libreoffice.org/4283
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9d56726508a9fbf2607c9d18b7b33eca340f1b9f
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Julien Nabet serval2...@yahoo.fr

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


[PATCH] fdo#59427 first step for template menu

2013-06-14 Thread Cor Nouws (via Code Review)
Hi,

I have submitted a patch for review:

https://gerrit.libreoffice.org/4284

To pull it, you can do:

git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/84/4284/1

fdo#59427 first step for template menu

takes care for File  Template  Save and File  Template  Manage
however the menu for the latter comes from uno:NewDoc and thus has
to be changed  TODO

Change-Id: I0600847724fc5ccb3ef13d57355d8eb54970cc9b
---
M include/sfx2/sfxcommands.h
M officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
M sc/uiconfig/scalc/menubar/menubar.xml
M sd/uiconfig/sdraw/menubar/menubar.xml
M sd/uiconfig/simpress/menubar/menubar.xml
M sw/uiconfig/sglobal/menubar/menubar.xml
M sw/uiconfig/sweb/menubar/menubar.xml
M sw/uiconfig/swform/menubar/menubar.xml
M sw/uiconfig/swreport/menubar/menubar.xml
M sw/uiconfig/swriter/menubar/menubar.xml
M sw/uiconfig/swxform/menubar/menubar.xml
11 files changed, 69 insertions(+), 9 deletions(-)



diff --git a/include/sfx2/sfxcommands.h b/include/sfx2/sfxcommands.h
index 3f4df5c..c7485cd 100644
--- a/include/sfx2/sfxcommands.h
+++ b/include/sfx2/sfxcommands.h
@@ -49,6 +49,7 @@
 #define CMD_SID_CHECKIN .uno:CheckIn
 #define CMD_SID_OPENURL .uno:OpenUrl
 #define CMD_SID_OPTIONS .uno:Options
+#define CMD_SID_TEMPLATE_MENU   .uno:TemplateMenu
 #define CMD_SID_ORGANIZER   .uno:Organizer
 #define CMD_SID_PASTE   .uno:Paste
 #define CMD_SID_PASTE_SPECIAL   .uno:PasteSpecial
diff --git 
a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu 
b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
index bbed900..55a6872 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
@@ -5591,6 +5591,11 @@
   value xml:lang=en-USTemplate Manager/value
 /prop
   /node
+  node oor:name=.uno:TemplateMenu oor:op=replace
+prop oor:name=Label oor:type=xs:string
+  value xml:lang=en-US~Templates/value
+/prop
+  /node
   node oor:name=.uno:ExternalEdit oor:op=replace
 prop oor:name=Label oor:type=xs:string
   value xml:lang=en-USEdit with External Tool/value
diff --git a/sc/uiconfig/scalc/menubar/menubar.xml 
b/sc/uiconfig/scalc/menubar/menubar.xml
index 777c324..199556ed 100644
--- a/sc/uiconfig/scalc/menubar/menubar.xml
+++ b/sc/uiconfig/scalc/menubar/menubar.xml
@@ -25,10 +25,16 @@
 menu:menuseparator/
 menu:menuitem menu:id=.uno:AutoPilotMenu/
 menu:menuseparator/
+menu:menu menu:id=.uno:TemplateMenu
+menu:menupopup
+menu:menuitem menu:id=.uno:SaveAsTemplate/
+menu:menuitem menu:id=.uno:NewDoc/
+/menu:menupopup
+/menu:menu
+menu:menuseparator/
 menu:menuitem menu:id=.uno:CloseDoc/
 menu:menuitem menu:id=.uno:Save/
 menu:menuitem menu:id=.uno:SaveAs/
-menu:menuitem menu:id=.uno:SaveAsTemplate/
 menu:menuitem menu:id=.uno:SaveAll/
 menu:menuitem menu:id=.uno:CheckOut/
 menu:menuitem menu:id=.uno:CancelCheckOut/
diff --git a/sd/uiconfig/sdraw/menubar/menubar.xml 
b/sd/uiconfig/sdraw/menubar/menubar.xml
index 0f2d312..c3021faf 100644
--- a/sd/uiconfig/sdraw/menubar/menubar.xml
+++ b/sd/uiconfig/sdraw/menubar/menubar.xml
@@ -25,10 +25,16 @@
   menu:menuseparator/
   menu:menuitem menu:id=.uno:AutoPilotMenu/
   menu:menuseparator/
+menu:menu menu:id=.uno:TemplateMenu
+menu:menupopup
+menu:menuitem menu:id=.uno:SaveAsTemplate/
+menu:menuitem menu:id=.uno:NewDoc/
+/menu:menupopup
+/menu:menu
+  menu:menuseparator/
   menu:menuitem menu:id=.uno:CloseDoc/
   menu:menuitem menu:id=.uno:Save/
   menu:menuitem menu:id=.uno:SaveAs/
-  menu:menuitem menu:id=.uno:SaveAsTemplate/
   menu:menuitem menu:id=.uno:SaveAll/
   menu:menuitem menu:id=.uno:CheckOut/
   menu:menuitem menu:id=.uno:CancelCheckOut/
diff --git a/sd/uiconfig/simpress/menubar/menubar.xml 
b/sd/uiconfig/simpress/menubar/menubar.xml
index 9ad2019..2fd3032 100644
--- a/sd/uiconfig/simpress/menubar/menubar.xml
+++ b/sd/uiconfig/simpress/menubar/menubar.xml
@@ -25,10 +25,16 @@
 menu:menuseparator/
 menu:menuitem menu:id=.uno:AutoPilotMenu/
 menu:menuseparator/
+menu:menu menu:id=.uno:TemplateMenu
+menu:menupopup
+menu:menuitem menu:id=.uno:SaveAsTemplate/
+menu:menuitem menu:id=.uno:NewDoc/
+/menu:menupopup
+/menu:menu
+menu:menuseparator/
 

Re: menu question

2013-06-14 Thread Cor Nouws

Caolán McNamara wrote (14-06-13 17:25)


Can you provide the full thing as a patch. A quick read through it
suggest that it should have worked.


Is here now:
  https://gerrit.libreoffice.org/4284

thanks,

--
 - Cor Nouws
 - http://nl.libreoffice.org
 - The Document Foundation Membership Committee Member
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: Branch 'aoo/trunk' - vcl/unx

2013-06-14 Thread Armin Le Grand
 vcl/unx/generic/gdi/salgdi.cxx |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit eeba25ef43bb4ec175b16118b3b4c62f50f40ed5
Author: Armin Le Grand a...@apache.org
Date:   Fri Jun 14 14:10:48 2013 +

i122456 Corrected tesellationing for fat lines

diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx
index cda1c27..5bed5a8 100644
--- a/vcl/unx/generic/gdi/salgdi.cxx
+++ b/vcl/unx/generic/gdi/salgdi.cxx
@@ -1238,7 +1238,10 @@ bool X11SalGraphics::drawPolyLine(
 // #i11575#desc5#b adjust B2D tesselation result to raster positions
 basegfx::B2DPolygon aPolygon = rPolygon;
 const double fHalfWidth = 0.5 * rLineWidth.getX();
-aPolygon.transform( 
basegfx::tools::createTranslateB2DHomMatrix(+fHalfWidth,+fHalfWidth) );
+
+// #122456# This is probably thought to happen to align hairlines to pixel 
positions, so
+// it should be a 0.5 translation, not more. It will definitely go wrong 
with fat lines
+aPolygon.transform( basegfx::tools::createTranslateB2DHomMatrix(0.5, 0.5) 
);
 
 // shortcut for hairline drawing to improve performance
 bool bDrawnOk = true;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Caolán McNamara
 sdext/source/pdfimport/wrapper/wrapper.cxx |  124 +++--
 1 file changed, 85 insertions(+), 39 deletions(-)

New commits:
commit 4c8aa30155ef9ec9ab00b5d674bddc2b4929887a
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 16:47:16 2013 +0100

advance over font token during font name parsing

Change-Id: I457a4cae7907df6fc05535873ed51766c56220ee

diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx 
b/sdext/source/pdfimport/wrapper/wrapper.cxx
index 35766d4..d091d6b 100644
--- a/sdext/source/pdfimport/wrapper/wrapper.cxx
+++ b/sdext/source/pdfimport/wrapper/wrapper.cxx
@@ -169,10 +169,11 @@ class Parser
 void readLink();
 void readMaskedImage();
 void readSoftMaskedImage();
-int  parseFontCheckForString( const sal_Unicode* pCopy, const 
char* str, sal_Int32 nLen,
-FontAttributes aResult, bool bItalic, bool bBold);
-int  parseFontRemoveSuffix( const sal_Unicode* pCopy, const char* 
s, sal_Int32 nLen);
-
+sal_Int32 parseFontCheckForString(const sal_Unicode* pCopy, sal_Int32 
nCopyLen,
+  const char* pAttrib, sal_Int32 
nAttribLen,
+  FontAttributes rResult, bool bItalic, 
bool bBold);
+sal_Int32 parseFontRemoveSuffix(const sal_Unicode* pCopy, sal_Int32 
nCopyLen,
+  const char* pAttrib, sal_Int32 nAttribLen);
 
 public:
 Parser( const ContentSinkSharedPtr   rSink,
@@ -459,41 +460,40 @@ rendering::ARGBColor Parser::readColor()
 return aRes;
 }
 
-int Parser::parseFontCheckForString( const sal_Unicode* pCopy, const char* s, 
sal_Int32 nLen,
-FontAttributes aResult, bool bItalic, bool bBold)
+sal_Int32 Parser::parseFontCheckForString(
+const sal_Unicode* pCopy, sal_Int32 nCopyLen,
+const char* pAttrib, sal_Int32 nAttribLen,
+FontAttributes rResult, bool bItalic, bool bBold)
 {
-int l = strlen(s);
-if (nLen  l)
+if (nCopyLen  nAttribLen)
 return 0;
-for (int i = 0; i  l; i++)
-if (tolower(pCopy[i]) != s[i]
- toupper(pCopy[i]) != s[i])
+for (sal_Int32 i = 0; i  nAttribLen; ++i)
+if (tolower(pCopy[i]) != pAttrib[i]
+ toupper(pCopy[i]) != pAttrib[i])
 return 0;
-aResult.isItalic = bItalic;
-aResult.isBold = bBold;
-nLen -= l;
-pCopy += l;
-return l;
+rResult.isItalic = bItalic;
+rResult.isBold = bBold;
+return nAttribLen;
 }
 
-int Parser::parseFontRemoveSuffix( const sal_Unicode* pCopy, const char* s, 
sal_Int32 nLen)
+sal_Int32 Parser::parseFontRemoveSuffix(
+const sal_Unicode* pCopy, sal_Int32 nCopyLen,
+const char* pAttrib, sal_Int32 nAttribLen)
 {
-int l = strlen(s);
-if (nLen  l)
+if (nCopyLen  nAttribLen)
 return 0;
-for (int i = 0; i  l; i++)
-if ( pCopy[nLen - l + i] != s[i] )
+for (sal_Int32 i = 0; i  nAttribLen; ++i)
+if ( pCopy[nCopyLen - nAttribLen + i] != pAttrib[i] )
 return 0;
-nLen -= l;
-return l;
+return nAttribLen;
 }
 
-void Parser::parseFontFamilyName( FontAttributes aResult )
+void Parser::parseFontFamilyName( FontAttributes rResult )
 {
-OUStringBuffer aNewFamilyName( aResult.familyName.getLength() );
+OUStringBuffer aNewFamilyName( rResult.familyName.getLength() );
 
-const sal_Unicode* pCopy = aResult.familyName.getStr();
-sal_Int32 nLen = aResult.familyName.getLength();
+const sal_Unicode* pCopy = rResult.familyName.getStr();
+sal_Int32 nLen = rResult.familyName.getLength();
 // parse out truetype subsets (e.g. BA+Thorndale)
 if( nLen  8  pCopy[6] == sal_Unicode('+') )
 {
@@ -503,17 +503,63 @@ void Parser::parseFontFamilyName( FontAttributes aResult 
)
 
 while( nLen )
 {
-if (parseFontRemoveSuffix( pCopy, PSMT, nLen)) {}
-else if (parseFontRemoveSuffix( pCopy, MT, nLen)) {}
-
-if (parseFontCheckForString( pCopy, Italic, nLen, aResult, true, false)) 
{}
-else if (parseFontCheckForString( pCopy, -Bold, nLen, aResult, false, 
true)) {}
-else if (parseFontCheckForString( pCopy, Bold, nLen, aResult, false, 
true)) {}
-else if (parseFontCheckForString( pCopy, -Roman, nLen, aResult, false, 
false)) {}
-else if (parseFontCheckForString( pCopy, -LightOblique, nLen, aResult, 
true, false)) {}
-else if (parseFontCheckForString( pCopy, -BoldOblique, nLen, aResult, 
true, true)) {}
-else if (parseFontCheckForString( pCopy, -Light, nLen, aResult, false, 
false)) {}
-else if (parseFontCheckForString( pCopy, -Reg, nLen, aResult, false, 
false)) {}
+if (parseFontRemoveSuffix(pCopy, nLen, 
RTL_CONSTASCII_STRINGPARAM(PSMT)))
+{
+nLen -= RTL_CONSTASCII_LENGTH(PSMT);
+}
+else if (parseFontRemoveSuffix(pCopy, nLen, 
RTL_CONSTASCII_STRINGPARAM(MT)))
+{
+nLen -= 

Re: Cppcheck: uselessAssignmentPtrArg in wrapper.cxx (sdext module)

2013-06-14 Thread Caolán McNamara
On Thu, 2013-05-16 at 22:23 +0200, Julien Nabet wrote:
 Any idea for initial post (sdext/source/pdfimport/wrapper/wrapper.cxx, 
 line 475) ?

Well, this code was a refactor that happened in
16fcdbceedcdbf77e07da780581df83f38305dbd and its definitely wrong in one
way or the other.

Either the pCopy += l; should be removed, *or* the pCopy should be
effectively const sal_Unicode *pCopy, i.e. that changes to the pCopy
affect the original pCopy passed in.

I rather think that code is supposed to skip over the full token of e.g.
Italic etc once it has found that token and set the italic bit on so
that a font name of FOO-ItalicBold turns into a font name of FOO with
the italic and bold bits set and without parsing e.g. the chunk talic
once its been determined to be part of Italic, pushed code to do that
now as
http://cgit.freedesktop.org/libreoffice/core/commit/?id=4c8aa30155ef9ec9ab00b5d674bddc2b4929887a.
 Hopefully without breaking something.

C

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


Re: Please hold off modifying sc in the next few weeks

2013-06-14 Thread Bjoern Michaelsen
Hi Kohei,

On Fri, Jun 14, 2013 at 09:29:56AM -0400, Kohei Yoshida wrote:
 I'm in the middle of a huge (I mean huge) refactoring in Calc core,
 ...

just in private: I have no objection for you to have some exclusivity on a part
of sc/ -- I know you know your stuff. But the way this came up on the ML makes
it quite likely for others to come up with I want to have sw/whatever
exclusivity at some point and the discussion why that is ok for Kohei to have
but not for Random C. Hacker is something Id rather not have.

All the best for your refactoring,

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


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

2013-06-14 Thread Armin Le Grand
 vcl/unx/generic/gdi/salgdi.cxx |5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit f1f6ac03aa41efce53d08ac16dc33f6f6bb3e8a7
Author: Armin Le Grand a...@apache.org
Date:   Fri Jun 14 14:10:48 2013 +

Resolves: #i122456# Corrected tessellation for fat lines

(cherry picked from commit eeba25ef43bb4ec175b16118b3b4c62f50f40ed5)

Change-Id: Ic482dd1230793d505abd2d0551cb527ca5c816f6

diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx
index e024349..eacd35b 100644
--- a/vcl/unx/generic/gdi/salgdi.cxx
+++ b/vcl/unx/generic/gdi/salgdi.cxx
@@ -1163,7 +1163,10 @@ bool X11SalGraphics::drawPolyLine(
 // #i11575#desc5#b adjust B2D tesselation result to raster positions
 basegfx::B2DPolygon aPolygon = rPolygon;
 const double fHalfWidth = 0.5 * rLineWidth.getX();
-aPolygon.transform( 
basegfx::tools::createTranslateB2DHomMatrix(+fHalfWidth,+fHalfWidth) );
+
+// #i122456# This is probably thought to happen to align hairlines to 
pixel positions, so
+// it should be a 0.5 translation, not more. It will definitely go wrong 
with fat lines
+aPolygon.transform( basegfx::tools::createTranslateB2DHomMatrix(0.5, 0.5) 
);
 
 // shortcut for hairline drawing to improve performance
 bool bDrawnOk = true;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - ee/ba25ef43bb4ec175b16118b3b4c62f50f40ed5

2013-06-14 Thread Caolán McNamara
 ee/ba25ef43bb4ec175b16118b3b4c62f50f40ed5 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit c9f5bfd3161690cf19b813cdca009977701e043e
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 17:15:43 2013 +0100

Notes added by 'git notes add'

diff --git a/ee/ba25ef43bb4ec175b16118b3b4c62f50f40ed5 
b/ee/ba25ef43bb4ec175b16118b3b4c62f50f40ed5
new file mode 100644
index 000..f776a52
--- /dev/null
+++ b/ee/ba25ef43bb4ec175b16118b3b4c62f50f40ed5
@@ -0,0 +1 @@
+merged as: f1f6ac03aa41efce53d08ac16dc33f6f6bb3e8a7
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: Please hold off modifying sc in the next few weeks

2013-06-14 Thread Bjoern Michaelsen
Hi all,

On Fri, Jun 14, 2013 at 06:12:16PM +0200, Bjoern Michaelsen wrote:
 just in private: 

whoops! Ok, that was not so private, but the argument stands: obviously we dont
want the raise such restrictions too often.

Best,

Bjoern (who likely will join the next ESC-call with a red clown nose or 
something)
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 94/7f7594c18a01eb070fac3b01d48d22f6bfb040

2013-06-14 Thread Caolán McNamara
 94/7f7594c18a01eb070fac3b01d48d22f6bfb040 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 8132d2563a9d887374472e3d6cd9818c396f077d
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 17:21:04 2013 +0100

Notes added by 'git notes add'

diff --git a/94/7f7594c18a01eb070fac3b01d48d22f6bfb040 
b/94/7f7594c18a01eb070fac3b01d48d22f6bfb040
new file mode 100644
index 000..614b2e1
--- /dev/null
+++ b/94/7f7594c18a01eb070fac3b01d48d22f6bfb040
@@ -0,0 +1 @@
+merged as: 9b4c604e1eb790d7f86097653d6ae4f19bd6fe14
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Herbert Dürr
 vcl/aqua/source/gdi/salgdicommon.cxx |   47 +--
 1 file changed, 39 insertions(+), 8 deletions(-)

New commits:
commit 9b4c604e1eb790d7f86097653d6ae4f19bd6fe14
Author: Herbert Dürr h...@apache.org
Date:   Wed Jan 23 14:58:58 2013 +

Related: #i121534# support native drawing of affinely-transformed images...

on Mac

(cherry picked from commit 947f7594c18a01eb070fac3b01d48d22f6bfb040)

Conflicts:
vcl/aqua/source/gdi/salgdi.cxx

Change-Id: I7e38ed34caf4f0e841f95ef5c4de52e241d561db

diff --git a/vcl/aqua/source/gdi/salgdicommon.cxx 
b/vcl/aqua/source/gdi/salgdicommon.cxx
index a7b3f32..e756168 100644
--- a/vcl/aqua/source/gdi/salgdicommon.cxx
+++ b/vcl/aqua/source/gdi/salgdicommon.cxx
@@ -531,15 +531,46 @@ bool AquaSalGraphics::drawAlphaBitmap( const SalTwoRect 
rTR,
 }
 
 bool AquaSalGraphics::drawTransformedBitmap(
-const basegfx::B2DPoint rNull,
-const basegfx::B2DPoint rX,
-const basegfx::B2DPoint rY,
-const SalBitmap rSourceBitmap,
-const SalBitmap* pAlphaBitmap)
+const basegfx::B2DPoint rNull, const basegfx::B2DPoint rX, const 
basegfx::B2DPoint rY,
+const SalBitmap rSrcBitmap, const SalBitmap* pAlphaBmp )
 {
-// here direct support for transformed bitmaps can be impemented
-(void)rNull; (void)rX; (void)rY; (void)rSourceBitmap; (void)pAlphaBitmap;
-return false;
+if( !CheckContext() )
+return true;
+
+// get the Quartz image
+CGImageRef xImage = NULL;
+const Size aSize = rSrcBitmap.GetSize();
+const QuartzSalBitmap rSrcSalBmp = static_castconst 
QuartzSalBitmap(rSrcBitmap);
+const QuartzSalBitmap* pMaskSalBmp = static_castconst 
QuartzSalBitmap*(pAlphaBmp);
+if( !pMaskSalBmp)
+xImage = rSrcSalBmp.CreateCroppedImage( 0, 0, (int)aSize.Width(), 
(int)aSize.Height() );
+else
+xImage = rSrcSalBmp.CreateWithMask( *pMaskSalBmp, 0, 0, 
(int)aSize.Width(), (int)aSize.Height() );
+if( !xImage )
+return false;
+
+// setup the image transformation
+// using the rNull,rX,rY points as destinations for the 
(0,0),(0,Width),(Height,0) source points
+CGContextSaveGState( mrContext );
+const basegfx::B2DVector aXRel = rX - rNull;
+const basegfx::B2DVector aYRel = rY - rNull;
+const CGAffineTransform aCGMat = CGAffineTransformMake(
+aXRel.getX()/aSize.Width(), aXRel.getY()/aSize.Width(),
+aYRel.getX()/aSize.Height(), aYRel.getY()/aSize.Height(),
+rNull.getX(), rNull.getY());
+CGContextConcatCTM( mrContext, aCGMat );
+
+// draw the transformed image
+const CGRect aSrcRect = {{0,0}, {static_castCGFloat(aSize.Width()), 
static_castCGFloat(aSize.Height())}};
+CGContextDrawImage( mrContext, aSrcRect, xImage );
+CGImageRelease( xImage );
+// restore the Quartz graphics state
+CGContextRestoreGState(mrContext);
+
+// mark the destination as painted
+const CGRect aDstRect = CGRectApplyAffineTransform( aSrcRect, aCGMat );
+RefreshRect( aDstRect );
+return true;
 }
 
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Herbert Dürr
 drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx |6 +-
 drawinglayer/source/processor2d/vclprocessor2d.cxx   |7 ++-
 2 files changed, 11 insertions(+), 2 deletions(-)

New commits:
commit ff422b8b153289143d16857890cbe3c0b411cd54
Author: Herbert Dürr h...@apache.org
Date:   Thu Jan 24 16:55:41 2013 +

Related: #i121534# avoid expensive emulation of 1bit masks for Mac's Quartz

(cherry picked from commit 194c7ff906c9164a522f924dc1c1f8c5fc81b6e6)

Change-Id: I28a31c5abb14ceb72dc290e6ed2161c0ef6592df

diff --git a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx 
b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
index ee51ea0..99a1ff7 100644
--- a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
+++ b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
@@ -179,7 +179,11 @@ namespace
 
 // create BitmapEx
 Bitmap aMainBitmap = aVirtualDevice.GetBitmap(Point(), 
aVirtualDevice.GetOutputSizePixel());
-Bitmap aMaskBitmap = aVirtualDeviceMask.GetBitmap(Point(), 
aVirtualDeviceMask.GetOutputSizePixel());
+#if defined(MACOSX)
+AlphaMask aMaskBitmap( aVirtualDeviceMask.GetBitmap( Point(), 
aVirtualDeviceMask.GetOutputSizePixel()));
+#else
+Bitmap aMaskBitmap = aVirtualDeviceMask.GetBitmap( Point(), 
aVirtualDeviceMask.GetOutputSizePixel());
+#endif
 aNextStep.maBitmapEx = BitmapEx(aMainBitmap, aMaskBitmap);
 
 // add to vector
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx 
b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index a11c49b..56d56b7 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -464,7 +464,12 @@ namespace drawinglayer
 {
 // parts will be uncovered, extend aBitmapEx with a mask bitmap
 const Bitmap aContent(aBitmapEx.GetBitmap());
-aBitmapEx = BitmapEx(aContent, Bitmap(aContent.GetSizePixel(), 
1));
+#if defined(MACOSX)
+const AlphaMask aMaskBmp( aContent.GetSizePixel());
+#else
+const Bitmap aMaskBmp( aContent.GetSizePixel(), 1);
+#endif
+aBitmapEx = BitmapEx(aContent, aMaskBmp);
 }
 
 // draw using OutputDevice'sDrawTransformedBitmapEx
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: Branch 'refs/notes/commits' - 19/4c7ff906c9164a522f924dc1c1f8c5fc81b6e6

2013-06-14 Thread Caolán McNamara
 19/4c7ff906c9164a522f924dc1c1f8c5fc81b6e6 |1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6428a5e31c346eed53b096615ddb00696b22f473
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 17:23:07 2013 +0100

Notes added by 'git notes add'

diff --git a/19/4c7ff906c9164a522f924dc1c1f8c5fc81b6e6 
b/19/4c7ff906c9164a522f924dc1c1f8c5fc81b6e6
new file mode 100644
index 000..4feac02
--- /dev/null
+++ b/19/4c7ff906c9164a522f924dc1c1f8c5fc81b6e6
@@ -0,0 +1 @@
+merged as: ff422b8b153289143d16857890cbe3c0b411cd54
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


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

2013-06-14 Thread Caolán McNamara
 vcl/win/source/gdi/salbmp.cxx |9 +
 1 file changed, 9 insertions(+)

New commits:
commit 5a0781a213c944900c5b84d3733c0b71934f817f
Author: Caolán McNamara caol...@redhat.com
Date:   Fri Jun 14 17:26:18 2013 +0100

min/max foo for msvc

Change-Id: Icdb19eb9f8e3925f2da2d2ffe514f0da2bd14471

diff --git a/vcl/win/source/gdi/salbmp.cxx b/vcl/win/source/gdi/salbmp.cxx
index af09b16..72bc268 100644
--- a/vcl/win/source/gdi/salbmp.cxx
+++ b/vcl/win/source/gdi/salbmp.cxx
@@ -32,6 +32,15 @@
 #include map
 
 #if defined _MSC_VER
+#ifndef min
+#define min(a,b)(((a)  (b)) ? (a) : (b))
+#endif
+#ifndef max
+#define max(a,b)(((a)  (b)) ? (a) : (b))
+#endif
+#endif
+
+#if defined _MSC_VER
 #pragma warning(push, 1)
 #endif
 
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] core.git: chart2/source lotuswordpro/source mysqlc/source

2013-06-14 Thread Stephan Bergmann
 chart2/source/tools/PropertyHelper.cxx |2 +-
 lotuswordpro/source/filter/lwpfribmark.cxx |2 +-
 mysqlc/source/mysqlc_resultset.cxx |   12 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 8a8b1ae3e9c1d782bf1cf170f5498992a4f680fe
Author: Stephan Bergmann sberg...@redhat.com
Date:   Fri Jun 14 18:18:37 2013 +0200

Some more toInt32 clean up

Change-Id: I4f7911cb283d67e7c7b883d629b39588e96f32c2

diff --git a/chart2/source/tools/PropertyHelper.cxx 
b/chart2/source/tools/PropertyHelper.cxx
index fb6b0bf..6bbd339 100644
--- a/chart2/source/tools/PropertyHelper.cxx
+++ b/chart2/source/tools/PropertyHelper.cxx
@@ -86,7 +86,7 @@ struct lcl_OUStringRestToInt32 : public 
::std::unary_function OUString, sal_Int
 {
 if( m_nPrefixLength  rStr.getLength() )
 return 0;
-return rStr.copy( m_nPrefixLength ).toInt32( 10 /* radix */ );
+return rStr.copy( m_nPrefixLength ).toInt32();
 }
 private:
 sal_Int32 m_nPrefixLength;
diff --git a/lotuswordpro/source/filter/lwpfribmark.cxx 
b/lotuswordpro/source/filter/lwpfribmark.cxx
index 5c293eb..79498b7 100644
--- a/lotuswordpro/source/filter/lwpfribmark.cxx
+++ b/lotuswordpro/source/filter/lwpfribmark.cxx
@@ -318,7 +318,7 @@ void LwpFribField::XFConvert(XFContentContainer* pXFPara)
 XFEntry* pEntry = new XFEntry;
 pEntry-SetEntryType(enumXFEntryTOC);
 pEntry-SetStringValue(sText);
-pEntry-SetOutlineLevel(sLevel.toInt32(10));
+pEntry-SetOutlineLevel(sLevel.toInt32());
 pXFPara-Add(pEntry);
 }
 }
diff --git a/mysqlc/source/mysqlc_resultset.cxx 
b/mysqlc/source/mysqlc_resultset.cxx
index b0bd528..b2793ad 100644
--- a/mysqlc/source/mysqlc_resultset.cxx
+++ b/mysqlc/source/mysqlc_resultset.cxx
@@ -291,13 +291,13 @@ Date SAL_CALL OResultSet::getDate(sal_Int32 column)
 token = dateString.getToken (0, '-', nIndex);
 switch (i) {
 case 0:
-d.Year =  static_castsal_uInt16(token.toInt32(10));
+d.Year =  static_castsal_uInt16(token.toUInt32());
 break;
 case 1:
-d.Month =  static_castsal_uInt16(token.toInt32(10));
+d.Month =  static_castsal_uInt16(token.toUInt32());
 break;
 case 2:
-d.Day =  static_castsal_uInt16(token.toInt32(10));
+d.Day =  static_castsal_uInt16(token.toUInt32());
 break;
 default:;
 }
@@ -566,13 +566,13 @@ Time SAL_CALL OResultSet::getTime(sal_Int32 column)
 token = timeString.getToken (0, ':', nIndex);
 switch (i) {
 case 0:
-t.Hours =  static_castsal_uInt16(token.toInt32(10));
+t.Hours =  static_castsal_uInt16(token.toUInt32());
 break;
 case 1:
-t.Minutes =  static_castsal_uInt16(token.toInt32(10));
+t.Minutes =  static_castsal_uInt16(token.toUInt32());
 break;
 case 2:
-t.Seconds =  static_castsal_uInt16(token.toInt32(10));
+t.Seconds =  static_castsal_uInt16(token.toUInt32());
 break;
 }
 i++;
___
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Bug 44446] LibreOffice 3.6 most annoying bugs

2013-06-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=6

Bug 6 depends on bug 57176, which changed state.

Bug 57176 Summary: EDITING: CONDITIONAL FORMATTING not restored by UNDO
https://bugs.freedesktop.org/show_bug.cgi?id=57176

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WORKSFORME  |---

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


  1   2   3   >