[Libreoffice] [PATCH] removed bogus comments

2010-10-10 Thread Prashant Shah

Signed-off-by: Prashant Shah pshah.mum...@gmail.com
---
 sw/source/ui/uno/unoatxt.cxx |  162 --
 1 files changed, 0 insertions(+), 162 deletions(-)

diff --git a/sw/source/ui/uno/unoatxt.cxx b/sw/source/ui/uno/unoatxt.cxx
index 08451f6..79168ac 100644
--- a/sw/source/ui/uno/unoatxt.cxx
+++ b/sw/source/ui/uno/unoatxt.cxx
@@ -70,12 +70,6 @@ SV_IMPL_REF ( SwDocShell )
 using namespace ::com::sun::star;
 using ::rtl::OUString;
 
-/**
- *
- **/
-/* -30.03.99 14:31---
- *
- * --*/
 uno::Reference uno::XInterface  SAL_CALL SwXAutoTextContainer_createInstance(
 const uno::Reference lang::XMultiServiceFactory   ) throw( uno::Exception )
 {
@@ -85,48 +79,35 @@ uno::Reference uno::XInterface  SAL_CALL SwXAutoTextContainer_createInstance(
 static uno::Reference uno::XInterface  xAText = (cppu::OWeakObject*)new SwXAutoTextContainer();;
 return xAText;
 }
-/* -17.04.01 13:17
 
- ---*/
 uno::Sequence OUString  SAL_CALL SwXAutoTextContainer_getSupportedServiceNames() throw()
 {
 OUString sService( RTL_CONSTASCII_USTRINGPARAM(com.sun.star.text.AutoTextContainer));
 const uno::Sequence OUString  aSeq( sService, 1 );
 return aSeq;
 }
-/* -17.04.01 13:18
 
- ---*/
 OUString SAL_CALL SwXAutoTextContainer_getImplementationName() throw()
 {
 return OUString( RTL_CONSTASCII_USTRINGPARAM(SwXAutoTextContainer ) );
 }
 
-/*-- 21.12.98 12:42:16---
-
-  ---*/
 SwXAutoTextContainer::SwXAutoTextContainer()
 {
 pGlossaries = ::GetGlossaries();
 
 }
-/*-- 21.12.98 12:42:17---
 
-  ---*/
 SwXAutoTextContainer::~SwXAutoTextContainer()
 {
 
 }
-/*-- 21.12.98 12:42:17---
 
-  ---*/
 sal_Int32 SwXAutoTextContainer::getCount(void) throw( uno::RuntimeException )
 {
 return pGlossaries-GetGroupCnt();
 }
-/*-- 21.12.98 12:42:18---
 
-  ---*/
 uno::Any SwXAutoTextContainer::getByIndex(sal_Int32 nIndex)
 throw( lang::IndexOutOfBoundsException, lang::WrappedTargetException, uno::RuntimeException )
 {
@@ -139,25 +120,19 @@ uno::Any SwXAutoTextContainer::getByIndex(sal_Int32 nIndex)
 throw lang::IndexOutOfBoundsException();
 return aRet;
 }
-/*-- 21.12.98 12:42:18---
 
-  ---*/
 uno::Type SwXAutoTextContainer::getElementType(void) throw( uno::RuntimeException )
 {
 return ::getCppuType((const uno::Referencetext::XAutoTextGroup*)0);
 
 }
-/*-- 21.12.98 12:42:18---
 
-  ---*/
 sal_Bool SwXAutoTextContainer::hasElements(void) throw( uno::RuntimeException )
 {
 //zumindest Standard sollte es immer geben!
 return sal_True;
 }
-/*-- 21.12.98 12:42:18---
 
-  ---*/
 uno::Any SwXAutoTextContainer::getByName(const OUString GroupName)
 throw( container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException )
 {
@@ -173,9 +148,7 @@ uno::Any SwXAutoTextContainer::getByName(const OUString GroupName)
 
 return makeAny( xGroup );
 }
-/*-- 21.12.98 12:42:19---
 
-  ---*/
 uno::Sequence OUString  SwXAutoTextContainer::getElementNames(void) throw( uno::RuntimeException )
 {
 ::vos::OGuard aGuard(Application::GetSolarMutex());
@@ -204,9 +177,7 @@ sal_Bool SwXAutoTextContainer::hasByName(const OUString Name)
 return sal_True;
 return sal_False;
 }
-/*-- 21.12.98 12:42:19---
 
-  ---*/
 uno::Reference text::XAutoTextGroup   SwXAutoTextContainer::insertNewByName(
 const OUString aGroupName)
 throw( lang::IllegalArgumentException, container::ElementExistException, uno::RuntimeException )
@@ -251,9 +222,7 @@ uno::Reference 

[Libreoffice] i386/686 --with-stlport and --with-system-cppunit

2010-10-10 Thread Andreas Radke
Since 3.2.99.2 i686 --with-stlport and --with-system-cppunit fails:

checking which cppunit to use... external
checking for CPPUNIT... yes
checking STL compatibility... configure: error: to use system cppunit
you need to use --without-stlport make: *** [stamp/build] Error 1
Aborting...

Probably this commit changed it:
http://cgit.freedesktop.org/libreoffice/build/commit/?id=ce7a60eb7af5b6f56dfc32e7765338343d39f5e2

What do you recommend now? 

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


Re: [Libreoffice] sending patches question

2010-10-10 Thread Norbert Thiebaud
On Sun, Oct 10, 2010 at 2:34 AM, Prashant Shah pshah.mum...@gmail.com wrote:
 Hi,

 What is the best way to send patches to this mailing list.

 The patches I send are getting converted in to binary attachments.

Attachments are fine. They are accepted on this list.


 Regards.
 ___
 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] [PATCH 03/11] Cleanup: remove bogus comments

2010-10-10 Thread Prashant Shah

This patch removes bogus comments found in the labelexp.cxx file

Signed-off-by: Prashant Shah pshah.mum...@gmail.com
---
 sw/source/ui/envelp/labelexp.cxx |   12 
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/sw/source/ui/envelp/labelexp.cxx b/sw/source/ui/envelp/labelexp.cxx
index 6046773..a295ba4 100644
--- a/sw/source/ui/envelp/labelexp.cxx
+++ b/sw/source/ui/envelp/labelexp.cxx
@@ -56,9 +56,6 @@ using ::rtl::OUString;
 #endif
 #define SW_PROP_NAME_STR(nId) SwGetPropName((nId)).pName
 
-/* -08.07.99 15:15---
-
- --*/
 void SwVisitingCardPage::InitFrameControl()
 {
 Link aLink(LINK(this, SwVisitingCardPage, FrameControlInitializedHdl));
@@ -126,9 +123,7 @@ void SwVisitingCardPage::InitFrameControl()
 }
 }
 }
-/* -01.10.99 13:19---
 
- --*/
 IMPL_LINK( SwVisitingCardPage, FrameControlInitializedHdl, void*, EMPTYARG )
 {
 SvLBoxEntry* pSel = aAutoTextLB.FirstSelected();
@@ -161,9 +156,7 @@ IMPL_LINK( SwVisitingCardPage, FrameControlInitializedHdl, void*, EMPTYARG )
 }
 return 0;
 }
-/* -22.07.99 11:06---
 
- --*/
 IMPL_LINK( SwVisitingCardPage, AutoTextSelectHdl, void*, pBox )
 {
 if(_xAutoText.is())
@@ -190,9 +183,6 @@ IMPL_LINK( SwVisitingCardPage, AutoTextSelectHdl, void*, pBox )
 return 0;
 }
 
-/* -01.10.99 11:59---
-
- --*/
 void SwVisitingCardPage::UpdateFields()
 {
 uno::Reference frame::XModel   xModel;
@@ -201,9 +191,7 @@ void SwVisitingCardPage::UpdateFields()
 SwLabDlg::UpdateFieldInformation(xModel, aLabItem);
 }
 }
-/* -01.10.99 15:16---
 
- --*/
 void SwLabDlg::UpdateFieldInformation(uno::Reference frame::XModel   xModel, const SwLabItem rItem)
 {
 uno::Reference text::XTextFieldsSupplier   xFlds(xModel, uno::UNO_QUERY);
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [PATCH 04/11] Cleanup: remove bogus comments

2010-10-10 Thread Prashant Shah

This patch removes bogus comments found in the labfmt.cxx file

Signed-off-by: Prashant Shah pshah.mum...@gmail.com
---
 sw/source/ui/envelp/labfmt.cxx |   61 +---
 1 files changed, 1 insertions(+), 60 deletions(-)

diff --git a/sw/source/ui/envelp/labfmt.cxx b/sw/source/ui/envelp/labfmt.cxx
index feae56b..28cf25c 100644
--- a/sw/source/ui/envelp/labfmt.cxx
+++ b/sw/source/ui/envelp/labfmt.cxx
@@ -52,11 +52,8 @@ using namespace rtl;
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::beans;
 
-// #define --
-
 #define ROUND(x) ((USHORT) ((x) + .5))
 
-// --
 SwLabPreview::SwLabPreview( const SwLabFmtPage* pParent, const ResId rResID ) :
 
 Window((Window*) pParent, rResID),
@@ -106,11 +103,10 @@ SwLabPreview::SwLabPreview( const SwLabFmtPage* pParent, const ResId rResID ) :
 lOutHPix23 = (long)((float)lOutHPix * fx);
 }
 
-// --
 SwLabPreview::~SwLabPreview()
 {
 }
-// --
+
 void SwLabPreview::Paint(const Rectangle )
 {
 const StyleSettings rStyleSettings = GetSettings().GetStyleSettings();
@@ -245,8 +241,6 @@ void SwLabPreview::Paint(const Rectangle )
 
 // Pfeil bzw. Intervall zeichnen 
 
-
-
 void SwLabPreview::DrawArrow(const Point rP1, const Point rP2, BOOL bArrow)
 {
 DrawLine(rP1, rP2);
@@ -299,18 +293,12 @@ void SwLabPreview::DrawArrow(const Point rP1, const Point rP2, BOOL bArrow)
 }
 }
 
-// --
-
 void SwLabPreview::Update(const SwLabItem rItem)
 {
 aItem = rItem;
 Invalidate();
 }
 
-// --
-
-
-
 SwLabFmtPage::SwLabFmtPage(Window* pParent, const SfxItemSet rSet) :
 
 SfxTabPage(pParent, SW_RES(TP_LAB_FMT), rSet),
@@ -376,18 +364,11 @@ SwLabFmtPage::SwLabFmtPage(Window* pParent, const SfxItemSet rSet) :
 aPreviewTimer.SetTimeoutHdl(LINK(this, SwLabFmtPage, PreviewHdl));
 }
 
-// --
-
-
-
 SwLabFmtPage::~SwLabFmtPage()
 {
 }
 
 // Modify-Handler der MetricFields. Preview-Timer starten ---
-
-
-
 IMPL_LINK_INLINE_START( SwLabFmtPage, ModifyHdl, Edit *, EMPTYARG )
 {
 bModified = TRUE;
@@ -397,9 +378,6 @@ IMPL_LINK_INLINE_START( SwLabFmtPage, ModifyHdl, Edit *, EMPTYARG )
 IMPL_LINK_INLINE_END( SwLabFmtPage, ModifyHdl, Edit *, EMPTYARG )
 
 // Preview invalidaten --
-
-
-
 IMPL_LINK_INLINE_START( SwLabFmtPage, PreviewHdl, Timer *, EMPTYARG )
 {
 aPreviewTimer.Stop();
@@ -412,9 +390,6 @@ IMPL_LINK_INLINE_START( SwLabFmtPage, PreviewHdl, Timer *, EMPTYARG )
 IMPL_LINK_INLINE_END( SwLabFmtPage, PreviewHdl, Timer *, EMPTYARG )
 
 // LoseFocus-Handler: Bei Aenderung sofort updaten --
-
-
-
 IMPL_LINK_INLINE_START( SwLabFmtPage, LoseFocusHdl, Control *, pControl )
 {
 if (((Edit*) pControl)-IsModified())
@@ -424,8 +399,6 @@ IMPL_LINK_INLINE_START( SwLabFmtPage, LoseFocusHdl, Control *, pControl )
 IMPL_LINK_INLINE_END( SwLabFmtPage, LoseFocusHdl, Control *, pControl )
 
 // Minima und Maxima fuer Fields festlegen --
-
-
 void SwLabFmtPage::ChangeMinMax()
 {
 long lMax = 31748; // 56 cm
@@ -487,29 +460,17 @@ void SwLabFmtPage::ChangeMinMax()
 aRowsField	.Reformat();
 }
 
-// --
-
-
-
 SfxTabPage* SwLabFmtPage::Create(Window* pParent, const SfxItemSet rSet)
 {
 return new SwLabFmtPage(pParent, rSet);
 }
 
-// 
-
-
-
 void SwLabFmtPage::ActivatePage(const SfxItemSet rSet)
 {
 SfxItemSet aSet(rSet);
 Reset(aSet);
 }
 
-// 
-
-
-
 int SwLabFmtPage::DeactivatePage(SfxItemSet* _pSet)
 {
 if (_pSet)
@@ -518,10 +479,6 @@ int SwLabFmtPage::DeactivatePage(SfxItemSet* _pSet)
 return TRUE;
 }
 
-// --
-
-
-
 void SwLabFmtPage::FillItem(SwLabItem rItem)
 {
 if (bModified)
@@ -540,10 +497,6 @@ void SwLabFmtPage::FillItem(SwLabItem rItem)
 }
 }
 
-// --
-
-
-
 BOOL SwLabFmtPage::FillItemSet(SfxItemSet rSet)
 {
 FillItem(aItem);
@@ -552,7 +505,6 @@ BOOL SwLabFmtPage::FillItemSet(SfxItemSet rSet)
 return TRUE;
 }
 
-// --
 void SwLabFmtPage::Reset(const SfxItemSet )
 {
 // Fields 

[Libreoffice] [PATCH 07/11] Cleanup: remove bogus comments

2010-10-10 Thread Prashant Shah

This patch removes bogus comments found in the envprt.cxx file

Signed-off-by: Prashant Shah pshah.mum...@gmail.com
---
 sw/source/ui/envelp/envprt.cxx |   44 
 1 files changed, 0 insertions(+), 44 deletions(-)

diff --git a/sw/source/ui/envelp/envprt.cxx b/sw/source/ui/envelp/envprt.cxx
index b7c155a..08348c6 100644
--- a/sw/source/ui/envelp/envprt.cxx
+++ b/sw/source/ui/envelp/envprt.cxx
@@ -44,10 +44,6 @@
 
 #include envprt.hrc
 
-
-
-
-
 SwEnvPrtPage::SwEnvPrtPage(Window* pParent, const SfxItemSet rSet) :
 
 SfxTabPage(pParent, SW_RES(TP_ENV_PRT), rSet),
@@ -90,18 +86,10 @@ SwEnvPrtPage::SwEnvPrtPage(Window* pParent, const SfxItemSet rSet) :
 
 }
 
-// --
-
-
-
 SwEnvPrtPage::~SwEnvPrtPage()
 {
 }
 
-// --
-
-
-
 IMPL_LINK( SwEnvPrtPage, ClickHdl, Button *, EMPTYARG )
 {
 sal_Bool bHC = GetSettings().GetStyleSettings().GetHighContrastMode();
@@ -128,10 +116,6 @@ IMPL_LINK( SwEnvPrtPage, ClickHdl, Button *, EMPTYARG )
 return 0;
 }
 
-// --
-
-
-
 IMPL_LINK( SwEnvPrtPage, ButtonHdl, Button *, pBtn )
 {
 if (pBtn == aPrtSetup)
@@ -150,10 +134,6 @@ IMPL_LINK( SwEnvPrtPage, ButtonHdl, Button *, pBtn )
 return 0;
 }
 
-// --
-
-
-
 IMPL_LINK( SwEnvPrtPage, AlignHdl, ToolBox *, EMPTYARG )
 {
 if (aAlignBox.GetCurItemId())
@@ -171,29 +151,17 @@ IMPL_LINK( SwEnvPrtPage, AlignHdl, ToolBox *, EMPTYARG )
 return 0;
 }
 
-// --
-
-
-
 SfxTabPage* SwEnvPrtPage::Create(Window* pParent, const SfxItemSet rSet)
 {
 return new SwEnvPrtPage(pParent, rSet);
 }
 
-// --
-
-
-
 void SwEnvPrtPage::ActivatePage(const SfxItemSet)
 {
 if (pPrt)
 aPrinterInfo.SetText(pPrt-GetName());
 }
 
-// --
-
-
-
 int SwEnvPrtPage::DeactivatePage(SfxItemSet* _pSet)
 {
 if( _pSet )
@@ -201,10 +169,6 @@ int SwEnvPrtPage::DeactivatePage(SfxItemSet* _pSet)
 return SfxTabPage::LEAVE_PAGE;
 }
 
-// --
-
-
-
 void SwEnvPrtPage::FillItem(SwEnvItem rItem)
 {
 USHORT nID = 0;
@@ -218,10 +182,6 @@ void SwEnvPrtPage::FillItem(SwEnvItem rItem)
 rItem.lShiftDown  = static_cast sal_Int32 (GetFldVal(aDownField ));
 }
 
-// --
-
-
-
 BOOL SwEnvPrtPage::FillItemSet(SfxItemSet rSet)
 {
 FillItem(GetParent()-aEnvItem);
@@ -229,10 +189,6 @@ BOOL SwEnvPrtPage::FillItemSet(SfxItemSet rSet)
 return TRUE;
 }
 
-// 
-
-
-
 void SwEnvPrtPage::Reset(const SfxItemSet rSet)
 {
 //SfxItemSet aSet(rSet);
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [Pushed] [PATCH 01-11/11] Cleanup: remove bogus comments

2010-10-10 Thread Norbert Thiebaud
On Sun, Oct 10, 2010 at 4:08 AM, Prashant Shah pshah.mum...@gmail.com wrote:

 This patch removes bogus comments found in the label1.cxx file

All 11 patchs are pushed.

Thanks.


 Signed-off-by: Prashant Shah pshah.mum...@gmail.com
 ---
  sw/source/ui/envelp/label1.cxx |  121 
 +---
  1 files changed, 2 insertions(+), 119 deletions(-)


 ___
 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] Libre Office SDK?

2010-10-10 Thread Rajesh Sola
Could some one tell me availability of SDK for LibreOffice at present or 
in near future to develop extensions, or is it managible with existing 
OOo SDK only? In cloned git repo *sdk* dir is there but is not part of 
build sequence.


Secondly any IDE support for programming LibreOffice, noticed 
*ooeclipse* module in git repo but not able to find a way to build it.


Please help to get an existing SDK, IDE plugin or steps to build same 
from sources.


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


Re: [Libreoffice] Issue 2838, patch

2010-10-10 Thread Arnaud VERSINI
Hi

This is the full patch

2010/10/6 Arnaud VERSINI arnaud.vers...@gmail.com

 Sorry,

 I prepare a new patch with all lines removed.

 Arnaud

 2010/10/6 Kohei Yoshida kyosh...@novell.com

 On Tue, 2010-10-05 at 19:17 -0400, Kohei Yoshida wrote:
  Hi Arnaud,
 
  On Tue, 2010-10-05 at 21:32 +0200, Arnaud VERSINI wrote:
   Patch resolving issue 2838 of OpenOffice.org.
 
  Hmm... Unfortunately your cui.patch breaks the build for me.  Reverting
  your commit fixes the build.
 
  Could you take another look at this?

 Ultimately the build breaks because the patch removes pCompareCaseClass
 member variable from the class, but that member variable is still
 referenced in five locations (2 in FillItemSet() and 3 in SetLanguage()
 methods)...

 I've reverted the commit for the time being.

 Kohei

 --
 Kohei Yoshida, LibreOffice hacker, Calc
 kyosh...@novell.com


From 431481c73b502cda1ead9c273627bacf88363da9 Mon Sep 17 00:00:00 2001
From: Arnaud Versini arnaud.vers...@gmail.com
Date: Wed, 6 Oct 2010 20:51:14 +0200
Subject: [PATCH] Resolving issue 2838 of OOo.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

It’s in two parts :
* autocorrection comparison function during the search of the word(s) takes care of the case.
* possibility to insert two times the same words with different
cases.
---
 editeng/source/misc/svxacorr.cxx |1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/editeng/source/misc/svxacorr.cxx b/editeng/source/misc/svxacorr.cxx
index 9977667..d289098 100644
--- a/editeng/source/misc/svxacorr.cxx
+++ b/editeng/source/misc/svxacorr.cxx
@@ -220,7 +220,6 @@ static TransliterationWrapper GetIgnoreTranslWrapper()
 {
 static int bIsInit = 0;
 static TransliterationWrapper aWrp( GetProcessFact(),
-::com::sun::star::i18n::TransliterationModules_IGNORE_CASE |
 ::com::sun::star::i18n::TransliterationModules_IGNORE_KANA |
 ::com::sun::star::i18n::TransliterationModules_IGNORE_WIDTH );
 if( !bIsInit )
-- 
1.7.1

From 822dfa1a2d64e6205a6b35c82a52660d1bc59a4b Mon Sep 17 00:00:00 2001
From: Arnaud Versini arnaud.vers...@gmail.com
Date: Wed, 6 Oct 2010 20:50:09 +0200
Subject: [PATCH] Resolving issue 2838 of OOo.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

It’s in two parts :
* autocorrection comparison function during the search of the word(s) takes care of the case.
* possibility to insert two times the same words with different
cases.
---
 cui/source/inc/autocdlg.hxx  |1 -
 cui/source/tabpages/autocdlg.cxx |   16 
 2 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx
index 36e0fbd..7131740 100644
--- a/cui/source/inc/autocdlg.hxx
+++ b/cui/source/inc/autocdlg.hxx
@@ -239,7 +239,6 @@ private:
 SvStringsISortDtor* 	pFormatText;
 DoubleStringTable		aDoubleStringTable;
 CollatorWrapper* 		pCompareClass;
-CollatorWrapper*pCompareCaseClass;
 CharClass*  pCharClass;
 LanguageType 			eLang;
 
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index afb63d2..e04c896 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -1024,10 +1024,7 @@ OfaAutocorrReplacePage::OfaAutocorrReplacePage( Window* pParent,
 
 ::com::sun::star::lang::Locale aLcl( SvxCreateLocale(eLastDialogLanguage ));
 pCompareClass = new CollatorWrapper( GetProcessFact() );
-pCompareCaseClass = new CollatorWrapper( GetProcessFact() );
-pCompareClass-loadDefaultCollator( aLcl, ::com::sun::star::i18n::
-CollatorOptions::CollatorOptions_IGNORE_CASE );
-pCompareCaseClass-loadDefaultCollator( aLcl, 0 );
+pCompareClass-loadDefaultCollator( aLcl, 0 );
 pCharClass = new CharClass( aLcl );
 
 static long nTabs[] = { 2 /* Tab-Count */, 1, 61 };
@@ -1057,7 +1054,6 @@ OfaAutocorrReplacePage::~OfaAutocorrReplacePage()
 delete pFormatText;
 lcl_ClearTable(aDoubleStringTable);
 delete pCompareClass;
-delete pCompareCaseClass;
 delete pCharClass;
 }
 /*-14.10.96 15.58---
@@ -1122,7 +1118,7 @@ BOOL OfaAutocorrReplacePage::FillItemSet( SfxItemSet )
 nLastPos = nPos - 1;
 bFound = TRUE;
 if( !(pWordPtr-IsTextOnly() == (0 == pDouble-pUserData)
- 0 == pCompareCaseClass-compareString(
+ 0 == pCompareClass-compareString(
 pWordPtr-GetLong(), pDouble-sLong ) ) )
 {
 pAutoCorrect-PutText(sEntry, pDouble-sLong, eCurLang);
@@ -1185,7 +1181,7 @@ BOOL OfaAutocorrReplacePage::FillItemSet( SfxItemSet )
 bFound = TRUE;
 String sLong = 

[Libreoffice] [PATCH 0/5] [tree: writer] remove bogus comments

2010-10-10 Thread Prashant Shah
These are patches to writer tree

Prashant Shah (5):
  Cleanup: remove bogus comments from swuiidxmrk.cxx
  Cleanup: remove bogus comments from toxmgr.cxx
  Cleanup: remove bogus comments from cnttab.cxx
  Cleanup: remove bogus comments from idxmrk.cxx
  Cleanup: remove bogus comments from cntex.cxx

 sw/source/ui/index/cntex.cxx  |   10 +-
 sw/source/ui/index/cnttab.cxx |  290 ++---
 sw/source/ui/index/idxmrk.cxx |   14 --
 sw/source/ui/index/swuiidxmrk.cxx |   98 +
 sw/source/ui/index/toxmgr.cxx |   26 +---
 5 files changed, 22 insertions(+), 416 deletions(-)

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


[Libreoffice] [PATCH 1/5] Cleanup: remove bogus comments from swuiidxmrk.cxx

2010-10-10 Thread Prashant Shah

This patch removes bogus comments found in the swuiidxmrk.cxx file
including empty Beschreibung (translation: description) statements

Signed-off-by: Prashant Shah pshah.mum...@gmail.com
---
 sw/source/ui/index/swuiidxmrk.cxx |   98 +---
 1 files changed, 3 insertions(+), 95 deletions(-)

diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index e343109..105a74a 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -238,8 +238,6 @@ SwIndexMarkDlg::SwIndexMarkDlg(Window *pParent,
  Beschreibung:	Controls neu initialisieren mit der aktuellen
 Markierung
  */
-
-
 void SwIndexMarkDlg::InitControls()
 {
 DBG_ASSERT(pSh  pTOXMgr, Shell nicht da?);
@@ -424,7 +422,6 @@ String	SwIndexMarkDlg::GetDefaultPhoneticReading( const String rText )
 /* -07.09.99 10:43---
 Change the content of aEntryED if text is selected
  --*/
-
 void	SwIndexMarkDlg::Activate()
 {
 // aktuelle Selektion (1.Element) anzeigen  
@@ -464,8 +461,6 @@ void SwIndexMarkDlg::Apply()
 /*
 Beschreibung: Aenderungen uebernehmen
  */
-
-
 void SwIndexMarkDlg::InsertUpdate()
 {
 pSh-StartUndo(bDel ? UNDO_INDEX_ENTRY_DELETE : UNDO_INDEX_ENTRY_INSERT);
@@ -585,8 +580,6 @@ void SwIndexMarkDlg::InsertMark()
 /*
  Beschreibung:	Marke Updaten
  */
-
-
 void SwIndexMarkDlg::UpdateMark()
 {
 String 	aAltText(aEntryED.GetText());
@@ -629,8 +622,6 @@ void SwIndexMarkDlg::UpdateMark()
 /*
 Beschreibung: Neue Keys eintragen
  */
-
-
 void SwIndexMarkDlg::UpdateKeyBoxes()
 {
 String aKey(aKeyDCB.GetText());
@@ -649,9 +640,7 @@ void SwIndexMarkDlg::UpdateKeyBoxes()
 aKey2DCB.InsertEntry(aKey);
 }
 }
-/* -13.10.99 15:10---
 
- --*/
 class SwNewUserIdxDlg : public ModalDialog
 {
 OKButton 		aOKPB;
@@ -707,9 +696,7 @@ IMPL_LINK( SwIndexMarkDlg, NewUserIdxHdl, Button*, EMPTYARG)
 delete pDlg;
 return 0;
 }
-/* -17.01.00 12:18
 
- ---*/
 IMPL_LINK( SwIndexMarkDlg, SearchTypeHdl, CheckBox*, pBox)
 {
 sal_Bool bEnable = pBox-IsChecked()  pBox-IsEnabled();
@@ -717,9 +704,7 @@ IMPL_LINK( SwIndexMarkDlg, SearchTypeHdl, CheckBox*, pBox)
 aSearchCaseSensitiveCB.Enable(bEnable);
 return 0;
 }
-/* -07.09.99 10:30---
 
- --*/
 IMPL_LINK( SwIndexMarkDlg, InsertHdl, Button *, pButton )
 {
 Apply();
@@ -728,9 +713,7 @@ IMPL_LINK( SwIndexMarkDlg, InsertHdl, Button *, pButton )
 CloseHdl(pButton);
 return 0;
 }
-/* -07.09.99 10:29---
 
- --*/
 IMPL_LINK( SwIndexMarkDlg, CloseHdl, Button *, EMPTYARG )
 {
 if(bNewMark)
@@ -745,6 +728,7 @@ IMPL_LINK( SwIndexMarkDlg, CloseHdl, Button *, EMPTYARG )
 }
 return 0;
 }
+
 /*
  Beschreibung:	VerzeichnisTyp auswaehlen nur bei Einfuegen
  */
@@ -823,11 +807,6 @@ IMPL_LINK( SwIndexMarkDlg, ModifyHdl, ListBox *, pBox )
 return 0;
 }
 
-/*
- Beschreibung:
- */
-
-
 IMPL_LINK_INLINE_START( SwIndexMarkDlg, NextHdl, Button *, EMPTYARG )
 {
 InsertUpdate();
@@ -837,7 +816,6 @@ IMPL_LINK_INLINE_START( SwIndexMarkDlg, NextHdl, Button *, EMPTYARG )
 }
 IMPL_LINK_INLINE_END( SwIndexMarkDlg, NextHdl, Button *, EMPTYARG )
 
-
 IMPL_LINK_INLINE_START( SwIndexMarkDlg, NextSameHdl, Button *, EMPTYARG )
 {
 InsertUpdate();
@@ -847,7 +825,6 @@ IMPL_LINK_INLINE_START( SwIndexMarkDlg, NextSameHdl, Button *, EMPTYARG )
 }
 IMPL_LINK_INLINE_END( SwIndexMarkDlg, NextSameHdl, Button *, EMPTYARG )
 
-
 IMPL_LINK_INLINE_START( SwIndexMarkDlg, PrevHdl, Button *, EMPTYARG )
 {
 InsertUpdate();
@@ -857,7 +834,6 @@ IMPL_LINK_INLINE_START( SwIndexMarkDlg, PrevHdl, Button *, EMPTYARG )
 }
 IMPL_LINK_INLINE_END( SwIndexMarkDlg, PrevHdl, Button *, EMPTYARG )
 
-
 IMPL_LINK_INLINE_START( SwIndexMarkDlg, PrevSameHdl, Button *, EMPTYARG )
 {
 

[Libreoffice] SAL_N_ELEMENTS, where?

2010-10-10 Thread Kayo Hamid
There are other places than writer, base, calc and impress repo? I'm not 
familiar with these many git repositories.
revol_


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


[Libreoffice] [PATCH 00/18] [tree: writer] remove bogus comments

2010-10-10 Thread Prashant Shah
These are patches to writer tree

Prashant Shah (18):
  Cleanup: remove bogus comments from fldmgr.cxx
  Cleanup: remove bogus comments from fldedt.cxx
  Cleanup: remove bogus comments from fldfunc.cxx
  Cleanup: remove bogus comments from fldref.hxx
  Cleanup: remove bogus comments from flddb.cxx
  Cleanup: remove bogus comments from fldwrap.cxx
  Cleanup: remove bogus comments from flddinf.hxx
  Cleanup: remove bogus comments from DropDownFieldDialog.cxx
  Cleanup: remove bogus comments from flddinf.cxx
  Cleanup: remove bogus comments from changedb.cxx
  Cleanup: remove bogus comments from fldpage.hxx
  Cleanup: remove extra newlines from inpdlg.cxx
  Cleanup: remove bogus comments from flddok.hxx
  Cleanup: remove bogus comments from fldtdlg.cxx
  Cleanup: remove bogus comments from fldvar.hxx
  Cleanup: remove bogus comments from fldvar.cxx
  Cleanup: remove bogus comments from fldpage.cxx
  Cleanup: remove bogus comments from flddok.cxx

 sw/source/ui/fldui/DropDownFieldDialog.cxx |7 ---
 sw/source/ui/fldui/changedb.cxx|   26 +---
 sw/source/ui/fldui/flddb.cxx   |   48 +-
 sw/source/ui/fldui/flddinf.cxx |   38 +
 sw/source/ui/fldui/flddinf.hxx |3 -
 sw/source/ui/fldui/flddok.cxx  |   49 --
 sw/source/ui/fldui/flddok.hxx  |4 --
 sw/source/ui/fldui/fldedt.cxx  |   34 ---
 sw/source/ui/fldui/fldfunc.cxx |   54 
 sw/source/ui/fldui/fldmgr.cxx  |   41 +--
 sw/source/ui/fldui/fldpage.cxx |   28 
 sw/source/ui/fldui/fldpage.hxx |4 --
 sw/source/ui/fldui/fldref.hxx  |4 --
 sw/source/ui/fldui/fldtdlg.cxx |   36 +
 sw/source/ui/fldui/fldvar.cxx  |   62 +---
 sw/source/ui/fldui/fldvar.hxx  |8 
 sw/source/ui/fldui/fldwrap.cxx |   31 +-
 sw/source/ui/fldui/inpdlg.cxx  |3 -
 18 files changed, 8 insertions(+), 472 deletions(-)

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


[Libreoffice] [PATCH 03/18] Cleanup: remove bogus comments from fldfunc.cxx

2010-10-10 Thread Prashant Shah

This patch removes bogus comments found in the fldfunc.cxx file
including empty Beschreibung (translation: description) statements

Signed-off-by: Prashant Shah pshah.mum...@gmail.com
---
 sw/source/ui/fldui/fldfunc.cxx |   54 
 1 files changed, 0 insertions(+), 54 deletions(-)

diff --git a/sw/source/ui/fldui/fldfunc.cxx b/sw/source/ui/fldui/fldfunc.cxx
index 523bd92..9d1de45 100644
--- a/sw/source/ui/fldui/fldfunc.cxx
+++ b/sw/source/ui/fldui/fldfunc.cxx
@@ -55,10 +55,6 @@ using namespace ::com::sun::star;
 
 using rtl::OUString;
 
-/*
-Beschreibung:
- */
-
 SwFldFuncPage::SwFldFuncPage(Window* pParent, const SfxItemSet rCoreSet ) :
 SwFldPage( pParent, SW_RES( TP_FLD_FUNC ), rCoreSet ),
 
@@ -104,18 +100,10 @@ SwFldFuncPage::SwFldFuncPage(Window* pParent, const SfxItemSet rCoreSet ) :
 //	SwWrtShell* pSh = (SwWrtShell*)ViewShell::GetCurrShell();
 }
 
-/*
-Beschreibung:
- */
-
 SwFldFuncPage::~SwFldFuncPage()
 {
 }
 
-/*
-Beschreibung:
- */
-
 void SwFldFuncPage::Reset(const SfxItemSet )
 {
 SavePos(aTypeLB);
@@ -203,10 +191,6 @@ void SwFldFuncPage::Reset(const SfxItemSet )
 }
 }
 
-/*
-Beschreibung:
- */
-
 IMPL_LINK( SwFldFuncPage, TypeHdl, ListBox *, EMPTYARG )
 {
 // Alte ListBoxPos sichern
@@ -415,10 +399,6 @@ IMPL_LINK( SwFldFuncPage, TypeHdl, ListBox *, EMPTYARG )
 return 0;
 }
 
-/*
-Beschreibung:
- */
-
 IMPL_LINK( SwFldFuncPage, SelectHdl, ListBox *, EMPTYARG )
 {
 USHORT nTypeId = (USHORT)(ULONG)aTypeLB.GetEntryData(GetTypeSel());
@@ -429,10 +409,6 @@ IMPL_LINK( SwFldFuncPage, SelectHdl, ListBox *, EMPTYARG )
 return 0;
 }
 
-/*
-Beschreibung:
- */
-
 IMPL_LINK( SwFldFuncPage, InsertMacroHdl, ListBox *, EMPTYARG )
 {
 SelectHdl();
@@ -440,9 +416,7 @@ IMPL_LINK( SwFldFuncPage, InsertMacroHdl, ListBox *, EMPTYARG )
 
 return 0;
 }
-/* -16.06.2003 16:24-
 
- --*/
 IMPL_LINK( SwFldFuncPage, ListModifyHdl, Control*, pControl)
 {
 aListItemsLB.SetUpdateMode(FALSE);
@@ -489,9 +463,7 @@ IMPL_LINK( SwFldFuncPage, ListModifyHdl, Control*, pControl)
 ListEnableHdl(0);
 return 0;
 }
-/* -17.06.2003 08:36-
 
- --*/
 IMPL_LINK( SwFldFuncPage, ListEnableHdl, void*, EMPTYARG)
 {
 //enable Add button when text is in the Edit that's not already member of the box
@@ -509,8 +481,6 @@ IMPL_LINK( SwFldFuncPage, ListEnableHdl, void*, EMPTYARG)
 /*
  Beschreibung: Typen in der SelectionBox erneuern
  */
-
-
 void SwFldFuncPage::UpdateSubType()
 {
 USHORT nTypeId = (USHORT)(ULONG)aTypeLB.GetEntryData(GetTypeSel());
@@ -558,7 +528,6 @@ void SwFldFuncPage::UpdateSubType()
 /*
 Beschreibung: MacroBrowser aufrufen, Listbox mit Macros fuellen
  */
-
 IMPL_LINK( SwFldFuncPage, MacroHdl, Button *, pBtn )
 {
 Window* pDefModalDlgParent = Application::GetDefDialogParent();
@@ -575,10 +544,6 @@ IMPL_LINK( SwFldFuncPage, MacroHdl, Button *, pBtn )
 return 0;
 }
 
-/*
-Beschreibung:
- */
-
 BOOL SwFldFuncPage::FillItemSet(SfxItemSet )
 {
 USHORT nTypeId = (USHORT)(ULONG)aTypeLB.GetEntryData(GetTypeSel());
@@ -647,10 +612,6 @@ BOOL SwFldFuncPage::FillItemSet(SfxItemSet )
 return FALSE;
 }
 
-/*
-Beschreibung:
- */
-
 String SwFldFuncPage::TurnMacroString(const String rMacro)
 {
 if (rMacro.Len())
@@ -676,28 +637,17 @@ String SwFldFuncPage::TurnMacroString(const String rMacro)
 return rMacro;
 }
 
-/*
-

[Libreoffice] [PATCH 11/18] Cleanup: remove bogus comments from fldpage.hxx

2010-10-10 Thread Prashant Shah

This patch removes bogus comments found in the fldpage.hxx file
including empty Beschreibung (translation: description) statements

Signed-off-by: Prashant Shah pshah.mum...@gmail.com
---
 sw/source/ui/fldui/fldpage.hxx |4 
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/sw/source/ui/fldui/fldpage.hxx b/sw/source/ui/fldui/fldpage.hxx
index c7f07e3..92a1b41 100644
--- a/sw/source/ui/fldui/fldpage.hxx
+++ b/sw/source/ui/fldui/fldpage.hxx
@@ -32,10 +32,6 @@
 
 class ListBox;
 
-/*
-   Beschreibung:
- */
-
 const int coLBCount = 3;
 
 class SwFldPage : public SfxTabPage
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [PATCH 13/18] Cleanup: remove bogus comments from flddok.hxx

2010-10-10 Thread Prashant Shah

This patch removes bogus comments found in the flddok.hxx file
including empty Beschreibung (translation: description) statements

Signed-off-by: Prashant Shah pshah.mum...@gmail.com
---
 sw/source/ui/fldui/flddok.hxx |4 
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/sw/source/ui/fldui/flddok.hxx b/sw/source/ui/fldui/flddok.hxx
index cd816b9..9cc2061 100644
--- a/sw/source/ui/fldui/flddok.hxx
+++ b/sw/source/ui/fldui/flddok.hxx
@@ -38,10 +38,6 @@
 #include numfmtlb.hxx
 #include fldpage.hxx
 
-/*
-   Beschreibung:
- */
-
 class SwFldDokPage : public SwFldPage
 {
 FixedText 			aTypeFT;
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [PATCH 16/18] Cleanup: remove bogus comments from fldvar.cxx

2010-10-10 Thread Prashant Shah

This patch removes bogus comments found in the fldvar.cxx file
including empty Beschreibung (translation: description) statements

Signed-off-by: Prashant Shah pshah.mum...@gmail.com
---
 sw/source/ui/fldui/fldvar.cxx |   62 +
 1 files changed, 1 insertions(+), 61 deletions(-)

diff --git a/sw/source/ui/fldui/fldvar.cxx b/sw/source/ui/fldui/fldvar.cxx
index 200da2c..e24c7c7 100644
--- a/sw/source/ui/fldui/fldvar.cxx
+++ b/sw/source/ui/fldui/fldvar.cxx
@@ -52,9 +52,6 @@
 
 #define USER_DATA_VERSION_1 1
 #define USER_DATA_VERSION USER_DATA_VERSION_1
-/*
-Beschreibung:
- */
 
 SwFldVarPage::SwFldVarPage(Window* pParent, const SfxItemSet rCoreSet ) :
 SwFldPage		( pParent, SW_RES( TP_FLD_VAR ), rCoreSet ),
@@ -99,18 +96,10 @@ SwFldVarPage::SwFldVarPage(Window* pParent, const SfxItemSet rCoreSet ) :
 aNumFormatLB.SetShowLanguageControl(TRUE);
 }
 
-/*
-Beschreibung:
- */
-
 SwFldVarPage::~SwFldVarPage()
 {
 }
 
-/*
-Beschreibung:
- */
-
 void SwFldVarPage::Reset(const SfxItemSet )
 {
 SavePos(aTypeLB);
@@ -204,10 +193,6 @@ void SwFldVarPage::Reset(const SfxItemSet )
 }
 }
 
-/*
-Beschreibung:
- */
-
 IMPL_LINK( SwFldVarPage, TypeHdl, ListBox *, EMPTYARG )
 {
 // Alte ListBoxPos sichern
@@ -240,10 +225,6 @@ IMPL_LINK( SwFldVarPage, TypeHdl, ListBox *, EMPTYARG )
 return 0;
 }
 
-/*
-Beschreibung:
- */
-
 IMPL_LINK( SwFldVarPage, SubTypeHdl, ListBox *, pBox )
 {
 USHORT nTypeId = (USHORT)(ULONG)aTypeLB.GetEntryData(GetTypeSel());
@@ -611,7 +592,6 @@ IMPL_LINK( SwFldVarPage, SubTypeHdl, ListBox *, pBox )
 /*
  Beschreibung: Typen in der SelectionBox erneuern
  */
-
 void SwFldVarPage::UpdateSubType()
 {
 String sOldSel;
@@ -715,10 +695,6 @@ void SwFldVarPage::UpdateSubType()
 aSelectionLB.SetUpdateMode(TRUE);
 }
 
-/*
-Beschreibung:
- */
-
 USHORT SwFldVarPage::FillFormatLB(USHORT nTypeId)
 {
 String sOldSel, sOldNumSel;
@@ -851,7 +827,6 @@ USHORT SwFldVarPage::FillFormatLB(USHORT nTypeId)
 /*
 Beschreibung: Modify
  */
-
 IMPL_LINK( SwFldVarPage, ModifyHdl, Edit *, EMPTYARG )
 {
 String sValue(aValueED.GetText());
@@ -978,10 +953,6 @@ IMPL_LINK( SwFldVarPage, ModifyHdl, Edit *, EMPTYARG )
 return 0;
 }
 
-/*
-Beschreibung:
- */
-
 IMPL_LINK( SwFldVarPage, TBClickHdl, ToolBox *, pBox )
 {
 USHORT nTypeId = (USHORT)(ULONG)aTypeLB.GetEntryData(GetTypeSel());
@@ -1130,10 +1101,6 @@ IMPL_LINK( SwFldVarPage, TBClickHdl, ToolBox *, pBox )
 return TRUE;
 }
 
-/*
-Beschreibung:
- */
-
 IMPL_LINK( SwFldVarPage, ChapterHdl, ListBox *, EMPTYARG )
 {
 BOOL bEnable = aChapterLevelLB.GetSelectEntryPos() != 0;
@@ -1145,10 +1112,6 @@ IMPL_LINK( SwFldVarPage, ChapterHdl, ListBox *, EMPTYARG )
 return 0;
 }
 
-/*
-Beschreibung:
- */
-
 IMPL_LINK( SwFldVarPage, SeparatorHdl, Edit *, EMPTYARG )
 {
 BOOL bEnable = aSeparatorED.GetText().Len() != 0 ||
@@ -1158,10 +1121,6 @@ IMPL_LINK( SwFldVarPage, SeparatorHdl, Edit *, EMPTYARG )
 return 0;
 }
 
-/*
-Beschreibung:
- */
-
 BOOL SwFldVarPage::FillItemSet(SfxItemSet )
 {
 USHORT nTypeId = (USHORT)(ULONG)aTypeLB.GetEntryData(GetTypeSel());
@@ -1293,30 +1252,17 @@ BOOL SwFldVarPage::FillItemSet(SfxItemSet )
 return FALSE;
 }
 
-
-/*
-Beschreibung:
- 

[Libreoffice] soltools build failure

2010-10-10 Thread Thomas Klausner
Hi!

Commencing main build
build -- version: 275224

Fetching dependencies for module l10n from solver... failed
Fetching dependencies for module testshl2 from solver... failed

=
Building module solenv
=

Entering /disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/solenv

just for sideeffects...
solenv deliver
Module 'solenv' delivered successfully. 0 files copied, 2 files unchanged

=
Building module soltools
=

Entering 
/disk/2/archive/libreoffice/build/libreoffice-3.2.99.2/soltools/mkdepend

Compiling: soltools/mkdepend/cppsetup.c
gcc: ../unxbsdx3.pro/obj/cppsetup.o: No such file or directory
dmake:  Error code 1, while making '../unxbsdx3.pro/obj/cppsetup.obj'

1 module(s):
soltools
need(s) to be rebuilt

Reason(s):


Attention: if you fix the errors in above module(s) you may continue the build 
issuing the following command:

build --all:soltools

Any ideas where to look?
 Thomas
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Problem using bin/ooinstall -l target directory

2010-10-10 Thread Giuseppe Castagno

Hi all,

configure for build with:

./autogen.sh --with-distro=LibreOfficeLinux  --with-gcc-speedup=ccache 
--with-git --with-num-cpus=2 --with-lang='en-US it fr pt-BR' 
--enable-kde=no --enable-kde4=yes


After successful build I tried to use the following to install LibO for 
test using:


bin/ooinstall -l ~/LibO-b/LibO_master-head-wrk-bin

But didn't succeeded, the error in the log file indicated by ooinstall 
is as follows:


..
Sun Oct 10 20:38:58 2010 (01:04 min.)
##
Registering python UNO components:
##
SUCCESS: Source for types.rdb: 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/types.rdb
SUCCESS: Source for pyuno_services.rdb: 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/pyuno_services.rdb
Systemcall: 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/regcomp 
-register -br 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/types.rdb 
-br 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/pyuno_services.rdb 
-r 
/tmp/ooopackaging/i_310291286735874/unxlngx6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_it_fr_pt-BR_inprogress_1/services.rdb 
-c vnd.openoffice.pymodule:pythonscript -l com.sun.star.loader.Python 21 |

vnd.openoffice.pymodule:pythonscript
register component 'vnd.openoffice.pymodule:pythonscript' in registry 
'/tmp/ooopackaging/i_310291286735874/unxlngx6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_it_fr_pt-BR_inprogress_1/services.rdb' 
failed!
error (RuntimeException): python object raised an unknown exception ('No 
module named _socket', traceback follows

traceback object at 0x7ffe92e60950
ERROR: 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/regcomp 
-register -br 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/types.rdb 
-br 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/pyuno_services.rdb 
-r 
/tmp/ooopackaging/i_310291286735874/unxlngx6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_it_fr_pt-BR_inprogress_1/services.rdb 
-c vnd.openoffice.pymodule:pythonscript -l com.sun.star.loader.Python 21 |
Systemcall: 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/regcomp 
-register -br 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/types.rdb 
-br 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/pyuno_services.rdb 
-r 
/tmp/ooopackaging/i_310291286735874/unxlngx6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_it_fr_pt-BR_inprogress_1/services.rdb 
-c vnd.openoffice.pymodule:mailmerge -l com.sun.star.loader.Python 21 |

vnd.openoffice.pymodule:mailmerge
register component 'vnd.openoffice.pymodule:mailmerge' in registry 
'/tmp/ooopackaging/i_310291286735874/unxlngx6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_it_fr_pt-BR_inprogress_1/services.rdb' 
failed!
error (RuntimeException): python object raised an unknown exception ('No 
module named _socket', traceback follows

traceback object at 0x7f3df32f3950
ERROR: 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/regcomp 
-register -br 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/types.rdb 
-br 
/home/beppe/LibO-b/LibO_master-head-wrk/build/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/pyuno_services.rdb 
-r 
/tmp/ooopackaging/i_310291286735874/unxlngx6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_it_fr_pt-BR_inprogress_1/services.rdb 
-c vnd.openoffice.pymodule:mailmerge -l com.sun.star.loader.Python 21 |


Moved directory from 
/tmp/ooopackaging/i_310291286735874/unxlngx6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_it_fr_pt-BR_inprogress_1 
to 
/tmp/ooopackaging/i_310291286735874/unxlngx6.pro/LibreOffice//gid_Starregistry_Services_Rdb_servicesrdb/en-US_it_fr_pt-BR_witherror_1


Removing directory /tmp/ooopackaging/i_310291286735874

***
ERROR: Could not register all components for file services.rdb 
(gid_Starregistry_Services_Rdb)!

in function: create_services_rdb
***

Any ideas?

Thanks.
beppec56

--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
beppec56 at openoffice.org
___
LibreOffice 

Re: [Libreoffice] [Pushed (all 53 of them)] [PATCH 18/18] Cleanup: remove bogus comments from flddok.cxx

2010-10-10 Thread Norbert Thiebaud
On Sun, Oct 10, 2010 at 12:06 PM, Prashant Shah pshah.mum...@gmail.com wrote:

 This patch removes bogus comments found in the flddok.cxx file
 including empty Beschreibung (translation: description) statements

Thanks Prashant,

Pushed them all.

Can you try to combine some of them if a bigger patch - as long as it
stays within s single git repos
writer has 1678 cxx/hxx files... that will flood the mailing list



 Signed-off-by: Prashant Shah pshah.mum...@gmail.com
 ---
  sw/source/ui/fldui/flddok.cxx |   49 
 -
  1 files changed, 0 insertions(+), 49 deletions(-)


 ___
 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


Re: [Libreoffice] small utility script to handle ../bin/g and similar commands

2010-10-10 Thread Norbert Thiebaud
On Sun, Oct 10, 2010 at 1:36 PM, Miklos Vajna vmik...@frugalware.org wrote:
 On Sat, Oct 09, 2010 at 11:00:55AM -0500, Norbert Thiebaud 
 nthieb...@gmail.com wrote:
  The problem is that if you are in rootgit/rawbuild/vcl/source for example
  git-rev-parse with give you ../../
  the same result as if you where at
  rootgit/clone/libs-gui/vcl/source
  and now you are in the road to readlink and its notorious non-portability

 Okay, fine. I was just asking if there is a reason you don't use it, or
 you just didn't met that tool so far.

It is indeed a useful and not-so-well known tool, thanks for mentioning it.

Norbert



 Thanks.

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


Re: [Libreoffice] Problem using bin/ooinstall -l target directory

2010-10-10 Thread LeMoyne

 an idea... tmp target path has no-name directory or extra slash (//) marked
with *** here: 

... LibreOffice/***/gid_Starregistry_Services_Rdb_servicesrdb ...
-- 
View this message in context: 
http://documentfoundation.969070.n3.nabble.com/Problem-using-bin-ooinstall-l-target-directory-tp1676137p1676338.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] soltools build failure

2010-10-10 Thread Caolán McNamara
On Sun, 2010-10-10 at 20:30 +0200, Thomas Klausner wrote:
 Compiling: soltools/mkdepend/cppsetup.c
 gcc: ../unxbsdx3.pro/obj/cppsetup.o: No such file or directory
 dmake:  Error code 1, while making '../unxbsdx3.pro/obj/cppsetup.obj'
 
 1 module(s):
 soltools
 need(s) to be rebuilt

 Any ideas where to look?

a

export VERBOSE=true

before running build/dmake will give the full commands that are being
run which might help.

I'm a little bit baffled as to where unxbsdx3.pro is coming from. This
is supposed to be derived from the OUTPATH variable, and looking at
set_soenv.in in the root of rawbuild (or bootstrap in the clone dir) I
see $OUTPATH = unxbsdi for NetBSD on x86. So I suggest the first port
of call is to see what is OUTPATH set to in your toplevel *Env.Set.sh
in the build/libreoffice*/ root dir. Assuming we're talking x86 NetBSD I
would have expected this to be unxbsdi.

Are you working on say a new 64bit x86_64 port or something, and
unxbsdx3 is a new arch ? If you are, then
http://wiki.services.openoffice.org/wiki/Lazy_Hackers_Guide_To_Porting
might be of use to you, and I'd suggest just calling it unxbsdx.

C.

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


Re: [Libreoffice] ixion breakage in sw

2010-10-10 Thread Caolán McNamara
On Sat, 2010-10-09 at 07:29 +0200, Miklos Vajna wrote:
 Looks like some '-lixion' is missing from ldflags or so. Do you have an
 idea what's going on? :)

No idea, but I can tell that the ixion stuff isn't committed directly to
the split repos, but is still as patches that get applied in one of the
distro-modes, which is presumably why it's not a common build problem
for everyone at the moment. 

In those patches I can see that the sw/util/makefile.mk does appear to
correctly link against libixion. Worth an export VERBOSE=true to confirm
that.

C.

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


Re: [Libreoffice] Error Building, vcl segmentation fault

2010-10-10 Thread Caolán McNamara
On Sun, 2010-10-10 at 16:33 +0200, julien wrote:
 make

 Making:libvclplug_kdeli.so
 Segmentation fault
 dmake:  Error code 1, while making '../unxlngi6.pro/lib/libvclplug_kdeli.so'

An odd one, if you run make again does it break in the same place ?

doing

export VERBOSE=true

before running make will at least give some more detail, but I'd guess
that its the linker itself which is segving which would suggest a
generic error, rather than something specific to LibreOffice

C.


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


[Libreoffice] Changes

2010-10-10 Thread Alan Du
I've deleted some pointless comments in two files here. The git diff is attached
Contributed under LGPLv3+


  diff --git a/scratch/ocrimport/MyListener.cxx b/scratch/ocrimport/MyListener.cxx
index 50e6947..38b7aa6 100644
--- a/scratch/ocrimport/MyListener.cxx
+++ b/scratch/ocrimport/MyListener.cxx
@@ -37,22 +37,15 @@
 
 namespace css = ::com::sun::star;
 
-/*-
-   20.11.2003 11:31
--*/
+
 MyListener::MyListener(const css::uno::Reference 
css::lang::XMultiServiceFactory  xSMGR)
: m_xSMGR(xSMGR)
 {}
 
-/*-
-   20.11.2003 11:32
--*/
+
 MyListener::~MyListener()
 {}
 
-/*-
-20.11.2003 12:04
--*/
 css::uno::Any SAL_CALL MyListener::execute(const css::uno::Sequence 
css::beans::NamedValue  lArguments)
throw (css::lang::IllegalArgumentException,
   css::uno::Exception,
@@ -107,8 +100,8 @@ css::uno::Any SAL_CALL MyListener::execute(const 
css::uno::Sequence css::beans:
 
!xInfo-supportsService(::rtl::OUString::createFromAscii(com.sun.star.text.GlobalDocument))
);
 
-// Wir interessieren uns nur für Writer und Calc. Werden hier aber für
-// alle neu geöffneten Dokumente benachrichtigt ...
+// We are interested only in Writer and Calc
+// Werden hier aber füralle neu geöffneten Dokumente benachrichtigt ...
 if (!bCalc  !bWriter)
return css::uno::Any();
 
@@ -127,18 +120,12 @@ css::uno::Any SAL_CALL MyListener::execute(const 
css::uno::Sequence css::beans:
return css::uno::Any();
 }
 
-/*-
-20.11.2003 12:13
--*/
 ::rtl::OUString SAL_CALL MyListener::getImplementationName()
 throw (css::uno::RuntimeException)
 {
 return ::rtl::OUString::createFromAscii(MYLISTENER_IMPLEMENTATIONNAME);
 }
 
-/*-
-20.11.2003 12:13
--*/
 css::uno::Sequence ::rtl::OUString  SAL_CALL 
MyListener::getSupportedServiceNames()
 throw (css::uno::RuntimeException)
 {
@@ -147,9 +134,6 @@ css::uno::Sequence ::rtl::OUString  SAL_CALL 
MyListener::getSupportedServiceNa
 return lNames;
 }
 
-/*-
-20.11.2003 12:14
--*/
 sal_Bool SAL_CALL MyListener::supportsService(const ::rtl::OUString 
sServiceName)
 throw (css::uno::RuntimeException)
 {
@@ -159,9 +143,6 @@ sal_Bool SAL_CALL MyListener::supportsService(const 
::rtl::OUString sServiceNam
);
 }
 
-/*-
-   20.11.2003 11:31
--*/
 css::uno::Reference css::uno::XInterface  
MyListener::st_createInstance(const css::uno::Reference 
css::lang::XMultiServiceFactory  xSMGR)
 {
MyListener* pListener = new MyListener(xSMGR);
diff --git a/scratch/ocrimport/MyProtocolHandler.cxx 
b/scratch/ocrimport/MyProtocolHandler.cxx
index 570d1bf..d8b9a53 100644
--- a/scratch/ocrimport/MyProtocolHandler.cxx
+++ b/scratch/ocrimport/MyProtocolHandler.cxx
@@ -88,40 +88,6 @@ using namespace com::sun::star::ui::dialogs;
 
 ListenerHelper aListenerHelper;
 
-
-
-/*void ShowMessageBox( const Reference XToolkit  rToolkit, 
-   const Reference XFrame  rFrame, const ::rtl::OUString 
aTitle, const ::rtl::OUString aMsgText )
-{
-if ( rFrame.is()  rToolkit.is() )
-{
-// describe window properties.
-WindowDescriptoraDescriptor;
-aDescriptor.Type  = WindowClass_MODALTOP;
-aDescriptor.WindowServiceName = ::rtl::OUString( 
RTL_CONSTASCII_USTRINGPARAM( infobox ));
-aDescriptor.ParentIndex   = -1;
-aDescriptor.Parent= Reference XWindowPeer 
-   ( rFrame-getContainerWindow(), 
UNO_QUERY );
-aDescriptor.Bounds= Rectangle(300,200,300,200);
-aDescriptor.WindowAttributes  = WindowAttribute::BORDER | 
-  WindowAttribute::MOVEABLE | 
WindowAttribute::CLOSEABLE;
- 
-Reference XWindowPeer  xPeer = rToolkit-createWindow( aDescriptor );
-if ( xPeer.is() )
-{
-Reference XMessageBox  xMsgBox( xPeer, UNO_QUERY );
-if ( xMsgBox.is() )
-{
-xMsgBox-setCaptionText( aTitle );
-xMsgBox-setMessageText( aMsgText );
-xMsgBox-execute();
-}
-}
-}
-}
-*/
-
-
 oslFileError readLine( oslFileHandle pFile, 

Re: [Libreoffice] [Pushed (all 53 of them)] [PATCH 18/18] Cleanup: remove bogus comments from flddok.cxx

2010-10-10 Thread Prashant Shah
On Mon, Oct 11, 2010 at 12:35 AM, Norbert Thiebaud nthieb...@gmail.com wrote:

 Can you try to combine some of them if a bigger patch - as long as it
 stays within s single git repos
 writer has 1678 cxx/hxx files... that will flood the mailing list


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


[Libreoffice] merged vosremoval-diagnose.diff, vosremoval-timer.diif and voremoval-socket.diff

2010-10-10 Thread Norbert Thiebaud
Hi all,

I merged vosremoval-diagnose.diff, vosremoval-timer.diif and
voremoval-socket.diff

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