[Libreoffice-commits] .: 92 commits - canvas/source dtrans/source i18npool/source l10ntools/source rsc/source sot/source svl/qa svtools/qa svtools/source toolkit/inc toolkit/qa toolkit/source tools/inc tools/source tools/workben vcl/aqua vcl/inc vcl/source vcl/unx vcl/win

Jan Holesovsky kendy at kemper.freedesktop.org
Wed Mar 23 09:26:52 PDT 2011


 canvas/source/directx/dx_textlayout_drawhelper.cxx |    1 
 dtrans/source/win32/dtobj/XTDataObject.cxx         |    2 
 dtrans/source/win32/dtobj/XTDataObject.hxx         |    2 
 i18npool/source/paper/paper.cxx                    |    2 
 l10ntools/source/help/HelpCompiler.hxx             |    8 +
 l10ntools/source/help/HelpIndexerTool.java         |    9 +
 l10ntools/source/help/HelpLinker.cxx               |   41 +++++-
 rsc/source/rscpp/cpp4.c                            |    2 
 rsc/source/tools/rscchar.cxx                       |   16 +-
 sot/source/sdstor/stgio.cxx                        |    4 
 svl/qa/complex/passwordcontainer/makefile.mk       |  134 +++++++++++++++++++++
 svtools/qa/unoapi/makefile.mk                      |   48 +++++++
 svtools/source/contnr/svlbox.cxx                   |    1 
 toolkit/inc/toolkit/controls/dialogcontrol.hxx     |   26 +---
 toolkit/qa/unoapi/makefile.mk                      |   48 +++++++
 toolkit/source/controls/dialogcontrol.cxx          |   41 ++----
 tools/inc/tools/debug.hxx                          |    8 +
 tools/inc/tools/mempool.hxx                        |   17 +-
 tools/source/debug/debug.cxx                       |   50 +++++--
 tools/source/memtools/mempool.cxx                  |   14 +-
 tools/workben/makefile.mk                          |   68 ++++++++++
 tools/workben/mempooltest.cxx                      |   18 ++
 vcl/aqua/inc/salframeview.h                        |    1 
 vcl/aqua/source/dtrans/DropTarget.cxx              |   43 +++---
 vcl/aqua/source/dtrans/DropTarget.hxx              |    2 
 vcl/aqua/source/gdi/salprn.cxx                     |   22 ++-
 vcl/aqua/source/window/salframeview.mm             |    5 
 vcl/inc/vcl/cursor.hxx                             |    4 
 vcl/source/app/dbggui.cxx                          |   20 ++-
 vcl/source/control/ilstbox.cxx                     |    2 
 vcl/source/gdi/jobset.cxx                          |    7 -
 vcl/source/gdi/print3.cxx                          |   43 ++----
 vcl/source/window/cursor.cxx                       |   20 ++-
 vcl/source/window/printdlg.cxx                     |   12 +
 vcl/source/window/window.cxx                       |    7 -
 vcl/unx/inc/saldisp.hxx                            |    2 
 vcl/unx/kde4/KDESalFrame.cxx                       |   10 -
 vcl/unx/source/app/saldisp.cxx                     |   32 ++---
 vcl/unx/source/gdi/salgdi.cxx                      |   26 +---
 vcl/win/source/gdi/salgdi.cxx                      |    4 
 40 files changed, 629 insertions(+), 193 deletions(-)

New commits:
commit c5fc334bc952e6335b54573d41719563817750be
Merge: dd7b312... f3b108b...
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Wed Mar 23 17:13:46 2011 +0100

    Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/libs-gui

commit dd7b312268213f9ed8f8ed686bfdf30a53aee677
Merge: f8cccd3... d306dd4...
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Wed Mar 23 16:59:33 2011 +0100

    Merge commit 'ooo/DEV300_m103'
    
    Conflicts:
    	cppcanvas/source/mtfrenderer/implrenderer.cxx
    	dtrans/source/win32/dtobj/XTDataObject.cxx
    	dtrans/source/win32/dtobj/XTDataObject.hxx
    	sot/source/sdstor/stgio.cxx
    	tools/source/debug/debug.cxx
    	vcl/source/gdi/jobset.cxx
    	vcl/unx/kde4/KDEData.cxx
    	vcl/unx/kde4/KDEData.hxx
    	vcl/unx/kde4/KDESalDisplay.cxx
    	vcl/unx/kde4/KDESalFrame.cxx
    	vcl/unx/kde4/KDESalFrame.hxx
    	vcl/unx/kde4/KDESalGraphics.cxx
    	vcl/unx/kde4/KDESalGraphics.hxx
    	vcl/unx/kde4/KDESalInstance.cxx
    	vcl/unx/kde4/KDESalInstance.hxx
    	vcl/unx/kde4/KDEXLib.cxx
    	vcl/unx/kde4/VCLKDEApplication.cxx
    	vcl/unx/kde4/VCLKDEApplication.hxx

diff --cc canvas/source/directx/dx_textlayout_drawhelper.cxx
index 7493e07,3c44240..566b203
mode 100644,100755..100644
--- a/canvas/source/directx/dx_textlayout_drawhelper.cxx
+++ b/canvas/source/directx/dx_textlayout_drawhelper.cxx
@@@ -40,8 -39,8 +40,9 @@@
  #include <boost/scoped_array.hpp>
  #include <boost/bind.hpp>
  #include <com/sun/star/rendering/FontRequest.hpp>
+ #include <com/sun/star/rendering/PanoseProportion.hpp>
  #include <com/sun/star/rendering/XCanvasFont.hpp>
 +#include <com/sun/star/rendering/PanoseProportion.hpp>
  #include <comphelper/sequence.hxx>
  #include <comphelper/scopeguard.hxx>
  #include <tools/color.hxx>
diff --cc dtrans/source/win32/dtobj/XTDataObject.cxx
index 2a9eae1,18af5f4..9cf47e1
--- a/dtrans/source/win32/dtobj/XTDataObject.cxx
+++ b/dtrans/source/win32/dtobj/XTDataObject.cxx
@@@ -34,8 -33,10 +34,8 @@@
  //------------------------------------------------------------------------
  #include <osl/diagnose.h>
  
 -#ifndef _TXDATAOBJECT_HXX_
  #include "XTDataObject.hxx"
- #include <com/sun/star/datatransfer/dataflavor.hpp>
 -#endif
+ #include <com/sun/star/datatransfer/DataFlavor.hpp>
  #include "..\misc\ImplHelper.hxx"
  #include "DTransHelper.hxx"
  #include "TxtCnvtHlp.hxx"
diff --cc dtrans/source/win32/dtobj/XTDataObject.hxx
index 2b6540d,984c805..59e90aa
--- a/dtrans/source/win32/dtobj/XTDataObject.hxx
+++ b/dtrans/source/win32/dtobj/XTDataObject.hxx
@@@ -38,9 -37,13 +38,9 @@@
  #include <com/sun/star/datatransfer/XTransferable.hpp>
  #include <com/sun/star/datatransfer/clipboard/XClipboardOwner.hpp>
  
 -#ifndef _DATAFORMATTRANSLATOR_HXX_
  #include "DataFmtTransl.hxx"
 -#endif
  
- #include "FEtcList.hxx"
 -#ifndef _FETCLIST_HXX_
+ #include "FetcList.hxx"
 -#endif
  
  #if defined _MSC_VER
  #pragma warning(push,1)
diff --cc i18npool/source/paper/paper.cxx
index 18e1440,0602cab..0fb219c
--- a/i18npool/source/paper/paper.cxx
+++ b/i18npool/source/paper/paper.cxx
@@@ -159,9 -157,9 +159,9 @@@ static PageDesc aDinTab[] 
      { IN2MM100( 36 ),    IN2MM100( 48 ),     "ARCHE",  NULL }
  };
  
 -static const size_t nTabSize = sizeof(aDinTab) / sizeof(aDinTab[0]);
 +static const size_t nTabSize = SAL_N_ELEMENTS(aDinTab);
  
- #define MAXSLOPPY 11
+ #define MAXSLOPPY 21
  
  bool PaperInfo::doSloppyFit()
  {
diff --cc l10ntools/source/help/HelpCompiler.hxx
index fa9c668,79ffdbe..2223c76
mode 100644,100755..100755
--- a/l10ntools/source/help/HelpCompiler.hxx
+++ b/l10ntools/source/help/HelpCompiler.hxx
diff --cc l10ntools/source/help/HelpLinker.cxx
index 32de3cc,1e9cf77..8dfb473
mode 100644,100755..100755
--- a/l10ntools/source/help/HelpLinker.cxx
+++ b/l10ntools/source/help/HelpLinker.cxx
@@@ -123,7 -118,13 +123,13 @@@ void IndexerPreProcessor::processDocume
          {
              fs::path fsCaptionPureTextFile_docURL = m_fsCaptionFilesDirName / aStdStr_EncodedDocPathURL;
              std::string aCaptionPureTextFileStr_docURL = fsCaptionPureTextFile_docURL.native_file_string();
-             FILE* pFile_docURL = fopen( aCaptionPureTextFileStr_docURL.c_str(), "w" );
+ #ifdef WNT     //We need _wfopen to support long file paths on Windows XP
+             FILE* pFile_docURL = _wfopen(
+                 fsCaptionPureTextFile_docURL.native_file_string_w(), L"w" );
 -#else            
++#else
+             FILE* pFile_docURL = fopen(
+                 fsCaptionPureTextFile_docURL.native_file_string().c_str(), "w" );
 -#endif            
++#endif
              if( pFile_docURL )
              {
                  fprintf( pFile_docURL, "%s\n", pResNodeCaption->content );
@@@ -140,8 -141,13 +146,13 @@@
          if( pResNodeContent )
          {
              fs::path fsContentPureTextFile_docURL = m_fsContentFilesDirName / aStdStr_EncodedDocPathURL;
-             std::string aContentPureTextFileStr_docURL = fsContentPureTextFile_docURL.native_file_string();
-             FILE* pFile_docURL = fopen( aContentPureTextFileStr_docURL.c_str(), "w" );
+ #ifdef WNT     //We need _wfopen to support long file paths on Windows XP
+             FILE* pFile_docURL = _wfopen(
+                 fsContentPureTextFile_docURL.native_file_string_w(), L"w" );
 -#else            
++#else
+             FILE* pFile_docURL = fopen(
+                 fsContentPureTextFile_docURL.native_file_string().c_str(), "w" );
 -#endif            
++#endif
              if( pFile_docURL )
              {
                  fprintf( pFile_docURL, "%s\n", pResNodeContent->content );
@@@ -231,9 -237,13 +242,13 @@@ public
          }
      }
  
-     void dump_DBHelp( const std::string& rFileName )
+     void dump_DBHelp( const fs::path& rFileName )
      {
-         FILE* pFile = fopen( rFileName.c_str(), "wb" );
+ #ifdef WNT     //We need _wfopen to support long file paths on Windows XP
+         FILE* pFile = _wfopen( rFileName.native_file_string_w(), L"wb" );
 -#else        
++#else
+         FILE* pFile = fopen( rFileName.native_file_string().c_str(), "wb" );
 -#endif        
++#endif
          if( pFile == NULL )
              return;
  
@@@ -422,9 -445,15 +437,15 @@@ void HelpLinker::link() throw( HelpProc
  #endif
  
      fs::path helpTextFileName_DBHelp(indexDirParentName / (mod + (bUse_ ? ".ht_" : ".ht")));
+ #ifdef WNT
+     //We need _wfopen to support long file paths on Windows XP
+     FILE* pFileHelpText_DBHelp = _wfopen
+         ( helpTextFileName_DBHelp.native_file_string_w(), L"wb" );
+ #else
 -    
++
      FILE* pFileHelpText_DBHelp = fopen
          ( helpTextFileName_DBHelp.native_file_string().c_str(), "wb" );
- 
+ #endif
      DB* dbBase(0);
  #ifndef DBHELP_ONLY
      fs::path dbBaseFileName(indexDirParentName / (mod + ".db"));
@@@ -434,8 -463,14 +455,14 @@@
  #endif
  
      fs::path dbBaseFileName_DBHelp(indexDirParentName / (mod + (bUse_ ? ".db_" : ".db")));
+ #ifdef WNT
+     //We need _wfopen to support long file paths on Windows XP
+     FILE* pFileDbBase_DBHelp = _wfopen
+         ( dbBaseFileName_DBHelp.native_file_string_w(), L"wb" );
 -#else    
++#else
      FILE* pFileDbBase_DBHelp = fopen
          ( dbBaseFileName_DBHelp.native_file_string().c_str(), "wb" );
 -#endif    
++#endif
  
  #ifndef DBHELP_ONLY
      DB* keyWord(0);
diff --cc sot/source/sdstor/stgio.cxx
index 7408697,e256c17..23cf39e
--- a/sot/source/sdstor/stgio.cxx
+++ b/sot/source/sdstor/stgio.cxx
@@@ -383,9 -383,6 +384,8 @@@ sal_uLong StgIo::ValidateFATs(
  //		DBG_ASSERT( nErr == FAT_OK ,"Storage kaputt");
          return nErr;
      }
 -//	DBG_ERROR("Validiere nicht (kein FileStorage)");
 +//	OSL_FAIL("Validiere nicht (kein FileStorage)");
      return FAT_OK;
  }
 +
- 
- /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
++/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --cc svtools/source/filter.vcl/filter/FilterConfigItem.cxx
index 648b9b0,b904046..648b9b0
mode 100644,100755..100755
--- a/svtools/source/filter.vcl/filter/FilterConfigItem.cxx
+++ b/svtools/source/filter.vcl/filter/FilterConfigItem.cxx
diff --cc toolkit/source/controls/dialogcontrol.cxx
index 93aea99,ffe4a2e..5f9072c
--- a/toolkit/source/controls/dialogcontrol.cxx
+++ b/toolkit/source/controls/dialogcontrol.cxx
@@@ -188,28 -188,9 +188,9 @@@ UnoDialogControl::~UnoDialogControl(
          return ::rtl::OUString::createFromAscii( "TabPage" );
  }
  
- // XInterface
- Any UnoDialogControl::queryAggregation( const Type & rType ) throw(RuntimeException)
- {
-         uno::Any aRet = ::cppu::queryInterface( rType, SAL_STATIC_CAST( awt::XTopWindow*, this ) );
-         if ( !aRet.hasValue() )
-             aRet = ::cppu::queryInterface( rType, SAL_STATIC_CAST( awt::XDialog*, this ) );
-         if ( !aRet.hasValue() )
-             aRet = ::cppu::queryInterface( rType, SAL_STATIC_CAST( awt::XWindowListener*, this ) );
-     return (aRet.hasValue() ? aRet : ControlContainerBase::queryAggregation( rType ));
- }
- 
-  //lang::XTypeProvider
- IMPL_XTYPEPROVIDER_START( UnoDialogControl)
-     getCppuType( ( uno::Reference< awt::XTopWindow>* ) NULL ),
-     getCppuType( ( uno::Reference< awt::XDialog>* ) NULL ),
-     getCppuType( ( uno::Reference< awt::XWindowListener>* ) NULL ),
-     ControlContainerBase::getTypes()
- IMPL_XTYPEPROVIDER_END
- 
  void UnoDialogControl::dispose() throw(RuntimeException)
  {
 -    vos::OGuard aSolarGuard( Application::GetSolarMutex() );
 +    SolarMutexGuard aGuard;
  
      EventObject aEvt;
      aEvt.Source = static_cast< ::cppu::OWeakObject* >( this );
@@@ -421,9 -400,23 +400,23 @@@ void SAL_CALL UnoDialogControl::windowH
      (void)e;
  }
  
+ void SAL_CALL UnoDialogControl::endDialog( ::sal_Int32 i_result ) throw (RuntimeException)
+ {
+     Reference< XDialog2 > xPeerDialog( getPeer(), UNO_QUERY );
+     if ( xPeerDialog.is() )
+         xPeerDialog->endDialog( i_result );
+ }
+ 
+ void SAL_CALL UnoDialogControl::setHelpId( const rtl::OUString& i_id ) throw (RuntimeException)
+ {
+     Reference< XDialog2 > xPeerDialog( getPeer(), UNO_QUERY );
+     if ( xPeerDialog.is() )
+         xPeerDialog->setHelpId( i_id );
+ }
+ 
  void UnoDialogControl::setTitle( const ::rtl::OUString& Title ) throw(RuntimeException)
  {
 -    vos::OGuard aSolarGuard( Application::GetSolarMutex() );
 +    SolarMutexGuard aGuard;
      Any aAny;
      aAny <<= Title;
      ImplSetPropertyValue( GetPropertyName( BASEPROPERTY_TITLE ), aAny, sal_True );
diff --cc tools/inc/tools/mempool.hxx
index 07845ef,07b78e9..777bdb6
--- a/tools/inc/tools/mempool.hxx
+++ b/tools/inc/tools/mempool.hxx
@@@ -115,9 -119,7 +120,9 @@@ IMPL_FIXEDMEMPOOL_DEL_BODY( Class, aPoo
      DECL_FIXEDMEMPOOL_DEL_IMPL( Class ) \
      IMPL_FIXEDMEMPOOL_DEL_BODY( Class, aPool )
  
- #define INIT_FIXEDMEMPOOL_NEWDEL_DLL( class, aPool, InitSize, GrowSize ) \
-     aPool( sizeof( class ), InitSize, GrowSize )
+ #define INIT_FIXEDMEMPOOL_NEWDEL_DLL( Class, aPool, InitSize, GrowSize ) \
+     aPool( IMPL_FIXEDMEMPOOL_STRING( Class ), sizeof( Class ), (InitSize), (GrowSize) )
  
  #endif // _SVMEMPOOL_HXX
 +
 +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --cc tools/source/debug/debug.cxx
index dfafd54,b663c12..36342ad
--- a/tools/source/debug/debug.cxx
+++ b/tools/source/debug/debug.cxx
@@@ -477,23 -473,20 +479,20 @@@ namespac
          if ( nValueLen )
              *_out_pnValue = strcmp( aBuf, "1" ) == 0 ? sal_True : sal_False;
      }
-     void lcl_tryReadOutputChannel( const sal_Char* _pLine, size_t _nLineLen, const sal_Char* _pKeyName, sal_uIntPtr* _out_pnValue )
+     void lcl_matchOutputChannel( sal_Char const * i_buffer, sal_uIntPtr* o_value )
      {
+         if ( i_buffer == NULL )
+             return;
          const sal_Char* names[ DBG_OUT_COUNT ] =
          {
-             "dev/null", "file", "window", "shell", "messagebox", "testtool", "debugger", "coredump"
+             "dev/null", "file", "window", "shell", "messagebox", "testtool", "debugger", "abort"
          };
-         sal_Char aBuf[20];
-         size_t nValueLen = lcl_tryReadConfigString( _pLine, _nLineLen, _pKeyName, aBuf, sizeof( aBuf ) );
-         if ( nValueLen )
 -        for ( sal_uIntPtr name = 0; name < sizeof( names ) / sizeof( names[0] ); ++name )
++        for ( size_t name = 0; name < SAL_N_ELEMENTS( names ); ++name )
          {
-             for ( size_t name = 0; name < SAL_N_ELEMENTS( names ); ++name )
+             if ( strcmp( i_buffer, names[ name ] ) == 0 )
              {
-                 if ( strcmp( aBuf, names[ name ] ) == 0 )
-                 {
-                     *_out_pnValue = name;
-                     return;
-                 }
+                 *o_value = name;
+                 return;
              }
          }
      }
diff --cc tools/source/memtools/mempool.cxx
index 319d0e6,6f9b384..0c92472
--- a/tools/source/memtools/mempool.cxx
+++ b/tools/source/memtools/mempool.cxx
@@@ -29,10 -28,13 +29,11 @@@
  // MARKER(update_precomp.py): autogen include statement, do not remove
  #include "precompiled_tools.hxx"
  
- #include <tools/mempool.hxx>
+ #include "tools/mempool.hxx"
+ #include "osl/diagnose.h"
  #include "rtl/alloc.h"
  
 -#ifndef INCLUDED_STDIO_H
  #include <stdio.h>
 -#endif
  
  /*************************************************************************
  |*
diff --cc vcl/aqua/inc/salframeview.h
index c1fe426,0e15dfa..f490973
mode 100644,100755..100644
--- a/vcl/aqua/inc/salframeview.h
+++ b/vcl/aqua/inc/salframeview.h
diff --cc vcl/aqua/source/dtrans/DropTarget.cxx
index 762c17f,2ee4cc0..7473d75
--- a/vcl/aqua/source/dtrans/DropTarget.cxx
+++ b/vcl/aqua/source/dtrans/DropTarget.cxx
@@@ -49,7 -50,10 +49,9 @@@
  #include <Carbon/Carbon.h>
  #include <postmac.h>
  
+ #include <salframe.h>
+ #include <salframeview.h>
  
 -using namespace rtl;
  using namespace cppu;
  using namespace osl;
  using namespace com::sun::star::datatransfer;
@@@ -58,10 -62,9 +60,11 @@@ using namespace com::sun::star::datatra
  using namespace com::sun::star::datatransfer::clipboard;
  using namespace com::sun::star::lang;
  using namespace com::sun::star::uno;
+ using namespace com::sun::star;
  using namespace comphelper;
  
 +using ::rtl::OUString;
 +
  OUString dropTarget_getImplementationName()
  {
    return OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1"));
diff --cc vcl/source/gdi/jobset.cxx
index 8731517,8e37bbb..d1f5a99
--- a/vcl/source/gdi/jobset.cxx
+++ b/vcl/source/gdi/jobset.cxx
@@@ -295,10 -296,12 +295,10 @@@ SvStream& operator>>( SvStream& rIStrea
  {
      DBG_ASSERTWARNING( rIStream.GetVersion(), "JobSetup::>> - Solar-Version not set on rOStream" );
  
 -    // Zur Zeit haben wir noch kein neues FileFormat
 -//	  if ( rIStream.GetVersion() < JOBSET_FILEFORMAT2 )
      {
-         sal_uInt16 nLen(0);
-         sal_uInt16 nSystem;
          sal_Size nFirstPos = rIStream.Tell();
+ 
+         sal_uInt16 nLen = 0;
          rIStream >> nLen;
          if ( !nLen )
              return rIStream;
diff --cc vcl/source/gdi/print3.cxx
index bed9fe8,f0f6c19..aa345fe
mode 100644,100755..100644
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
diff --cc vcl/source/window/printdlg.cxx
index 9dd335b,1415d97..ce9f87f
mode 100644,100755..100755
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
diff --cc vcl/unx/kde4/KDESalFrame.cxx
index 76d2e27,983ec25..3d34957
--- a/vcl/unx/kde4/KDESalFrame.cxx
+++ b/vcl/unx/kde4/KDESalFrame.cxx
@@@ -87,6 -86,15 +87,8 @@@ static OUString readEntryUntranslated( 
      return OUString::createFromAscii( (const char *) pGroup->readEntryUntranslated( pKey ).toAscii() );
  }
  
+ #if 0
 -/** Helper function to read color from KConfig configuration repository.
 -*/
 -static Color readColor( KConfigGroup *pGroup, const char *pKey )
 -{
 -    return toColor( pGroup->readEntry( pKey, QColor(Qt::white) ) );
 -}
+ #endif
 -
  /** Helper function to add information to Font from QFont.
  
      Mostly grabbed from the Gtk+ vclplug (salnativewidgets-gtk.cxx).
diff --cc vcl/win/source/gdi/salgdi.cxx
index 4587065,140683b..19637df
mode 100644,100755..100644
--- a/vcl/win/source/gdi/salgdi.cxx
+++ b/vcl/win/source/gdi/salgdi.cxx
commit d306dd4172f0e849729f35988e9d90df624e5fba
Author: obo <obo at openoffice.org>
Date:   Wed Mar 16 13:51:10 2011 +0100

    masterfix DEV300: #i117352#,#i10000# WaE converting to non-pointer type sal_uInt16 from NULL

diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index 89d5f32..cf09992 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -711,7 +711,7 @@ sal_uInt16 SfxUndoManager::GetUndoActionId() const
 
     DBG_ASSERT( m_pData->pActUndoArray->nCurUndoAction > 0, "svl::SfxUndoManager::GetUndoActionId(), illegal id!" );
     if ( m_pData->pActUndoArray->nCurUndoAction == 0 )
-        return NULL;
+        return 0;
     return m_pData->pActUndoArray->aUndoActions[m_pData->pActUndoArray->nCurUndoAction-1].pAction->GetId();
 }
 
commit aa851f995545620803fdac27de287f0ade58e68e
Merge: f21efcf... 7d1fc3b...
Author: obo <obo at openoffice.org>
Date:   Wed Mar 16 12:21:09 2011 +0100

    CWS-TOOLING: integrate CWS vcl120

commit f21efcf8967bc1b3154c4fd6ae9e5156be721bfb
Merge: a012cde... 62ab4e1...
Author: obo <obo at openoffice.org>
Date:   Wed Mar 16 10:11:17 2011 +0100

    CWS-TOOLING: integrate CWS jl164

commit a012cde5cdbb68b9ef2e414c2637f6695d6f4fd0
Merge: 2b56aec... adc4ce4...
Author: obo <obo at openoffice.org>
Date:   Wed Mar 16 09:46:06 2011 +0100

    CWS-TOOLING: integrate CWS ext006

commit 2b56aeca6ac89de375e08032c341d8ef728418b8
Merge: 06ea6bc... ec25eff...
Author: obo <obo at openoffice.org>
Date:   Wed Mar 16 09:10:50 2011 +0100

    CWS-TOOLING: integrate CWS obo55

commit 06ea6bcd7006555e7f21c3e830df3725436ee142
Merge: 5cbbee2... f249c5b...
Author: obo <obo at openoffice.org>
Date:   Wed Mar 16 08:29:30 2011 +0100

    CWS-TOOLING: integrate CWS debuglevels

commit 7d1fc3ba06f0908f0548fe01e5947ed705a75476
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Oracle.COM>
Date:   Tue Mar 15 15:26:25 2011 +0100

    vcl120: #i117267# better paper matching

diff --git a/i18npool/source/paper/paper.cxx b/i18npool/source/paper/paper.cxx
index 4ccba20..0602cab 100644
--- a/i18npool/source/paper/paper.cxx
+++ b/i18npool/source/paper/paper.cxx
@@ -159,7 +159,7 @@ static PageDesc aDinTab[] =
 
 static const size_t nTabSize = sizeof(aDinTab) / sizeof(aDinTab[0]);
 
-#define MAXSLOPPY 11
+#define MAXSLOPPY 21
 
 bool PaperInfo::doSloppyFit()
 {
diff --git a/vcl/aqua/source/gdi/salprn.cxx b/vcl/aqua/source/gdi/salprn.cxx
index c36b38c..9fcd3af 100644
--- a/vcl/aqua/source/gdi/salprn.cxx
+++ b/vcl/aqua/source/gdi/salprn.cxx
@@ -834,12 +834,24 @@ void AquaSalInfoPrinter::InitPaperFormats( const ImplJobSetup* i_pSetupData )
                 for( unsigned int i = 0; i < nPapers; i++ )
                 {
                     NSString* pPaper = [pPaperNames objectAtIndex: i];
-                    NSSize aPaperSize = [mpPrinter pageSizeForPaper: pPaper];
-                    if( aPaperSize.width > 0 && aPaperSize.height > 0 )
+                    // first try to match the name
+                    rtl::OString aPaperName( [pPaper UTF8String] );
+                    Paper ePaper = PaperInfo::fromPSName( aPaperName );
+                    if( ePaper != PAPER_USER )
                     {
-                        PaperInfo aInfo( PtTo10Mu( aPaperSize.width ),
-                                         PtTo10Mu( aPaperSize.height ) );
-                        m_aPaperFormats.push_back( aInfo );
+                        m_aPaperFormats.push_back( PaperInfo( ePaper ) );
+                    }
+                    else
+                    {
+                        NSSize aPaperSize = [mpPrinter pageSizeForPaper: pPaper];
+                        if( aPaperSize.width > 0 && aPaperSize.height > 0 )
+                        {
+                            PaperInfo aInfo( PtTo10Mu( aPaperSize.width ),
+                                             PtTo10Mu( aPaperSize.height ) );
+                            if( aInfo.getPaper() == PAPER_USER )
+                                aInfo.doSloppyFit();
+                            m_aPaperFormats.push_back( aInfo );
+                        }
                     }
                 }
             }
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index be4a5ca..1415d97 100755
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -2107,6 +2107,7 @@ IMPL_LINK( PrintDialog, SelectHdl, ListBox*, pBox )
         maPController->resetPrinterOptions( maOptionsPage.maToFileBox.IsChecked() );
         // update text fields
         updatePrinterText();
+        preparePreview( true, false );
     }
     else if( pBox == &maNUpPage.maNupOrientationBox || pBox == &maNUpPage.maNupOrderBox )
     {
commit f249c5bc1bb1875ebce9e9546c36633712b1aa35
Merge: 88d9b1b... 5cbbee2...
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Mon Mar 14 09:47:56 2011 +0100

    debuglevels: pulled and merged DEV300.m102

commit 80faa7482b5db5865d7e748cf1468645918e7d56
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Oracle.COM>
Date:   Thu Mar 10 13:28:06 2011 +0100

    vcl120: #i114306# tweak defaultprinter behavior again

diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index f9edf62..f0f6c19 100755
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -333,30 +333,13 @@ void Printer::ImplPrintJob( const boost::shared_ptr<PrinterController>& i_pContr
     
     // setup printer
 
-    // if no specific printer is already set, create one
-    
-    // #i108686#
-    // in case of a UI (platform independent or system dialog) print job, make the printer persistent over jobs
-    // however if no printer was already set by the print job's originator,
-    // and this is an API job, then use the system default location (because
-    // this is the only sensible default available if the user has no means of changing
-    // the destination
+    // #i114306# changed behavior back from persistence
+    // if no specific printer is already set, create the default printer
     if( ! pController->getPrinter() )
     {
         rtl::OUString aPrinterName( i_rInitSetup.GetPrinterName() );
-        bool bSetJobSetup = true;
-        if( ! aPrinterName.getLength() && pController->isShowDialogs() && ! pController->isDirectPrint() )
-        {
-            // get printer name from configuration
-            SettingsConfigItem* pItem = SettingsConfigItem::get();
-            aPrinterName = pItem->getValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintDialog" ) ),
-                                            rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LastPrinterUsed" ) ) );
-            bSetJobSetup = false;
-        }
-
         boost::shared_ptr<Printer> pPrinter( new Printer( aPrinterName ) );
-        if( bSetJobSetup )
-            pPrinter->SetJobSetup( i_rInitSetup );
+        pPrinter->SetJobSetup( i_rInitSetup );
         pController->setPrinter( pPrinter );
     }
     
commit 662d5ff77358579224ca5626bfc7a7cffc61e842
Merge: 77b5c93... 5cbbee2...
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Oracle.COM>
Date:   Thu Mar 10 10:52:14 2011 +0100

    vcl120: rebase to DEV300m102

commit 5cbbee27351fa7460755ed469a5166bb4545c0d6
Merge: 56fbd69... f3b74ed...
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Mon Mar 7 17:31:32 2011 +0100

    CWS-TOOLING: integrate CWS os146

commit 56fbd699bb8b44bf46f35276e9682f449faa7eab
Merge: 76d8807... 77b5c93...
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Mon Mar 7 13:55:23 2011 +0100

    CWS-TOOLING: integrate CWS vcl119

commit 76d8807886dd692bb5ea8ffa16dda8bdb77ec38d
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Fri Mar 4 16:37:53 2011 +0100

    masterfix DEV300: KDE vs. tooltypes

diff --git a/vcl/unx/kde4/KDEData.cxx b/vcl/unx/kde4/KDEData.cxx
index e8482d4..769057e 100644
--- a/vcl/unx/kde4/KDEData.cxx
+++ b/vcl/unx/kde4/KDEData.cxx
@@ -51,4 +51,4 @@ void KDEData::initNWF()
 
 void KDEData::deInitNWF()
 {
-}
\ No newline at end of file
+}
diff --git a/vcl/unx/kde4/KDEData.hxx b/vcl/unx/kde4/KDEData.hxx
index 0ff2039..0e72438 100644
--- a/vcl/unx/kde4/KDEData.hxx
+++ b/vcl/unx/kde4/KDEData.hxx
@@ -39,4 +39,4 @@ class KDEData : public X11SalData
         virtual void Init();
         virtual void initNWF();
         virtual void deInitNWF();
-};
\ No newline at end of file
+};
diff --git a/vcl/unx/kde4/KDESalDisplay.cxx b/vcl/unx/kde4/KDESalDisplay.cxx
index 061b4c3..1e31a92 100644
--- a/vcl/unx/kde4/KDESalDisplay.cxx
+++ b/vcl/unx/kde4/KDESalDisplay.cxx
@@ -42,4 +42,4 @@ SalKDEDisplay::~SalKDEDisplay()
     doDestruct();
     // prevent SalDisplay from closing KApplication's display
     pDisp_ = NULL;
-}
\ No newline at end of file
+}
diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx
index 9e86bb4..983ec25 100644
--- a/vcl/unx/kde4/KDESalFrame.cxx
+++ b/vcl/unx/kde4/KDESalFrame.cxx
@@ -56,12 +56,12 @@
 #include <stdio.h>
 #endif
 
-KDESalFrame::KDESalFrame( SalFrame* pParent, ULONG nState ) :
+KDESalFrame::KDESalFrame( SalFrame* pParent, sal_uLong nState ) :
     X11SalFrame( pParent, nState )
 {
 }
 
-void KDESalFrame::Show( BOOL bVisible, BOOL bNoActivate )
+void KDESalFrame::Show( sal_Bool bVisible, sal_Bool bNoActivate )
 {
     if ( !GetParent() && ! (GetStyle() & SAL_FRAME_STYLE_INTRO) )
     {
@@ -86,12 +86,14 @@ static OUString readEntryUntranslated( KConfigGroup *pGroup, const char *pKey )
     return OUString::createFromAscii( (const char *) pGroup->readEntryUntranslated( pKey ).toAscii() );
 }
 
+#if 0
 /** Helper function to read color from KConfig configuration repository.
 */
 static Color readColor( KConfigGroup *pGroup, const char *pKey )
 {
     return toColor( pGroup->readEntry( pKey, QColor(Qt::white) ) );
 }
+#endif
 
 /** Helper function to add information to Font from QFont.
 
@@ -179,7 +181,7 @@ static Font toFont( const QFont &rQFont, const ::com::sun::star::lang::Locale& r
 void KDESalFrame::UpdateSettings( AllSettings& rSettings )
 {
     StyleSettings style( rSettings.GetStyleSettings() );
-    BOOL bSetTitleFont = false;
+    bool bSetTitleFont = false;
     
     // General settings
     QPalette pal = kapp->palette();
@@ -272,9 +274,9 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
     {
         Color aColor2 = style.GetLightColor();
         style.
-            SetCheckedColor( Color( (BYTE)(((USHORT)aBack.GetRed()+(USHORT)aColor2.GetRed())/2),
-                        (BYTE)(((USHORT)aBack.GetGreen()+(USHORT)aColor2.GetGreen())/2),
-                        (BYTE)(((USHORT)aBack.GetBlue()+(USHORT)aColor2.GetBlue())/2)
+            SetCheckedColor( Color( (sal_uInt8)(((sal_uInt16)aBack.GetRed()+(sal_uInt16)aColor2.GetRed())/2),
+                        (sal_uInt8)(((sal_uInt16)aBack.GetGreen()+(sal_uInt16)aColor2.GetGreen())/2),
+                        (sal_uInt8)(((sal_uInt16)aBack.GetBlue()+(sal_uInt16)aColor2.GetBlue())/2)
                         ) );
     }
 
@@ -402,4 +404,4 @@ SalGraphics* KDESalFrame::GetGraphics()
     }
     
     return NULL;
-}
\ No newline at end of file
+}
diff --git a/vcl/unx/kde4/KDESalFrame.hxx b/vcl/unx/kde4/KDESalFrame.hxx
index e25d0d4..ef560d9 100644
--- a/vcl/unx/kde4/KDESalFrame.hxx
+++ b/vcl/unx/kde4/KDESalFrame.hxx
@@ -47,12 +47,12 @@ class KDESalFrame : public X11SalFrame
         GraphicsHolder m_aGraphics[ nMaxGraphics ];
 
     public:
-        KDESalFrame( SalFrame* pParent, ULONG nStyle );
+        KDESalFrame( SalFrame* pParent, sal_uLong nStyle );
         virtual ~KDESalFrame();
 
         virtual SalGraphics* GetGraphics();
         virtual void ReleaseGraphics( SalGraphics *pGraphics );
         virtual void updateGraphics( bool bClear );
         virtual void UpdateSettings( AllSettings& rSettings );
-        virtual void Show( BOOL bVisible, BOOL bNoActivate );
-};
\ No newline at end of file
+        virtual void Show( sal_Bool bVisible, sal_Bool bNoActivate );
+};
diff --git a/vcl/unx/kde4/KDESalGraphics.cxx b/vcl/unx/kde4/KDESalGraphics.cxx
index 4909956..53d8120 100644
--- a/vcl/unx/kde4/KDESalGraphics.cxx
+++ b/vcl/unx/kde4/KDESalGraphics.cxx
@@ -100,7 +100,7 @@ KDESalGraphics::~KDESalGraphics()
         delete m_image;
 }
 
-BOOL KDESalGraphics::IsNativeControlSupported( ControlType type, ControlPart part )
+sal_Bool KDESalGraphics::IsNativeControlSupported( ControlType type, ControlPart part )
 {
     if (type == CTRL_PUSHBUTTON) return true;
     
@@ -154,9 +154,9 @@ BOOL KDESalGraphics::IsNativeControlSupported( ControlType type, ControlPart par
     return false;
 }
 
-BOOL KDESalGraphics::hitTestNativeControl( ControlType, ControlPart,
+sal_Bool KDESalGraphics::hitTestNativeControl( ControlType, ControlPart,
                                            const Rectangle&, const Point&,
-                                           BOOL& )
+                                           sal_Bool& )
 {
     return FALSE;
 }
@@ -232,7 +232,7 @@ namespace
     }
 }
 
-BOOL KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
+sal_Bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
                                         const Rectangle& rControlRegion, ControlState nControlState,
                                         const ImplControlValue& value,
                                         const OUString& )
@@ -243,7 +243,7 @@ BOOL KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
         return false;
     }
     
-    BOOL returnVal = true;
+   sal_Bool returnVal = true;
 
     QRect widgetRect = region2QRect(rControlRegion);
     if( type == CTRL_SPINBOX && part == PART_ALL_BUTTONS )
@@ -562,8 +562,8 @@ BOOL KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
         {
             if( pTempClipRegion )
             {
-                if( pClipRegion_ )
-                    XIntersectRegion( pTempClipRegion, pClipRegion_, pTempClipRegion );
+                if( mpClipRegion )
+                    XIntersectRegion( pTempClipRegion, mpClipRegion, pTempClipRegion );
                 XSetRegion( GetXDisplay(), gc, pTempClipRegion );
             }
             QPixmap pixmap = QPixmap::fromImage(*m_image, Qt::ColorOnly | Qt::OrderedDither | Qt::OrderedAlphaDither);
@@ -574,8 +574,8 @@ BOOL KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
             
             if( pTempClipRegion )
             {
-                if( pClipRegion_ )
-                    XSetRegion( GetXDisplay(), gc, pClipRegion_ );
+                if( mpClipRegion )
+                    XSetRegion( GetXDisplay(), gc, mpClipRegion );
                 else
                     XSetClipMask( GetXDisplay(), gc, None );
             }
@@ -589,7 +589,7 @@ BOOL KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
     return returnVal;
 }
 
-BOOL KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
+sal_Bool KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
                                              const Rectangle& controlRegion, ControlState controlState,
                                              const ImplControlValue& val,
                                              const OUString&,
@@ -769,7 +769,7 @@ BOOL KDESalGraphics::getNativeControlRegion( ControlType type, ControlPart part,
             if( part == PART_BORDER )
             {
                 int nFrameWidth = getFrameWidth();
-                USHORT nStyle = val.getNumericVal();
+                sal_uInt16 nStyle = val.getNumericVal();
                 if( nStyle & FRAME_DRAW_NODRAW )
                 {
                     // in this case the question is: how thick would a frame be
diff --git a/vcl/unx/kde4/KDESalGraphics.hxx b/vcl/unx/kde4/KDESalGraphics.hxx
index 35547bd..558d45b 100644
--- a/vcl/unx/kde4/KDESalGraphics.hxx
+++ b/vcl/unx/kde4/KDESalGraphics.hxx
@@ -50,16 +50,16 @@ class KDESalGraphics : public X11SalGraphics
             @param part Specification of the widget's part if it consists of more than one.
             @return true if the platform supports native drawing of the widget type defined by part.
         */
-        virtual BOOL IsNativeControlSupported( ControlType type, ControlPart part );
+        virtual sal_Bool IsNativeControlSupported( ControlType type, ControlPart part );
         
         /** Test whether the position is in the native widget.
             If the return value is TRUE, bIsInside contains information whether
             aPos was or was not inside the native widget specified by the
             type/part combination.
         */
-        virtual BOOL hitTestNativeControl( ControlType type, ControlPart part,
+        virtual sal_Bool hitTestNativeControl( ControlType type, ControlPart part,
                                         const Rectangle& rControlRegion, const Point& aPos,
-                                        BOOL& rIsInside );
+                                        sal_Bool& rIsInside );
         /** Draw the requested control described by part/nControlState.
         
             @param rControlRegion
@@ -71,7 +71,7 @@ class KDESalGraphics : public X11SalGraphics
             @param aCaption
             A caption or title string (like button text etc.)
         */
-        virtual BOOL drawNativeControl( ControlType type, ControlPart part,
+        virtual sal_Bool drawNativeControl( ControlType type, ControlPart part,
                                         const Rectangle& rControlRegion, ControlState nControlState,
                                         const ImplControlValue& aValue,
                                         const rtl::OUString& aCaption );
@@ -84,7 +84,7 @@ class KDESalGraphics : public X11SalGraphics
             @param aValue An optional value (tristate/numerical/string)
             @param aCaption	A caption or title string (like button text etc.)
         */
-        virtual BOOL drawNativeControlText( ControlType, ControlPart,
+        virtual sal_Bool drawNativeControlText( ControlType, ControlPart,
                                             const Rectangle&, ControlState,
                                             const ImplControlValue&,
                                             const rtl::OUString& ) { return false; }
@@ -105,9 +105,9 @@ class KDESalGraphics : public X11SalGraphics
             @param aCaption
             A caption or title string (like button text etc.)
         */
-        virtual BOOL getNativeControlRegion( ControlType type, ControlPart part,
+        virtual sal_Bool getNativeControlRegion( ControlType type, ControlPart part,
                                             const Rectangle& rControlRegion, ControlState nControlState,
                                             const ImplControlValue& aValue,
                                             const rtl::OUString& aCaption,
                                             Rectangle &rNativeBoundingRegion, Rectangle &rNativeContentRegion );
-};
\ No newline at end of file
+};
diff --git a/vcl/unx/kde4/KDESalInstance.cxx b/vcl/unx/kde4/KDESalInstance.cxx
index aafcb94..e0deda8 100644
--- a/vcl/unx/kde4/KDESalInstance.cxx
+++ b/vcl/unx/kde4/KDESalInstance.cxx
@@ -29,7 +29,7 @@
 
 #include "KDESalFrame.hxx"
 
-SalFrame* KDESalInstance::CreateFrame( SalFrame *pParent, ULONG nState )
+SalFrame* KDESalInstance::CreateFrame( SalFrame *pParent, sal_uLong nState )
 {
     return new KDESalFrame( pParent, nState );
-}
\ No newline at end of file
+}
diff --git a/vcl/unx/kde4/KDESalInstance.hxx b/vcl/unx/kde4/KDESalInstance.hxx
index 4a4c97f..3294ce6 100644
--- a/vcl/unx/kde4/KDESalInstance.hxx
+++ b/vcl/unx/kde4/KDESalInstance.hxx
@@ -37,5 +37,5 @@ class KDESalInstance : public X11SalInstance
     public:
         KDESalInstance( SalYieldMutex* pMutex ) : X11SalInstance( pMutex ) {}
         virtual ~KDESalInstance() {}
-        virtual SalFrame* CreateFrame( SalFrame* pParent, ULONG nStyle );
-};
\ No newline at end of file
+        virtual SalFrame* CreateFrame( SalFrame* pParent, sal_uLong nStyle );
+};
diff --git a/vcl/unx/kde4/KDEXLib.cxx b/vcl/unx/kde4/KDEXLib.cxx
index 6f64cb8..75ac3ff 100644
--- a/vcl/unx/kde4/KDEXLib.cxx
+++ b/vcl/unx/kde4/KDEXLib.cxx
@@ -102,7 +102,7 @@ void KDEXLib::Init()
     //kAboutData->setProgramIconName("OpenOffice");
 
     m_nFakeCmdLineArgs = 1;
-    USHORT nIdx;
+    int nIdx;
     vos::OExtCommandLine aCommandLine;
     int nParams = aCommandLine.getCommandArgCount();
     rtl::OString aDisplay;
diff --git a/vcl/unx/kde4/VCLKDEApplication.cxx b/vcl/unx/kde4/VCLKDEApplication.cxx
index bcebe4e..43c2b08 100644
--- a/vcl/unx/kde4/VCLKDEApplication.cxx
+++ b/vcl/unx/kde4/VCLKDEApplication.cxx
@@ -49,4 +49,4 @@ bool VCLKDEApplication::x11EventFilter(XEvent* event)
     }
     
     return false;
-}
\ No newline at end of file
+}
diff --git a/vcl/unx/kde4/VCLKDEApplication.hxx b/vcl/unx/kde4/VCLKDEApplication.hxx
index f3d5afd..8f8a83f 100644
--- a/vcl/unx/kde4/VCLKDEApplication.hxx
+++ b/vcl/unx/kde4/VCLKDEApplication.hxx
@@ -50,4 +50,4 @@ class VCLKDEApplication : public KApplication
         virtual bool x11EventFilter(XEvent* event);
         
         SalKDEDisplay* disp;
-};
\ No newline at end of file
+};
commit 62ab4e1a61813493923f9840c86d49e2c74a3bdf
Author: Joachim Lingner <jl at openoffice.org>
Date:   Wed Mar 2 17:23:32 2011 +0100

    jl164 #i109096# wrong use of path::native_file_string_w in fopen for Linux

diff --git a/l10ntools/source/help/HelpLinker.cxx b/l10ntools/source/help/HelpLinker.cxx
index 16e8279..1e9cf77 100755
--- a/l10ntools/source/help/HelpLinker.cxx
+++ b/l10ntools/source/help/HelpLinker.cxx
@@ -242,7 +242,7 @@ public:
 #ifdef WNT     //We need _wfopen to support long file paths on Windows XP
         FILE* pFile = _wfopen( rFileName.native_file_string_w(), L"wb" );
 #else        
-        FILE* pFile = fopen( rFileName.native_file_string_w().c_str(), "wb" );
+        FILE* pFile = fopen( rFileName.native_file_string().c_str(), "wb" );
 #endif        
         if( pFile == NULL )
             return;
commit 270689732362a15d4c805ecf6fd07e875e2c4068
Author: Joachim Lingner <jl at openoffice.org>
Date:   Wed Mar 2 16:45:19 2011 +0100

    jl164 #i109096# make patch::native_file_string_w windows only

diff --git a/l10ntools/source/help/HelpCompiler.hxx b/l10ntools/source/help/HelpCompiler.hxx
old mode 100644
new mode 100755
index 691ee83..79ffdbe
--- a/l10ntools/source/help/HelpCompiler.hxx
+++ b/l10ntools/source/help/HelpCompiler.hxx
@@ -102,13 +102,14 @@ namespace fs
             HCDBG(std::cerr << "native_file_string is " << tmp.getStr() << std::endl);
             return std::string(tmp.getStr());
         }
+#ifdef WNT
         wchar_t const * native_file_string_w() const
         {
             ::rtl::OUString ustrSystemPath;
             osl::File::getSystemPathFromFileURL(data, ustrSystemPath);
             return ustrSystemPath.getStr();
         }
-
+#endif
         std::string native_directory_string() const { return native_file_string(); }
         std::string toUTF8() const
         {
commit 18e446f55110c1890933c68bc66c70d33ec5ced9
Merge: bc575aa... 67441fb...
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Wed Mar 2 12:10:39 2011 +0100

    CWS-TOOLING: integrate CWS mhu21

commit bc575aa51668343f5e7d4b8263474d77cc86569b
Merge: f5ec43a... cc0bf9f...
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Mon Feb 28 17:12:48 2011 +0100

    CWS-TOOLING: integrate CWS impress195

diff --cc canvas/source/directx/dx_textlayout_drawhelper.cxx
index 23723da,9db0f1d..3c44240
--- a/canvas/source/directx/dx_textlayout_drawhelper.cxx
+++ b/canvas/source/directx/dx_textlayout_drawhelper.cxx
@@@ -129,9 -130,12 +130,12 @@@ namespace dxcanva
  
              aFont.SetAlign( ALIGN_BASELINE );
              aFont.SetCharSet( (rFontRequest.FontDescription.IsSymbolFont==com::sun::star::util::TriState_YES) ? RTL_TEXTENCODING_SYMBOL : RTL_TEXTENCODING_UNICODE );
 -            aFont.SetVertical( (rFontRequest.FontDescription.IsVertical==com::sun::star::util::TriState_YES) ? TRUE : FALSE );
 +            aFont.SetVertical( (rFontRequest.FontDescription.IsVertical==com::sun::star::util::TriState_YES) ? sal_True : sal_False );
              aFont.SetWeight( static_cast<FontWeight>(rFontRequest.FontDescription.FontDescription.Weight) );
              aFont.SetItalic( (rFontRequest.FontDescription.FontDescription.Letterform<=8) ? ITALIC_NONE : ITALIC_NORMAL );
+             aFont.SetPitch(
+                     rFontRequest.FontDescription.FontDescription.Proportion == rendering::PanoseProportion::MONO_SPACED
+                     ? PITCH_FIXED : PITCH_VARIABLE);
  
              aFont.SetLanguage(MsLangId::convertLocaleToLanguage(rFontRequest.Locale));
  
@@@ -261,9 -265,12 +265,12 @@@
  
          aFont.SetAlign( ALIGN_BASELINE );
          aFont.SetCharSet( (rFontRequest.FontDescription.IsSymbolFont==com::sun::star::util::TriState_YES) ? RTL_TEXTENCODING_SYMBOL : RTL_TEXTENCODING_UNICODE );
 -        aFont.SetVertical( (rFontRequest.FontDescription.IsVertical==com::sun::star::util::TriState_YES) ? TRUE : FALSE );
 +        aFont.SetVertical( (rFontRequest.FontDescription.IsVertical==com::sun::star::util::TriState_YES) ? sal_True : sal_False );
          aFont.SetWeight( static_cast<FontWeight>(rFontRequest.FontDescription.FontDescription.Weight) );
          aFont.SetItalic( (rFontRequest.FontDescription.FontDescription.Letterform<=8) ? ITALIC_NONE : ITALIC_NORMAL );
+         aFont.SetPitch(
+                 rFontRequest.FontDescription.FontDescription.Proportion == rendering::PanoseProportion::MONO_SPACED
+                 ? PITCH_FIXED : PITCH_VARIABLE);
  
          // adjust to stretched font
          if(!::rtl::math::approxEqual(rFontMatrix.m00, rFontMatrix.m11))
commit f5ec43a44d1e923e0ec68b5f9a6857bad05dfb3b
Merge: 49008f4... 2f06488...
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date:   Mon Feb 28 16:55:36 2011 +0100

    CWS-TOOLING: integrate CWS sw34bf03

commit 88d9b1b82c6eb78dfc118ec32db33ebd81fa82d5
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Thu Feb 24 17:39:47 2011 +0100

    debuglevels: simplify the build system, by complicating the OOo code ;)
    
    Introduce DBGSV_(TRACE/WARNING/ERROR)_OUT, which controls the output channel for tools-level
    traces/warnings/assertions, when no dbgsv.ini file is found (this is the increased OOo complexity).
    
    Use this in installationtest.mk, instead of creating a dedicated dbgsv.ini file.
    
    Yet to come: add support for DBGSV_ERROR_OUT to the GNU make build system. Which is the reason why
    DBGSV_ERROR_OUT was introduced: Currently, running a GNU make based test pops up assertions as message
    boxes. Before the change here, we would have needed to add dbgsv.ini support to the GNU make build system,
    which sounds not like a funny a reasonable thing to do. So, instead, we will simply set DBGSV_ERROR_OUT,
    which is much simpler and less error prone.

diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx
index 64eb1e4..b663c12 100644
--- a/tools/source/debug/debug.cxx
+++ b/tools/source/debug/debug.cxx
@@ -473,26 +473,30 @@ namespace
         if ( nValueLen )
             *_out_pnValue = strcmp( aBuf, "1" ) == 0 ? sal_True : sal_False;
     }
-    void lcl_tryReadOutputChannel( const sal_Char* _pLine, size_t _nLineLen, const sal_Char* _pKeyName, sal_uIntPtr* _out_pnValue )
+    void lcl_matchOutputChannel( sal_Char const * i_buffer, sal_uIntPtr* o_value )
     {
+        if ( i_buffer == NULL )
+            return;
         const sal_Char* names[ DBG_OUT_COUNT ] =
         {
             "dev/null", "file", "window", "shell", "messagebox", "testtool", "debugger", "abort"
         };
-        sal_Char aBuf[20];
-        size_t nValueLen = lcl_tryReadConfigString( _pLine, _nLineLen, _pKeyName, aBuf, sizeof( aBuf ) );
-        if ( nValueLen )
+        for ( sal_uIntPtr name = 0; name < sizeof( names ) / sizeof( names[0] ); ++name )
         {
-            for ( sal_uIntPtr name = 0; name < sizeof( names ) / sizeof( names[0] ); ++name )
+            if ( strcmp( i_buffer, names[ name ] ) == 0 )
             {
-                if ( strcmp( aBuf, names[ name ] ) == 0 )
-                {
-                    *_out_pnValue = name;
-                    return;
-                }
+                *o_value = name;
+                return;
             }
         }
     }
+    void lcl_tryReadOutputChannel( const sal_Char* _pLine, size_t _nLineLen, const sal_Char* _pKeyName, sal_uIntPtr* _out_pnValue )
+    {
+        sal_Char aBuf[20];
+        size_t nValueLen = lcl_tryReadConfigString( _pLine, _nLineLen, _pKeyName, aBuf, sizeof( aBuf ) );
+        if ( nValueLen )
+            lcl_matchOutputChannel( aBuf, _out_pnValue );
+    }
     void lcl_tryReadConfigFlag( const sal_Char* _pLine, size_t _nLineLen, const sal_Char* _pKeyName, sal_uIntPtr* _out_pnAllFlags, sal_uIntPtr _nCheckFlag )
     {
         sal_Char aBuf[2];
@@ -813,6 +817,13 @@ static DebugData* GetDebugData()
 
             FileClose( pIniFile );
         }
+        else
+        {
+            lcl_matchOutputChannel( getenv( "DBGSV_TRACE_OUT" ), &aDebugData.aDbgData.nTraceOut );
+            lcl_matchOutputChannel( getenv( "DBGSV_WARNING_OUT" ), &aDebugData.aDbgData.nWarningOut );
+            lcl_matchOutputChannel( getenv( "DBGSV_ERROR_OUT" ), &aDebugData.aDbgData.nErrorOut );
+            
+        }
 
         getcwd( aCurPath, sizeof( aCurPath ) );
 
commit fdc68d5dbee78c55626c5e3b4d23985cee6b7136
Author: Joachim Lingner <jl at openoffice.org>
Date:   Thu Feb 24 17:12:55 2011 +0100

    jl164 #i109096# HelpLinker does not work with long path on Windows XP because of fopen

diff --git a/l10ntools/source/help/HelpCompiler.hxx b/l10ntools/source/help/HelpCompiler.hxx
index ef5f3b7..691ee83 100644
--- a/l10ntools/source/help/HelpCompiler.hxx
+++ b/l10ntools/source/help/HelpCompiler.hxx
@@ -102,6 +102,13 @@ namespace fs
             HCDBG(std::cerr << "native_file_string is " << tmp.getStr() << std::endl);
             return std::string(tmp.getStr());
         }
+        wchar_t const * native_file_string_w() const
+        {
+            ::rtl::OUString ustrSystemPath;
+            osl::File::getSystemPathFromFileURL(data, ustrSystemPath);
+            return ustrSystemPath.getStr();
+        }
+
         std::string native_directory_string() const { return native_file_string(); }
         std::string toUTF8() const
         {
diff --git a/l10ntools/source/help/HelpLinker.cxx b/l10ntools/source/help/HelpLinker.cxx
old mode 100644
new mode 100755
index 4e3a4ce..16e8279
--- a/l10ntools/source/help/HelpLinker.cxx
+++ b/l10ntools/source/help/HelpLinker.cxx
@@ -118,7 +118,13 @@ void IndexerPreProcessor::processDocument
         {
             fs::path fsCaptionPureTextFile_docURL = m_fsCaptionFilesDirName / aStdStr_EncodedDocPathURL;
             std::string aCaptionPureTextFileStr_docURL = fsCaptionPureTextFile_docURL.native_file_string();
-            FILE* pFile_docURL = fopen( aCaptionPureTextFileStr_docURL.c_str(), "w" );
+#ifdef WNT     //We need _wfopen to support long file paths on Windows XP
+            FILE* pFile_docURL = _wfopen(
+                fsCaptionPureTextFile_docURL.native_file_string_w(), L"w" );
+#else            
+            FILE* pFile_docURL = fopen(
+                fsCaptionPureTextFile_docURL.native_file_string().c_str(), "w" );
+#endif            
             if( pFile_docURL )
             {
                 fprintf( pFile_docURL, "%s\n", pResNodeCaption->content );
@@ -135,8 +141,13 @@ void IndexerPreProcessor::processDocument
         if( pResNodeContent )
         {
             fs::path fsContentPureTextFile_docURL = m_fsContentFilesDirName / aStdStr_EncodedDocPathURL;
-            std::string aContentPureTextFileStr_docURL = fsContentPureTextFile_docURL.native_file_string();
-            FILE* pFile_docURL = fopen( aContentPureTextFileStr_docURL.c_str(), "w" );
+#ifdef WNT     //We need _wfopen to support long file paths on Windows XP
+            FILE* pFile_docURL = _wfopen(
+                fsContentPureTextFile_docURL.native_file_string_w(), L"w" );
+#else            
+            FILE* pFile_docURL = fopen(
+                fsContentPureTextFile_docURL.native_file_string().c_str(), "w" );
+#endif            
             if( pFile_docURL )
             {
                 fprintf( pFile_docURL, "%s\n", pResNodeContent->content );
@@ -226,9 +237,13 @@ public:
         }
     }
 
-    void dump_DBHelp( const std::string& rFileName )
+    void dump_DBHelp( const fs::path& rFileName )
     {
-        FILE* pFile = fopen( rFileName.c_str(), "wb" );
+#ifdef WNT     //We need _wfopen to support long file paths on Windows XP
+        FILE* pFile = _wfopen( rFileName.native_file_string_w(), L"wb" );
+#else        
+        FILE* pFile = fopen( rFileName.native_file_string_w().c_str(), "wb" );
+#endif        
         if( pFile == NULL )
             return;
 
@@ -430,9 +445,15 @@ void HelpLinker::link() throw( HelpProcessingException )
 #endif
 
     fs::path helpTextFileName_DBHelp(indexDirParentName / (mod + (bUse_ ? ".ht_" : ".ht")));
+#ifdef WNT
+    //We need _wfopen to support long file paths on Windows XP
+    FILE* pFileHelpText_DBHelp = _wfopen
+        ( helpTextFileName_DBHelp.native_file_string_w(), L"wb" );
+#else
+    
     FILE* pFileHelpText_DBHelp = fopen
         ( helpTextFileName_DBHelp.native_file_string().c_str(), "wb" );
-
+#endif
     DB* dbBase(0);
 #ifndef DBHELP_ONLY
     fs::path dbBaseFileName(indexDirParentName / (mod + ".db"));
@@ -442,8 +463,14 @@ void HelpLinker::link() throw( HelpProcessingException )
 #endif
 
     fs::path dbBaseFileName_DBHelp(indexDirParentName / (mod + (bUse_ ? ".db_" : ".db")));
+#ifdef WNT
+    //We need _wfopen to support long file paths on Windows XP
+    FILE* pFileDbBase_DBHelp = _wfopen
+        ( dbBaseFileName_DBHelp.native_file_string_w(), L"wb" );
+#else    
     FILE* pFileDbBase_DBHelp = fopen
         ( dbBaseFileName_DBHelp.native_file_string().c_str(), "wb" );
+#endif    
 
 #ifndef DBHELP_ONLY
     DB* keyWord(0);
@@ -692,7 +719,7 @@ void HelpLinker::link() throw( HelpProcessingException )
     if( pFileDbBase_DBHelp != NULL )
         fclose( pFileDbBase_DBHelp );
 
-    helpKeyword.dump_DBHelp( keyWordFileName_DBHelp.native_file_string() );
+    helpKeyword.dump_DBHelp( keyWordFileName_DBHelp);
 
     if( !bExtensionMode )
     {
commit f725808b3d1ae8e686d7731778725883e12ddb5e
Author: Joachim Lingner <jl at openoffice.org>
Date:   Thu Feb 24 10:37:10 2011 +0100

    jl164 #i109096# java help indexer service did not work with long file paths

diff --git a/l10ntools/source/help/HelpIndexerTool.java b/l10ntools/source/help/HelpIndexerTool.java
index 363f115..8ea9384 100644
--- a/l10ntools/source/help/HelpIndexerTool.java
+++ b/l10ntools/source/help/HelpIndexerTool.java
@@ -45,6 +45,15 @@ import java.io.FileNotFoundException;
 import java.io.IOException;
 import java.util.Date;
 
+
+/**
+   When this tool is used with long path names on Windows, that is paths which start
+   with \\?\, then the caller must make sure that the path is unique. This is achieved
+   by removing '.' and '..' from the path. Paths which are created by
+   osl_getSystemPathFromFileURL fulfill this requirement. This is necessary because
+   lucene is patched to not use File.getCanonicalPath. See long_path.patch in the lucene
+   module.
+ */
 public class HelpIndexerTool
 {
     public HelpIndexerTool()
commit 834333bcc57a86abf34220e604da6870bc9c27d0
Merge: c189b62... 7179fd5...
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Wed Feb 23 21:09:45 2011 +0100

    debuglevels: pulled and merged latest changes from same CWS / other repo

commit 7179fd559407350ee74f2291adb9e2a79cb34796
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Wed Feb 23 21:05:20 2011 +0100

    debuglevels: removed unreachable code (unxsol* WaE)

diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx
index 9e372cc..64eb1e4 100644
--- a/tools/source/debug/debug.cxx
+++ b/tools/source/debug/debug.cxx
@@ -1717,7 +1717,6 @@ void DbgOut( const sal_Char* pMsg, sal_uInt16 nDbgOut, const sal_Char* pFile, sa
         if ( pData->pDbgAbort != NULL )
             pData->pDbgAbort( aBufOut );
         abort();
-        nOut = DBG_OUT_DEBUGGER;
     }
 
     if ( nOut == DBG_OUT_DEBUGGER )
commit 67441fb7d40ee8395f545f6d6d04d2d24026d88f
Merge: 8af50da... 49008f4...
Author: Matthias Huetsch [mhu] <matthias.huetsch at oracle.com>
Date:   Wed Feb 23 21:03:15 2011 +0100

    Update from master repository (DEV300_m100).

diff --cc rsc/source/tools/rscchar.cxx
index c8e5281,4ceb94c..8fc1de7
--- a/rsc/source/tools/rscchar.cxx
+++ b/rsc/source/tools/rscchar.cxx
@@@ -53,9 -53,12 +53,9 @@@
  |*    Letzte Aenderung  MM 20.03.91
  |*
  *************************************************************************/
- char * RscChar::MakeUTF8( char * pStr, UINT16 nTextEncoding )
+ char * RscChar::MakeUTF8( char * pStr, sal_uInt16 nTextEncoding )
  {
 -    sal_Size		nMaxUniCodeBuf = strlen( pStr ) + 1;  
 -    char *			pOrgStr = new char[ nMaxUniCodeBuf ];
 -    sal_uInt32		nOrgLen = 0;
 -
 +    sal_Size nMaxUniCodeBuf = strlen( pStr ) + 1;  
      if( nMaxUniCodeBuf * 6 > 0x0FFFFF )
          RscExit( 10 );
  
diff --cc sot/source/sdstor/stgio.cxx
index cbd484b,76b0906..e256c17
--- a/sot/source/sdstor/stgio.cxx
+++ b/sot/source/sdstor/stgio.cxx
@@@ -151,24 -151,23 +151,24 @@@ sal_Bool StgIo::CommitAll(
  
  class EasyFat
  {
-     INT32 *pFat;
-     BOOL  *pFree;
-     INT32 nPages;
-     INT32 nPageSize;
+     sal_Int32 *pFat;
+     sal_Bool  *pFree;
+     sal_Int32 nPages;
+     sal_Int32 nPageSize;
  
  public:
-     EasyFat( StgIo & rIo, StgStrm *pFatStream, INT32 nPSize );
+     EasyFat( StgIo & rIo, StgStrm *pFatStream, sal_Int32 nPSize );
      ~EasyFat() { delete[] pFat; delete[] pFree; }
 +
-     INT32 GetPageSize() { return nPageSize; }
-     INT32 Count() { return nPages; }
-     INT32 operator[]( INT32 nOffset ) { return pFat[ nOffset ]; }
+     sal_Int32 GetPageSize() { return nPageSize; }
+     sal_Int32 Count() { return nPages; }
+     sal_Int32 operator[]( sal_Int32 nOffset ) { return pFat[ nOffset ]; }
  
-     ULONG Mark( INT32 nPage, INT32 nCount, INT32 nExpect );
-     BOOL HasUnrefChains();
+     sal_uLong Mark( sal_Int32 nPage, sal_Int32 nCount, sal_Int32 nExpect );
+     sal_Bool HasUnrefChains();
  };
  
- EasyFat::EasyFat( StgIo& rIo, StgStrm* pFatStream, INT32 nPSize )
+ EasyFat::EasyFat( StgIo& rIo, StgStrm* pFatStream, sal_Int32 nPSize )
  {
      nPages = pFatStream->GetSize() >> 2;
      nPageSize = nPSize;
diff --cc tools/inc/tools/mempool.hxx
index 89df076,b2dd2d3..07b78e9
--- a/tools/inc/tools/mempool.hxx
+++ b/tools/inc/tools/mempool.hxx
@@@ -39,13 -39,11 +39,13 @@@ struct FixedMemPool_Impl
  class TOOLS_DLLPUBLIC FixedMemPool
  {
      FixedMemPool_Impl * m_pImpl;
 +    char const *        m_pTypeName;
  
  public:
 -                    FixedMemPool( sal_uInt16 nTypeSize,
 +                    FixedMemPool( char const * pTypeName,
-                                   USHORT nTypeSize,
-                                   USHORT nInitSize = 512,
-                                   USHORT nGrowSize = 256 );
++                                  sal_uInt16 nTypeSize,
+                                   sal_uInt16 nInitSize = 512,
+                                   sal_uInt16 nGrowSize = 256 );
                      ~FixedMemPool();
  
      void*           Alloc();
diff --cc tools/source/memtools/mempool.cxx
index f40e064,1aea274..6f9b384
mode 100644,100755..100755
--- a/tools/source/memtools/mempool.cxx
+++ b/tools/source/memtools/mempool.cxx
@@@ -43,13 -42,11 +43,13 @@@
  *************************************************************************/
  
  FixedMemPool::FixedMemPool (
-     char const * pTypeName, USHORT nTypeSize, USHORT, USHORT)
 -    sal_uInt16 _nTypeSize, sal_uInt16, sal_uInt16)
++    char const * pTypeName, sal_uInt16 nTypeSize, sal_uInt16, sal_uInt16)
 +  : m_pTypeName (pTypeName)
  {
      char name[RTL_CACHE_NAME_LENGTH + 1];
 -    snprintf (name, sizeof(name), "FixedMemPool_%d", (int)_nTypeSize);
 -    m_pImpl = (FixedMemPool_Impl*)rtl_cache_create (name, _nTypeSize, 0, NULL, NULL, NULL, 0, NULL, 0);
 +    snprintf (name, sizeof(name), "FixedMemPool_%d", (int)nTypeSize);
 +    m_pImpl = (FixedMemPool_Impl*)rtl_cache_create (name, nTypeSize, 0, NULL, NULL, NULL, 0, NULL, 0);
 +    OSL_TRACE("FixedMemPool::ctor(\"%s\"): %p", m_pTypeName, m_pImpl);
  }
  
  /*************************************************************************
diff --cc vcl/source/gdi/jobset.cxx
index ed7761a,a450af3..8e37bbb
--- a/vcl/source/gdi/jobset.cxx
+++ b/vcl/source/gdi/jobset.cxx
@@@ -299,16 -299,13 +299,16 @@@ SvStream& operator>>( SvStream& rIStrea
      // Zur Zeit haben wir noch kein neues FileFormat
  //	  if ( rIStream.GetVersion() < JOBSET_FILEFORMAT2 )
      {
 -        sal_uInt16 nLen;
 -        sal_uInt16 nSystem;
          sal_Size nFirstPos = rIStream.Tell();
 +
-         USHORT nLen = 0;
++        sal_uInt16 nLen = 0;
          rIStream >> nLen;
          if ( !nLen )
              return rIStream;
 +
-         USHORT nSystem = 0;
++        sal_uInt16 nSystem = 0;
          rIStream >> nSystem;
 +
          char* pTempBuf = new char[nLen];
          rIStream.Read( pTempBuf,  nLen - sizeof( nLen ) - sizeof( nSystem ) );
          if ( nLen >= sizeof(ImplOldJobSetupData)+4 )
commit 77b5c93209bd9a458c095ba12f4d7dcb7340ba11
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Oracle.COM>
Date:   Wed Feb 23 18:51:57 2011 +0100

    vcl119: solve a merge problem

diff --git a/vcl/aqua/source/dtrans/DropTarget.cxx b/vcl/aqua/source/dtrans/DropTarget.cxx
index 3b29b9a..2ee4cc0 100644
--- a/vcl/aqua/source/dtrans/DropTarget.cxx
+++ b/vcl/aqua/source/dtrans/DropTarget.cxx
@@ -62,6 +62,7 @@ using namespace com::sun::star::datatransfer::dnd::DNDConstants;
 using namespace com::sun::star::datatransfer::clipboard;
 using namespace com::sun::star::lang;
 using namespace com::sun::star::uno;
+using namespace com::sun::star;
 using namespace comphelper;
 
 OUString dropTarget_getImplementationName()
@@ -248,7 +249,7 @@ NSDragOperation DropTarget::draggingEntered(id sender)
       NSPasteboard* dragPboard = [sender draggingPasteboard];
       mXCurrentDragClipboard = new AquaClipboard(dragPboard, false);
       
-      Reference<XTransferable> xTransferable = DragSource::g_XTransferable.is() ?
+      uno::Reference<XTransferable> xTransferable = DragSource::g_XTransferable.is() ?
         DragSource::g_XTransferable : mXCurrentDragClipboard->getContents();
 
       DropTargetDragEnterEvent dtdee(static_cast<OWeakObject*>(this), 
@@ -338,7 +339,7 @@ BOOL DropTarget::performDragOperation(id sender)
 
   if (mSelectedDropAction != DNDConstants::ACTION_NONE)
     {
-      Reference<XTransferable> xTransferable = DragSource::g_XTransferable;
+        uno::Reference<XTransferable> xTransferable = DragSource::g_XTransferable;
 
       if (!DragSource::g_XTransferable.is())			
         {
@@ -375,7 +376,7 @@ BOOL DropTarget::performDragOperation(id sender)
   {
     mDragSourceSupportedActions = DNDConstants::ACTION_NONE;
     mSelectedDropAction = DNDConstants::ACTION_NONE;
-    mXCurrentDragClipboard = Reference<XClipboard>();
+    mXCurrentDragClipboard = uno::Reference<XClipboard>();
     SetThemeCursor(kThemeArrowCursor);
   }
 
@@ -421,14 +422,14 @@ BOOL DropTarget::performDragOperation(id sender)
   }
 
 
-  void SAL_CALL DropTarget::addDropTargetListener(const Reference<XDropTargetListener>& dtl)
+  void SAL_CALL DropTarget::addDropTargetListener(const uno::Reference<XDropTargetListener>& dtl)
     throw(RuntimeException)
   {
     rBHelper.addListener(::getCppuType(&dtl), dtl);
   }
 
 
-  void SAL_CALL DropTarget::removeDropTargetListener(const Reference<XDropTargetListener>& dtl)
+  void SAL_CALL DropTarget::removeDropTargetListener(const uno::Reference<XDropTargetListener>& dtl)
     throw(RuntimeException)
   {
     rBHelper.removeListener(::getCppuType(&dtl), dtl);
@@ -492,7 +493,7 @@ BOOL DropTarget::performDragOperation(id sender)
   {
     // Reset the internal transferable used as shortcut in case this is 
     // an internal D&D operation
-    DragSource::g_XTransferable = Reference<XTransferable>();
+    DragSource::g_XTransferable = uno::Reference<XTransferable>();
     DragSource::g_DropSuccessSet = true;
     DragSource::g_DropSuccess = success;
   }
@@ -500,13 +501,13 @@ BOOL DropTarget::performDragOperation(id sender)
 
   void DropTarget::fire_drop( const DropTargetDropEvent& dte)
   {
-    OInterfaceContainerHelper* pContainer= rBHelper.getContainer( getCppuType( (Reference<XDropTargetListener>* )0 ) );
+      OInterfaceContainerHelper* pContainer= rBHelper.getContainer( getCppuType( (uno::Reference<XDropTargetListener>* )0 ) );
     if( pContainer)
       {
         OInterfaceIteratorHelper iter( *pContainer);
         while( iter.hasMoreElements())
           {
-            Reference<XDropTargetListener> listener( static_cast<XDropTargetListener*>( iter.next()));
+              uno::Reference<XDropTargetListener> listener( static_cast<XDropTargetListener*>( iter.next()));
 
             try { listener->drop( dte); }
             catch(RuntimeException&) {}
@@ -517,13 +518,13 @@ BOOL DropTarget::performDragOperation(id sender)
 
   void DropTarget::fire_dragEnter(const DropTargetDragEnterEvent& e)
   {
-    OInterfaceContainerHelper* pContainer= rBHelper.getContainer( getCppuType( (Reference<XDropTargetListener>* )0 ) );
+      OInterfaceContainerHelper* pContainer= rBHelper.getContainer( getCppuType( (uno::Reference<XDropTargetListener>* )0 ) );
     if( pContainer)
       {
         OInterfaceIteratorHelper iter( *pContainer);
         while( iter.hasMoreElements())
           {
-            Reference<XDropTargetListener> listener( static_cast<XDropTargetListener*>( iter.next()));
+              uno::Reference<XDropTargetListener> listener( static_cast<XDropTargetListener*>( iter.next()));
 
             try { listener->dragEnter( e); }
             catch (RuntimeException&) {}
@@ -534,14 +535,14 @@ BOOL DropTarget::performDragOperation(id sender)
 
   void DropTarget::fire_dragExit(const DropTargetEvent& dte)
   {
-    OInterfaceContainerHelper* pContainer= rBHelper.getContainer( getCppuType( (Reference<XDropTargetListener>* )0 ) );
+      OInterfaceContainerHelper* pContainer= rBHelper.getContainer( getCppuType( (uno::Reference<XDropTargetListener>* )0 ) );
 
     if( pContainer)
       {
         OInterfaceIteratorHelper iter( *pContainer);
         while( iter.hasMoreElements())
           {
-            Reference<XDropTargetListener> listener( static_cast<XDropTargetListener*>( iter.next()));
+              uno::Reference<XDropTargetListener> listener( static_cast<XDropTargetListener*>( iter.next()));
             
             try { listener->dragExit( dte); }
             catch (RuntimeException&) {}
@@ -552,13 +553,13 @@ BOOL DropTarget::performDragOperation(id sender)
 
   void DropTarget::fire_dragOver(const DropTargetDragEvent& dtde)
   {
-    OInterfaceContainerHelper* pContainer= rBHelper.getContainer( getCppuType( (Reference<XDropTargetListener>* )0 ) );
+      OInterfaceContainerHelper* pContainer= rBHelper.getContainer( getCppuType( (uno::Reference<XDropTargetListener>* )0 ) );
     if( pContainer)
       {
         OInterfaceIteratorHelper iter( *pContainer );
         while( iter.hasMoreElements())
           {
-            Reference<XDropTargetListener> listener( static_cast<XDropTargetListener*>( iter.next()));
+              uno::Reference<XDropTargetListener> listener( static_cast<XDropTargetListener*>( iter.next()));
 
             try { listener->dragOver( dtde); }
             catch (RuntimeException&) {}
@@ -569,13 +570,13 @@ BOOL DropTarget::performDragOperation(id sender)
 
   void DropTarget::fire_dropActionChanged(const DropTargetDragEvent& dtde)
   {
-    OInterfaceContainerHelper* pContainer= rBHelper.getContainer( getCppuType( (Reference<XDropTargetListener>* )0 ) );
+      OInterfaceContainerHelper* pContainer= rBHelper.getContainer( getCppuType( (uno::Reference<XDropTargetListener>* )0 ) );
     if( pContainer)
       {
         OInterfaceIteratorHelper iter( *pContainer);
         while( iter.hasMoreElements())
           {
-            Reference<XDropTargetListener> listener( static_cast<XDropTargetListener*>( iter.next()));
+              uno::Reference<XDropTargetListener> listener( static_cast<XDropTargetListener*>( iter.next()));
 
             try { listener->dropActionChanged( dtde); }
             catch (RuntimeException&) {}
commit 5df2384951442331ee1b36452c4ff94f39aee43d
Merge: 3dce170... 49008f4...
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Oracle.COM>
Date:   Wed Feb 23 16:37:27 2011 +0100

    vcl119: rebase to DEV300_m101

diff --cc vcl/source/window/printdlg.cxx
index 3169831,98b2be3..be4a5ca
mode 100755,100644..100755
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
commit 3dce170195e758e614477ca38a5b720434cf5843
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Sun.COM>
Date:   Wed Feb 23 13:19:04 2011 +0100

    vcl119: persistent window state for print dialog

diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
old mode 100644
new mode 100755
index 03e7091..3169831
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1055,6 +1055,13 @@ void PrintDialog::readFromSettings()
         }
     }
     maOKButton.SetText( maOptionsPage.maToFileBox.IsChecked() ? maPrintToFileText : maPrintText );
+    
+    // persistent window state
+    rtl::OUString aWinState( pItem->getValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintDialog" ) ),
+                                              rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "WindowState" ) ) ) );
+    if( aWinState.getLength() )
+        SetWindowState( rtl::OUStringToOString( aWinState, RTL_TEXTENCODING_UTF8 ) );
+    
     if( maOptionsPage.maToFileBox.IsChecked() )
     {
         maPController->resetPrinterOptions( true );
@@ -1077,6 +1084,10 @@ void PrintDialog::storeToSettings()
     pItem->setValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintDialog" ) ),
                      rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LastPage" ) ),
                      maTabCtrl.GetPageText( maTabCtrl.GetCurPageId() ) );
+    pItem->setValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintDialog" ) ),
+                     rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "WindowState" ) ),
+                     rtl::OStringToOUString( GetWindowState(), RTL_TEXTENCODING_UTF8 )
+                     );
     pItem->Commit();
 }
 
commit c189b6244fd9c774152e0dcb65c4f0d6a0dbb4a6
Merge: 523001f... 49008f4...
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Wed Feb 23 12:42:39 2011 +0100

    debuglevels: pulled and merged latest changes from DEV300_next

commit 523001fc554a12eacd5f4c3e9438a914a9c31ea5
Merge: ab716c4... 14caafb...
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Wed Feb 23 09:58:44 2011 +0100

    debuglevels: merged to-be-m101

commit d45ded1ada6808349eecf94d265277b9d0fe5e53
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Sun.COM>
Date:   Tue Feb 22 19:14:52 2011 +0100

    vcl119: #i109847# #i112313# workaround a strange clip region problem on windows printer drivers

diff --git a/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx
old mode 100644
new mode 100755
index 0a5a1eb..e8891a0
--- a/vcl/win/source/gdi/salgdi.cxx
+++ b/vcl/win/source/gdi/salgdi.cxx
@@ -540,7 +540,9 @@ void ImplSalInitGraphics( WinSalGraphics* pData )
 
 void ImplSalDeInitGraphics( WinSalGraphics* pData )
 {
-    // Default Objekte selektieren
+    // clear clip region
+    SelectClipRgn( pData->mhDC, 0 );
+    // select default objects
     if ( pData->mhDefPen )
         SelectPen( pData->mhDC, pData->mhDefPen );
     if ( pData->mhDefBrush )
diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx
old mode 100644
new mode 100755
commit 7d16c5c24479830f13e30bffe3b0bf44f9d2b19c
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Sun.COM>
Date:   Mon Feb 21 17:31:56 2011 +0100

    vcl119: #i114306# update jobsetup before and after print job

diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index 10b9ed4..f9edf62 100755
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -344,15 +344,19 @@ void Printer::ImplPrintJob( const boost::shared_ptr<PrinterController>& i_pContr
     if( ! pController->getPrinter() )
     {
         rtl::OUString aPrinterName( i_rInitSetup.GetPrinterName() );
+        bool bSetJobSetup = true;
         if( ! aPrinterName.getLength() && pController->isShowDialogs() && ! pController->isDirectPrint() )
         {
             // get printer name from configuration
             SettingsConfigItem* pItem = SettingsConfigItem::get();
             aPrinterName = pItem->getValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintDialog" ) ),
                                             rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LastPrinterUsed" ) ) );
+            bSetJobSetup = false;
         }
 
         boost::shared_ptr<Printer> pPrinter( new Printer( aPrinterName ) );
+        if( bSetJobSetup )
+            pPrinter->SetJobSetup( i_rInitSetup );
         pController->setPrinter( pPrinter );
     }
     
commit adc4ce43673382565777d971250404aec703ad43
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Mon Feb 21 13:10:28 2011 +0100

    #i117037# re-introduce the XDialog2 support which got lost with some merge conflict resolving

diff --git a/toolkit/inc/toolkit/controls/dialogcontrol.hxx b/toolkit/inc/toolkit/controls/dialogcontrol.hxx
index 207d028..4a0cb5c 100644
--- a/toolkit/inc/toolkit/controls/dialogcontrol.hxx
+++ b/toolkit/inc/toolkit/controls/dialogcontrol.hxx
@@ -30,12 +30,13 @@
 
 #include <toolkit/controls/controlmodelcontainerbase.hxx>
 #include <com/sun/star/awt/XTopWindow.hpp>
-#include <com/sun/star/awt/XDialog.hpp>
+#include <com/sun/star/awt/XDialog2.hpp>
 #include <com/sun/star/resource/XStringResourceResolver.hpp>
 #include "toolkit/helper/servicenames.hxx"
 #include "toolkit/helper/macros.hxx"
 #include <toolkit/controls/unocontrolcontainer.hxx>
 #include <cppuhelper/basemutex.hxx>
+#include <cppuhelper/implbase3.hxx>
 #include <list>
 
 //	----------------------------------------------------
@@ -64,10 +65,12 @@ public:
 
 };
 
-class UnoDialogControl :public ControlContainerBase,
-                        public ::com::sun::star::awt::XTopWindow,
-                        public ::com::sun::star::awt::XDialog,
-                        public ::com::sun::star::awt::XWindowListener 
+typedef ::cppu::AggImplInheritanceHelper3   <   ControlContainerBase
+                                            ,   ::com::sun::star::awt::XTopWindow
+                                            ,   ::com::sun::star::awt::XDialog2
+                                            ,   ::com::sun::star::awt::XWindowListener 
+                                            >   UnoDialogControl_Base;
+class UnoDialogControl : public UnoDialogControl_Base
 {
 private:
     ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMenuBar >			mxMenuBar;
@@ -80,11 +83,6 @@ public:
                                 ~UnoDialogControl();
     ::rtl::OUString				GetComponentServiceName();
 
-    ::com::sun::star::uno::Any	SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException) { return UnoControlContainer::queryInterface(rType); }
-    ::com::sun::star::uno::Any	SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
-    void						SAL_CALL acquire() throw()	{ OWeakAggObject::acquire(); }
-    void						SAL_CALL release() throw()	{ OWeakAggObject::release(); }
-
     void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException);
     void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException);
     void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException);
@@ -102,16 +100,16 @@ public:
     virtual void SAL_CALL windowShown( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
     virtual void SAL_CALL windowHidden( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException);
     
+    // ::com::sun::star::awt::XDialog2
+    virtual void SAL_CALL endDialog( ::sal_Int32 Result ) throw (::com::sun::star::uno::RuntimeException);
+    virtual void SAL_CALL setHelpId( const rtl::OUString& Id ) throw (::com::sun::star::uno::RuntimeException);
+
     // ::com::sun::star::awt::XDialog
     void SAL_CALL setTitle( const ::rtl::OUString& Title ) throw(::com::sun::star::uno::RuntimeException);
     ::rtl::OUString SAL_CALL getTitle() throw(::com::sun::star::uno::RuntimeException);
     sal_Int16 SAL_CALL execute() throw(::com::sun::star::uno::RuntimeException);
     void SAL_CALL endExecute() throw(::com::sun::star::uno::RuntimeException);
 
-    // ::com::sun::star::lang::XTypeProvider
-    ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >	SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException);
-    ::com::sun::star::uno::Sequence< sal_Int8 >						SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
-
     // ::com::sun::star::awt::XControl
     sal_Bool SAL_CALL setModel( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& Model ) throw(::com::sun::star::uno::RuntimeException);
 
diff --git a/toolkit/source/controls/dialogcontrol.cxx b/toolkit/source/controls/dialogcontrol.cxx
index 38f9e9e..ffe4a2e 100644
--- a/toolkit/source/controls/dialogcontrol.cxx
+++ b/toolkit/source/controls/dialogcontrol.cxx
@@ -165,7 +165,7 @@ Reference< XPropertySetInfo > UnoControlDialogModel::getPropertySetInfo(  ) thro
 // ============================================================================
 
 UnoDialogControl::UnoDialogControl( const uno::Reference< lang::XMultiServiceFactory >& i_factory )
-    :ControlContainerBase( i_factory )
+    :UnoDialogControl_Base( i_factory )
     ,maTopWindowListeners( *this )
     ,mbWindowListener(false)
 {
@@ -188,25 +188,6 @@ UnoDialogControl::~UnoDialogControl()
         return ::rtl::OUString::createFromAscii( "TabPage" );
 }
 
-// XInterface
-Any UnoDialogControl::queryAggregation( const Type & rType ) throw(RuntimeException)
-{
-        uno::Any aRet = ::cppu::queryInterface( rType, SAL_STATIC_CAST( awt::XTopWindow*, this ) );
-        if ( !aRet.hasValue() )
-            aRet = ::cppu::queryInterface( rType, SAL_STATIC_CAST( awt::XDialog*, this ) );
-        if ( !aRet.hasValue() )
-            aRet = ::cppu::queryInterface( rType, SAL_STATIC_CAST( awt::XWindowListener*, this ) );
-    return (aRet.hasValue() ? aRet : ControlContainerBase::queryAggregation( rType ));
-}
-
- //lang::XTypeProvider
-IMPL_XTYPEPROVIDER_START( UnoDialogControl)
-    getCppuType( ( uno::Reference< awt::XTopWindow>* ) NULL ),
-    getCppuType( ( uno::Reference< awt::XDialog>* ) NULL ),
-    getCppuType( ( uno::Reference< awt::XWindowListener>* ) NULL ),
-    ControlContainerBase::getTypes()
-IMPL_XTYPEPROVIDER_END
-
 void UnoDialogControl::dispose() throw(RuntimeException)
 {
     vos::OGuard aSolarGuard( Application::GetSolarMutex() );
@@ -409,18 +390,30 @@ throw (::com::sun::star::uno::RuntimeException)
     }
 }
 
-void SAL_CALL UnoDialogControl::windowShown( const ::com::sun::star::lang::EventObject& e )
-throw (::com::sun::star::uno::RuntimeException)
+void SAL_CALL UnoDialogControl::windowShown( const EventObject& e ) throw (RuntimeException)
 {
     (void)e;
 }
 
-void SAL_CALL UnoDialogControl::windowHidden( const ::com::sun::star::lang::EventObject& e )
-throw (::com::sun::star::uno::RuntimeException)
+void SAL_CALL UnoDialogControl::windowHidden( const EventObject& e ) throw (RuntimeException)
 {
     (void)e;
 }
 
+void SAL_CALL UnoDialogControl::endDialog( ::sal_Int32 i_result ) throw (RuntimeException)
+{
+    Reference< XDialog2 > xPeerDialog( getPeer(), UNO_QUERY );
+    if ( xPeerDialog.is() )
+        xPeerDialog->endDialog( i_result );
+}
+
+void SAL_CALL UnoDialogControl::setHelpId( const rtl::OUString& i_id ) throw (RuntimeException)
+{
+    Reference< XDialog2 > xPeerDialog( getPeer(), UNO_QUERY );
+    if ( xPeerDialog.is() )
+        xPeerDialog->setHelpId( i_id );
+}
+
 void UnoDialogControl::setTitle( const ::rtl::OUString& Title ) throw(RuntimeException)
 {
     vos::OGuard aSolarGuard( Application::GetSolarMutex() );
commit ab716c44eecf58c3a870892a9acfdb947ac44735
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Sun Feb 20 23:09:20 2011 +0100

    debuglevels: #i116845# replace the 'CoreDump' output channel for assertions with 'Debug'
    The former was implemented on Windows only, and then effectively the same as the 'Debugger' option.
    So, it was removed in favour of a new 'Abort' channel which, well, aborts when an assertion fires.

diff --git a/tools/inc/tools/debug.hxx b/tools/inc/tools/debug.hxx
index b854111..e858a62 100644
--- a/tools/inc/tools/debug.hxx
+++ b/tools/inc/tools/debug.hxx
@@ -80,7 +80,7 @@ typedef void (*DbgTestSolarMutexProc)();
 #define DBG_OUT_MSGBOX              4
 #define DBG_OUT_TESTTOOL            5
 #define DBG_OUT_DEBUGGER            6
-#define DBG_OUT_COREDUMP            7
+#define DBG_OUT_ABORT				7
 
 #define DBG_OUT_COUNT               8
 
@@ -137,6 +137,7 @@ struct DbgDataType
 #define DBG_FUNC_GETPRINTMSGBOX     17
 #define DBG_FUNC_FILTERMESSAGE      18          // new for #i38967
 #define DBG_FUNC_UPDATEOSLHOOK      19
+#define DBG_FUNC_SET_ABORT          20
 
 TOOLS_DLLPUBLIC void* DbgFunc( sal_uInt16 nAction, void* pData = NULL );
 
@@ -180,6 +181,11 @@ inline void DbgSetPrintTestTool( DbgPrintLine pProc )
     DbgFunc( DBG_FUNC_SETPRINTTESTTOOL, (void*)(long)pProc );
 }
 
+inline void DbgSetAbort( DbgPrintLine pProc )
+{
+    DbgFunc( DBG_FUNC_SET_ABORT, (void*)(long)pProc );
+}
+
 typedef sal_uInt16 DbgChannelId;
 /** registers a user-defined channel for emitting the diagnostic messages
 
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx
index 962e59f..9e372cc 100644
--- a/tools/source/debug/debug.cxx
+++ b/tools/source/debug/debug.cxx
@@ -152,6 +152,7 @@ struct DebugData
     DbgPrintLine            pDbgPrintMsgBox;
     DbgPrintLine            pDbgPrintWindow;
     DbgPrintLine            pDbgPrintTestTool;
+    DbgPrintLine			pDbgAbort;
     ::std::vector< DbgPrintLine >
                             aDbgPrintUserChannels;
     PointerList*            pProfList;
@@ -163,9 +164,10 @@ struct DebugData
 
     DebugData()
         :bInit( sal_False )
-        ,pDbgPrintMsgBox( sal_False )
+        ,pDbgPrintMsgBox( NULL )
         ,pDbgPrintWindow( NULL )
         ,pDbgPrintTestTool( NULL )
+        ,pDbgAbort( NULL )
         ,pProfList( NULL )
         ,pXtorList( NULL )
         ,pDbgTestSolarMutex( NULL )
@@ -420,7 +422,7 @@ namespace
     {
         const sal_Char* names[ DBG_OUT_COUNT ] =
         {
-            "dev/null", "file", "window", "shell", "messagebox", "testtool", "debugger", "coredump"
+            "dev/null", "file", "window", "shell", "messagebox", "testtool", "debugger", "abort"
         };
         lcl_writeConfigString( _pFile, _pKeyName, names[ _nValue ] );
     }
@@ -475,7 +477,7 @@ namespace
     {
         const sal_Char* names[ DBG_OUT_COUNT ] =
         {
-            "dev/null", "file", "window", "shell", "messagebox", "testtool", "debugger", "coredump"
+            "dev/null", "file", "window", "shell", "messagebox", "testtool", "debugger", "abort"
         };
         sal_Char aBuf[20];
         size_t nValueLen = lcl_tryReadConfigString( _pLine, _nLineLen, _pKeyName, aBuf, sizeof( aBuf ) );
@@ -1199,6 +1201,10 @@ void* DbgFunc( sal_uInt16 nAction, void* pParam )
                 pDebugData->pDbgPrintTestTool = (DbgPrintLine)(long)pParam;
                 break;
 
+            case DBG_FUNC_SET_ABORT:
+                pDebugData->pDbgAbort = (DbgPrintLine)(long)pParam;
+                break;
+
             case DBG_FUNC_SAVEDATA:
                 {
                 const DbgData* pData = static_cast< const DbgData* >( pParam );
@@ -1706,10 +1712,12 @@ void DbgOut( const sal_Char* pMsg, sal_uInt16 nDbgOut, const sal_Char* pFile, sa
             nOut = DBG_OUT_DEBUGGER;
     }
 
-    if ( nOut == DBG_OUT_COREDUMP )
+    if ( nOut == DBG_OUT_ABORT )
     {
-        if ( !ImplCoreDump() )
-            nOut = DBG_OUT_DEBUGGER;
+        if ( pData->pDbgAbort != NULL )
+            pData->pDbgAbort( aBufOut );
+        abort();
+        nOut = DBG_OUT_DEBUGGER;
     }
 
     if ( nOut == DBG_OUT_DEBUGGER )
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index 6be0b55..c160346 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -346,8 +346,8 @@ static const sal_Char* pDbgHelpText[] =
 "Attempt to activate the debugger and produce the message there, in order to "
 "always obtain the corresponding stack trace in the debugger.\n",
 "\n",
-"CoreDump\n",
-"Causes a crash\n",
+"Abort\n",
+"Aborts the application\n",
 "\n",
 "\n",
 "Reroute osl messages - Checkbox\n",
@@ -1083,7 +1083,7 @@ DbgDialog::DbgDialog() :
     maTraceBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "MessageBox" ) ) );
     maTraceBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "TestTool" ) ) );
     maTraceBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "Debugger" ) ) );
-    maTraceBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "CoreDump" ) ) );
+    maTraceBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "Abort" ) ) );
     ImplAppendUserDefinedChannels( maTraceBox );
     ImplSelectChannel( maTraceBox, pData->nTraceOut, 0 );
     maTraceBox.Show();
@@ -1106,7 +1106,7 @@ DbgDialog::DbgDialog() :
     maWarningBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "MessageBox" ) ) );
     maWarningBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "TestTool" ) ) );
     maWarningBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "Debugger" ) ) );
-    maWarningBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "CoreDump" ) ) );
+    maWarningBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "Abort" ) ) );
     ImplAppendUserDefinedChannels( maWarningBox );
     ImplSelectChannel( maWarningBox, pData->nWarningOut, 0 );
     maWarningBox.Show();
@@ -1135,7 +1135,7 @@ DbgDialog::DbgDialog() :
     maErrorBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "MessageBox" ) ) );
     maErrorBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "TestTool" ) ) );
     maErrorBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "Debugger" ) ) );
-    maErrorBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "CoreDump" ) ) );
+    maErrorBox.InsertEntry( XubString( RTL_CONSTASCII_USTRINGPARAM( "Abort" ) ) );
     ImplAppendUserDefinedChannels( maErrorBox );
     ImplSelectChannel( maErrorBox, pData->nErrorOut, mnErrorOff );
     maErrorBox.Show();
@@ -1962,6 +1962,14 @@ void DbgPrintWindow( const char* pLine )
     bIn = sal_False;
 }
 
+// -----------------------------------------------------------------------
+
+void DbgAbort( char const * i_message )
+{
+    ::rtl::OUString const message( i_message, strlen( i_message ), osl_getThreadTextEncoding() );
+    Application::Abort( message );
+}
+
 // =======================================================================
 
 void ImplDbgTestSolarMutex()
@@ -1977,6 +1985,7 @@ void DbgGUIInit()
     DbgSetPrintMsgBox( DbgPrintMsgBox );
     DbgSetPrintWindow( DbgPrintWindow );
     DbgSetTestSolarMutex( ImplDbgTestSolarMutex );
+    DbgSetAbort( DbgAbort );
 }
 
 // -----------------------------------------------------------------------
@@ -1986,6 +1995,7 @@ void DbgGUIDeInit()
     DbgSetPrintMsgBox( NULL );
     DbgSetPrintWindow( NULL );
     DbgSetTestSolarMutex( NULL );
+    DbgSetAbort( NULL );
 
     DbgWindow* pDbgWindow = ImplGetSVData()->maWinData.mpDbgWin;
     if ( pDbgWindow )
commit 8af50dae6df48005cf97b631abfba654ebfeffa6
Author: Matthias Huetsch [mhu] <matthias.huetsch at oracle.com>
Date:   Thu Feb 17 13:29:30 2011 +0100

    #i115784# dtrans: fix #include filenames.

diff --git a/dtrans/source/win32/dtobj/XTDataObject.cxx b/dtrans/source/win32/dtobj/XTDataObject.cxx
index cdc9256..18af5f4 100644
--- a/dtrans/source/win32/dtobj/XTDataObject.cxx
+++ b/dtrans/source/win32/dtobj/XTDataObject.cxx
@@ -36,7 +36,7 @@
 #ifndef _TXDATAOBJECT_HXX_
 #include "XTDataObject.hxx"
 #endif
-#include <com/sun/star/datatransfer/dataflavor.hpp>
+#include <com/sun/star/datatransfer/DataFlavor.hpp>
 #include "..\misc\ImplHelper.hxx"
 #include "DTransHelper.hxx"
 #include "TxtCnvtHlp.hxx"
diff --git a/dtrans/source/win32/dtobj/XTDataObject.hxx b/dtrans/source/win32/dtobj/XTDataObject.hxx
index 530e8a8..984c805 100644
--- a/dtrans/source/win32/dtobj/XTDataObject.hxx
+++ b/dtrans/source/win32/dtobj/XTDataObject.hxx
@@ -42,7 +42,7 @@
 #endif
 
 #ifndef _FETCLIST_HXX_
-#include "FEtcList.hxx"
+#include "FetcList.hxx"
 #endif
 
 #if defined _MSC_VER
commit 0d5465e35d032956271b057495a38adfde01b29a
Merge: 9b62cbe... 29bdde0...
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Oracle.COM>
Date:   Wed Feb 16 16:02:43 2011 +0100

    rebase two more patches to DEV300_m100

diff --cc vcl/inc/vcl/cursor.hxx
index bd53f8d,5cb4274..cdb2078
--- a/vcl/inc/vcl/cursor.hxx
+++ b/vcl/inc/vcl/cursor.hxx
@@@ -60,11 -60,10 +60,10 @@@ private
      Size			maSize; 			// Groesse
      Point			maPos;				// Position
      short			mnOrientation;		// Rotation
 -    USHORT			mnStyle;			// Style
 -    BOOL			mbVisible;			// Ist Cursor sichtbar
 +    sal_uInt16			mnStyle;			// Style
 +    sal_Bool			mbVisible;			// Ist Cursor sichtbar
      unsigned char	mnDirection;		// indicates direction
  
- //#if 0 // _SOLAR__PRIVATE
  public:
      SAL_DLLPRIVATE void			ImplDraw();
      SAL_DLLPRIVATE void			ImplRestore();
diff --cc vcl/source/window/cursor.cxx
index 948a2b7,9465f27..05d9270
--- a/vcl/source/window/cursor.cxx
+++ b/vcl/source/window/cursor.cxx
@@@ -327,8 -327,14 +327,14 @@@ void Cursor::Hide(
  {
      if ( mbVisible )
      {
 -        mbVisible = FALSE;
 +        mbVisible = sal_False;
          ImplHide();
+ 
+         if( mpData )
+         {
+             mpData->maTimer.Stop();
+             mpData->mpWindow = NULL;
+         }
      }
  }
  
diff --cc vcl/source/window/window.cxx
index 4a2016c0,6b4759a..aa11097
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@@ -2409,11 -2409,12 +2409,12 @@@ void Window::ImplCallPaint( const Regio
          mpWindowImpl->mnPaintFlags = 0;
          if ( !mpWindowImpl->maInvalidateRegion.IsEmpty() )
          {
+             bool bRestoreCursor = false;
              if ( mpWindowImpl->mpCursor )
-                 mpWindowImpl->mpCursor->ImplHide();
+                 bRestoreCursor = mpWindowImpl->mpCursor->ImplHide();
  
 -            mbInitClipRegion = TRUE;
 -            mpWindowImpl->mbInPaint = TRUE;
 +            mbInitClipRegion = sal_True;
 +            mpWindowImpl->mbInPaint = sal_True;
  
              // Paint-Region zuruecksetzen
              Region      aPaintRegion( mpWindowImpl->maInvalidateRegion );
@@@ -2453,11 -2454,11 +2454,11 @@@
                  if ( mpWindowImpl->mbFocusVisible )
                      ImplInvertFocus( *(mpWindowImpl->mpWinData->mpFocusRect) );
              }
 -            mpWindowImpl->mbInPaint = FALSE;
 -            mbInitClipRegion = TRUE;
 +            mpWindowImpl->mbInPaint = sal_False;
 +            mbInitClipRegion = sal_True;
              mpWindowImpl->mpPaintRegion = NULL;
              if ( mpWindowImpl->mpCursor )
-                 mpWindowImpl->mpCursor->ImplShow( sal_False );
 -                mpWindowImpl->mpCursor->ImplShow( FALSE, bRestoreCursor );
++                mpWindowImpl->mpCursor->ImplShow( false, bRestoreCursor );
          }
      }
      else
@@@ -3046,7 -3047,7 +3047,7 @@@ void Window::ImplScroll( const Rectangl
          Update();
  
      if ( mpWindowImpl->mpCursor )
-         mpWindowImpl->mpCursor->ImplShow( sal_False );
 -        mpWindowImpl->mpCursor->ImplShow( FALSE );
++        mpWindowImpl->mpCursor->ImplShow( false );
  }
  
  // -----------------------------------------------------------------------
commit 9b62cbe6687a650995029fadc38294872f15e421
Merge: 231c087... 5efb77e...
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Oracle.COM>
Date:   Wed Feb 16 15:57:58 2011 +0100

    rebase to DEV300_m100

diff --cc vcl/aqua/inc/salframeview.h
index 34c9e47,8353ba3..0e15dfa
--- a/vcl/aqua/inc/salframeview.h
+++ b/vcl/aqua/inc/salframeview.h
@@@ -85,10 -85,9 +85,10 @@@
  }
  +(void)unsetMouseFrame: (AquaSalFrame*)pFrame;
  -(id)initWithSalFrame: (AquaSalFrame*)pFrame;
 +-(AquaSalFrame*)getSalFrame;
- -(MacOSBOOL)acceptsFirstResponder;
- -(MacOSBOOL)acceptsFirstMouse: (NSEvent *)pEvent;
- -(MacOSBOOL)isOpaque;
+ -(BOOL)acceptsFirstResponder;
+ -(BOOL)acceptsFirstMouse: (NSEvent *)pEvent;
+ -(BOOL)isOpaque;
  -(void)drawRect: (NSRect)aRect;
  -(void)mouseDown: (NSEvent*)pEvent;
  -(void)mouseDragged: (NSEvent*)pEvent;
commit f3b74edd2f7cee7221f09458e7b7f03aba0e485c
Merge: a77d064... 5efb77e...
Author: os <os at openoffice.org>
Date:   Tue Feb 15 16:01:31 2011 +0100

    m100 merged

diff --cc svtools/source/filter.vcl/filter/FilterConfigItem.cxx
index 74c3bca,b904046..b904046
mode 100644,100644..100755
--- a/svtools/source/filter.vcl/filter/FilterConfigItem.cxx
+++ b/svtools/source/filter.vcl/filter/FilterConfigItem.cxx
diff --cc vcl/inc/vcl/window.hxx
index 076bcf3,15b902f..15b902f
mode 100644,100755..100644
--- a/vcl/inc/vcl/window.hxx
+++ b/vcl/inc/vcl/window.hxx
commit d37c99c5fe5bb1f3372979d4f5ac14ef3c2fda69
Merge: 50cc506... 5efb77e...
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Mon Feb 14 23:26:54 2011 +0100

    debuglevels: pulled and merged DEV300.m100

diff --cc vcl/unx/source/app/saldisp.cxx
index b1c5f99,29a1dae..f838cc5
--- a/vcl/unx/source/app/saldisp.cxx
+++ b/vcl/unx/source/app/saldisp.cxx
@@@ -2851,8 -2851,8 +2851,8 @@@ sal_Bool SalVisual::Convert( int &n0, i
  
      switch( GetMode() )
      {
 -        case other:
 +        case otherSalRGB:
-             return FALSE;
+             return sal_False;
          case SALCOLOR:
              break;
          case SALCOLORREVERSE:
@@@ -2886,8 -2886,8 +2886,8 @@@ sal_Bool SalVisual::Convert( int &n0, i
  
      switch( GetMode() )
      {
 -        case other:
 +        case otherSalRGB:
-             return FALSE;
+             return sal_False;
          case SALCOLOR:
              break;
          case RBG:
commit 2f06488896d709237d6b9ad8e40ef537a29edeca
Merge: dfcca1b... 5efb77e...
Author: Michael Stahl <mst at openoffice.org>
Date:   Mon Feb 14 14:02:47 2011 +0100

    sw34bf03: merge DEV300_m100

commit 50cc506f253f06e63c1c11fd57b8dea83e4ff87e
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Sun Feb 13 20:27:14 2011 +0100

    debuglevels: silence WaE with uncmaxci.pro+debug

diff --git a/rsc/source/rscpp/cpp4.c b/rsc/source/rscpp/cpp4.c
index 1b7461d..eebaa9b 100644
--- a/rsc/source/rscpp/cpp4.c
+++ b/rsc/source/rscpp/cpp4.c
@@ -629,7 +629,7 @@ void dumpparm(char* why)
             nargs, parmp - parm, why);
         for (i = 0; i < nargs; i++) {
         fprintf( pCppOut, "parm[%d] (%d) = \"%s\"\n",
-                i + 1, strlen(parlist[i]), parlist[i]);
+                i + 1, (int)strlen(parlist[i]), parlist[i]);
         }
 }
 #endif
commit 3b7134a685978d202c9ffa4a3b14dcd9dd9ad5e3
Author: Frank Schoenheit [fs] <frank.schoenheit at oracle.com>
Date:   Sun Feb 13 20:18:35 2011 +0100

    debuglevels: SalRGB.other -> SalRGB.otherSalRGB. Allows compiling with debug an WaE on current Solaris platforms (whether otherwise the identifier 'other' conflicts with another one deep inside boost)

diff --git a/vcl/unx/inc/saldisp.hxx b/vcl/unx/inc/saldisp.hxx
index bce0661..46cf168 100644
--- a/vcl/unx/inc/saldisp.hxx
+++ b/vcl/unx/inc/saldisp.hxx
@@ -127,7 +127,7 @@ enum SalRGB { RGB,  RBG,
               RGBA,	RBGA,
               GBRA, GRBA,
               BGRA, BRGA,
-              other };
+              otherSalRGB };
 
 // -=-= SalVisual =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 class SalVisual : public XVisualInfo
diff --git a/vcl/unx/source/app/saldisp.cxx b/vcl/unx/source/app/saldisp.cxx
index 4466a02..b1c5f99 100644
--- a/vcl/unx/source/app/saldisp.cxx
+++ b/vcl/unx/source/app/saldisp.cxx
@@ -912,7 +912,7 @@ void SalDisplay::Init()
             // carefully. if we are running linux (i.e. not netbsd) on an xfree
             // display, fvwm is most probable the wm to choose, confusing with mwm
             // doesn't harm. #57791# start maximized if possible
-            if(    (otherwm == eWindowManager_)
+                    if(    (otherwm == eWindowManager_)
                 || (olwm    == eWindowManager_ ))
             {
                 eWindowManager_ = fvwm; // ???
@@ -2790,44 +2790,44 @@ SalVisual::SalVisual( const XVisualInfo* pXVI )
                     if( blue_mask  == 0xFF )
                         eRGBMode_ = RGB;
                     else
-                        eRGBMode_ = other;
+                        eRGBMode_ = otherSalRGB;
                 else if( blue_mask  == 0xFF00 )
                     if( green_mask == 0xFF )
                         eRGBMode_ = RBG;
                     else
-                        eRGBMode_ = other;
+                        eRGBMode_ = otherSalRGB;
                 else
-                    eRGBMode_ = other;
+                    eRGBMode_ = otherSalRGB;
             else if( green_mask == 0xFF0000 )
                 if( red_mask == 0xFF00 )
                     if( blue_mask  == 0xFF )
                         eRGBMode_ = GRB;
                     else
-                        eRGBMode_ = other;
+                        eRGBMode_ = otherSalRGB;
                 else if( blue_mask == 0xFF00 )
                     if( red_mask  == 0xFF )
                         eRGBMode_ = GBR;
                     else
-                        eRGBMode_ = other;
+                        eRGBMode_ = otherSalRGB;
                 else
-                    eRGBMode_ = other;
+                    eRGBMode_ = otherSalRGB;
             else if( blue_mask == 0xFF0000 )
                 if( red_mask == 0xFF00 )
                     if( green_mask  == 0xFF )
                         eRGBMode_ = BRG;
                     else
-                        eRGBMode_ = other;
+                        eRGBMode_ = otherSalRGB;
                 else if( green_mask == 0xFF00 )
                     if( red_mask == 0xFF )
                         eRGBMode_ = BGR;
                     else
-                        eRGBMode_ = other;
+                        eRGBMode_ = otherSalRGB;
                 else
-                    eRGBMode_ = other;
+                    eRGBMode_ = otherSalRGB;
             else
-                eRGBMode_ = other;
+                eRGBMode_ = otherSalRGB;
         else
-            eRGBMode_ = other;
+            eRGBMode_ = otherSalRGB;
     }
 }
 
@@ -2851,7 +2851,7 @@ BOOL SalVisual::Convert( int &n0, int &n1, int &n2, int &n3 )
 
     switch( GetMode() )
     {
-        case other:
+        case otherSalRGB:
             return FALSE;
         case SALCOLOR:
             break;
@@ -2886,7 +2886,7 @@ BOOL SalVisual::Convert( int &n0, int &n1, int &n2 )
 
     switch( GetMode() )
     {
-        case other:
+        case otherSalRGB:
             return FALSE;
         case SALCOLOR:
             break;
@@ -2939,7 +2939,7 @@ SalColor SalVisual::GetTCColor( Pixel nPixel ) const
     Pixel g = nPixel & green_mask;
     Pixel b = nPixel & blue_mask;
 
-    if( other != eRGBMode_ ) // 8+8+8=24
+    if( otherSalRGB != eRGBMode_ ) // 8+8+8=24
         return MAKE_SALCOLOR( r >> nRedShift_,
                               g >> nGreenShift_,
                               b >> nBlueShift_ );
@@ -2970,7 +2970,7 @@ Pixel SalVisual::GetTCPixel( SalColor nSalColor ) const
     if( SALCOLORREVERSE == eRGBMode_ )
         return (b << 16) | (g << 8) | (r);
 
-    if( other != eRGBMode_ ) // 8+8+8=24
+    if( otherSalRGB != eRGBMode_ ) // 8+8+8=24
         return (r << nRedShift_) | (g << nGreenShift_) | (b << nBlueShift_);
 
     if( nRedShift_ > 0 )   r <<= nRedShift_;   else r >>= -nRedShift_;
commit 29bdde0dbf5e59edeec0a4d331cdc03641fb2764
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Oracle.COM>
Date:   Fri Feb 11 16:05:30 2011 +0100

    vcl119: #i114356# use PageRange property if application has set it

diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx
index e10926e..68ad1b6 100755
--- a/vcl/source/gdi/print3.cxx
+++ b/vcl/source/gdi/print3.cxx
@@ -399,17 +399,25 @@ void Printer::ImplPrintJob( const boost::shared_ptr<PrinterController>& i_pContr
         {
             if( nContent == 0 )
             {
-                sal_Int32 nPages = i_pController->getPageCount();
-                if( nPages > 0 )
+                // do not overwrite PageRange if it is already set
+                beans::PropertyValue* pRangeVal = i_pController->getValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PageRange" ) ) );
+                rtl::OUString aRange;
+                if( pRangeVal )
+                    pRangeVal->Value >>= aRange;
+                if( aRange.getLength() == 0 )
                 {
-                    rtl::OUStringBuffer aBuf( 32 );
-                    aBuf.appendAscii( "1" );
-                    if( nPages > 1 )
+                    sal_Int32 nPages = i_pController->getPageCount();
+                    if( nPages > 0 )
                     {
-                        aBuf.appendAscii( "-" );
-                        aBuf.append( nPages );
+                        rtl::OUStringBuffer aBuf( 32 );
+                        aBuf.appendAscii( "1" );
+                        if( nPages > 1 )
+                        {
+                            aBuf.appendAscii( "-" );
+                            aBuf.append( nPages );
+                        }
+                        i_pController->setValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PageRange" ) ), makeAny( aBuf.makeStringAndClear() ) );
                     }
-                    i_pController->setValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PageRange" ) ), makeAny( aBuf.makeStringAndClear() ) );
                 }
             }
         }
commit dfcca1b37461fe6f2374c07d4bb03baeefe4bbf0
Merge: e7456d7... d9787ab...
Author: Michael Stahl <mst at openoffice.org>
Date:   Fri Feb 11 15:41:40 2011 +0100

    sw34bf03: merge to-be-m100 DEV300_next

commit 21cc1ebc300babe993bffd686ad2066606998851
Author: Philipp Lohmann [pl] <Philipp.Lohmann at Oracle.COM>
Date:   Thu Feb 10 18:26:42 2011 +0100

    vcl119: #i80730# fix cursor paint behavior and timer

diff --git a/vcl/inc/vcl/cursor.hxx b/vcl/inc/vcl/cursor.hxx
index f1ecb40..5cb4274 100644
--- a/vcl/inc/vcl/cursor.hxx
+++ b/vcl/inc/vcl/cursor.hxx
@@ -64,15 +64,13 @@ private:
     BOOL			mbVisible;			// Ist Cursor sichtbar

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list