[Libreoffice-commits] .: extensions/source

2011-10-27 Thread Tor Lillqvist
 extensions/source/macosx/spotlight/GetMetadataForFile.m   |7 +++
 extensions/source/macosx/spotlight/OOoContentDataParser.m |7 +++
 extensions/source/macosx/spotlight/OOoMetaDataParser.m|7 +++
 extensions/source/macosx/spotlight/OOoSpotlightImporter.m |7 +++
 4 files changed, 28 insertions(+)

New commits:
commit 9d1dc25f564dada022e1b62fec834d183a1fd258
Author: Tor Lillqvist t...@iki.fi
Date:   Wed Oct 26 17:44:12 2011 +0300

Copy-pasted workaround for building against MacOSX 10.6 SDK but with 10.4 
as the highest used API

Yeah, should really factor out this snippet into some header file. It
is already in premac.h, but I think premac.h can't be included as such
in all the places where this copy-pasted snippet now is. Need to
experiment.

diff --git a/extensions/source/macosx/spotlight/GetMetadataForFile.m 
b/extensions/source/macosx/spotlight/GetMetadataForFile.m
index 78a6af5..e47603d 100644
--- a/extensions/source/macosx/spotlight/GetMetadataForFile.m
+++ b/extensions/source/macosx/spotlight/GetMetadataForFile.m
@@ -26,6 +26,13 @@
  *
 */
 
+#import Foundation/NSObjCRuntime.h
+#if defined (NSFoundationVersionNumber10_5)   MAC_OS_X_VERSION_MAX_ALLOWED  
1050
+@class CALayer;
+@class NSViewController;
+typedef int NSColorRenderingIntent;
+#endif
+
 #include CoreFoundation/CoreFoundation.h
 #include CoreServices/CoreServices.h 
 #include Foundation/Foundation.h
diff --git a/extensions/source/macosx/spotlight/OOoContentDataParser.m 
b/extensions/source/macosx/spotlight/OOoContentDataParser.m
index a41a108..a35b219 100644
--- a/extensions/source/macosx/spotlight/OOoContentDataParser.m
+++ b/extensions/source/macosx/spotlight/OOoContentDataParser.m
@@ -26,6 +26,13 @@
  *
 */
 
+#import Foundation/NSObjCRuntime.h
+#if defined (NSFoundationVersionNumber10_5)   MAC_OS_X_VERSION_MAX_ALLOWED  
1050
+@class CALayer;
+@class NSViewController;
+typedef int NSColorRenderingIntent;
+#endif
+
 #import OOoContentDataParser.h
 
 @implementation OOoContentDataParser
diff --git a/extensions/source/macosx/spotlight/OOoMetaDataParser.m 
b/extensions/source/macosx/spotlight/OOoMetaDataParser.m
index 3c8bb4c..cb26f91 100644
--- a/extensions/source/macosx/spotlight/OOoMetaDataParser.m
+++ b/extensions/source/macosx/spotlight/OOoMetaDataParser.m
@@ -26,6 +26,13 @@
  *
 */
 
+#import Foundation/NSObjCRuntime.h
+#if defined (NSFoundationVersionNumber10_5)   MAC_OS_X_VERSION_MAX_ALLOWED  
1050
+@class CALayer;
+@class NSViewController;
+typedef int NSColorRenderingIntent;
+#endif
+
 #import OOoMetaDataParser.h
 
 static NSSet *singleValueXMLElements;
diff --git a/extensions/source/macosx/spotlight/OOoSpotlightImporter.m 
b/extensions/source/macosx/spotlight/OOoSpotlightImporter.m
index 884fb80..dcb6153 100644
--- a/extensions/source/macosx/spotlight/OOoSpotlightImporter.m
+++ b/extensions/source/macosx/spotlight/OOoSpotlightImporter.m
@@ -26,6 +26,13 @@
  *
 */
 
+#import Foundation/NSObjCRuntime.h
+#if defined (NSFoundationVersionNumber10_5)   MAC_OS_X_VERSION_MAX_ALLOWED  
1050
+@class CALayer;
+@class NSViewController;
+typedef int NSColorRenderingIntent;
+#endif
+
 #import OOoSpotlightImporter.h
 #import OOoMetaDataParser.h
 #import OOoContentDataParser.h
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: writerperfect/source

2011-10-27 Thread Fridrich Strba
 writerperfect/source/filter/FontStyle.cxx   |1 
 writerperfect/source/filter/InternalHandler.cxx |2 -
 writerperfect/source/filter/OdtGenerator.cxx|6 +
 writerperfect/source/filter/TextRunStyle.cxx|   19 ++--
 writerperfect/source/filter/TextRunStyle.hxx|2 -
 writerperfect/source/filter/libwriterperfect_filter.cxx |3 +-
 writerperfect/source/filter/libwriterperfect_filter.hxx |4 ++-
 7 files changed, 26 insertions(+), 11 deletions(-)

New commits:
commit eac87fed20206377c5354eac6beccb90bb43ef20
Author: Fridrich Å trba fridrich.st...@bluewin.ch
Date:   Thu Oct 27 08:39:31 2011 +0200

Syncing with out-of-tree writerperfect

diff --git a/writerperfect/source/filter/FontStyle.cxx 
b/writerperfect/source/filter/FontStyle.cxx
index 9accf52..de1bd2e 100644
--- a/writerperfect/source/filter/FontStyle.cxx
+++ b/writerperfect/source/filter/FontStyle.cxx
@@ -88,5 +88,4 @@ WPXString FontStyleManager::findOrAdd(const char 
*psFontFamily)
 return psFontFamily;
 }
 
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/filter/InternalHandler.cxx 
b/writerperfect/source/filter/InternalHandler.cxx
index 8a1389d..cb68b01 100644
--- a/writerperfect/source/filter/InternalHandler.cxx
+++ b/writerperfect/source/filter/InternalHandler.cxx
@@ -33,7 +33,7 @@ InternalHandler::InternalHandler(std::vectorDocumentElement 
* *elements):
 
 void InternalHandler::startElement(const char *psName, const WPXPropertyList 
xPropList)
 {
-TagOpenElement*element = new TagOpenElement(psName);
+TagOpenElement *element = new TagOpenElement(psName);
 WPXPropertyList::Iter i(xPropList);
 for (i.rewind(); i.next(); )
 {
diff --git a/writerperfect/source/filter/OdtGenerator.cxx 
b/writerperfect/source/filter/OdtGenerator.cxx
index 9533803..b597241 100644
--- a/writerperfect/source/filter/OdtGenerator.cxx
+++ b/writerperfect/source/filter/OdtGenerator.cxx
@@ -561,10 +561,16 @@ void OdtGenerator::openSection(const WPXPropertyList 
propList, const WPXPropert
 int iNumColumns = columns.count();
 double fSectionMarginLeft = 0.0;
 double fSectionMarginRight = 0.0;
+double fSectionSpaceAfter = 0.0;
 if (propList[fo:margin-left])
 fSectionMarginLeft = propList[fo:margin-left]-getDouble();
 if (propList[fo:margin-right])
 fSectionMarginRight = propList[fo:margin-right]-getDouble();
+if (propList[fo:margin-bottom])
+fSectionSpaceAfter = propList[fo:margin-bottom]-getDouble();
+else if (propList[libwpd:margin-bottom])
+fSectionSpaceAfter =  propList[libwpd:margin-bottom]-getDouble();
+
 
 if (iNumColumns  1 || fSectionMarginLeft != 0 || fSectionMarginRight != 0)
 {
diff --git a/writerperfect/source/filter/TextRunStyle.cxx 
b/writerperfect/source/filter/TextRunStyle.cxx
index 35c6d27..e3ef8bb 100644
--- a/writerperfect/source/filter/TextRunStyle.cxx
+++ b/writerperfect/source/filter/TextRunStyle.cxx
@@ -200,21 +200,23 @@ void ParagraphStyleManager::write(OdfDocumentHandler 
*pHandler) const
 }
 }
 
-WPXString ParagraphStyleManager::getKey(const WPXPropertyList xPropList, 
const WPXPropertyListVector tabStops) const
+WPXString ParagraphStyleManager::getKey(WPXPropertyList const xPropList, 
WPXPropertyListVector const tabStops) const
 {
 WPXString sKey = propListToStyleKey(xPropList);
 
 WPXString sTabStops;
 sTabStops.sprintf([num-tab-stops:%i], tabStops.count());
 WPXPropertyListVector::Iter i(tabStops);
-for (i.rewind(); i.next(); )
+for (i.rewind(); i.next();)
+{
 sTabStops.append(propListToStyleKey(i()));
+}
 sKey.append(sTabStops);
 
 return sKey;
 }
 
-WPXString ParagraphStyleManager::findOrAdd (const WPXPropertyList propList, 
const WPXPropertyListVector tabStops)
+WPXString ParagraphStyleManager::findOrAdd(WPXPropertyList const propList, 
WPXPropertyListVector const tabStops)
 {
 WPXString hashKey = getKey(propList, tabStops);
 std::mapWPXString, ParagraphStyle *, ltstr::const_iterator iter = 
mHash.find(hashKey);
@@ -226,7 +228,8 @@ WPXString ParagraphStyleManager::findOrAdd (const 
WPXPropertyList propList, con
 
 WPXString sName;
 sName.sprintf(S%i, mHash.size());
-ParagraphStyle *pStyle = new ParagraphStyle(propList, tabStops, sName);
+ParagraphStyle *pStyle =
+new ParagraphStyle(propList, tabStops, sName);
 mHash[hashKey] = pStyle;
 return sName;
 }
@@ -235,7 +238,9 @@ void SpanStyleManager::clean()
 {
 for (std::mapWPXString, SpanStyle *, ltstr::iterator iter = 
mHash.begin();
 iter != mHash.end(); ++iter)
+{
 delete(iter-second);
+}
 mHash.clear();
 }
 
@@ -243,10 +248,12 @@ void SpanStyleManager::write(OdfDocumentHandler 
*pHandler) const
 {
 for (std::mapWPXString, SpanStyle *, ltstr::const_iterator iter = 
mHash.begin();
 iter != mHash.end(); ++iter)
-

[Libreoffice-commits] .: 3 commits - configmgr/source instsetoo_native/util scp2/source solenv/bin

2011-10-27 Thread Stephan Bergmann
 configmgr/source/xcuparser.cxx   |3 +-
 instsetoo_native/util/openoffice.lst |3 --
 scp2/source/ooo/directory_ooo.scp|   27 ---
 scp2/source/ooo/ure_into_ooo.scp |2 -
 solenv/bin/modules/installer/windows/property.pm |6 -
 5 files changed, 3 insertions(+), 38 deletions(-)

New commits:
commit cbaadc7b05974ee13795ac182afd1b3121708d60
Author: Stephan Bergmann sberg...@redhat.com
Date:   Thu Oct 27 10:24:24 2011 +0200

Undo basis/brand split: removed obsoleted BASISROOTNAME.

diff --git a/instsetoo_native/util/openoffice.lst 
b/instsetoo_native/util/openoffice.lst
index 35c927d..c9c0e20 100644
--- a/instsetoo_native/util/openoffice.lst
+++ b/instsetoo_native/util/openoffice.lst
@@ -8,7 +8,6 @@ Globals
OOOPACKAGEVERSION 3.5.0
UREPACKAGEVERSION 3.5.0
URELAYERVERSION 1
-   BASISROOTNAME LibreOffice
UNIXBASISROOTNAME libreoffice3.5
SERVICETAG_PRODUCTNAME LibreOffice 3.5
SERVICETAG_PRODUCTVERSION 3.5
@@ -186,7 +185,6 @@ LibreOffice_Dev
PRODUCTEXTENSION 
LONG_PRODUCTEXTENSION 
SHORT_PRODUCTEXTENSION alpha0
-   BASISROOTNAME LibO-dev
UNIXBASISROOTNAME lo-dev
 POSTVERSIONEXTENSION
 POSTVERSIONEXTENSIONUNIX
@@ -346,7 +344,6 @@ LibreOffice_Dev_SDK
 PRODUCTEXTENSION
 LONG_PRODUCTEXTENSION
 SHORT_PRODUCTEXTENSION alpha0
-BASISROOTNAME LibO-dev
 UNIXBASISROOTNAME lo-dev
 POSTVERSIONEXTENSION SDK
 POSTVERSIONEXTENSIONUNIX sdk
diff --git a/solenv/bin/modules/installer/windows/property.pm 
b/solenv/bin/modules/installer/windows/property.pm
index 7a2bc51..110271b 100644
--- a/solenv/bin/modules/installer/windows/property.pm
+++ b/solenv/bin/modules/installer/windows/property.pm
@@ -298,12 +298,6 @@ sub set_important_properties
 push(@{$propertyfile}, $onepropertyline);
 }
 
-if ( $allvariables-{'BASISROOTNAME'} )
-{
-my $onepropertyline = BASISROOTNAME . \t . 
$allvariables-{'BASISROOTNAME'} . \n;
-push(@{$propertyfile}, $onepropertyline);
-}
-
 if ( $allvariables-{'EXCLUDE_FROM_REBASE'} )
 {
 my $onepropertyline =  EXCLUDE_FROM_REBASE . \t . 
$allvariables-{'EXCLUDE_FROM_REBASE'} . \n;
commit 977506ef8f19e9c2c719547537872df64f8c56d3
Author: Stephan Bergmann sberg...@redhat.com
Date:   Thu Oct 27 10:23:52 2011 +0200

Undo basis/brand split: removed obsoleted basis directories.

diff --git a/scp2/source/ooo/directory_ooo.scp 
b/scp2/source/ooo/directory_ooo.scp
index 9ee91e9..8c52897 100644
--- a/scp2/source/ooo/directory_ooo.scp
+++ b/scp2/source/ooo/directory_ooo.scp
@@ -69,33 +69,6 @@ Directory 
gid_Dir_Bundle_Contents_Library_Spotlight_Bundle_Contents
 End
 #endif
 
-#ifndef MACOSX
-Directory gid_Dir_Ooo_Openofficeorg
-ParentID = PREDEFINED_PROGDIR;
-  #ifdef WNT
-HostName = ${BASISROOTNAME};
-  #else
-HostName = .;
-  #endif
-End
-#endif
-
-#ifndef MACOSX
-Directory gid_Dir_Ooo_Basis
-  #ifdef WNT
-ParentID = gid_Dir_Brand_Root;
-  #else
-ParentID = gid_Dir_Ooo_Openofficeorg;
-  #endif
-  #ifdef WNT
-HostName = Basis;
-  #else
-HostName = basis${OOOBASEVERSION};
-  #endif
-Styles = (BASISDIRECTORY, CREATE);
-End
-#endif
-
 #if defined MACOSX
 Unixlink gid_Unixlink_Applications
 BIN_FILE_BODY;
diff --git a/scp2/source/ooo/ure_into_ooo.scp b/scp2/source/ooo/ure_into_ooo.scp
index a67a508..c2dd9bc 100644
--- a/scp2/source/ooo/ure_into_ooo.scp
+++ b/scp2/source/ooo/ure_into_ooo.scp
@@ -32,7 +32,7 @@ Directory gid_Dir_Common_Ure
   #ifdef WNT
 ParentID = gid_Dir_Brand_Root;
   #else
-ParentID = gid_Dir_Ooo_Openofficeorg;
+ParentID = PREDEFINED_PROGDIR;
   #endif
   #ifdef WNT
 HostName = URE;
commit 9d9f9939bd1bd0f599f4461c30b6433aa92cb101
Author: Stephan Bergmann sberg...@redhat.com
Date:   Thu Oct 27 08:33:55 2011 +0200

Fixed previous configmgr layer numbering fix.

diff --git a/configmgr/source/xcuparser.cxx b/configmgr/source/xcuparser.cxx
index 4746bcf..7d5a2a7 100644
--- a/configmgr/source/xcuparser.cxx
+++ b/configmgr/source/xcuparser.cxx
@@ -1109,7 +1109,8 @@ void XcuParser::handleSetNode(xmlreader::XmlReader  
reader, SetNode * set) {
 bool known = i != set-getMembers().end();
 if (known  !state_.top().locked 
 finalizedLayer = valueParser_.getLayer() 
-(!mandatory || mandatoryLayer  valueParser_.getLayer()))
+(mandatoryLayer == Data::NO_LAYER ||
+ mandatoryLayer  valueParser_.getLayer()))
 {
 set-getMembers().erase(i);
 }
___
Libreoffice-commits 

[Libreoffice-commits] .: vcl/unx

2011-10-27 Thread Michael Meeks
 vcl/unx/gtk/window/gtkframe.cxx |7 ++-
 1 file changed, 2 insertions(+), 5 deletions(-)

New commits:
commit 71c5eb4c41fe4f36f975950cbb616796d9d7bfe5
Author: Michael Meeks michael.me...@suse.com
Date:   Thu Oct 27 10:38:12 2011 +0100

gtk3: disable signalDraw for gtk2 case to avoid cairo build issues

diff --git a/vcl/unx/gtk/window/gtkframe.cxx b/vcl/unx/gtk/window/gtkframe.cxx
index 87d1f49..8cf6cd7 100644
--- a/vcl/unx/gtk/window/gtkframe.cxx
+++ b/vcl/unx/gtk/window/gtkframe.cxx
@@ -3118,7 +3118,6 @@ void GtkSalFrame::renderArea( cairo_t *cr, 
cairo_rectangle_t *area )
 cairo_restore( cr );
 }
 }
-#endif
 
 gboolean GtkSalFrame::signalDraw( GtkWidget*, cairo_t *cr, gpointer frame )
 {
@@ -3132,11 +3131,9 @@ gboolean GtkSalFrame::signalDraw( GtkWidget*, cairo_t 
*cr, gpointer frame )
 if (debugQueuePureRedraw  0)
 {
 debugQueuePureRedraw--;
-#if GTK_CHECK_VERSION(3,0,0)
 fprintf (stderr, skip signalDraw for debug %d\n, 
debugQueuePureRedraw);
 cairo_rectangle_t rect = { x1, y1, x2 - x1, y2 - y1 };
 pThis-renderArea( cr, rect );
- #endif
 return FALSE;
 }
 
@@ -3157,15 +3154,15 @@ gboolean GtkSalFrame::signalDraw( GtkWidget*, cairo_t 
*cr, gpointer frame )
 struct SalPaintEvent aEvent( rect.x, rect.y, rect.width, rect.height );
 aEvent.mbImmediateUpdate = true;
 pThis-CallCallback( SALEVENT_PAINT, aEvent );
-#if GTK_CHECK_VERSION(3,0,0)
 pThis-renderArea( cr, rect );
-#endif
 }
 
 pThis-m_nDuringRender--;
 
 return FALSE;
 }
+#endif // GTK_CHECK_VERSION(3,0,0)
+
 
 gboolean GtkSalFrame::signalExpose( GtkWidget*, GdkEventExpose* pEvent, 
gpointer frame )
 {
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: vcl/headless vcl/inc

2011-10-27 Thread Michael Meeks
 vcl/headless/svpgdi.cxx |   82 +---
 vcl/headless/svptext.cxx|7 ++-
 vcl/inc/headless/svpgdi.hxx |4 +-
 3 files changed, 55 insertions(+), 38 deletions(-)

New commits:
commit d9d82ffc6b16051f002e297109509488972a9c92
Author: Michael Meeks michael.me...@suse.com
Date:   Thu Oct 27 11:41:34 2011 +0100

headless: cleanup degenerate clipping case to not render or warn.

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 439cb1e..2a086b3 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -196,13 +196,16 @@ SvpSalGraphics::ClipUndoHandle::~ClipUndoHandle()
 
 // setup a clip rectangle -only- iff we have to; if aRange
 // is entirely contained inside an existing clip frame, we
-// will avoid setting up the clip bitmap.
-SvpSalGraphics::ClipUndoHandle SvpSalGraphics::ensureClipFor( const 
basegfx::B2IRange aRange )
+// will avoid setting up the clip bitmap. Similarly if the
+// range doesn't appear at all we return true to avoid
+// rendering
+bool SvpSalGraphics::isClippedSetup( const basegfx::B2IRange aRange, 
SvpSalGraphics::ClipUndoHandle rUndo )
 {
-ClipUndoHandle aRet(this);
+if( m_bClipSetup )
+return false;
 
-if (m_bClipSetup)
-return aRet;
+if( m_aClipRegion.IsEmpty() ) // no clipping
+return false;
 
 // fprintf( stderr, ensureClipFor: %d, %d %dx%d\n,
 // aRange.getMinX(), aRange.getMinY(),
@@ -226,34 +229,32 @@ SvpSalGraphics::ClipUndoHandle 
SvpSalGraphics::ensureClipFor( const basegfx::B2I
 }
 m_aClipRegion.EndEnumRects (aHnd);
 
-if( nHit == 0 )
+if( nHit == 0 ) // rendering outside any clipping region
 {
-// degenerate case - we're all clipped ... hmm.
-#if defined( UNX )
-fprintf (stderr, FIXME: denegerate case detected ...\n);
-#endif
+//fprintf (stderr, denegerate case detected ...\n);
+return true;
 }
-else if( nHit == 1 )
+else if( nHit == 1 ) // common path: rendering against just one clipping 
region
 {
-if( aIterRect.IsInside( aRect ) )
+if( aHitRect.IsInside( aRect ) )
 {
-//fprintf (stderr,  is inside ! avoid deeper clip ...\n);
-return aRet;
+//fprintf (stderr,  is inside ! avoid deeper clip ...\n);
+return false;
 }
-//fprintf (stderr,  operation only overlaps with a single clip 
zone\n );
-aRet.m_aDevice = m_aDevice;
+//fprintf (stderr,  operation only overlaps with a single clip zone\n );
+rUndo.m_aDevice = m_aDevice;
 m_aDevice = basebmp::subsetBitmapDevice( m_aOrigDevice,
  basegfx::B2IRange 
(aHitRect.Left(),
 
aHitRect.Top(),
 
aHitRect.Right(),
 
aHitRect.Bottom()) );
-return aRet;
+return false;
 }
-// else
-//fprintf (stderr, URK: complex  slow clipping case\n );
+//fprintf (stderr, URK: complex  slow clipping case\n );
+// horribly slow  complicated case ...
 
 ensureClip();
-return aRet;
+return false;
 }
 
 
@@ -534,8 +535,9 @@ void SvpSalGraphics::copyArea( long nDestX,
 B2IRange aDestRect( nDestX, nDestY, nDestX+nSrcWidth, nDestY+nSrcHeight );
 // fprintf( stderr, copyArea %ld pixels - clip region %d\n,
 // (long)(nSrcWidth * nSrcHeight), m_aClipMap.get() != NULL );
-SvpSalGraphics::ClipUndoHandle aUndo = ensureClipFor( aDestRect );
-m_aDevice-drawBitmap( m_aOrigDevice, aSrcRect, aDestRect, DrawMode_PAINT, 
m_aClipMap );
+SvpSalGraphics::ClipUndoHandle aUndo( this );
+if( !isClippedSetup( aDestRect, aUndo ) )
+m_aDevice-drawBitmap( m_aOrigDevice, aSrcRect, aDestRect, 
DrawMode_PAINT, m_aClipMap );
 dbgOut( m_aDevice );
 }
 
@@ -550,8 +552,10 @@ void SvpSalGraphics::copyBits( const SalTwoRect* pPosAry,
 B2IRange aDestRect( pPosAry-mnDestX, pPosAry-mnDestY,
 pPosAry-mnDestX+pPosAry-mnDestWidth,
 pPosAry-mnDestY+pPosAry-mnDestHeight );
-SvpSalGraphics::ClipUndoHandle aUndo = ensureClipFor( aDestRect );
-m_aDevice-drawBitmap( pSrc-m_aOrigDevice, aSrcRect, aDestRect, 
DrawMode_PAINT, m_aClipMap );
+
+SvpSalGraphics::ClipUndoHandle aUndo( this );
+if( !isClippedSetup( aDestRect, aUndo ) )
+m_aDevice-drawBitmap( pSrc-m_aOrigDevice, aSrcRect, aDestRect, 
DrawMode_PAINT, m_aClipMap );
 dbgOut( m_aDevice );
 }
 
@@ -565,8 +569,10 @@ void SvpSalGraphics::drawBitmap( const SalTwoRect* pPosAry,
 B2IRange aDestRect( pPosAry-mnDestX, pPosAry-mnDestY,
 pPosAry-mnDestX+pPosAry-mnDestWidth,
 pPosAry-mnDestY+pPosAry-mnDestHeight );
-SvpSalGraphics::ClipUndoHandle aUndo = 

[Libreoffice-commits] .: 3 commits - svtools/source unusedcode.easy vcl/generic vcl/inc vcl/source

2011-10-27 Thread Caolán McNamara
 svtools/source/misc/sampletext.cxx |5 +-
 unusedcode.easy|   24 +
 vcl/generic/fontmanager/fontconfig.cxx |   18 -
 vcl/generic/fontmanager/fontsubst.cxx  |6 ++-
 vcl/generic/glyphs/glyphcache.cxx  |7 +++
 vcl/inc/outfont.hxx|   19 ++
 vcl/inc/vcl/fontmanager.hxx|3 +
 vcl/source/gdi/outdev3.cxx |   60 ++---
 8 files changed, 116 insertions(+), 26 deletions(-)

New commits:
commit c17aeee2d97fdc5ff941aae66dd01d6a58386f89
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Oct 27 12:48:42 2011 +0100

probably better Japanese longer text preview

diff --git a/svtools/source/misc/sampletext.cxx 
b/svtools/source/misc/sampletext.cxx
index 33a49c6..7c2be7b 100644
--- a/svtools/source/misc/sampletext.cxx
+++ b/svtools/source/misc/sampletext.cxx
@@ -449,10 +449,9 @@ rtl::OUString makeRepresentativeTextForScript(UScriptCode 
eScript)
 }
 case USCRIPT_JAPANESE:
 {
-//Iroha
+//'Beautiful Japanese'
 const sal_Unicode aJa[] = {
-0x8272, 0x306F, 0x5302, 0x3078, 0x3069, 0x0020, 0x6563,
-0x308A, 0x306C, 0x308B, 0x3092
+0x7F8E, 0x3057, 0x3044, 0x65E5, 0x672C, 0x8A9E
 };
 sSampleText = rtl::OUString(aJa, SAL_N_ELEMENTS(aJa));
 break;
commit 5eac2ffaa08d4a9bb251491bfdbca15281c3a21b
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Oct 27 12:48:26 2011 +0100

update unused list

diff --git a/unusedcode.easy b/unusedcode.easy
index db7aeea..b153d42 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -199,6 +199,9 @@ Graphic::StartAnimation(OutputDevice*, Point const, long, 
OutputDevice*)
 Graphic::WriteEmbedded(SvStream)
 GraphicReader::IsPreviewModeEnabled() const
 GroupTable::SkipCurrentGroup()
+GtkSalFrame::popIgnoreDamage()
+GtkSalFrame::pushIgnoreDamage()
+GtkSalFrame::signalDraw(_GtkWidget*, _cairo*, void*)
 HTMLControls::Insert(HTMLControl const*, unsigned short)
 HTMLControls::Insert(HTMLControl const**, unsigned short)
 HTMLControls::Insert(HTMLControls const*, unsigned short, unsigned short)
@@ -367,6 +370,7 @@ SVGExport::pushClip(basegfx::B2DPolyPolygon const)
 SalColormap::SalColormap(BitmapPalette const)
 SalColormap::SetPalette(BitmapPalette const)
 SalDisplay::IsLocal()
+SalGraphics::AddDevFontSubstitute(OutputDevice*, String const, String const, 
unsigned short)
 SalGraphics::DrawBitmap(SalTwoRect const*, SalBitmap const, unsigned int, 
OutputDevice const*)
 SalGraphics::drawAlphaBitmap(SalTwoRect const, SalBitmap const, SalBitmap 
const)
 SalGraphics::drawPolyLine(basegfx::B2DPolygon const, double, 
basegfx::B2DVector const, basegfx::B2DLineJoin)
@@ -1454,6 +1458,8 @@ _ZSortFlys::Remove(_ZSortFly const, unsigned short)
 _ZSortFlys_SAR::Replace(_ZSortFly const, unsigned short)
 _ZSortFlys_SAR::Replace(_ZSortFly const*, unsigned short, unsigned short)
 _ZSortFlys_SAR::_ForEach(unsigned short, unsigned short, unsigned char 
(*)(_ZSortFly const, void*), void*)
+basebmp::BitmapDevice::getPaletteEntryCount() const
+basebmp::BitmapDevice::getPixelData(basegfx::B2IPoint const)
 basebmp::debugDump(boost::shared_ptrbasebmp::BitmapDevice const, 
std::basic_ostreamchar, std::char_traitschar )
 basegfx::B1DRange::B1DRange(basegfx::B1IRange const)
 basegfx::B2DCubicBezier::B2DCubicBezier(basegfx::B2DPoint const, 
basegfx::B2DPoint const)
@@ -2380,11 +2386,15 @@ 
layoutimpl::getParent(com::sun::star::uno::Referencecom::sun::star::uno::XInter
 
layoutimpl::prophlp::getProperty(com::sun::star::uno::Referencecom::sun::star::uno::XInterface
 const, rtl::OUString const)
 libcmis::SessionFactory::getRepositories(std::__debug::mapint, 
std::basic_stringchar, std::char_traitschar, std::allocatorchar , 
std::lessint, std::allocatorstd::pairint const, std::basic_stringchar, 
std::char_traitschar, std::allocatorchar)
 libvisio::VSDXCharacterList::getElement(unsigned int)
+libvisio::VSDXContentCollector::charStyleFromStyleSheet(unsigned int)
+libvisio::VSDXContentCollector::paraStyleFromStyleSheet(unsigned int)
+libvisio::VSDXContentCollector::textBlockStyleFromStyleSheet(unsigned int)
 libvisio::VSDXOutputElementList::addEllipse(WPXPropertyList const)
 libvisio::VSDXOutputElementList::addEndLayer()
 libvisio::VSDXOutputElementList::addStartLayer(WPXPropertyList const)
 libvisio::VSDXOutputElementList::clear()
 libvisio::VSDXPage::VSDXPage(double, double, unsigned int, unsigned int, 
libvisio::VSDXOutputElementList const)
+libvisio::VSDXParagraphList::getElement(unsigned int)
 libvisio::VisioDocument::generateSVG(WPXInputStream*, WPXString)
 libwpg::WPGraphics::generateSVG(unsigned char const*, unsigned long, 
WPXString, libwpg::WPGFileFormat)
 libwpg::WPGraphics::parse(unsigned char const*, unsigned long, 
libwpg::WPGPaintInterface*, libwpg::WPGFileFormat)
@@ -2604,14 +2614,28 @@ sd::ViewShellBase::RegisterFactory(unsigned 

[Libreoffice-commits] .: writerperfect/source

2011-10-27 Thread Caolán McNamara
 writerperfect/source/filter/OdtGenerator.cxx |6 --
 1 file changed, 6 deletions(-)

New commits:
commit c6e86f8b7af28d990b9539903560554fc130775e
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Oct 27 13:54:19 2011 +0100

fSectionSpaceAfter is unused

diff --git a/writerperfect/source/filter/OdtGenerator.cxx 
b/writerperfect/source/filter/OdtGenerator.cxx
index b597241..9533803 100644
--- a/writerperfect/source/filter/OdtGenerator.cxx
+++ b/writerperfect/source/filter/OdtGenerator.cxx
@@ -561,16 +561,10 @@ void OdtGenerator::openSection(const WPXPropertyList 
propList, const WPXPropert
 int iNumColumns = columns.count();
 double fSectionMarginLeft = 0.0;
 double fSectionMarginRight = 0.0;
-double fSectionSpaceAfter = 0.0;
 if (propList[fo:margin-left])
 fSectionMarginLeft = propList[fo:margin-left]-getDouble();
 if (propList[fo:margin-right])
 fSectionMarginRight = propList[fo:margin-right]-getDouble();
-if (propList[fo:margin-bottom])
-fSectionSpaceAfter = propList[fo:margin-bottom]-getDouble();
-else if (propList[libwpd:margin-bottom])
-fSectionSpaceAfter =  propList[libwpd:margin-bottom]-getDouble();
-
 
 if (iNumColumns  1 || fSectionMarginLeft != 0 || fSectionMarginRight != 0)
 {
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: bin/lo-pack-sources

2011-10-27 Thread Miklos Vajna
 bin/lo-pack-sources |   60 
 1 file changed, 60 deletions(-)

New commits:
commit a32662e141e861f2a4960e7e1c21ee3b70b0e57d
Author: Miklos Vajna vmik...@frugalware.org
Date:   Thu Oct 27 15:58:27 2011 +0200

lo-pack-sources: remove unused functions

diff --git a/bin/lo-pack-sources b/bin/lo-pack-sources
index cb4372f..1a24baf 100755
--- a/bin/lo-pack-sources
+++ b/bin/lo-pack-sources
@@ -107,24 +107,6 @@ sub get_release_version()
 }
 
 
-sub generate_lo_build_blacklist($)
-{
-my ($blacklist) = @_;
-
-# FIXME: crazy hacks to copy libreoffice-build without too big and useless 
subdirectories and to show a progress
-open (BLACKLIST, $blacklist) || die Can't open $blacklist: $!\n;
-
-# IMPORTANT: Do not remove .git directories because git log is called 
during make dist
-print BLACKLIST */.svn\n;
-print BLACKLIST rawbuild/*\n;
-print BLACKLIST build/*\n;
-print BLACKLIST clone/*\n;
-print BLACKLIST src/libreoffice-*.tar.bz2\n;
-print BLACKLIST src/-*\n;
-
-close BLACKLIST;
-}
-
 sub generate_lo_piece_blacklist($)
 {
 my ($blacklist) = @_;
@@ -177,23 +159,6 @@ sub copy_dir_filter_and_show_progress($$$)
 print \n;
 }
 
-# copy the local version of libreoffice-build into a tmp directory
-# omit the .svn subdirectories
-sub copy_lo_build_to_tempdir($)
-{
-my ($lo_build_dir) = @_;
-
-my $tempdir = tempdir( 'libreoffice-XX', DIR = File::Spec-tmpdir );
-my $blacklist = $tempdir/libreoffice-build.copy.blacklist;
-
-generate_lo_build_blacklist($blacklist);
-copy_dir_filter_and_show_progress($lo_build_dir, $tempdir, $blacklist);
-
-unlink $blacklist;
-
-return $tempdir;
-}
-
 # copy the piece lo source directory into a tmp directory
 # omit the .git subdirectories
 sub copy_lo_piece_to_tempdir($$$)
@@ -250,17 +215,6 @@ sub generate_version_file($$$)
 close VERFILE;
 }
 
-sub release_lo_build($)
-{
-my ($lo_build_dir) = @_;
-
-print Creating libreoffice-build tarball...\n;
-system (cd $lo_build_dir   .
-./autogen.sh --with-distro=GoOoLinux   .
-make dist   .
-cd - /dev/null 21)  die Error: releasing failed: $!\n;
-}
-
 sub release_lo_piece($$)
 {
 my ($lo_piece_dir, $piece_tarball_name) = @_;
@@ -415,18 +369,6 @@ sub check_if_already_released($$)
 }
 }
 
-sub prepare_lo_build_tarball()
-{
-my ($lo_build_dir, $release_version, $md5, $lo_build_tarball_name) = @_;
-
-my $temp_dir = copy_lo_build_to_tempdir($lo_build_dir);
-set_config_version($temp_dir, $release_version);
-release_lo_build($temp_dir);
-generate_md5($temp_dir, $lo_build_tarball_name, .tar.gz) if (defined 
$md5);
-
-return $temp_dir;
-}
-
 sub prepare_lo_piece_tarball($)
 {
 my ($piece_dir, $release_version, $md5, $piece, $piece_tarball_name) = @_;
@@ -461,8 +403,6 @@ sub generate_tarballs($)
 my ($source_dir, $releases_archive_dir, $release_version, $md5, 
$lo_build_tarball_name, $p_piece_tarball_name, $pack_lo_build, $pack_lo_pieces, 
$is_lo_build_dir) = @_;
 
 if ($pack_lo_build) {
-#my $temp_dir=prepare_lo_build_tarball($source_dir, $release_version, 
$md5, $lo_build_tarball_name);
-#move_tarball_to_final_location($temp_dir, $releases_archive_dir, 
$md5, $lo_build_tarball_name.tar.gz);
 my $temp_dir=prepare_lo_piece_tarball($source_dir, $release_version, 
$md5, bootstrap, $lo_build_tarball_name);
 move_tarball_to_final_location($temp_dir, $releases_archive_dir, $md5, 
$lo_build_tarball_name.tar.bz2);
 }
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: vcl/unx

2011-10-27 Thread Caolán McNamara
 vcl/unx/generic/app/saldisp.cxx |   38 --
 1 file changed, 16 insertions(+), 22 deletions(-)

New commits:
commit 8619d58ecdaf181bd1a2a65c371545d7d9f80c14
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Oct 27 15:20:14 2011 +0100

there is no USE_XINERAMA define, but USE_XINERAMA_XSUN/USE_XINERAMA_XORG

diff --git a/vcl/unx/generic/app/saldisp.cxx b/vcl/unx/generic/app/saldisp.cxx
index 74c4ef7..a26027d 100644
--- a/vcl/unx/generic/app/saldisp.cxx
+++ b/vcl/unx/generic/app/saldisp.cxx
@@ -58,7 +58,6 @@
 #include X11/XKBlib.h
 #include X11/Xatom.h
 
-#ifdef USE_XINERAMA
 #ifdef USE_XINERAMA_XORG
 #include X11/extensions/Xinerama.h
 #elif defined USE_XINERAMA_XSUN
@@ -69,9 +68,6 @@ Status XineramaGetInfo(Display*, int, XRectangle*, unsigned 
char*, int*);
 #else
 #include X11/extensions/xinerama.h
 #endif
-#else
-#error USE_XINERAMA but no xinerama version
-#endif
 #endif
 
 #include tools/postx.h
@@ -2455,7 +2451,6 @@ void SalDisplay::InitXinerama()
 m_bXinerama = false;
 return; // multiple screens mean no xinerama
 }
-#ifdef USE_XINERAMA
 #if defined(USE_XINERAMA_XSUN)
 int nFramebuffers = 1;
 if( XineramaGetState( pDisp_, m_nDefaultScreen ) )
@@ -2480,28 +2475,28 @@ void SalDisplay::InitXinerama()
 }
 }
 #elif defined(USE_XINERAMA_XORG)
-if( XineramaIsActive( pDisp_ ) )
-{
-int nFramebuffers = 1;
-XineramaScreenInfo* pScreens = XineramaQueryScreens( pDisp_, 
nFramebuffers );
-if( pScreens )
+if( XineramaIsActive( pDisp_ ) )
 {
-if( nFramebuffers  1 )
+int nFramebuffers = 1;
+XineramaScreenInfo* pScreens = XineramaQueryScreens( pDisp_, 
nFramebuffers );
+if( pScreens )
 {
-m_aXineramaScreens = std::vectorRectangle();
-m_aXineramaScreenIndexMap = std::vectorint(nFramebuffers);
-for( int i = 0; i  nFramebuffers; i++ )
+if( nFramebuffers  1 )
 {
-addXineramaScreenUnique( i, pScreens[i].x_org,
- pScreens[i].y_org,
- pScreens[i].width,
- pScreens[i].height );
+m_aXineramaScreens = std::vectorRectangle();
+m_aXineramaScreenIndexMap = std::vectorint(nFramebuffers);
+for( int i = 0; i  nFramebuffers; i++ )
+{
+addXineramaScreenUnique( i, pScreens[i].x_org,
+ pScreens[i].y_org,
+ pScreens[i].width,
+ pScreens[i].height );
+}
+m_bXinerama = m_aXineramaScreens.size()  1;
 }
-m_bXinerama = m_aXineramaScreens.size()  1;
+XFree( pScreens );
 }
-XFree( pScreens );
 }
-}
 #endif
 #if OSL_DEBUG_LEVEL  1
 if( m_bXinerama )
@@ -2510,7 +2505,6 @@ if( XineramaIsActive( pDisp_ ) )
 fprintf( stderr, Xinerama screen: %ldx%ld+%ld+%ld\n, 
it-GetWidth(), it-GetHeight(), it-Left(), it-Top() );
 }
 #endif
-#endif // USE_XINERAMA
 }
 
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: scp2/source

2011-10-27 Thread Fridrich Strba
 scp2/source/ooo/file_font_ooo.scp |6 --
 1 file changed, 6 deletions(-)

New commits:
commit 06e64daff148d5a94913bfe88b0c454fb2bfb0d6
Author: Olivier Hallot olivier.hal...@alta.org.br
Date:   Thu Oct 27 11:27:27 2011 -0200

Remove restriction for Liberation fonts in Windows build

diff --git a/scp2/source/ooo/file_font_ooo.scp 
b/scp2/source/ooo/file_font_ooo.scp
index 55e1f0f..fef7b3b 100644
--- a/scp2/source/ooo/file_font_ooo.scp
+++ b/scp2/source/ooo/file_font_ooo.scp
@@ -91,33 +91,27 @@ STD_FONT_FILE( gid_File_Fnt_LibSansNarrow_BoldItalic, 
LiberationSansNarrow-BoldI
 
 // Liberation Mono
 #ifndef WITHOUT_FONTS 
-#ifndef WNT 
 STD_FONT_FILE( gid_File_Fnt_LiberationMono_Regular, 
LiberationMono-Regular.ttf, Liberation Mono Regular) 
 STD_FONT_FILE( gid_File_Fnt_LiberationMono_Bold, LiberationMono-Bold.ttf, 
Liberation Mono Bold) 
 STD_FONT_FILE( gid_File_Fnt_LiberationMono_Italic, LiberationMono-Italic.ttf, 
Liberation Mono Italic) 
 STD_FONT_FILE( gid_File_Fnt_LiberationMono_BoldItalic, 
LiberationMono-BoldItalic.ttf, Liberation Mono Bold Italic) 
 #endif
-#endif
 
 // Liberation Sans
 #ifndef WITHOUT_FONTS 
-#ifndef WNT 
 STD_FONT_FILE( gid_File_Fnt_LiberationSans_Regular, 
LiberationSans-Regular.ttf, Liberation Sans Regular) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSans_Italic, LiberationSans-Italic.ttf, 
Liberation Sans Italic) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSans_Bold, LiberationSans-Bold.ttf, 
Liberation Serif Bold) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSans_BoldItalic, 
LiberationSans-BoldItalic.ttf, Liberation Sans Bold Italic) 
 #endif
-#endif
 
 // Liberation Serif
 #ifndef WITHOUT_FONTS 
-#ifndef WNT 
 STD_FONT_FILE( gid_File_Fnt_LiberationSerif_Regular, 
LiberationSerif-Regular.ttf, Liberation Serif Regular) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSerif_Bold, LiberationSerif-Bold.ttf, 
Liberation Serif Bold) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSerif_Italic, 
LiberationSerif-Italic.ttf, Liberation Serif Italic) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSerif_BoldItalic, 
LiberationSerif-BoldItalic.ttf, Liberation Serif Bold Italic) 
 #endif
-#endif
 
 // Gentium fonts
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: basic/source

2011-10-27 Thread David Tardon
 basic/source/uno/namecont.cxx |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 8ff172492431d77f4a09a36bec51b8c6361c1854
Author: David Tardon dtar...@redhat.com
Date:   Thu Oct 27 15:54:28 2011 +0200

these are files--no trailing /

diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index c0733a3..988c5c9 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -762,7 +762,7 @@ sal_Bool SfxLibraryContainer::init_Impl(
 pLibInfoInetObj = new INetURLObject( 
String(maLibraryPath).GetToken(0) );
 else
 pLibInfoInetObj = new INetURLObject( 
String(maLibraryPath).GetToken(1) );
-pLibInfoInetObj-insertName( maInfoFileName, sal_True, 
INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+pLibInfoInetObj-insertName( maInfoFileName, sal_False, 
INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
 pLibInfoInetObj-setExtension( OUString( 
RTL_CONSTASCII_USTRINGPARAM(xlc) ) );
 aFileName = pLibInfoInetObj-GetMainURL( 
INetURLObject::NO_DECODE );
 }
@@ -786,7 +786,7 @@ sal_Bool SfxLibraryContainer::init_Impl(
 if( !xInput.is()  nPass == 0 )
 {
 INetURLObject aLibInfoInetObj( 
String(maLibraryPath).GetToken(1) );
-aLibInfoInetObj.insertName( maOldInfoFileName, sal_True, 
INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+aLibInfoInetObj.insertName( maOldInfoFileName, sal_False, 
INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
 aLibInfoInetObj.setExtension( OUString( 
RTL_CONSTASCII_USTRINGPARAM(xli) ) );
 aFileName = aLibInfoInetObj.GetMainURL( 
INetURLObject::NO_DECODE );
 
@@ -1105,7 +1105,7 @@ sal_Bool SfxLibraryContainer::init_Impl(
 }
 
 INetURLObject aPrevUserBasicLibInfoInetObj( aUserBasicInetObj 
);
-aPrevUserBasicLibInfoInetObj.insertName( maInfoFileName, 
sal_True, INetURLObject::LAST_SEGMENT,
+aPrevUserBasicLibInfoInetObj.insertName( maInfoFileName, 
sal_False, INetURLObject::LAST_SEGMENT,
 sal_True, 
INetURLObject::ENCODE_ALL );
 aPrevUserBasicLibInfoInetObj.setExtension( OUString( 
RTL_CONSTASCII_USTRINGPARAM(xlc) ) );
 OUString aLibInfoFileName = 
aPrevUserBasicLibInfoInetObj.GetMainURL( INetURLObject::NO_DECODE );
@@ -1302,7 +1302,7 @@ void SfxLibraryContainer::checkStorageURL( const 
OUString aSourceURL,
 {
 // URL to library folder
 aStorageURL = aExpandedSourceURL;
-aInetObj.insertName( maInfoFileName, sal_True, 
INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+aInetObj.insertName( maInfoFileName, sal_False, 
INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
 aInetObj.setExtension( OUString( RTL_CONSTASCII_USTRINGPARAM(xlb) ) 
);
 aLibInfoFileURL = aInetObj.GetMainURL( INetURLObject::NO_DECODE );
 }
@@ -1609,7 +1609,7 @@ void SfxLibraryContainer::implStoreLibraryIndexFile( 
SfxLibrary* pLib,
 if( !xSFI-isFolder( aLibDirPath ) )
 xSFI-createFolder( aLibDirPath );
 
-aInetObj.insertName( maInfoFileName, sal_True, 
INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+aInetObj.insertName( maInfoFileName, sal_False, 
INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
 aInetObj.setExtension( OUString( 
RTL_CONSTASCII_USTRINGPARAM(xlb) ) );
 aLibInfoPath = aInetObj.GetMainURL( INetURLObject::NO_DECODE );
 }
@@ -2067,7 +2067,7 @@ void SfxLibraryContainer::storeLibraries_Impl( const 
uno::Reference embed::XSto
 {
 // Create Output stream
 INetURLObject aLibInfoInetObj( String(maLibraryPath).GetToken(1) );
-aLibInfoInetObj.insertName( maInfoFileName, sal_True, 
INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
+aLibInfoInetObj.insertName( maInfoFileName, sal_False, 
INetURLObject::LAST_SEGMENT, sal_True, INetURLObject::ENCODE_ALL );
 aLibInfoInetObj.setExtension( OUString( 
RTL_CONSTASCII_USTRINGPARAM(xlc) ) );
 String aLibInfoPath( aLibInfoInetObj.GetMainURL( 
INetURLObject::NO_DECODE ) );
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - bin/lo-pack-sources vcl/inc

2011-10-27 Thread Petr Mladek
 bin/lo-pack-sources  |   27 ++-
 vcl/inc/unx/gtk/gtkframe.hxx |3 ++-
 2 files changed, 16 insertions(+), 14 deletions(-)

New commits:
commit 4b32624c1890dd8ff146b00b0c1699d75f4a0513
Author: Petr Mladek pmla...@suse.cz
Date:   Thu Oct 27 17:08:35 2011 +0200

lo-pack-sources: update for the current list of repositories

diff --git a/bin/lo-pack-sources b/bin/lo-pack-sources
index 1a24baf..6a68e71 100755
--- a/bin/lo-pack-sources
+++ b/bin/lo-pack-sources
@@ -210,7 +210,7 @@ sub generate_version_file($$$)
 # FIXME: crazy hacks to copy libreoffice-build without too big and useless 
subdirectories and to show a progress
 open (VERFILE, $dir/$piece.ver) || die Can't open $dir/lo-$piece.ver: 
$!\n;
 
-print VERFILE lo_bootstrap_ver=$release_version\n;
+print VERFILE lo_core_ver=$release_version\n;
 
 close VERFILE;
 }
@@ -375,8 +375,8 @@ sub prepare_lo_piece_tarball($)
 
 my $temp_dir = copy_lo_piece_to_tempdir($piece_dir, $piece, 
$piece_tarball_name);
 generate_lo_piece_changelog($piece_dir, $temp_dir/$piece_tarball_name, 
$piece);
-run_autoreconf($temp_dir/$piece_tarball_name, $piece) if ($piece eq 
'bootstrap');
-generate_version_file($temp_dir/$piece_tarball_name, $piece, 
$release_version) if ($piece eq 'bootstrap');
+run_autoreconf($temp_dir/$piece_tarball_name, $piece) if ($piece eq 
'core');
+generate_version_file($temp_dir/$piece_tarball_name, $piece, 
$release_version) if ($piece eq 'core');
 release_lo_piece($temp_dir, $piece_tarball_name);
 generate_md5($temp_dir, $piece_tarball_name, .tar.bz2) if (defined $md5);
 
@@ -403,7 +403,7 @@ sub generate_tarballs($)
 my ($source_dir, $releases_archive_dir, $release_version, $md5, 
$lo_build_tarball_name, $p_piece_tarball_name, $pack_lo_build, $pack_lo_pieces, 
$is_lo_build_dir) = @_;
 
 if ($pack_lo_build) {
-my $temp_dir=prepare_lo_piece_tarball($source_dir, $release_version, 
$md5, bootstrap, $lo_build_tarball_name);
+my $temp_dir=prepare_lo_piece_tarball($source_dir, $release_version, 
$md5, core, $lo_build_tarball_name);
 move_tarball_to_final_location($temp_dir, $releases_archive_dir, $md5, 
$lo_build_tarball_name.tar.bz2);
 }
 
@@ -466,10 +466,7 @@ my $lo_build_tempdir;
 my $force;
 my $verbose=1;
 my $is_lo_build_dir=0;
-my @pieces=(artwork, base, calc, components,
-extensions, extras, filters, help, impress,
-libs-core, libs-extern, libs-extern-sys, libs-gui,
-postprocess, sdk, testing, translations, ure, writer);
+my @pieces=(binfilter, dictionaries, help, translations);
 my %piece_tarball_name;
 
 ###
@@ -523,12 +520,12 @@ unless ( -d $source_dir ) {
 die Error: is not a directory: $source_dir\n;
 }
 
-# check if it is a valid libreoffice-bootstrap directory
+# check if it is a valid libreoffice-core directory
 $is_lo_build_dir=1 if (-f $source_dir/autogen.sh  -f 
$source_dir/set_soenv.in);
 
-# all tarballs are generated from the libreoffice-bootstrap directory
+# all tarballs are generated from the libreoffice-core directory
 if (@pieces  1  $is_lo_build_dir == 0 ) {
-die Error: \$source_dir\ is not a valid libreoffice-bootstrap 
directory\n;
+die Error: \$source_dir\ is not a valid libreoffice-core directory\n;
 }
 
 # just a single piece tarball can be generated from piece directory; version 
must be explicitely set in this case
@@ -567,9 +564,13 @@ if ($is_lo_build_dir) {
 }
 
 # define tarball names
-$lo_build_tarball_name = libreoffice-bootstrap-$release_version;
+$lo_build_tarball_name = libreoffice-core-$release_version;
 foreach my $piece (@pieces) {
-$piece_tarball_name{$piece} = libreoffice-$piece-$release_version;
+if (-d $source_dir/clone/$piece) {
+$piece_tarball_name{$piece} = libreoffice-$piece-$release_version;
+} else {
+print Warning: $piece sources are not available - skipping\n;
+}
 }
 
 print Default version   : $config_version\n if ($verbose  defined 
$config_version);
commit a608d0664371c21c854e1f91aee2210a17641220
Author: Petr Mladek pmla...@suse.cz
Date:   Wed Oct 26 17:16:40 2011 +0200

renderArea is implemented only with GTK-3

fixes build on SLED10 with gtk-2.8 and cairo-1.0.2

diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx
index edd904e..e4cf0be 100644
--- a/vcl/inc/unx/gtk/gtkframe.hxx
+++ b/vcl/inc/unx/gtk/gtkframe.hxx
@@ -325,8 +325,9 @@ public:
 // only for gtk3 ...
 void pushIgnoreDamage();
 void popIgnoreDamage();
+#if GTK_CHECK_VERSION(3,0,0)
 void renderArea( cairo_t *cr, cairo_rectangle_t *src );
-
+#endif
 virtual ~GtkSalFrame();
 
 // SalGraphics or NULL, but two Graphics for all SalFrames
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sc/qa

2011-10-27 Thread Noel Power
 sc/qa/unit/macros-test.cxx |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d3c18a6436e5e27f9d229a3b80a25d61d599461f
Author: Noel Power noel.po...@novell.com
Date:   Thu Oct 27 16:46:45 2011 +0100

attempt to disable macro_test tests for macosx

diff --git a/sc/qa/unit/macros-test.cxx b/sc/qa/unit/macros-test.cxx
index a971d20..a58c92d 100644
--- a/sc/qa/unit/macros-test.cxx
+++ b/sc/qa/unit/macros-test.cxx
@@ -125,15 +125,15 @@ public:
 
 void testStarBasic();
 void testVba();
-
 CPPUNIT_TEST_SUITE(ScMacrosTest);
+#ifndef MACOSX
 //enable this test if you want to play with star basic macros in unit tests
 //works but does nothing useful yet
 CPPUNIT_TEST(testStarBasic);
 //enable if you want to hack vba support for unit tests
 //does not work, still problems during loading
 CPPUNIT_TEST(testVba);
-
+#endif
 
 CPPUNIT_TEST_SUITE_END();
 
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: binfilter/bf_svx

2011-10-27 Thread Norbert Thiebaud
 binfilter/bf_svx/util/bf_sfxwin.flt |1 -
 1 file changed, 1 deletion(-)

New commits:
commit 522e9fe9e46e52f4c7ac48858ee6cd82a2e0eb48
Author: Norbert Thiebaud nthieb...@gmail.com
Date:   Thu Oct 27 10:15:55 2011 -0500

remove unused SfxObjectVerbsControl class

diff --git a/binfilter/bf_svx/util/bf_sfxwin.flt 
b/binfilter/bf_svx/util/bf_sfxwin.flt
index 690014f..3517175 100644
--- a/binfilter/bf_svx/util/bf_sfxwin.flt
+++ b/binfilter/bf_svx/util/bf_sfxwin.flt
@@ -147,7 +147,6 @@ SfxNewHdl
 SfxObjectBarConfigPage
 SfxObjectBarListBox
 SfxObjectList
-SfxObjectVerbsControl
 SfxOfflineURLManager
 SfxPlugInFrame
 SfxPlugInObjectShell
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 2 commits - toolkit/source toolkit/workben

2011-10-27 Thread Julien Nabet
 toolkit/source/layout/core/import.cxx |2 +-
 toolkit/workben/layout/editor.cxx |5 -
 2 files changed, 5 insertions(+), 2 deletions(-)

New commits:
commit ffe9d3613ca2cbe54703a77d30dc62e25734a28f
Author: Julien Nabet serval2...@yahoo.fr
Date:   Thu Oct 27 22:46:39 2011 +0200

Trace one catch, add a return false in another one

diff --git a/toolkit/workben/layout/editor.cxx 
b/toolkit/workben/layout/editor.cxx
index ceee0fd..f46afb6 100644
--- a/toolkit/workben/layout/editor.cxx
+++ b/toolkit/workben/layout/editor.cxx
@@ -296,7 +296,9 @@ public:
 try {
 mxContainer-addChild( pChild-mxWidget );
 }
-catch( awt::MaxChildrenException ex ) {
+catch( awt::MaxChildrenException rEx) {
+fprintf (stderr, ERROR: MaxChildrenException: '%s'.\n,
+ rtl::OUStringToOString (rEx.Message, 
RTL_TEXTENCODING_UTF8).getStr());
 return false;
 }
 
@@ -331,6 +333,7 @@ public:
 } catch ( beans::UnknownPropertyException rEx ) {
 fprintf (stderr, ERROR: widget reports that it has a property it 
cannot return: '%s' this normally means that someone screwed up their 
PROPERTY_SET_INFO macro usage.\n,
  rtl::OUStringToOString (rEx.Message, 
RTL_TEXTENCODING_UTF8).getStr());
+return false;
 }
 }
 }
commit 95ed6bc10cadf3706548cb297cceb9eaab6ff05a
Author: Julien Nabet serval2...@yahoo.fr
Date:   Thu Oct 27 21:57:05 2011 +0200

C-Style casting replaced by C++ style

diff --git a/toolkit/source/layout/core/import.cxx 
b/toolkit/source/layout/core/import.cxx
index 5114ca5..fdc90de 100644
--- a/toolkit/source/layout/core/import.cxx
+++ b/toolkit/source/layout/core/import.cxx
@@ -77,7 +77,7 @@ SAL_THROW (())
 //DEBUG
 uno::Reference awt::XLayoutConstrains  xParent;
 if ( pParent )
-xParent = ((WidgetElement *) pParent)-mpWidget-getPeer();
+xParent = (static_castWidgetElement 
*(pParent))-mpWidget-getPeer();
 
 
 mpWidget = pImport-mrRoot.create( aId, name,
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: 3 commits - sfx2/source sw/source unusedcode.easy

2011-10-27 Thread Caolán McNamara
 sfx2/source/appl/appreg.cxx|1 +
 sw/source/filter/html/htmldraw.cxx |7 +++
 sw/source/filter/html/htmlfly.cxx  |   36 +---
 sw/source/filter/html/htmlforw.cxx |8 
 sw/source/filter/html/htmlplug.cxx |8 +++-
 sw/source/filter/html/wrthtml.hxx  |4 ++--
 unusedcode.easy|7 ---
 7 files changed, 34 insertions(+), 37 deletions(-)

New commits:
commit 3852a6f54880af8ed9161227baa80c7d4517
Author: Caolán McNamara caol...@redhat.com
Date:   Thu Oct 27 22:02:37 2011 +0100

ByteString-rtl::OString

diff --git a/sw/source/filter/html/htmldraw.cxx 
b/sw/source/filter/html/htmldraw.cxx
index 0c757e0..ca3695b 100644
--- a/sw/source/filter/html/htmldraw.cxx
+++ b/sw/source/filter/html/htmldraw.cxx
@@ -837,11 +837,10 @@ Writer OutHTML_DrawFrmFmtAsMarquee( Writer rWrt,
 rWrt.Strm()  sOut.makeStringAndClear().getStr();
 
 // und nun noch ALIGN, HSPACE und VSPACE
-ByteString aEndTags;
 sal_uInt32 nFrmFlags = HTML_FRMOPTS_MARQUEE;
 if( rHTMLWrt.IsHTMLMode( HTMLMODE_ABS_POS_DRAW ) )
 nFrmFlags |= HTML_FRMOPTS_MARQUEE_CSS1;
-rHTMLWrt.OutFrmFmtOptions( rFmt, aEmptyStr, aEndTags, nFrmFlags );
+rtl::OString aEndTags = rHTMLWrt.OutFrmFmtOptions( rFmt, aEmptyStr, 
nFrmFlags );
 if( rHTMLWrt.IsHTMLMode( HTMLMODE_ABS_POS_DRAW ) )
 rHTMLWrt.OutCSS1_FrmFmtOptions( rFmt, nFrmFlags, rSdrObject );
 
@@ -859,8 +858,8 @@ Writer OutHTML_DrawFrmFmtAsMarquee( Writer rWrt,
 
 HTMLOutFuncs::Out_AsciiTag( rWrt.Strm(), OOO_STRING_SVTOOLS_HTML_marquee, 
sal_False );
 
-if( aEndTags.Len() )
-rWrt.Strm()  aEndTags.GetBuffer();
+if( aEndTags.getLength() )
+rWrt.Strm()  aEndTags.getStr();
 
 return rWrt;
 }
diff --git a/sw/source/filter/html/htmlfly.cxx 
b/sw/source/filter/html/htmlfly.cxx
index c4e81e7..0ef3d6c 100644
--- a/sw/source/filter/html/htmlfly.cxx
+++ b/sw/source/filter/html/htmlfly.cxx
@@ -542,11 +542,12 @@ void SwHTMLWriter::OutFrmFmt( sal_uInt8 nMode, const 
SwFrmFmt rFrmFmt,
 }
 
 
-void SwHTMLWriter::OutFrmFmtOptions( const SwFrmFmt rFrmFmt,
+rtl::OString SwHTMLWriter::OutFrmFmtOptions( const SwFrmFmt rFrmFmt,
  const String rAlternateTxt,
- ByteString rEndTags,
- sal_uInt32 nFrmOpts )
+ sal_uInt32 nFrmOpts,
+ const rtl::OString rEndTags )
 {
+rtl::OString sRetEndTags;
 rtl::OStringBuffer sOut;
 const SfxPoolItem* pItem;
 const SfxItemSet rItemSet = rFrmFmt.GetAttrSet();
@@ -820,9 +821,10 @@ void SwHTMLWriter::OutFrmFmtOptions( const SwFrmFmt 
rFrmFmt,
 sOut.append('').append(OOO_STRING_SVTOOLS_HTML_linebreak).
 append(' ').append(OOO_STRING_SVTOOLS_HTML_O_clear).
 append('=').append(pStr).append('').append(rEndTags);
-rEndTags = sOut.makeStringAndClear().getStr();
+sRetEndTags = sOut.makeStringAndClear();
 }
 }
+return sRetEndTags;
 }
 
 
@@ -995,7 +997,7 @@ Writer OutHTML_Image( Writer rWrt, const SwFrmFmt 
rFrmFmt,
 
 // Attribute die ausserhelb der Grafik geschreiben werden muessen sammeln
 rtl::OStringBuffer sOut;
-ByteString aEndTags;
+rtl::OString aEndTags;
 
 // implizite Sprungmarke - A NAME=.../A...IMG ...
 if( pMarkType  rFrmFmt.GetName().Len() )
@@ -1168,7 +1170,7 @@ Writer OutHTML_Image( Writer rWrt, const SwFrmFmt 
rFrmFmt,
 }
 
 // ALT, ALIGN, WIDTH, HEIGHT, HSPACE, VSPACE
-rHTMLWrt.OutFrmFmtOptions( rFrmFmt, rAlternateTxt, aEndTags, nFrmOpts );
+aEndTags = rHTMLWrt.OutFrmFmtOptions( rFrmFmt, rAlternateTxt, nFrmOpts, 
aEndTags );
 if( rHTMLWrt.IsHTMLMode( HTMLMODE_ABS_POS_FLY ) )
 rHTMLWrt.OutCSS1_FrmFmtOptions( rFrmFmt, nFrmOpts );
 
@@ -1195,8 +1197,8 @@ Writer OutHTML_Image( Writer rWrt, const SwFrmFmt 
rFrmFmt,
 
 rHTMLWrt.Strm()  '';
 
-if( aEndTags.Len() )
-rWrt.Strm()  aEndTags.GetBuffer();
+if( aEndTags.getLength() )
+rWrt.Strm()  aEndTags.getStr();
 
 if( rHTMLWrt.aINetFmts.Count() )
 {
@@ -1437,8 +1439,7 @@ static Writer  OutHTML_FrmFmtAsMulticol( Writer rWrt,
 : HTML_FRMOPTS_MULTICOL;
 if( rHTMLWrt.IsHTMLMode( HTMLMODE_ABS_POS_FLY )  !bInCntnr )
 nFrmFlags |= HTML_FRMOPTS_MULTICOL_CSS1;
-ByteString aEndTags;
-rHTMLWrt.OutFrmFmtOptions( rFrmFmt, aEmptyStr, aEndTags, nFrmFlags );
+rHTMLWrt.OutFrmFmtOptions( rFrmFmt, aEmptyStr, nFrmFlags );
 if( rHTMLWrt.IsHTMLMode( HTMLMODE_ABS_POS_FLY )  !bInCntnr )
 rHTMLWrt.OutCSS1_FrmFmtOptions( rFrmFmt, nFrmFlags );
 
@@ -1486,13 +1487,11 @@ static Writer OutHTML_FrmFmtAsSpacer( Writer rWrt, 
const SwFrmFmt rFrmFmt )
 rWrt.Strm()  sOut.makeStringAndClear().getStr();
 
 // ALIGN, WIDTH, HEIGHT
-ByteString aEndTags;
-

[Libreoffice-commits] .: 2 commits - oox/inc oox/source sc/inc sc/source

2011-10-27 Thread Markus Mohrhard
 oox/inc/oox/xls/workbookhelper.hxx |8 
 oox/source/xls/defnamesbuffer.cxx  |   11 ---
 oox/source/xls/workbookhelper.cxx  |   37 +
 sc/inc/nameuno.hxx |   10 ++
 sc/source/ui/unoobj/nameuno.cxx|   21 +++--
 5 files changed, 66 insertions(+), 21 deletions(-)

New commits:
commit 67315dcfb0664a35fdd34f86242452bc27df6105
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Thu Oct 27 23:53:34 2011 +0200

use uno for local range name api, it crashs otherwise sometimes

diff --git a/sc/inc/nameuno.hxx b/sc/inc/nameuno.hxx
index 9d7ca93..c082226 100644
--- a/sc/inc/nameuno.hxx
+++ b/sc/inc/nameuno.hxx
@@ -38,6 +38,7 @@
 #include com/sun/star/sheet/XNamedRange.hpp
 #include com/sun/star/sheet/XFormulaTokens.hpp
 #include com/sun/star/sheet/XNamedRanges.hpp
+#include com/sun/star/container/XNamed.hpp
 #include com/sun/star/container/XEnumerationAccess.hpp
 #include com/sun/star/lang/XServiceName.hpp
 #include com/sun/star/lang/XServiceInfo.hpp
@@ -69,7 +70,7 @@ private:
 ScNamedRangesObj*   mpParent;
 ScDocShell* pDocShell;
 String  aName;
-ScTableSheetObj*mpSheet;
+com::sun::star::uno::Reference com::sun::star::container::XNamed  
mxSheet;
 
 private:
 ScRangeData*GetRangeData_Impl();
@@ -80,7 +81,8 @@ private:
 SCTAB   GetTab_Impl();
 
 public:
-ScNamedRangeObj(ScNamedRangesObj* pParent, 
ScDocShell* pDocSh, const String rNm, ScTableSheetObj* pSheet = NULL);
+ScNamedRangeObj(ScNamedRangesObj* pParent, 
ScDocShell* pDocSh, const String rNm,
+com::sun::star::uno::Reference 
com::sun::star::container::XNamed  xSheet = com::sun::star::uno::Reference 
com::sun::star::container::XNamed  ());
 virtual ~ScNamedRangeObj();
 
 virtual voidNotify( SfxBroadcaster rBC, const SfxHint rHint 
);
@@ -337,9 +339,9 @@ private:
 virtual ScRangeName*GetRangeName_Impl();
 virtual SCTAB   GetTab_Impl();
 
-ScTableSheetObj* mpSheet;
+::com::sun::star::uno::Reference ::com::sun::star::container::XNamed  
mxSheet;
 public:
-ScLocalNamedRangesObj(ScDocShell* pDocSh, 
ScTableSheetObj* pSheet);
+ScLocalNamedRangesObj(ScDocShell* pDocSh, 
::com::sun::star::uno::Reference com::sun::star::container::XNamed  xNamed );
 virtual ~ScLocalNamedRangesObj();
 };
 
diff --git a/sc/source/ui/unoobj/nameuno.cxx b/sc/source/ui/unoobj/nameuno.cxx
index 3726eb7..7e9a52d 100644
--- a/sc/source/ui/unoobj/nameuno.cxx
+++ b/sc/source/ui/unoobj/nameuno.cxx
@@ -99,11 +99,11 @@ bool lcl_UserVisibleName(const ScRangeData rData)
 return !rData.HasType(RT_DATABASE)  !rData.HasType(RT_SHARED);
 }
 
-ScNamedRangeObj::ScNamedRangeObj(ScNamedRangesObj* pParent, ScDocShell* 
pDocSh, const String rNm, ScTableSheetObj* pSheet) :
+ScNamedRangeObj::ScNamedRangeObj(ScNamedRangesObj* pParent, ScDocShell* 
pDocSh, const String rNm, Referencecontainer::XNamed xSheet):
 mpParent(pParent),
 pDocShell( pDocSh ),
 aName( rNm ),
-mpSheet( pSheet )
+mxSheet( xSheet )
 {
 pDocShell-GetDocument()-AddUnoObject(*this);
 }
@@ -147,13 +147,14 @@ ScRangeData* ScNamedRangeObj::GetRangeData_Impl()
 
 SCTAB ScNamedRangeObj::GetTab_Impl()
 {
-if (mpSheet)
+if (mxSheet.is())
 {
 if (!pDocShell)
 return -2;
 ScDocument* pDoc = pDocShell-GetDocument();
 SCTAB nTab;
-pDoc-GetTable(mpSheet-getName(), nTab);
+rtl::OUString sName = mxSheet-getName();
+pDoc-GetTable(sName, nTab);
 return nTab;
 }
 else
@@ -922,9 +923,9 @@ SCTAB ScGlobalNamedRangesObj::GetTab_Impl()
 
 //
 
-ScLocalNamedRangesObj::ScLocalNamedRangesObj( ScDocShell* pDocSh, 
ScTableSheetObj* pSheet )
+ScLocalNamedRangesObj::ScLocalNamedRangesObj( ScDocShell* pDocSh, 
uno::Referencecontainer::XNamed xSheet )
 : ScNamedRangesObj(pDocSh),
-mpSheet(pSheet)
+mxSheet(xSheet)
 {
 
 }
@@ -937,7 +938,7 @@ ScLocalNamedRangesObj::~ScLocalNamedRangesObj()
 ScNamedRangeObj* ScLocalNamedRangesObj::GetObjectByName_Impl(const 
::rtl::OUString aName)
 {
 if ( pDocShell  hasByName( aName ) )
-return new ScNamedRangeObj( this, pDocShell, String(aName), mpSheet);
+return new ScNamedRangeObj( this, pDocShell, String(aName), mxSheet);
 return NULL;
 
 }
@@ -947,7 +948,7 @@ ScNamedRangeObj* 
ScLocalNamedRangesObj::GetObjectByIndex_Impl( sal_uInt16 nIndex
 if (!pDocShell)
 return NULL;
 
-rtl::OUString aName = mpSheet-getName();
+rtl::OUString aName = mxSheet-getName();
 ScDocument* pDoc = pDocShell-GetDocument();
 SCTAB nTab;
 pDoc-GetTable( aName, nTab );
@@ -963,7 +964,7 

[Libreoffice-commits] .: sc/qa

2011-10-27 Thread Markus Mohrhard
 sc/qa/unit/data/xlsx/named-ranges-global.xlsx |binary
 sc/qa/unit/filters-test.cxx   |2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a9730ec265c4aeab6724741d66d17c6b44f307ed
Author: Markus Mohrhard markus.mohrh...@googlemail.com
Date:   Fri Oct 28 00:00:34 2011 +0200

we can now enable the range name test for xlsx too

diff --git a/sc/qa/unit/data/xlsx/named-ranges-global.xlsx 
b/sc/qa/unit/data/xlsx/named-ranges-global.xlsx
new file mode 100644
index 000..a1ae8e7
Binary files /dev/null and b/sc/qa/unit/data/xlsx/named-ranges-global.xlsx 
differ
diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx
index 71a4339..059ef17 100644
--- a/sc/qa/unit/filters-test.cxx
+++ b/sc/qa/unit/filters-test.cxx
@@ -299,7 +299,7 @@ void ScFiltersTest::testRangeName()
 {
 const rtl::OUString 
aFileNameBase(RTL_CONSTASCII_USTRINGPARAM(named-ranges-global.));
 //XLSX does not work yet
-for (sal_uInt32 i = 0; i  2; ++i)
+for (sal_uInt32 i = 0; i  3; ++i)
 {
 rtl::OUString aFileExtension(aFileFormats[i].pName, 
strlen(aFileFormats[i].pName), RTL_TEXTENCODING_UTF8 );
 rtl::OUString aFilterName(aFileFormats[i].pFilterName, 
strlen(aFileFormats[i].pFilterName), RTL_TEXTENCODING_UTF8) ;
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


[Libreoffice-commits] .: sw/source

2011-10-27 Thread Norbert Thiebaud
 sw/source/core/doc/acmplwrd.cxx |   32 ++--
 1 file changed, 14 insertions(+), 18 deletions(-)

New commits:
commit d1932bfb76fc6bafa94fd56ddf5ac74a28f62fb2
Author: Philipp Weissenbacher p.weissenbac...@gmail.com
Date:   Fri Oct 28 02:23:02 2011 +0200

Translate German comments

diff --git a/sw/source/core/doc/acmplwrd.cxx b/sw/source/core/doc/acmplwrd.cxx
index 4dc51b1..3e9bc8d 100644
--- a/sw/source/core/doc/acmplwrd.cxx
+++ b/sw/source/core/doc/acmplwrd.cxx
@@ -288,8 +288,8 @@ sal_Bool SwAutoCompleteWord::InsertWord( const String 
rWord, SwDoc rDoc )
 aLRULst.Insert( pNew, 0 );
 else
 {
-// der letzte muss entfernt werden
-// damit der neue vorne Platz hat
+// the last one needs to be removed
+// so that there is space for the first one
 String* pDel = (String*)aLRULst[ nMaxCount - 1 ];
 
 void** ppData = (void**)aLRULst.GetData();
@@ -303,15 +303,15 @@ sal_Bool SwAutoCompleteWord::InsertWord( const String 
rWord, SwDoc rDoc )
 else
 {
 delete (SwAutoCompleteString*)pNew;
-// dann aber auf jedenfall nach oben moven
+// then move up
 pNew = aWordLst[ nInsPos ];
 
-//add the document to the already inserted string
+// add the document to the already inserted string
 SwAutoCompleteString* pCurrent = (SwAutoCompleteString*)pNew;
 pCurrent-AddDocument(rDoc);
 
 nInsPos = aLRULst.GetPos( (void*)pNew );
-OSL_ENSURE( USHRT_MAX != nInsPos, String nicht gefunden );
+OSL_ENSURE( USHRT_MAX != nInsPos, String not found );
 if( nInsPos )
 {
 void** ppData = (void**)aLRULst.GetData();
@@ -327,12 +327,12 @@ void SwAutoCompleteWord::SetMaxCount( sal_uInt16 nNewMax )
 {
 if( nNewMax  nMaxCount  aLRULst.Count()  nNewMax )
 {
-// dann die unten ueberhaengenden entfernen
+// remove the trailing ones
 sal_uInt16 nLRUIndex = nNewMax-1;
 while( nNewMax  aWordLst.Count()  nLRUIndex  aLRULst.Count())
 {
 sal_uInt16 nPos = aWordLst.GetPos( (String*)aLRULst[ nLRUIndex++ ] 
);
-OSL_ENSURE( USHRT_MAX != nPos, String nicht gefunden );
+OSL_ENSURE( USHRT_MAX != nPos, String not found );
 void * pDel = aWordLst[nPos];
 aWordLst.Remove(nPos);
 delete (SwAutoCompleteString*)pDel;
@@ -344,11 +344,7 @@ void SwAutoCompleteWord::SetMaxCount( sal_uInt16 nNewMax )
 
 void SwAutoCompleteWord::SetMinWordLen( sal_uInt16 n )
 {
-// will man wirklich alle Worte, die kleiner als die neue Min Laenge
-// sind entfernen?
-// JP 02.02.99 - erstmal nicht.
-
-// JP 11.03.99 - mal testhalber eingebaut
+// Do you really want to remove all words that are less than the minWrdLen?
 if( n  nMinWrdLen )
 {
 for( sal_uInt16 nPos = 0; nPos  aWordLst.Count(); ++nPos  )
@@ -358,7 +354,7 @@ void SwAutoCompleteWord::SetMinWordLen( sal_uInt16 n )
 aWordLst.Remove(nPos);
 
 sal_uInt16 nDelPos = aLRULst.GetPos( pDel );
-OSL_ENSURE( USHRT_MAX != nDelPos, String nicht gefunden );
+OSL_ENSURE( USHRT_MAX != nDelPos, String not found );
 aLRULst.Remove( nDelPos );
 --nPos;
 delete (SwAutoCompleteString*)pDel;
@@ -396,26 +392,26 @@ void SwAutoCompleteWord::CheckChangedList( const 
SvStringsISortDtor rNewLst )
 aWordLst.Remove(nMyPos);
 
 sal_uInt16 nPos = aLRULst.GetPos( pDel );
-OSL_ENSURE( USHRT_MAX != nPos, String nicht gefunden );
+OSL_ENSURE( USHRT_MAX != nPos, String not found );
 aLRULst.Remove( nPos );
 delete (SwAutoCompleteString*)pDel;
 if( nMyPos = --nMyLen )
 break;
 }
 }
-//remove the elements at the end of the array
+// remove the elements at the end of the array
 if( nMyPos  nMyLen )
 {
-//clear LRU array first then delete the string object
+// clear LRU array first then delete the string object
 for( ; nNewPos  nMyLen; ++nNewPos )
 {
 void* pDel = aWordLst[ nNewPos ];
 sal_uInt16 nPos = aLRULst.GetPos( pDel );
-OSL_ENSURE( USHRT_MAX != nPos, String nicht gefunden );
+OSL_ENSURE( USHRT_MAX != nPos, String not found );
 aLRULst.Remove( nPos );
 delete (SwAutoCompleteString*)pDel;
 }
-//remove from array
+// remove from array
 aWordLst.Remove( nMyPos, nMyLen - nMyPos );
 }
 }
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits


Re: [Libreoffice] compilation issues of apple_remote

2011-10-27 Thread Jonathan Aquilina

  
  
On 27/10/2011 07:37, Tor Lillqvist wrote:
Please show us your complete autogen.lastrun.
  
  --tml

my autogen.lastrun is as follows 

--with-macosx-sdk=10.6
--with-max-jobs=4
--enable-symbols
--disable-nss-module
--disable-mozilla
--with-macosx-version-min=10.5


  

  Regards
  Jonathan Aquilina

 
Get a signature like this.
   CLICK
  HERE.    


  

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


Re: [Libreoffice] compilation issues of apple_remote

2011-10-27 Thread Tor Lillqvist
 --with-macosx-version-min=10.5

I think this might be the problem. As our code doesn't use any 10.5 or
later API anyway, you currently don't win anything by using this. Use
--with-macosx-version-min=10.4. Also, you I think you need to use
CC=gcc-4.2 and CXX=g++-4.2. Possibly add -arch i386
-mmacosx-version-min=10.4 to those, that is what I do.

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


Re: [Libreoffice] semantics of ScBaseCell* lclCloneCell

2011-10-27 Thread Stephan Bergmann

On 10/27/2011 07:10 AM, Kevin Hunter wrote:

I'm nosing around ScBaseCell in sc/source/core/data/cell.cxx, and I'm
curious about the semantics of the function lclCloneCell. Specifically,
when would that function ever return a NULL pointer? Does Calc not know
about all its cell types? Perhaps extensions are able to add their own
cell types and still use this function? (Then why would they use this
function?!)


Not an sc expert, but from looking at the code it looks to me like the 
default case shall never be reached, but is there to (a) silence 
compiler warnings and (b) fire an OSL_FAIL in case there is a 
programming error that causes the case to be reached nonetheless (I 
usually put a this cannot happen into such OSL_FAILs, in good old 
Knuth tradition).  And since the function still needs to syntactically 
return something, even in this unreachable case, it returns the 
canonic null value.


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


Re: [Libreoffice] compilation issues of apple_remote

2011-10-27 Thread Stephan Bergmann

On 10/27/2011 08:36 AM, Jonathan Aquilina wrote:

I will give these a shot i have symbols enabled and at a certain point
its complaining about missing 64bit symbols. How come for users on 10.7
we dont have a native 64bit build as 10.7 runs as 64bit out of the box?


Jonathan, just for clarification:  Those missing symbols have nothing to 
do with having symbols enabled (aka --enable-symbols).  The former is 
about global symbols (representing C/C++ functions etc.) where one 
dynamic library depends on symbols provided by another dynamic library 
(i.e., one dynamic library calls a function implemented in another 
dynamic library).  The latter is about internal symbols within a single 
dynamic library (e.g., a static function that cannot be called from 
outside, anyway) that would not be needed at runtime but make debugging 
easier.


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


Re: [Libreoffice] compilation issues of apple_remote

2011-10-27 Thread Tor Lillqvist
 I will give these a shot i have symbols enabled and at a certain point its 
 complaining about missing 64bit symbols. How come for users on 10.7 we dont 
 have a native 64bit build as 10.7 runs as 64bit out of the box?

Because we don't have the required 64-bit C++/UNO bridge code. Because
nobody has been working on that. And a 32-bit LibreOffice works fine
for any conceivable document, doesn't it? And anyway, our current
MacOSX code doesn't target any features newer than 10.4. In fact, the
code uses APIs obsolete already in 10.4...

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


Re: [Libreoffice] compilation issues of apple_remote

2011-10-27 Thread Tor Lillqvist
 What work would need to be done to make apple_remote something that can be 
 disabled via autogen.sh?

There is nothing much special with apple_remote, it just happens to be
the first place where you encountered problems because you were using
an untested experimental setup.

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


Re: [Libreoffice] (real) Windows build, needs help.

2011-10-27 Thread Noel Grandin
When the windows build fails, the real error is often hidden pretty far up the 
log.
That error message probably indicates that some earlier stage failed to link 
that file.

Kohei Yoshida wrote:
 I've been trying to build master on Windows with MSVC, and could use some 
 help.

 Multiple git pull -r, and multiple clean builds over the past several
 days, and my build always fails in desktop with the following message:

 (lots of WARN prior to this similar to the one below)

 /cygdrive/c/libo/core-master/desktop/Executable_unopkg.mk:41:
 [ WARN   ] !!!
 [ WARN   ] !!! desktop/win32/source/extendloaderenvironment is linked
 in by  Executable/soffice.exe Executable/unopkg.exe
 [ WARN   ] !!!
 [ build DEP ] SRS:deployment/res
 [ build SRS ] deployment/res
 [ build DEP ] SRS:deploymentgui/res
 [ build SRS ] deploymentgui/res
 [ build DEP ] SRS:dkt/res
 [ build SRS ] dkt/res
 [ build LNK ] Executable/soffice_bin.exe
 C:/libo/core-master/solenv/gbuild/Package.mk:33: ***
 gb_Deliver_deliver: file does not exist in solver, and cannot be
 delivered: 
 /cygdrive/c/libo/core-master/solver/wntmsci12.pro/bin/soffice_bin.exe.manifest.
  Stop.

 Anyone has any clue off the top of your head as to what could be going
 wrong here?

 TIA,

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


Disclaimer: http://www.peralex.com/disclaimer.html


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


Re: [Libreoffice] (real) Windows build, needs help.

2011-10-27 Thread Stephan Bergmann

On 10/26/2011 09:52 PM, Kohei Yoshida wrote:

C:/libo/core-master/solenv/gbuild/Package.mk:33: ***
gb_Deliver_deliver: file does not exist in solver, and cannot be
delivered: 
/cygdrive/c/libo/core-master/solver/wntmsci12.pro/bin/soffice_bin.exe.manifest.


Voreppe Win32 tinderbox fails with the same error, fwiw, see 
http://tinderbox.libreoffice.org/cgi-bin/gunzip.cgi?tree=MASTERfull-log=1319695211.30309.


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


Re: [Libreoffice] feature/gtk3 merged ...

2011-10-27 Thread Michael Meeks

On Thu, 2011-10-27 at 01:24 -0400, Kevin Hunter wrote:
 After a long build, I'm there.  As I'm not mired in that part of LibO 
 internals, for what visible changes should I be looking?

Cool :-) glad you've got a build. Just a tip: stick with that build for
a while, and/or have two build trees - one that you keep up-to-date with
origin/master and one to hack on.

 Heh, or put differently, what Ctrl+F should I use on

Oh - well, in theory everything continues to work perfectly :-) you
usually notice if there is a rendering regression - the screen is
corrupted and/or the app hangs / performs terribly in some case.
Hopefully it doesn't, indeed - I'm fairly optimistic after a good set of
builds, and the few bugs I was scared of (eg. multimedia embedding)
turned out to be in unrelated code :-)

 http://wiki.documentfoundation.org/ReleaseNotes/3.5 ?  ;-)

Which reminds me - I should update that with a couple of new
features :-)

ATB,

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[Libreoffice] [ANN] LibreOffice 3.4.4 RC1 available

2011-10-27 Thread Thorsten Behrens
Hi *,

for 3.4.4 rc1, we're now uploading builds to a public (but
non-mirrored - so don't spread news too widely!) place, as soon as
they're available (Windows not yet fully there, but should be in the
next few hours). Grab them here:

http://dev-builds.libreoffice.org/pre-releases/

If you've a bit of time, please give them a try  report *critical*
bugs not yet in bugzilla here, so we can incorporate them into the
release notes. Please note that it takes approximately 24 hours to
populate the mirrors, so that's about the time we have to collect
feedback.

The list of fixed bugs in this release is here:

http://dev-builds.libreoffice.org/pre-releases/src/bugfixes-libreoffice-3-4-release-3.4.4.1.log

So playing with the areas touched there also greatly appreciated - and
validation that those bugs are really fixed.

Thanks a lot for your help,

-- Thorsten


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


Re: [Libreoffice] [REVIEW-3-4-4] )one more needed) fix ole automation bridge handling of SAFEARRAY (fdo#38441)

2011-10-27 Thread Noel Power


I've commited this to 3.4

http://cgit.freedesktop.org/libreoffice/components/commit/?h=libreoffice-3-4id=ab802aee181ca6df397ca53e461d5f53808cef9d

and like the subject says. one more needed for 3.4.4

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


Re: [Libreoffice] [REVIEW-3-4-4] )one more needed) fix ole automation bridge handling of SAFEARRAY (fdo#38441)

2011-10-27 Thread Stephan Bergmann

On 10/27/2011 11:58 AM, Noel Power wrote:

and like the subject says. one more needed for 3.4.4


With the same caveat like the other reviewers -- I'm rather illiterate 
with COM/OLE -- the change does look reasonable to me.  So go ahead!


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


Re: [Libreoffice] semantics of ScBaseCell* lclCloneCell

2011-10-27 Thread Eike Rathke
Hi Stephan,

On Thursday, 2011-10-27 08:49:19 +0200, Stephan Bergmann wrote:

 On 10/27/2011 07:10 AM, Kevin Hunter wrote:
 I'm nosing around ScBaseCell in sc/source/core/data/cell.cxx, and I'm
 curious about the semantics of the function lclCloneCell.
 
 Not an sc expert

Perfect analysis nonetheless ;)

  Eike

-- 
LibreOffice Calc developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD : 997A 4C60 CE41 0149 0DB3  9E96 2F1A D073 293C 05FD


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


[Libreoffice] Liberation fonts in Windows

2011-10-27 Thread Olivier Hallot

Hi

in a recent discussion in the UX list, I questioned why Liberation 
Sans|Serif are not bundled in Windows (see


http://opengrok.libreoffice.org/xref/core/scp2/source/ooo/file_font_ooo.scp 
)


I got a guess from Andras Timar, but I really would like to understand 
this decision and if possible review it.


For instance, why are we distributing other fonts (Deja Vu, Libertine, 
Bioline...) for all platforms and this one (Liberation) explicitely not 
in Windows.


Thanks for the response.

--
Olivier Hallot
Founder, Steering Commitee Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812

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


[Libreoffice] Windows build tagging ...

2011-10-27 Thread Michael Meeks
Hi there,

Bjoern - quick request for help below ;-)

On Wed, 2011-10-26 at 22:05 +0200, Regina Henschel wrote:
 I have build it (about 2011-10-19) with commit ID 
 5ad4d151dac1eb887d92200330e31af269d8d1fd

Ah ! this is where I needed to put my magic note; I've just pushed
that. I added support to './g':

   --last-working  checks out the last known working build (useful for 
windows)
   --set-last-working  adds a note denoting a working build
   --push-notespushes all notes

That - hopefully will be useful for this in future - so we can hoist
the note up the tree as/when we get a perfect build. If you try:

./g --last-working

it fetches the notes and then ... well; then it fails to do anything
useful. Bjoern - this is where your awk skills can get shown off to the
full I guess :-) failing that - I re-write './g' in a real language
(perl) ;-

We need to basically do after fetching the notes:

git log
..
commit 5ad4d151dac1eb887d92200330e31af269d8d1fd
Author: Ivan Timofeev timofeev@gmail.com
Date:   Wed Oct 19 21:52:17 2011 +0400

migrate to StringRangeEnumerator in pdfexport

Notes:
win32 working build

And - when we find the magic string:

Notes:\n\twin32 working build\n

we need the previous commit hash, and to check that out. Of course it'd
be nice if 'git notes' had a search function, or sorted output or ...
showed the note text or ... ;-) but it does not.

This is not easy for me in shell, though I wasted a little while on
it ;-) perhaps some shell maestro can help finish the

'./g --last-working' impl. ?

and - hopefully, this will stop us having so many problems in this area
again.

Thanks :-)

Michael.

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


[Libreoffice] [Bug 35673] LibreOffice 3.4 most annoying bugs

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35673

Bug 35673 depends on bug 37620, which changed state.

Bug 37620 Summary: Data in reports created by Report Wizard do not display all 
data records in LO 3.4 RC1
https://bugs.freedesktop.org/show_bug.cgi?id=37620

   What|Old Value   |New Value

 Resolution||WORKSFORME
 Status|NEW |RESOLVED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [Libreoffice-commits] .: writerperfect/source

2011-10-27 Thread Terrence Enger
On Tue, 2011-10-25 at 09:16 +0200, Stephan Bergmann wrote:
 
 In general, and if the expression's value is not used, prefix 
 increment/decrement is preferable to postfix, as the former conceptually 
 avoids creation of a temporary that makes the old, unmodified value 
 available as the expression's value.

Just to be picky, if my memory of C++ serves, ...

(*) For built-in types, it is true that prefix and postfix
increment/decrement have the same effect on the variable.

(*) For STL iterators, I guess that the same statement is true.  At
least, I think that a violation of the symmetry would have
provoked my Oh, eeeuuuw! reflex so strongly that I would
remember it.  grin /

(*) For class types in general, the prefix and postfix operators can
be completely different.  In my opinion, it is evil to do this;
but the language allows it.

Terry.

 
 That said, you see both forms with more-or-less similar frequency in the 
 wild.
 
 -Stephan


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


Re: [Libreoffice] Liberation fonts in Windows

2011-10-27 Thread Kálmán „KAMI” Szalai
I guess this is not a decision just a legacy thing. I think we could 
enable it.


KAMI

On 10/27/2011 01:55 PM, Olivier Hallot wrote:

Hi

in a recent discussion in the UX list, I questioned why Liberation 
Sans|Serif are not bundled in Windows (see


http://opengrok.libreoffice.org/xref/core/scp2/source/ooo/file_font_ooo.scp 
)


I got a guess from Andras Timar, but I really would like to understand 
this decision and if possible review it.


For instance, why are we distributing other fonts (Deja Vu, Libertine, 
Bioline...) for all platforms and this one (Liberation) explicitely 
not in Windows.


Thanks for the response.


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


[Libreoffice] [PATCH] Re: Liberation fonts in Windows

2011-10-27 Thread Olivier Hallot

Please find attached the patch in any case.

Thanks

Olivier


Em 27-10-2011 11:04, Kálmán „KAMI” Szalai escreveu:
I guess this is not a decision just a legacy thing. I think we could 
enable it.


KAMI

On 10/27/2011 01:55 PM, Olivier Hallot wrote:

Hi

in a recent discussion in the UX list, I questioned why Liberation 
Sans|Serif are not bundled in Windows (see


http://opengrok.libreoffice.org/xref/core/scp2/source/ooo/file_font_ooo.scp 
)


I got a guess from Andras Timar, but I really would like to 
understand this decision and if possible review it.


For instance, why are we distributing other fonts (Deja Vu, 
Libertine, Bioline...) for all platforms and this one (Liberation) 
explicitely not in Windows.


Thanks for the response.


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


--
Olivier Hallot
Founder, Steering Commitee Member - The Document Foundation
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812

From d50e539893284e39e4c7e65c3e427a3bb4ea5357 Mon Sep 17 00:00:00 2001
From: Olivier Hallot olivier.hal...@alta.org.br
Date: Thu, 27 Oct 2011 11:27:27 -0200
Subject: [PATCH] Remove restriction for Liberation fonts in Windows build

---
 scp2/source/ooo/file_font_ooo.scp |6 --
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/scp2/source/ooo/file_font_ooo.scp b/scp2/source/ooo/file_font_ooo.scp
index 55e1f0f..fef7b3b 100644
--- a/scp2/source/ooo/file_font_ooo.scp
+++ b/scp2/source/ooo/file_font_ooo.scp
@@ -91,33 +91,27 @@ STD_FONT_FILE( gid_File_Fnt_LibSansNarrow_BoldItalic, LiberationSansNarrow-BoldI
 
 // Liberation Mono
 #ifndef WITHOUT_FONTS 
-#ifndef WNT 
 STD_FONT_FILE( gid_File_Fnt_LiberationMono_Regular, LiberationMono-Regular.ttf, Liberation Mono Regular) 
 STD_FONT_FILE( gid_File_Fnt_LiberationMono_Bold, LiberationMono-Bold.ttf, Liberation Mono Bold) 
 STD_FONT_FILE( gid_File_Fnt_LiberationMono_Italic, LiberationMono-Italic.ttf, Liberation Mono Italic) 
 STD_FONT_FILE( gid_File_Fnt_LiberationMono_BoldItalic, LiberationMono-BoldItalic.ttf, Liberation Mono Bold Italic) 
 #endif
-#endif
 
 // Liberation Sans
 #ifndef WITHOUT_FONTS 
-#ifndef WNT 
 STD_FONT_FILE( gid_File_Fnt_LiberationSans_Regular, LiberationSans-Regular.ttf, Liberation Sans Regular) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSans_Italic, LiberationSans-Italic.ttf, Liberation Sans Italic) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSans_Bold, LiberationSans-Bold.ttf, Liberation Serif Bold) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSans_BoldItalic, LiberationSans-BoldItalic.ttf, Liberation Sans Bold Italic) 
 #endif
-#endif
 
 // Liberation Serif
 #ifndef WITHOUT_FONTS 
-#ifndef WNT 
 STD_FONT_FILE( gid_File_Fnt_LiberationSerif_Regular, LiberationSerif-Regular.ttf, Liberation Serif Regular) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSerif_Bold, LiberationSerif-Bold.ttf, Liberation Serif Bold) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSerif_Italic, LiberationSerif-Italic.ttf, Liberation Serif Italic) 
 STD_FONT_FILE( gid_File_Fnt_LiberationSerif_BoldItalic, LiberationSerif-BoldItalic.ttf, Liberation Serif Bold Italic) 
 #endif
-#endif
 
 // Gentium fonts
 
-- 
1.7.5.4

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


Re: [Libreoffice] [PATCH][PUSHED] Re: Liberation fonts in Windows

2011-10-27 Thread Fridrich Strba
Applied and pushed, thanks a lot

Fridrich

On 27/10/11 15:34, Olivier Hallot wrote:
 Please find attached the patch in any case.
 
 Thanks
 
 Olivier
 
 
 Em 27-10-2011 11:04, Kálmán „KAMI” Szalai escreveu:
 I guess this is not a decision just a legacy thing. I think we could
 enable it.

 KAMI

 On 10/27/2011 01:55 PM, Olivier Hallot wrote:
 Hi

 in a recent discussion in the UX list, I questioned why Liberation
 Sans|Serif are not bundled in Windows (see

 http://opengrok.libreoffice.org/xref/core/scp2/source/ooo/file_font_ooo.scp
 )

 I got a guess from Andras Timar, but I really would like to
 understand this decision and if possible review it.

 For instance, why are we distributing other fonts (Deja Vu,
 Libertine, Bioline...) for all platforms and this one (Liberation)
 explicitely not in Windows.

 Thanks for the response.

 ___
 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 mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] minutes of tech. steering call ...

2011-10-27 Thread Michael Meeks
Present:
+ Eike, Michael, Thorsten, Stephan, Andras, Fridrich, Kendy,
  Tor, David, Norbert, Rainer, Michael S, Bjoern, Caolan,
  Petr

* Completed Action Items
+ adding l10n code is currently done by pair of VB Scripts
  need to grok  port these to a better tool. (Andras)
+ port it to perl instead
+ asked for a static URL for bug filing from Florian (Rainer)
+ pull together existing QA stats for Cor's research (Rainer)

* Pending Action Items
+ default to TM safe (non-TDF) branding (Thorsten)
+ enable on-line updates for QA in cross-compiled dailies ... (Kendy)
+ unit test written for on-line updating
+ come up with a list of QA heros for next meeting [in progress] 
(Rainer)

* Agenda items
+ pending action items
+ release mgmt bits (Petr)
+ 3.5.0 feature freeze reminder: Dec 5th
+ most annoying bugs in 3.5.x tracked here:
  https://bugs.freedesktop.org/show_bug.cgi?id=37361
+ Radek working on shape import regression
+ 3.4.4 tagged on Tuesday, and RC1 builds up-loading
  to mirrors, announce tomorrow; on track.
+ Monday - deadline for RC2(/final)
AA: + review Noel's OLE automation fix (Petr)
+ 3.3.x release
+ solitary calc crasher fix, and a branding issue
= no new 3.3.x
+ install Liberation fonts on Windows (Caolan)
+ not needed since they're drop-in replacements for existing 
fonts
+ no harm in shipping it on Windows
+ why exactly is it necessary / some UI issue / bug ?
+ packaging is a nice thing to hide Win32 fallback bugs 
(Fridrich)
AA: = package them (Fridrich)
+ feature/gtk3 merge aftermath (if any) (Michael)
+ fixed several nasties Stephan identified
+ nothing else rearing its head
+ QA update (Rainer)
+ 
http://wiki.documentfoundation.org/User:RBd/Workbench/Draft0#TSC_Call_2011-10-27
+ added ver 3.4.4rc1 to bugzilla
+ QA team wiki page coming along
+ potential collaboration with Ubuntu QA team
+ can we switch bugzilla to new workflow status ?
+ legacy / needinfo consideration ongoing
+ easy hacks research / contributors:
+ can poll them to see what they'd like
+ consolidated easy hacks dissection (Bjoern)
+ using the words 'easy hack' less on the list due
  to bugzilla migration
+ how is the wiki page created (?)
+ auto-generated from a bugzilla feed
= add a new easy hack - it appears in the wiki
+ manual intervention for new categories /
  skill-sets
+ how is the ordering generated ?
+ done by bugzilla id ?
+ selection of top-ten sample easy hacks,
  done manually
+ refreshed every ~two weeks
AA: + do some rotation of easy-hacks top-ten (Bjoern)
+ adding easy hacks is easy and fun:
  
http://wiki.documentfoundation.org/Development/Easy_Hacks_Bugzilla_Whiteboard_Status
+ how do we change the presentation ?
AA: + ask wrt. hacking php to improve presentation (Bjoern)
+ mingw update (Mitch)
+ not here this week
+ Bjoern at UDS next week

-- 
michael.me...@suse.com  , Pseudo Engineer, itinerant idiot

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


Re: [Libreoffice] Is it possible to update cppcheck for Libreoffice report ?

2011-10-27 Thread julien2412
Hello Jesse,

Would it be possible to update cppcheck ? There have been again fixes but
also new checks like C casting used for C++.
Perhaps we could remove the warnings about unused function for the moment by
adding this in the command :
--suppress=unusedFunction

Thank you in advance.

Julien.

--
View this message in context: 
http://nabble.documentfoundation.org/Re-Is-it-possible-to-update-cppcheck-for-Libreoffice-report-tp3415869p3458001.html
Sent from the Dev mailing list archive at Nabble.com.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] Mac OSX daily build 26/10/2011 - Base Report Builder, Beanshell, and Javascript extensions disabled

2011-10-27 Thread Alexander Thurgood
Hi all,


In the daily build from 26/10/2011 the following extensions are present,
but disabled/non-functional. If you inspect the list of installed
extensions these appear greyed out.

The corresponding entries for the script providers in the menu are not
present.

The ORB fails to launch when attempting to create a new report. An error
message appears stating that it is required but not installed.

See :
https://bugs.freedesktop.org/show_bug.cgi?id=42312

Alex

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


Re: [Libreoffice] (real) Windows build, needs help.

2011-10-27 Thread Kohei Yoshida
Hi Fridrich,

On Thu, 2011-10-27 at 10:41 +0200, Fridrich Strba wrote:

 This manifest problem arises on the first build and then when you do a
 new build in the desktop module, it is gone. 

Yup, that's exactly what I am seeing!  Good to hear your confirmation.

 If there is an idea in the crowd what can be the problem, a patch will
 be integrated swiftly.

No idea at the moment.  I'm on to fixing another bug at the moment, but
I may poke at this later if no one else hasn't by that time.

Kohei


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


[Libreoffice] [PATCH] Export blinking text attribute to HTML in all HTML export modes

2011-10-27 Thread Harri Pitkänen
Previously blinking was not exported in IE mode. IE still does not
support blinking (neither does Chrome or Safari) but the extra tag
does not make things any worse and allows importing the HTML back
to LibreOffice without loss of formatting.

Code is also simplified by removing conditionals for options that
no longer need to be (or can be) disabled.

Harri
From a481b25e03c4e72fdcf4a565859d98fe1244b451 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Harri=20Pitk=C3=A4nen?= hatap...@iki.fi
Date: Wed, 26 Oct 2011 21:48:17 +0300
Subject: [PATCH] Export blinking text attribute to HTML in all HTML export
 modes

Previously blinking was not exported in IE mode. IE still does not
support blinking (neither does Chrome or Safari) but the extra tag
does not make things any worse and allows importing the HTML back
to LibreOffice without loss of formatting.

Code is also simplified by removing conditionals for options that
no longer need to be disabled.
---
 cui/source/tabpages/backgrnd.cxx  |2 --
 cui/source/tabpages/chardlg.cxx   |3 +--
 sfx2/inc/sfx2/htmlmode.hxx|3 ---
 sw/source/filter/html/css1atr.cxx |2 +-
 sw/source/filter/html/htmlatr.cxx |7 +++
 sw/source/ui/config/viewopt.cxx   |   10 --
 6 files changed, 9 insertions(+), 18 deletions(-)

diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 8d27b17..b466ea8 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -1086,8 +1086,6 @@ void SvxBackgroundTabPage::ShowSelector()
 
 if(nHtmlMode  HTMLMODE_ON)
 {
-if(!(nHtmlMode  HTMLMODE_GRAPH_POS))
-aBtnPosition.Enable(sal_False);
 aBtnArea.Enable(sal_False);
 }
 }
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index a92019e..9d320b4 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -2686,8 +2686,7 @@ void SvxCharEffectsPage::DisableControls( sal_uInt16 nDisable )
 
 void SvxCharEffectsPage::EnableFlash()
 {
-if ( !( ( m_nHtmlMode  HTMLMODE_ON )  !( m_nHtmlMode  HTMLMODE_BLINK ) ) )
-m_aBlinkingBtn.Show();
+m_aBlinkingBtn.Show();
 }
 
 // ---
diff --git a/sfx2/inc/sfx2/htmlmode.hxx b/sfx2/inc/sfx2/htmlmode.hxx
index f4db27a..ce1af6f 100644
--- a/sfx2/inc/sfx2/htmlmode.hxx
+++ b/sfx2/inc/sfx2/htmlmode.hxx
@@ -31,15 +31,12 @@
 
 #define HTMLMODE_ON 0x0001
 #define HTMLMODE_PARA_DISTANCE  0x0004
-#define HTMLMODE_SMALL_CAPS 0x0008
 #define HTMLMODE_FRM_COLUMNS0x0010
 #define HTMLMODE_SOME_STYLES0x0020 /* mind. MS IE */
 #define HTMLMODE_FULL_STYLES0x0040 /* == SW */
-#define HTMLMODE_BLINK  0x0080
 #define HTMLMODE_PARA_BLOCK 0x0100
 #define HTMLMODE_DROPCAPS   0x0200
 #define HTMLMODE_FIRSTLINE  0x0400 /* First-line intent with Spacer == NS 3.0 */
-#define HTMLMODE_GRAPH_POS  0x0800
 #define HTMLMODE_FULL_ABS_POS   0x1000
 #define HTMLMODE_SOME_ABS_POS   0x2000
 #define HTMLMODE_RESERVED1  0x4000
diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index 5905b72..33bd07a 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -2510,7 +2510,7 @@ static Writer OutCSS1_SvxTxtLn_SvxCrOut_SvxBlink( Writer rWrt,
 }
 
 const sal_Char *pBStr = 0;
-if( pBItem  rHTMLWrt.IsHTMLMode(HTMLMODE_BLINK) )
+if( pBItem )
 {
 if( !pBItem-GetValue() )
 {
diff --git a/sw/source/filter/html/htmlatr.cxx b/sw/source/filter/html/htmlatr.cxx
index 2d56070..7354b6c 100644
--- a/sw/source/filter/html/htmlatr.cxx
+++ b/sw/source/filter/html/htmlatr.cxx
@@ -1475,9 +1475,8 @@ HTMLOnOffState HTMLEndPosLst::GetHTMLItemState( const SfxPoolItem rItem )
 break;
 
 case RES_CHRATR_BLINK:
-if( IsHTMLMode(HTMLMODE_BLINK) )
-eState = ((const SvxBlinkItem)rItem).GetValue() ? HTML_ON_VALUE
- : HTML_OFF_VALUE;
+eState = ((const SvxBlinkItem)rItem).GetValue() ? HTML_ON_VALUE
+ : HTML_OFF_VALUE;
 break;
 
 case RES_CHRATR_COLOR:
@@ -3030,7 +3029,7 @@ static Writer OutHTML_SwFlyCnt( Writer rWrt, const SfxPoolItem rHt )
 static Writer OutHTML_SwBlink( Writer rWrt, const SfxPoolItem rHt )
 {
 SwHTMLWriter rHTMLWrt = (SwHTMLWriter)rWrt;
-if( rHTMLWrt.bOutOpts || !rHTMLWrt.IsHTMLMode(HTMLMODE_BLINK) )
+if( rHTMLWrt.bOutOpts )
 return rWrt;
 
 if( ((const SvxBlinkItem)rHt).GetValue() )
diff --git a/sw/source/ui/config/viewopt.cxx b/sw/source/ui/config/viewopt.cxx
index 4d50236..a34679c 100644
--- a/sw/source/ui/config/viewopt.cxx
+++ b/sw/source/ui/config/viewopt.cxx
@@ -339,18 +339,16 @@ sal_uInt16  GetHtmlMode(const SwDocShell* pShell)
 switch 

Re: [Libreoffice] semantics of ScBaseCell* lclCloneCell

2011-10-27 Thread Kevin Hunter

At 2:49am -0400 Thu, 27 Oct 2011, Stephan Bergmann wrote:

On 10/27/2011 07:10 AM, Kevin Hunter wrote:

I'm nosing around ScBaseCell in sc/source/core/data/cell.cxx, and I'm
curious about the semantics of the function lclCloneCell. Specifically,
when would that function ever return a NULL pointer? Does Calc not know
about all its cell types? Perhaps extensions are able to add their own
cell types and still use this function? (Then why would they use this
function?!)


Not an sc expert, but from looking at the code it looks to me like the
default case shall never be reached, but is there to (a) silence
compiler warnings and (b) fire an OSL_FAIL in case there is a
programming error that causes the case to be reached nonetheless (I
usually put a this cannot happen into such OSL_FAILs, in good old
Knuth tradition). And since the function still needs to syntactically
return something, even in this unreachable case, it returns the
canonic null value.


Huh.  Then why use a switch?  Why not use an if-else set of clauses?  I 
recognize that this function may be called a lot, but does an if vs 
switch statement mean /that/ much in terms of performance?


In any event, thanks for the response.

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


[Libreoffice] tests for named ranges in vba

2011-10-27 Thread August Sodora
Hello all,

I have been trying to add support for assigning to named ranges in
VBA. There are a couple of ways VBA does this but for now I'm focusing
on something like:

Range(A1:H8).Name = TestRange

Currently the Name property on [X/ScVba]Range is readonly. I've
attached a patch which is my first attempt to try and add a setter but
it was suggested that I also attach an xls with a test macro. I know
there is some changing going on with regards to VBA tests; is there a
place I should stick this to execute for now? I would also really
appreciate someone taking a quick look at the patch because I'm very
new to working with uno.

Thanks Michael and Markus for helping me out so much on IRC :)

August Sodora
aug...@gmail.com
(201) 280-8138
From 1f51f50dda79d2db9430aa52e233ce0b56cd1268 Mon Sep 17 00:00:00 2001
From: August Sodora aug...@gmail.com
Date: Wed, 26 Oct 2011 15:32:55 -0400
Subject: [PATCH] Add vba support for assigning names to cell ranges

---
 oovbaapi/ooo/vba/excel/XRange.idl |2 +-
 sc/source/ui/vba/vbarange.cxx |   23 +++
 sc/source/ui/vba/vbarange.hxx |1 +
 3 files changed, 25 insertions(+), 1 deletions(-)

diff --git a/oovbaapi/ooo/vba/excel/XRange.idl b/oovbaapi/ooo/vba/excel/XRange.idl
index 62a0994..015c68c 100644
--- a/oovbaapi/ooo/vba/excel/XRange.idl
+++ b/oovbaapi/ooo/vba/excel/XRange.idl
@@ -64,7 +64,7 @@ interface XRange
 interface ::ooo::vba::excel::XFormat;
 //interface ::ooo::vba::XHelperInterface;
 
-[attribute, readonly] any Name;
+[attribute] any Name;
 [attribute] any Value;
 [attribute] any Formula;
 [attribute] any FormulaArray;
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index fe8c9df..659bff8 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -1569,6 +1569,29 @@ uno::Any SAL_CALL ScVbaRange::getName() throw (uno::RuntimeException)
 return uno::makeAny( xName );
 }
 
+void
+ScVbaRange::setName( const uno::Any aName ) throw (uno::RuntimeException)
+{
+uno::Reference excel::XName  xName;
+
+ScDocShell* pDocShell = getScDocShell();
+uno::Reference frame::XModel  xModel = pDocShell ? pDocShell-GetModel() : NULL;
+if ( !xModel.is() )
+{
+throw uno::RuntimeException( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( Invalid document )), uno::Reference uno::XInterface () );
+}
+uno::Reference beans::XPropertySet  xPropertySet( xModel, uno::UNO_QUERY_THROW );
+uno::Reference sheet::XNamedRanges  xNamedRanges( xPropertySet-getPropertyValue( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(NamedRanges))) , uno::UNO_QUERY_THROW );
+
+uno::Reference excel::XNames  xNames( new ScVbaNames( uno::Reference XHelperInterface (), mxContext , xNamedRanges , xModel ) );
+
+uno::Any aDummy;
+//uno::Any aRefersTo;
+//aRefersTo = uno::Reference excel::XRange (this, uno::UNO_QUERY);
+xNames-Add(aName, getCellRange(), aDummy, aDummy, aDummy, aDummy,
+aDummy, aDummy, aDummy, aDummy, aDummy);
+}
+
 uno::Any
 ScVbaRange::getValue( ValueGetter valueGetter) throw (uno::RuntimeException)
 {
diff --git a/sc/source/ui/vba/vbarange.hxx b/sc/source/ui/vba/vbarange.hxx
index db4e49d..26f639f 100644
--- a/sc/source/ui/vba/vbarange.hxx
+++ b/sc/source/ui/vba/vbarange.hxx
@@ -167,6 +167,7 @@ public:
 
 // Attributes
 virtual css::uno::Any SAL_CALL getName() throw (css::uno::RuntimeException);
+virtual void   SAL_CALL setName( const css::uno::Any aName ) throw (css::uno::RuntimeException);
 virtual css::uno::Any SAL_CALL getValue() throw (css::uno::RuntimeException);
 virtual void   SAL_CALL setValue( const css::uno::Any aValue ) throw ( css::uno::RuntimeException);
 virtual css::uno::Any SAL_CALL getFormula() throw (css::uno::RuntimeException);
-- 
1.7.4.4

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


[Libreoffice] [PATCH] leaking connection handles

2011-10-27 Thread Terrence Enger
I offer the attached patch under LGPLv3+/MPL1.1 dual license
or future versions of the licenses,

It fixes a leak of connection handle in an ODBC database.
Without the call to SQLDisconnect90, SQLFreeHandle() fails
with code 'HY010'.

This is my first attempt a patch.  Comments and guidance
welcome.

Terry.

From a479ceb4fae631640c15f35f1cd8b91513632324 Mon Sep 17 00:00:00 2001
From: Terrence Enger ten...@iseries-guru.com
Date: Thu, 27 Oct 2011 16:37:50 -0400
Subject: [PATCH] leaking connection handle

call SQLDisconnect;
check returns from SQLDisconnect and SQLFreeHandle
---
 .../source/drivers/odbcbase/OConnection.cxx|   20 ++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/connectivity/source/drivers/odbcbase/OConnection.cxx b/connectivity/source/drivers/odbcbase/OConnection.cxx
index 891eabc..03bc39b 100644
--- a/connectivity/source/drivers/odbcbase/OConnection.cxx
+++ b/connectivity/source/drivers/odbcbase/OConnection.cxx
@@ -78,8 +78,24 @@ OConnection::~OConnection()
 close();
 
 if ( SQL_NULL_HANDLE != m_aConnectionHandle )
-N3SQLFreeHandle( SQL_HANDLE_DBC, m_aConnectionHandle );
-m_aConnectionHandle = SQL_NULL_HANDLE;
+{
+SQLRETURN rc;
+
+rc = N3SQLDisconnect( m_aConnectionHandle );
+if ( SQL_SUCCESS   != rc 
+ SQL_SUCCESS_WITH_INFO != rc )
+OSL_TRACE( Failure from SQLDisconnect, %s:%i
+ , __FILE__, __LINE__
+ );
+
+rc = N3SQLFreeHandle( SQL_HANDLE_DBC, m_aConnectionHandle );
+if ( SQL_SUCCESS != rc )
+OSL_TRACE( Failure from SQLFreeHandle for connection, %s:%i
+ , __FILE__, __LINE__
+ );
+
+m_aConnectionHandle = SQL_NULL_HANDLE;
+}
 
 m_pDriver-release();
 m_pDriver = NULL;
-- 
1.7.4.1

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


[Libreoffice] Dynamically relaod addon toolbar

2011-10-27 Thread othman
Hello,
I use the Configuration Update Manager to dynamically update addon
Configuration data (adding new OfficeToolbar entry). after i commit changes
to Configuration manager the results are not immediately reflected in
toolbar. I have to open a new document to see the new updated toolbar. 
what java code should i add to dynamically relaod addon toolbar or relaod
the whole Addon context?

thanks

--
View this message in context: 
http://nabble.documentfoundation.org/Dynamically-relaod-addon-toolbar-tp3459165p3459165.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] Windows build tagging ...

2011-10-27 Thread Bjoern Michaelsen
On Thu, Oct 27, 2011 at 12:59:18PM +0100, Michael Meeks wrote:
   it fetches the notes and then ... well; then it fails to do anything
 useful. Bjoern - this is where your awk skills can get shown off to the
 full I guess :-) failing that - I re-write './g' in a real language
 (perl) ;-

I played a bit with this and a basic implememtation isnt too hard if one uses:

 git log --pretty=%H %N

or somesuch. But I wonder if notes are really the way to go as there are
multiple platforms and once --last-working is existing, other platforms (e.g.
OSX, crosscompiled windows) will want it too -- and since there is only one
note per object possible one would have to take care of merging etc.

Why not having a one moving tag e.g. last_stable_WNT for each platform? Do we
really care much about commits older than the last_stable one?(*)

   That - hopefully will be useful for this in future - so we can hoist
 the note up the tree as/when we get a perfect build. If you try:

./g --last-working

it fetches the notes and then ... well; then it fails to do anything
 useful. 

Actually that is the other tricky part: What should the stuff do once it finds
the last stable commit? Check it out without creating a branch? Rather
dangerous for somebody not too deeply knowing git (and it gives you scary
warnings). Even if it would create a branch, once you commit on that you would
need to rebase it on master before pushing, which is also rather inconvenient.

I am just wondering what the final result should look like ...

Best,

Bjoern

(*) Or, being devils advocate: A branch stable_WNT, where the 
--set-last-working
stuff pushes commits that are already on master, but just up to the last known
good state. After all, a branch in git is just a forward moving tag.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Windows build tagging ...

2011-10-27 Thread Christian Lohmaier
Hi *,

On Thu, Oct 27, 2011 at 1:59 PM, Michael Meeks michael.me...@suse.com wrote:
 On Wed, 2011-10-26 at 22:05 +0200, Regina Henschel wrote:
 I have build it (about 2011-10-19) with commit ID
 5ad4d151dac1eb887d92200330e31af269d8d1fd

        Ah ! this is where I needed to put my magic note; I've just pushed
 that. I added support to './g':

   --last-working      checks out the last known working build (useful for 
 windows)
   --set-last-working  adds a note denoting a working build
   --push-notes        pushes all notes

        That - hopefully will be useful for this in future - so we can hoist
 the note up the tree as/when we get a perfect build. If you try:

So I suspect the --set-last-working shall be limited to the
tinderboxes that build regularly with a non-changing setup, i.e.
without having random other stuff that might affect the build-result?

        git log

never used the notes feature - but its help says that it can list the
notes - so no parsing of the full log necessary, just using git notes
list and iterate the list of note-object until the magic string is
found, and then checkout the corresponding annotated object.

or if one wants to parse a log, one can do it with

git log -p `git notes get-ref`
that way one only has to examine the ones that match. or can do a

git log -p -Swin32 working build `git notes get-ref`

and only get the commits with a corresponding match.

The annotated commit is extracted from the +++ b/commit-hash line

 [...]  we need the previous commit hash, and to check that out. Of course it'd
 be nice if 'git notes' had a search function, or sorted output or ...
 showed the note text or ... ;-) but it does not.

See above - can combine the two methods :-)

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


[Libreoffice] [PATCH]: Translate German Comments

2011-10-27 Thread Philipp Weissenbacher
Hi all,

Here is my first patch. It translates the German comments found in
sw/source/core/doc/acmplwrd.cxx to English.
I also translated messages within OSL_ENSURE; wasn't sure if that's permissible.

This patch and any future work is licensed under LGPLv3+/MPL.

Cheers,
Philipp


0001-Translate-German-comments.patch
Description: Binary data
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] Dynamically relaod addon toolbar

2011-10-27 Thread othman
the following code to relaod the current document is not working. what am i
doing wrong?


PropertyValue[] loadProperties = new PropertyValue[0];
Object dispatchHelperObject =
this.mxMSF.createInstance(com.sun.star.frame.DispatchHelper);
XDispatchHelper xDispatchHelper = (XDispatchHelper)
UnoRuntime.queryInterface( XDispatchHelper.class, dispatchHelperObject);
XDispatchProvider xDispatchProvider = (XDispatchProvider)
UnoRuntime.queryInterface(
XDispatchProvider.class, m_xFrame);
xDispatchHelper.executeDispatch(xDispatchProvider,
uno:Reload, , 0, loadProperties);
} catch (Exception ex) {
ex.printStackTrace();
}

--
View this message in context: 
http://nabble.documentfoundation.org/Dynamically-relaod-addon-toolbar-tp3459165p3459758.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] [PUSHED] [PATCH]: Translate German Comments

2011-10-27 Thread Norbert Thiebaud
On Thu, Oct 27, 2011 at 7:38 PM, Philipp Weissenbacher
p.weissenbac...@gmail.com wrote:
 Hi all,

 Here is my first patch. It translates the German comments found in
 sw/source/core/doc/acmplwrd.cxx to English.
 I also translated messages within OSL_ENSURE; wasn't sure if that's 
 permissible.

 This patch and any future work is licensed under LGPLv3+/MPL.

Thanks, applied and pushed.


 Cheers,
 Philipp

 ___
 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] [PUSHED] [PATCH]: Translate German Comments

2011-10-27 Thread Norbert Thiebaud
On Thu, Oct 27, 2011 at 8:19 PM, Norbert Thiebaud nthieb...@gmail.com wrote:
 On Thu, Oct 27, 2011 at 7:38 PM, Philipp Weissenbacher
 p.weissenbac...@gmail.com wrote:
 Hi all,

 Here is my first patch. It translates the German comments found in
 sw/source/core/doc/acmplwrd.cxx to English.
 I also translated messages within OSL_ENSURE; wasn't sure if that's 
 permissible.

 This patch and any future work is licensed under LGPLv3+/MPL.

 Thanks, applied and pushed.

I hit sent a bit fast...
One thing I forgot to mention. I did clean-up some trailing spaces...
did you have to over-ride the commit hook or did it fail to warn you
of the trailing spaces ?

Also, can you add yourself to
http://wiki.documentfoundation.org/Development/Developers, referencing
your post above that indicate the license.
Don't be intimidated with the 'Developper' page title. This is to try
to keep track of licensing declaration of committed stuff.

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


Re: [Libreoffice] Is it possible to update cppcheck for Libreoffice report ?

2011-10-27 Thread Jesse Adelman
On 10/27/11 08:22, julien2412 wrote:
 Hello Jesse,
 
 Would it be possible to update cppcheck ? There have been again fixes but
 also new checks like C casting used for C++.
 Perhaps we could remove the warnings about unused function for the moment by
 adding this in the command :
 --suppress=unusedFunction
 
 Thank you in advance.
 
 Julien.
 

Done and done, except I don't need the --suppress. All I did was
re-enable parallel jobs, which disables unusedFunction. I guess that the
unusedFunction doesn't work so well for us?

Cheers,
Jesse

-- 
Jesse Adelman
Senior Systems Shepherd
ilikelinux Consulting/Bold and Busted, LLC
http://ilikelinux.com/ http://boldandbusted.com/
Brisbane, CA
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: [Libreoffice] [PATCH]: libs-extern-sys 3.4.3.2 mozilla-ldap remove MKDIR calls

2011-10-27 Thread Kelly Anderson

On 10/25/2011 03:12 AM, Caolán McNamara wrote:

On Thu, 2011-10-20 at 12:07 -0600, Kelly Anderson wrote:

Hi,

The mozilla ldap libraries fail to compile on my systems, since the
Makefile.in's are all trying to create
directories.  $(MKDIR) is not defined so it attempts to run the
directory name as a command, which of course
fails.  Since LibreOffice doesn't need those calls to $(MKDIR) to
compile, I added to the end of
seamonkey-source-1.1.14.patch some lines that remove the dependencies on
directory creation.

Your patch conflicts with
http://cgit.freedesktop.org/libreoffice/core/commit/?id=34a3046698890676d492d46dfb628d51eb823395
which looks like it does something similar. Are the additional changes
of your patch still required (i.e. if they are can you regenerate it to
apply post those changes) or is the above commit sufficient ?


OK, I finally got a chance to check out that commit.
Turns out it's almost identical to the patch I submitted.
It does solve the build problem on both my x86_64 and i686 machines.

Can we get someone to pull that commit into 3.4.4.x (and 3.4.3.x if it's 
going to be revved).
I noticed it's not part of the 3.4.4.1 release candidate.  That's what I 
tested against.


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


[Libreoffice-qa] Minutes - QA related - TSC call 2011-10-27

2011-10-27 Thread Rainer Bielefeld

Hi,

you can find a summery (from my point of view) concerning QA related 
discussion of the Engineering Steering Committee on

http://wiki.documentfoundation.org/RBd/TSC_Call_Minutes

Kind regards

Rainer
___
List Name: Libreoffice-qa mailing list
Mail address: Libreoffice-qa@lists.freedesktop.org
Change settings: http://lists.freedesktop.org/mailman/listinfo/libreoffice-qa
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://lists.freedesktop.org/archives/libreoffice-qa/


[Libreoffice-bugs] [Bug 38177] Closing parent Base window leaves wizard generated table, query, report or form window in orphaned state

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38177

--- Comment #8 from Julien Nabet serval2...@yahoo.fr 2011-10-26 23:45:25 UTC 
---
I had an error compiling 3.4.4 just after having downloaded all the sources.
Also, I haven't succeeded in using the pre-releases
http://dev-builds.libreoffice.org/pre-releases/ 
Perhaps someone will more lucky than me. 

According to the release plan (http://wiki.documentfoundation.org/ReleasePlan),
3.4.4 will be released the 09/11.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42301] New: oomath undo misbehaves

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42301

 Bug #: 42301
   Summary: oomath undo misbehaves
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.2 release
  Platform: All
OS/Version: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Formula editor
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: freedesktop...@lsmod.de


I have libreoffice-math-3.4.2.6 on openSUSE-12.1-RC
and when I run oomath
and type into it
1
backspace (or shift-left is the same)
2
ctrl-z

it comes out as 12 instead of 1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 33531] FORMATTING: Inserting additional text into cell changes font

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33531

--- Comment #13 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-10-27 00:19:44 PDT ---
@rl:
Unfortunately your report is too imprecise to allow a test. Why did you not
attach the requested documents?

Please 
a) attach a sample document containing some screenshosts and information
concerning styles, font, font size you see before you start the test and ant
the end of the test. If possible you should copy / paste the result of every
important step so that the results are visible.

b) contribute more precise information. Most of your info in Comment 12 is
imprecise or can not work in the way you write (at least on my PC):

1. How do you Enter the empty line? What is a  line break and an empty line
after xxx? Please mention every key press and every mouse click!
3. for what is this step important?
4. That way to select does not work for me with WIN, I selected with 
  shift + 3xarrowright
6. does not work for me. First arrowup unselects, second one does nothing

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 37620] Data in reports created by Report Wizard do not display all data records in LO 3.4 RC1

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37620

--- Comment #15 from Alex Thurgood alex.thurg...@gmail.com 2011-10-27 
03:12:13 PDT ---
(In reply to comment #14)
 Created attachment 52816 [details]
 Error messages in console
 
 When I opened the report Prescriptions, I've got no prescriptions at all and
 have all the error messages I attached.
 The result is like if I would have opened it in edit mode except that fields 
 in
 title columns were no more grey.
 Perhaps I did something wrong.

Hi Julien,

Are you testing on master ?
The behaviour you see might have something to do with the Java wizards having
been rewritten in Python on master, and perhaps this has affected the Report
Wizard ??


Alex

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42287] Program opens inadvertantly when opening web browsers

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42287

--- Comment #1 from Alex Thurgood alex.thurg...@gmail.com 2011-10-27 03:24:05 
PDT ---
Hi Chad,

I've noticed this too on my Ubuntu Oneiric 32bit version with LibO 3.4.3.

Try removing the mozilla plugin :

sudo apt-get remove mozilla-libreoffice


Alex

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs



[Libreoffice-bugs] [Bug 37620] Data in reports created by Report Wizard do not display all data records in LO 3.4 RC1

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37620

--- Comment #16 from Julien Nabet serval2...@yahoo.fr 2011-10-27 04:21:20 PDT 
---
Created attachment 52821
  -- https://bugs.freedesktop.org/attachment.cgi?id=52821
Screenshot of the 25 prescriptions

Alex: you're absolutely right, I tested on Master and there have been changes
on this part.
I reinstalled 3.4.3 after removing profile before (since I made some other
specific tests).
I tried to reproduce the pb, I haven't succeeded in it and no error messages in
console.
I attached the screenshot of the result which seems correct (since I find 25
like the corresponding query).

If you don't reproduce it with 3.4.3, I propose you to put this bug to
RESOLVED/WORKSFORME (I'm not sure about WORKSFORME is the most appropriate).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 37620] Data in reports created by Report Wizard do not display all data records in LO 3.4 RC1

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=37620

Alex Thurgood alex.thurg...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 39830] Need to select decimal separator when opening a csv file

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39830

--- Comment #5 from Jiri Bohac jbo...@jikos.cz 2011-10-27 05:45:42 PDT ---
Also, selecting US English is not always what you need. You may actually be
running LO with a US English locale and you want to open a CSV file in another
language.

I think both the thousand separator and the decimal separator should be
configurable.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 41930] Chart data losing after copy paste and double clicking.

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41930

Kohei Yoshida kohei.yosh...@gmail.com changed:

   What|Removed |Added

  Status Whiteboard||CONFIRMED
 AssignedTo|libreoffice-b...@lists.free |kohei.yosh...@gmail.com
   |desktop.org |
 CC|kohei.yosh...@gmail.com |

--- Comment #2 from Kohei Yoshida kohei.yosh...@gmail.com 2011-10-27 06:59:26 
PDT ---
Confirming.

As a reference, what Excel does in such cases is to set external reference to
the original document in the copied chart object.  I guess we could do the same
here.

I'll take it for now.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42310] New: DEFINE NAME referenced by formula

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42310

 Bug #: 42310
   Summary: DEFINE NAME referenced by formula
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.3 release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
  Severity: critical
  Priority: highest
 Component: Spreadsheet
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: posta_remail-bugzi...@yahoo.it


Names defined whid formula don't work and the result is that in the spreadsheet
appear error NAME?

The problem appera with Libreoffice 3.4.3 and not in the previous 3.3.4

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42310] DEFINE NAME referenced by formula

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42310

--- Comment #1 from posta_remail-bugzi...@yahoo.it 2011-10-27 07:04:03 PDT ---
Created attachment 52824
  -- https://bugs.freedesktop.org/attachment.cgi?id=52824
Mortage plan with name defined with formulas

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42287] Program opens inadvertantly when opening web browsers

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42287

Alex Thurgood alex.thurg...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 32957] new report through wizard: cancel = abort/segfault

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=32957

--- Comment #15 from Alex Thurgood alex.thurg...@gmail.com 2011-10-27 
07:32:18 PDT ---
Can also not reproduce on Mac OSX with 3.5 master.


Alex

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42238] : Computer volume control does not function.

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42238

vitriol vitriol_vitr...@katamail.com changed:

   What|Removed |Added

   Keywords||NEEDINFO

--- Comment #1 from vitriol vitriol_vitr...@katamail.com 2011-10-27 08:00:53 
PDT ---
jrquinl...@gmail.com 

You mean buttons on a multimedia keyboard? Id yes, it's a duplicate of Bug
32664

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42314] New: DisposedException on storeToURL

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42314

 Bug #: 42314
   Summary: DisposedException on storeToURL
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.3.4 release
  Platform: x86-64 (AMD64)
OS/Version: Windows (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Libreoffice
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: john.ma...@gmail.com


I'm getting a DisposedException while trying to save a Writer document through
Java UNO. The dump file is fairly large (~190MB), so I'm just including text
from the tool console.  I'm not sure how to properly use WinDbg, so if you need
more info from the dump file let me know. 

* Here is the code *
XComponent xComponent .
PropertyValue[4] properties 

properties[0] = new PropertyValue();
((PropertyValue)properties[0]).Name = FilterName;
((PropertyValue)properties[0]).Value = new Any(Type.STRING,
writer8_template);

properties[1] = new PropertyValue();
((PropertyValue)properties[1]).Name = CompressionMode;
((PropertyValue)properties[1]).Value = new Any(Type.STRING, 1);

properties[2] = new PropertyValue();
((PropertyValue)properties[2]).Name = Pages;
((PropertyValue)properties[2]).Value = new Any(Type.STRING, All);

properties[3] = new PropertyValue();
((PropertyValue)properties[3]).Name = Overwrite;
((PropertyValue)properties[3]).Value = new Any(Type.BOOLEAN, Boolean.TRUE));

String storeFile = C:/files/0002_ed19cfdd-a173-4e5d-96d6-f6c6a3c2939c.ott

xStorable = (XStorable) UnoRuntime.queryInterface(XStorable.class, xComponent);
xStorable.storeToURL(file:/// + storeFile, properties);


* Trapped exception *
Caused by: com.sun.star.lang.DisposedException: java.io.EOFException
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:158)



* Opening dump file in WinDbg *

Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [N:\soffice2096.dmp]
User Mini Dump File with Full Memory: Only application data is available

Comment: 'Userdump generated complete user-mode minidump with Exception Monitor
function on vMyMachine'
Symbol search path is: *** Invalid ***

* Symbol loading may be unreliable without a symbol search path.   *
* Use .symfix to have the debugger choose a symbol path.   *
* After setting your symbol path, use .reload to refresh symbol locations. *

Executable search path is: 
Windows XP Version 2600 (Service Pack 3) MP (2 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Mon Oct 24 11:47:18.000 2011 (UTC - 4:00)
System Uptime: 1 days 12:29:46.000
Process Uptime: 0 days 1:16:35.000


.
Loading unloaded module list

This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(7bc.830): Access violation - code c005 (first/second chance not available)
eax=0001 ebx=01203004 ecx=02061702 edx= esi=0020006b edi=2772ed10
eip=10006b94 esp=2772ecd0 ebp=2772ecd0 iopl=0 nv up ei pl zr na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs= efl=00010246
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
sal3.dll - 
sal3!osl_incrementInterlockedCount+0x1b:
10006b94 f00fc101lock xadd dword ptr [ecx],eax
ds:0023:02061702=805874f7
0:032 .ecxr
eax=0001 ebx=01203004 ecx=02061702 edx= esi=0020006b edi=2772ed10
eip=10006b94 esp=2772ecd0 ebp=2772ecd0 iopl=0 nv up ei pl zr na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs= efl=00010246
sal3!osl_incrementInterlockedCount+0x1b:
10006b94 f00fc101lock xadd dword ptr [ecx],eax
ds:0023:02061702=805874f7
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
tlmi.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
swmi.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
xomi.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
sax.uno.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
sfxmi.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
fwkmi.dll - 
*** ERROR: Symbol file could not be found.  Defaulted to export symbols for
msci_uno.dll - 



* Stacktrace from WinDbg-Stack Trace *
 # 
WARNING: Stack unwind information not available. Following 

[Libreoffice-bugs] [Bug 42315] New: Greek letter Capital Omega (%OMEGA) is still shown like a square

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42315

 Bug #: 42315
   Summary: Greek letter Capital Omega (%OMEGA) is still shown
like a square
Classification: Unclassified
   Product: LibreOffice
   Version: unspecified
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Formula editor
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: leprech...@email.it


Hi,

I know there was a bug for what every Greek letter was shown as a rectangle in
formulae.
I have Ubuntu 10.04 and Libreoffice (local: Italy) as follows:

LibreOffice 3.3.2 
OOO330m19 (Build:202)
tag libreoffice-3.3.2.2, Ubuntu package 1:3.3.2-1ubuntu2~lucid1

The greek capital letter Omega (%OMEGA) is shown both in menu and in writer as
a square. Remaining letters are ok.

As a further info that can maybe useful:

Opening an existing file made with OO from standard Ubuntu distribution
repositories (which I completely removed before installing Libreoffice from the
specific repositories), capital Omega is correctly shown until I open the
formula using the formula editor.
Escaping from the formula editor, capital Omega is shown as a square.

Regards.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42319] New: Report Builder crashes repeatedly under OSX 10.7.2 Lion

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42319

 Bug #: 42319
   Summary: Report Builder crashes repeatedly under OSX 10.7.2
Lion
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.3 release
  Platform: Other
OS/Version: Mac OS X (All)
Status: UNCONFIRMED
  Severity: major
  Priority: medium
 Component: Database
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: spamfil...@mneuss.de


Every time i try to change database fields in report builder e.g. changing
width, length, position, ...
the spinning wheel appears and libreoffice crashes.

report builder and database funciotnality is near to unusable.

crash reports were sent automatically to apple.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42320] New: Add Hipperlinks by default on Table of Contents

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42320

 Bug #: 42320
   Summary: Add Hipperlinks by default on Table of Contents
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.2 release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: eso...@yahoo.com.mx


When a Table of Contents is created not hipperlink is added for each entry.
When building a PDF is very useful to have this hipperlinks.

The editing dialog for Table of Contents helps you to add manually hiperlinks
to selected Levels, but isn't intuitive on where you PUT begin of hipperlink
mark and where to PUT the end, I think this is hard for people doesn't
knowing anything about HTML like markup (a/a) (just as an example, because
you must need to know where to locate the bigging and where the end). 

May is more easy if the GUT have quick button to add an imperlink to all
entry's elements automatically, or even to all entries in the table's showed
Levels.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 39740] FORMATTING Calc Cell bottom border line through dot NET 4 automation

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=39740

Aaron Strontsman heinzless...@gmail.com changed:

   What|Removed |Added

   Severity|critical|major
   Priority|highest |high

--- Comment #6 from Aaron Strontsman heinzless...@gmail.com 2011-10-27 
14:21:24 UTC ---
Walid and everyone else, please don't be mad at me, but I am marking this
problem down in importance, because it is not a crash or a freeze. I recognise
this is a major problem for you, but to the majority of LibO users it is
probably not.
Please also know that I am not officially affiliated with TDF (so don't blame
them for my action).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42323] New: LibO 3.4.3 Calc Crash in Define Names dialogue

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42323

 Bug #: 42323
   Summary: LibO 3.4.3 Calc Crash in Define Names dialogue
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.3 release
  Platform: All
OS/Version: All
Status: UNCONFIRMED
  Severity: critical
  Priority: medium
 Component: Spreadsheet
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: heinzless...@gmail.com


Very easy to reproduce crash – here's how:

1 Open LibO Calc with a new file
2 Click on Insert  Names  Define...
3 Enter any name into the box, then click Add
4 Select the name just entered
5 Click Modify and experience crash

I can reproduce this consistently on Windows Vista (32-bit) and Ubuntu 10.10
(64-bit).

(The very similar Data  Define Range... dialogue doesn't have this problem.)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42323] LibO 3.4.3 Calc Crash in Define Names dialogue

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42323

markus.mohrh...@googlemail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE

--- Comment #1 from markus.mohrh...@googlemail.com 2011-10-27 14:57:08 PDT ---


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

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42324] New: When editing in Writer, the cursor ignores diacritical characters added to the letters in RTL languages.

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42324

 Bug #: 42324
   Summary: When editing in Writer, the cursor ignores diacritical
characters added to the letters in RTL languages.
Classification: Unclassified
   Product: LibreOffice
   Version: unspecified
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: dovijac...@yahoo.com


Created attachment 52834
  -- https://bugs.freedesktop.org/attachment.cgi?id=52834
A sample ODT text with multiple diacritical marks in the letters

In some RTL languages (and perhaps in some LTR languages too but I don't know),
there are diacritical marks added to the letters which stand for vocalization,
syntax and other matters. These marks are independent Unicode characters, but
they appear within or attached to a specific letter. One letter can have
several such marks attached to it.

In most common word processors (e.g. Word and Google Docs), the cursor takes
these marks into account when it moves. For instance, if a letter has two such
marks the cursor will move over the letter in three steps. This allows for
convenient manual editing, because an individual mark can easily be selected,
deleted, or copied elsewhere.

In LibreOffice Writer, however, the cursor moves over each letter in a single
step, no matter how many diacritical marks it has, thus making it difficult or
impossible to accomplish basic editing functions in vocalized texts.

This bug was originally reported to the Hebrew OO/LO forum, where it was
pointed out that the LO behavior also has an advantage in making it less
tedious for the cursor to pass through large blocks of text. The discussion
appears here (in Hebrew):

http://whatsup.org.il/index.php?name=PNphpBB2file=viewtopict=57683

The question therefore is whether LO currently provides an option to choose the
behavior of the cursor. If that option currently exists then no one has yet
been able to locate it; if it doesn't exist then it should be provided to the
user at least as an option and possibly as the default. Otherwise, the cursor
should behave as in Word and Google Docs so that all normal editing functions
are possible.

A sample ODT text with multiple diacritical marks in the letters is attached.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 35971] Page relocation is ignored when leaving Print Preview mode

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35971

Max Barry m...@maxbarry.com changed:

   What|Removed |Added

Summary|When leaving the Print  |Page relocation is ignored
   |Preview mode, the first |when leaving Print Preview
   |page of the document is |mode
   |displayed   |
Version|LibO 3.3.2 release  |LibO 3.4.3 release

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 35971] Page relocation is ignored when leaving Print Preview mode

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35971

--- Comment #18 from Max Barry m...@maxbarry.com 2011-10-27 15:33:51 PDT ---
Updated title to more accurately describe bug; also Version field to note
that bug is still present in 3.4.3.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 36440] LibreOffice don't show the color grid when I choose characther color, character background and color background when the window isn't maximized.

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36440

--- Comment #1 from j...@copiernetwork.com 2011-10-27 16:02:10 PDT ---
Same issue, but color selector doesn't show if the button isn't visible on the
toolbar. Does not matter if the window is maximized or not, just narrow enough
so the button does not display on the toolbar.

When the button moves from the toolbar to the toolbar-dropdown, additional
dialog windows are not displayed. This also happens with the Borders dialog.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42325] New: Can not alter the To: address on an envelope after it is inserted

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42325

 Bug #: 42325
   Summary: Can not alter the To: address on an envelope after
it is inserted
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.2 release
  Platform: Other
OS/Version: Linux (All)
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: toddandma...@gmail.com


I can not alter the To: address on an envelope after it is inserted.  Would
you please fix this for me?  Many thanks,
-T

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42328] New: FORMATTING: Impress slide backgrounds with Liberation fonts

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42328

 Bug #: 42328
   Summary: FORMATTING: Impress slide backgrounds with Liberation
fonts
Classification: Unclassified
   Product: LibreOffice
   Version: LibO Master
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
  Severity: normal
  Priority: medium
 Component: Presentation
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: olivier.hal...@documentfoundation.org


Following the discussion in UX list here are the slides background for Impress
with Liberation fonts.

Valid after
http://cgit.freedesktop.org/libreoffice/core/commit/?id=06e64daff148d5a94913bfe88b0c454fb2bfb0d6

The changes are

Andale, Arial - Liberation Sans

Thorndale, Times New Roman - Liberation Serif

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42328] FORMATTING: Impress slide backgrounds with Liberation fonts

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42328

--- Comment #1 from Olivier Hallot olivier.hal...@documentfoundation.org 
2011-10-27 17:16:09 PDT ---
Created attachment 52836
  -- https://bugs.freedesktop.org/attachment.cgi?id=52836
file 1/3

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42328] FORMATTING: Impress slide backgrounds with Liberation fonts

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42328

--- Comment #3 from Olivier Hallot olivier.hal...@documentfoundation.org 
2011-10-27 17:21:04 PDT ---
Created attachment 52838
  -- https://bugs.freedesktop.org/attachment.cgi?id=52838
file 3/3

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42328] FORMATTING: Impress slide backgrounds with Liberation fonts

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42328

--- Comment #4 from Olivier Hallot olivier.hal...@documentfoundation.org 
2011-10-27 17:22:14 PDT ---
Created attachment 52839
  -- https://bugs.freedesktop.org/attachment.cgi?id=52839
the last one

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42329] New: EDITING: Spell check is complete

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42329

 Bug #: 42329
   Summary: EDITING: Spell check is complete
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.3 release
  Platform: Other
OS/Version: All
Status: UNCONFIRMED
 Status Whiteboard: BSA
  Severity: normal
  Priority: medium
 Component: Writer
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: angelo...@gmail.com


Problem description: click spell check of F7 and you get spellcheck is
complete, but it does not find any misspelled words. 

Steps to reproduce:
1. Create any writer document and type misspelled words
2. press F7
3. get message spellcheck is complete

Current behavior:

Expected behavior:

Platform (if different from the browser): win7 64bit home edition with all
updates

Browser: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like
Gecko) Chrome/14.0.835.202 Safari/535.1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42329] EDITING: Spell check is complete

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42329

angelo...@gmail.com changed:

   What|Removed |Added

   Severity|normal  |critical
   Priority|medium  |high

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42330] New: Ether no explicit uninstaller, or very poorly advertised one

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42330

 Bug #: 42330
   Summary: Ether no explicit uninstaller, or very poorly
advertised one
Classification: Unclassified
   Product: LibreOffice
   Version: LibO 3.4.3 release
  Platform: x86 (IA32)
OS/Version: Windows (All)
Status: UNCONFIRMED
  Severity: blocker
  Priority: medium
 Component: Libreoffice
AssignedTo: libreoffice-bugs@lists.freedesktop.org
ReportedBy: mcl...@gmail.com


I am using Win XP
I usually instal software using 
CONTROL-PANEL -SET-PROGRAM-ACCESS..- ADD-NEW-PROGRAM -program-installer;
in the hope that by telling the OS about the programs installation,
I can un-instal with a minimum of consequences;
via CONTROL-PANEL -SET-PROGRAM-ACCESS..- CHANGE-OR-REMOVE-PROGRAMS;
This doesn't work for LibreOffice3.4.3,
apparently due to  the absence of an explicit uninstaller ;
When I tried deleting the installation directory.. etc ;
this creates a huge mess presumably due to registry residue.
Experiment has shown that 'AbsoluteUninstaler'for example will do
a proper uninstal, but more naive users may finish up formatting the
drive and reinstalling windows.
LibreOffice will quickly gain a bad reputation with this behaviour;
please fix this

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42324] When editing in Writer, the cursor ignores diacritical characters added to the letters in RTL languages.

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42324

Yotam Benshalom bensha...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 35971] Page relocation is ignored when leaving Print Preview mode

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35971

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

Version|LibO 3.4.3 release  |LibO 3.3.2 release

--- Comment #19 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-10-27 21:30:46 PDT ---
@Max Barry:
http://wiki.documentfoundation.org/BugReport_Details#Version
Of course the bug still is in 4.3.4, otherwise the status would be
Resolved-xxx

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 42320] Add Hipperlinks by default on Table of Contents

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42320

vitriol vitriol_vitr...@katamail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Severity|normal  |enhancement
 Ever Confirmed|0   |1

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 30731] Cursor behaviour with Graphite fonts

2011-10-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=30731

Rainer Bielefeld libreoff...@bielefeldundbuss.de changed:

   What|Removed |Added

 CC||LibreOffice@bielefeldundbus
   ||s.de
Version|unspecified |LibO 3.3.0 Beta2
   Keywords||NEEDINFO

--- Comment #2 from Rainer Bielefeld libreoff...@bielefeldundbuss.de 
2011-10-27 22:33:10 PDT ---
Modified Version due to report date.

@RGB:
Still a problem for you?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


Re: [Libreoffice-ux-advise] writer: link frames ...

2011-10-27 Thread Thorsten Behrens
Olivier Hallot wrote:
 I have one more suggestion: the same link mechanism as in writer for
 frames in Draw.
 
 Is it an easy hack as well?
 
Nope.

Cheers,

-- Thorsten


pgp2cDGzPgyOx.pgp
Description: PGP signature
___
Libreoffice-ux-advise mailing list
Libreoffice-ux-advise@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-ux-advise