summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /vcl
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/app/geninst.cxx4
-rw-r--r--vcl/generic/fontmanager/fontmanager.cxx76
-rw-r--r--vcl/generic/fontmanager/fontsubst.cxx6
-rw-r--r--vcl/generic/glyphs/gcach_ftyp.cxx82
-rw-r--r--vcl/generic/glyphs/gcach_layout.cxx4
-rw-r--r--vcl/generic/print/genprnpsp.cxx2
-rw-r--r--vcl/generic/print/genpspgraphics.cxx24
-rw-r--r--vcl/headless/svpinst.cxx4
-rw-r--r--vcl/osx/HtmlFmtFlt.cxx4
-rw-r--r--vcl/osx/a11yfocuslistener.cxx12
-rw-r--r--vcl/osx/a11yfocustracker.cxx22
-rw-r--r--vcl/osx/a11ylistener.cxx8
-rw-r--r--vcl/osx/documentfocuslistener.cxx20
-rw-r--r--vcl/osx/salframe.cxx74
-rw-r--r--vcl/osx/salinst.cxx88
-rw-r--r--vcl/osx/salmenu.cxx2
-rw-r--r--vcl/osx/salobj.cxx20
-rw-r--r--vcl/osx/salprn.cxx50
-rw-r--r--vcl/qa/cppunit/dndtest.cxx64
-rw-r--r--vcl/quartz/ctfonts.cxx26
-rw-r--r--vcl/quartz/salbmp.cxx40
-rw-r--r--vcl/quartz/salgdi.cxx44
-rw-r--r--vcl/quartz/salgdicommon.cxx2
-rw-r--r--vcl/quartz/salgdiutils.cxx12
-rw-r--r--vcl/quartz/salvd.cxx16
-rw-r--r--vcl/source/app/help.cxx72
-rw-r--r--vcl/source/app/salvtables.cxx6
-rw-r--r--vcl/source/app/svdata.cxx10
-rw-r--r--vcl/source/components/dtranscomp.cxx10
-rw-r--r--vcl/source/components/fontident.cxx4
-rw-r--r--vcl/source/control/button.cxx294
-rw-r--r--vcl/source/control/combobox.cxx160
-rw-r--r--vcl/source/control/ctrl.cxx74
-rw-r--r--vcl/source/control/edit.cxx174
-rw-r--r--vcl/source/control/fixed.cxx122
-rw-r--r--vcl/source/control/group.cxx26
-rw-r--r--vcl/source/control/ilstbox.cxx220
-rw-r--r--vcl/source/control/imgctrl.cxx20
-rw-r--r--vcl/source/control/lstbox.cxx4
-rw-r--r--vcl/source/control/slider.cxx56
-rw-r--r--vcl/source/control/spinbtn.cxx44
-rw-r--r--vcl/source/control/spinfld.cxx52
-rw-r--r--vcl/source/control/tabctrl.cxx126
-rw-r--r--vcl/source/edit/textview.cxx4
-rw-r--r--vcl/source/edit/xtextedt.cxx4
-rw-r--r--vcl/source/filter/FilterConfigCache.cxx6
-rw-r--r--vcl/source/filter/FilterConfigItem.cxx4
-rw-r--r--vcl/source/filter/graphicfilter.cxx6
-rw-r--r--vcl/source/filter/igif/decode.cxx12
-rw-r--r--vcl/source/filter/ixbm/xbmread.cxx20
-rw-r--r--vcl/source/filter/ixpm/xpmread.cxx30
-rw-r--r--vcl/source/filter/wmf/winwmf.cxx12
-rw-r--r--vcl/source/filter/wmf/wmf.cxx10
-rw-r--r--vcl/source/filter/wmf/wmfwr.cxx12
-rw-r--r--vcl/source/fontsubset/cff.cxx106
-rw-r--r--vcl/source/fontsubset/fontsubset.cxx12
-rw-r--r--vcl/source/fontsubset/xlat.cxx8
-rw-r--r--vcl/source/gdi/bitmap3.cxx10
-rw-r--r--vcl/source/gdi/lineinfo.cxx52
-rw-r--r--vcl/source/gdi/metaact.cxx826
-rw-r--r--vcl/source/gdi/octree.cxx36
-rw-r--r--vcl/source/gdi/outdev2.cxx2
-rw-r--r--vcl/source/gdi/outdev5.cxx8
-rw-r--r--vcl/source/gdi/outdev6.cxx22
-rw-r--r--vcl/source/gdi/outdevnative.cxx14
-rw-r--r--vcl/source/gdi/pdfwriter_impl2.cxx6
-rw-r--r--vcl/source/gdi/regband.cxx38
-rw-r--r--vcl/source/gdi/region.cxx2
-rw-r--r--vcl/source/gdi/sallayout.cxx94
-rw-r--r--vcl/source/gdi/virdev.cxx22
-rw-r--r--vcl/source/gdi/wall.cxx68
-rw-r--r--vcl/source/window/accel.cxx42
-rw-r--r--vcl/source/window/accmgr.cxx8
-rw-r--r--vcl/source/window/brdwin.cxx140
-rw-r--r--vcl/source/window/cmdevt.cxx4
-rw-r--r--vcl/source/window/cursor.cxx32
-rw-r--r--vcl/source/window/decoview.cxx4
-rw-r--r--vcl/source/window/dialog.cxx54
-rw-r--r--vcl/source/window/dlgctrl.cxx36
-rw-r--r--vcl/source/window/dockingarea.cxx10
-rw-r--r--vcl/source/window/dockmgr.cxx70
-rw-r--r--vcl/source/window/dockwin.cxx84
-rw-r--r--vcl/source/window/floatwin.cxx42
-rw-r--r--vcl/source/window/introwin.cxx4
-rw-r--r--vcl/source/window/keycod.cxx8
-rw-r--r--vcl/source/window/keyevent.cxx2
-rw-r--r--vcl/source/window/menu.cxx20
-rw-r--r--vcl/source/window/mnemonic.cxx12
-rw-r--r--vcl/source/window/msgbox.cxx50
-rw-r--r--vcl/source/window/printdlg.cxx4
-rw-r--r--vcl/source/window/split.cxx58
-rw-r--r--vcl/source/window/status.cxx114
-rw-r--r--vcl/source/window/syschild.cxx14
-rw-r--r--vcl/source/window/syswin.cxx58
-rw-r--r--vcl/source/window/tabdlg.cxx12
-rw-r--r--vcl/source/window/tabpage.cxx18
-rw-r--r--vcl/source/window/taskpanelist.cxx18
-rw-r--r--vcl/source/window/toolbox.cxx166
-rw-r--r--vcl/source/window/toolbox2.cxx194
-rw-r--r--vcl/source/window/window.cxx478
-rw-r--r--vcl/source/window/window2.cxx74
-rw-r--r--vcl/source/window/window3.cxx6
-rw-r--r--vcl/source/window/winproc.cxx82
-rw-r--r--vcl/source/window/wrkwin.cxx22
-rw-r--r--vcl/unx/generic/app/i18n_cb.cxx28
-rw-r--r--vcl/unx/generic/app/i18n_ic.cxx44
-rw-r--r--vcl/unx/generic/app/i18n_im.cxx16
-rw-r--r--vcl/unx/generic/app/i18n_status.cxx24
-rw-r--r--vcl/unx/generic/app/saldisp.cxx2
-rw-r--r--vcl/unx/generic/app/salinst.cxx2
-rw-r--r--vcl/unx/generic/dtrans/X11_clipboard.cxx28
-rw-r--r--vcl/unx/generic/dtrans/X11_droptarget.cxx22
-rw-r--r--vcl/unx/generic/dtrans/X11_selection.cxx110
-rw-r--r--vcl/unx/generic/dtrans/X11_service.cxx6
-rw-r--r--vcl/unx/generic/gdi/gcach_xpeer.cxx6
-rw-r--r--vcl/unx/generic/gdi/salbmp.cxx76
-rw-r--r--vcl/unx/generic/gdi/salgdi2.cxx2
-rw-r--r--vcl/unx/generic/gdi/salgdi3.cxx40
-rw-r--r--vcl/unx/generic/gdi/xrender_peer.cxx6
-rw-r--r--vcl/unx/generic/printer/ppdparser.cxx40
-rw-r--r--vcl/unx/generic/printer/printerinfomanager.cxx36
-rw-r--r--vcl/unx/generic/window/salframe.cxx8
-rw-r--r--vcl/unx/generic/window/salobj.cxx4
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx76
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx16
-rw-r--r--vcl/unx/gtk/fpicker/resourceprovider.cxx4
-rw-r--r--vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx68
-rw-r--r--vcl/unx/gtk/window/gtksalframe.cxx4
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx12
-rw-r--r--vcl/win/source/app/saldata.cxx10
-rw-r--r--vcl/win/source/app/salinfo.cxx4
-rw-r--r--vcl/win/source/app/salinst.cxx78
-rw-r--r--vcl/win/source/app/salshl.cxx4
-rw-r--r--vcl/win/source/app/saltimer.cxx4
-rw-r--r--vcl/win/source/gdi/salbmp.cxx40
-rw-r--r--vcl/win/source/gdi/salgdi.cxx82
-rw-r--r--vcl/win/source/gdi/salgdi2.cxx24
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx82
-rw-r--r--vcl/win/source/gdi/salgdi_gdiplus.cxx8
-rw-r--r--vcl/win/source/gdi/salnativewidgets-luna.cxx2
-rw-r--r--vcl/win/source/gdi/salvd.cxx10
-rw-r--r--vcl/win/source/gdi/winlayout.cxx84
-rw-r--r--vcl/win/source/gdi/wntgdi.cxx6
-rw-r--r--vcl/win/source/window/salframe.cxx200
-rw-r--r--vcl/win/source/window/salmenu.cxx2
-rw-r--r--vcl/win/source/window/salobj.cxx32
146 files changed, 3459 insertions, 3459 deletions
diff --git a/vcl/generic/app/geninst.cxx b/vcl/generic/app/geninst.cxx
index c2a6c79cac4f..da3a3d66aad2 100644
--- a/vcl/generic/app/geninst.cxx
+++ b/vcl/generic/app/geninst.cxx
@@ -26,11 +26,11 @@
#include "generic/geninst.h"
-// -------------------------------------------------------------------------
+
//
// SalYieldMutex
//
-// -------------------------------------------------------------------------
+
SalYieldMutex::SalYieldMutex()
{
diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx
index 4102df704506..ae82903b9a71 100644
--- a/vcl/generic/fontmanager/fontmanager.cxx
+++ b/vcl/generic/fontmanager/fontmanager.cxx
@@ -108,7 +108,7 @@ inline sal_uInt32 getUInt32BE( const sal_uInt8*& pBuffer )
return nRet;
}
-// -------------------------------------------------------------------------
+
static FontWeight parseWeight( const OString& rWeight )
{
@@ -173,20 +173,20 @@ PrintFontManager::PrintFont::PrintFont( fonttype::type eType ) :
{
}
-// -------------------------------------------------------------------------
+
PrintFontManager::PrintFont::~PrintFont()
{
delete m_pMetrics;
}
-// -------------------------------------------------------------------------
+
PrintFontManager::Type1FontFile::~Type1FontFile()
{
}
-// -------------------------------------------------------------------------
+
PrintFontManager::TrueTypeFontFile::TrueTypeFontFile()
: PrintFont( fonttype::TrueType )
@@ -195,20 +195,20 @@ PrintFontManager::TrueTypeFontFile::TrueTypeFontFile()
, m_nTypeFlags( TYPEFLAG_INVALID )
{}
-// -------------------------------------------------------------------------
+
PrintFontManager::TrueTypeFontFile::~TrueTypeFontFile()
{
}
-// -------------------------------------------------------------------------
+
bool PrintFontManager::Type1FontFile::queryMetricPage( int /*nPage*/, MultiAtomProvider* pProvider )
{
return readAfmMetrics( pProvider, false, false );
}
-// -------------------------------------------------------------------------
+
bool PrintFontManager::TrueTypeFontFile::queryMetricPage( int nPage, MultiAtomProvider* /*pProvider*/ )
{
@@ -275,7 +275,7 @@ bool PrintFontManager::TrueTypeFontFile::queryMetricPage( int nPage, MultiAtomPr
return bSuccess;
}
-// -------------------------------------------------------------------------
+
/* #i73387# There seem to be fonts with a rather unwell chosen family name
* consider e.g. "Helvetica Narrow" which defines its family as "Helvetica"
@@ -664,7 +664,7 @@ PrintFontManager& PrintFontManager::get()
return *pManager;
}
-// -------------------------------------------------------------------------
+
/*
* the PrintFontManager
@@ -691,7 +691,7 @@ PrintFontManager::PrintFontManager()
m_aFontInstallerTimer.SetTimeout(5000);
}
-// -------------------------------------------------------------------------
+
PrintFontManager::~PrintFontManager()
{
@@ -703,7 +703,7 @@ PrintFontManager::~PrintFontManager()
delete m_pFontCache;
}
-// -------------------------------------------------------------------------
+
OString PrintFontManager::getDirectory( int nAtom ) const
{
@@ -711,7 +711,7 @@ OString PrintFontManager::getDirectory( int nAtom ) const
return it != m_aAtomToDir.end() ? it->second : OString();
}
-// -------------------------------------------------------------------------
+
int PrintFontManager::getDirectoryAtom( const OString& rDirectory, bool bCreate )
{
@@ -729,7 +729,7 @@ int PrintFontManager::getDirectoryAtom( const OString& rDirectory, bool bCreate
return nAtom;
}
-// -------------------------------------------------------------------------
+
std::vector<fontID> PrintFontManager::addFontFile( const OString& rFileName )
{
@@ -919,7 +919,7 @@ bool PrintFontManager::analyzeFontFile( int nDirID, const OString& rFontFile, ::
return ! rNewFonts.empty();
}
-// -------------------------------------------------------------------------
+
fontID PrintFontManager::findFontFileID( int nDirID, const OString& rFontFile, int nFaceIndex ) const
{
@@ -999,7 +999,7 @@ std::vector<fontID> PrintFontManager::findFontFileIDs( int nDirID, const OString
return aIds;
}
-// -------------------------------------------------------------------------
+
OUString PrintFontManager::convertTrueTypeName( void* pRecord ) const
{
@@ -1085,7 +1085,7 @@ namespace
}
}
-// -------------------------------------------------------------------------
+
void PrintFontManager::analyzeTrueTypeFamilyName( void* pTTFont, ::std::list< OUString >& rNames ) const
{
@@ -1140,7 +1140,7 @@ void PrintFontManager::analyzeTrueTypeFamilyName( void* pTTFont, ::std::list< OU
return;
}
-// -------------------------------------------------------------------------
+
bool PrintFontManager::analyzeTrueTypeFile( PrintFont* pFont ) const
{
@@ -1467,7 +1467,7 @@ void PrintFontManager::initialize()
#endif
}
-// -------------------------------------------------------------------------
+
void PrintFontManager::getFontList( ::std::list< fontID >& rFontIDs )
{
@@ -1478,7 +1478,7 @@ void PrintFontManager::getFontList( ::std::list< fontID >& rFontIDs )
rFontIDs.push_back( it->first );
}
-// -------------------------------------------------------------------------
+
void PrintFontManager::fillPrintFontInfo( PrintFont* pFont, FastPrintFontInfo& rInfo ) const
{
@@ -1502,7 +1502,7 @@ void PrintFontManager::fillPrintFontInfo( PrintFont* pFont, FastPrintFontInfo& r
rInfo.m_aAliases.push_back( m_pAtoms->getString( ATOM_FAMILYNAME, *it ) );
}
-// -------------------------------------------------------------------------
+
void PrintFontManager::fillPrintFontInfo( PrintFont* pFont, PrintFontInfo& rInfo ) const
{
@@ -1525,7 +1525,7 @@ void PrintFontManager::fillPrintFontInfo( PrintFont* pFont, PrintFontInfo& rInfo
rInfo.m_nWidth = pFont->m_aGlobalMetricX.width < pFont->m_aGlobalMetricY.width ? pFont->m_aGlobalMetricY.width : pFont->m_aGlobalMetricX.width;
}
-// -------------------------------------------------------------------------
+
bool PrintFontManager::getFontInfo( fontID nFontID, PrintFontInfo& rInfo ) const
{
@@ -1538,7 +1538,7 @@ bool PrintFontManager::getFontInfo( fontID nFontID, PrintFontInfo& rInfo ) const
return pFont ? true : false;
}
-// -------------------------------------------------------------------------
+
bool PrintFontManager::getFontFastInfo( fontID nFontID, FastPrintFontInfo& rInfo ) const
{
@@ -1551,7 +1551,7 @@ bool PrintFontManager::getFontFastInfo( fontID nFontID, FastPrintFontInfo& rInfo
return pFont ? true : false;
}
-// -------------------------------------------------------------------------
+
bool PrintFontManager::getFontBoundingBox( fontID nFontID, int& xMin, int& yMin, int& xMax, int& yMax )
{
@@ -1576,7 +1576,7 @@ bool PrintFontManager::getFontBoundingBox( fontID nFontID, int& xMin, int& yMin,
return bSuccess;
}
-// -------------------------------------------------------------------------
+
int PrintFontManager::getFontFaceNumber( fontID nFontID ) const
{
@@ -1589,7 +1589,7 @@ int PrintFontManager::getFontFaceNumber( fontID nFontID ) const
return nRet;
}
-// -------------------------------------------------------------------------
+
FontFamily PrintFontManager::matchFamilyName( const OUString& rFamily ) const
@@ -1657,7 +1657,7 @@ FontFamily PrintFontManager::matchFamilyName( const OUString& rFamily ) const
return FAMILY_DONTKNOW;
}
-// -------------------------------------------------------------------------
+
OString PrintFontManager::getAfmFile( PrintFont* pFont ) const
{
@@ -1680,7 +1680,7 @@ OString PrintFontManager::getAfmFile( PrintFont* pFont ) const
return aMetricPath;
}
-// -------------------------------------------------------------------------
+
OString PrintFontManager::getFontFile( PrintFont* pFont ) const
{
@@ -1705,7 +1705,7 @@ OString PrintFontManager::getFontFile( PrintFont* pFont ) const
return aPath;
}
-// -------------------------------------------------------------------------
+
const OUString& PrintFontManager::getPSName( fontID nFontID ) const
{
@@ -1719,7 +1719,7 @@ const OUString& PrintFontManager::getPSName( fontID nFontID ) const
return m_pAtoms->getString( ATOM_PSNAME, pFont ? pFont->m_nPSName : INVALID_ATOM );
}
-// -------------------------------------------------------------------------
+
int PrintFontManager::getFontAscend( fontID nFontID ) const
{
@@ -1735,7 +1735,7 @@ int PrintFontManager::getFontAscend( fontID nFontID ) const
return pFont->m_nAscend;
}
-// -------------------------------------------------------------------------
+
int PrintFontManager::getFontDescend( fontID nFontID ) const
{
@@ -1751,7 +1751,7 @@ int PrintFontManager::getFontDescend( fontID nFontID ) const
return pFont->m_nDescend;
}
-// -------------------------------------------------------------------------
+
void PrintFontManager::hasVerticalSubstitutions( fontID nFontID,
const sal_Unicode* pCharacters, int nCharacters, bool* pHasSubst ) const
@@ -1780,7 +1780,7 @@ void PrintFontManager::hasVerticalSubstitutions( fontID nFontID,
}
}
-// -------------------------------------------------------------------------
+
bool PrintFontManager::isFontDownloadingAllowedForPrinting( fontID nFont ) const
{
@@ -1818,7 +1818,7 @@ bool PrintFontManager::isFontDownloadingAllowedForPrinting( fontID nFont ) const
return bRet;
}
-// -------------------------------------------------------------------------
+
bool PrintFontManager::getMetrics( fontID nFontID, const sal_Unicode* pString, int nLen, CharacterMetric* pArray, bool bVertical ) const
{
@@ -1861,7 +1861,7 @@ bool PrintFontManager::getMetrics( fontID nFontID, const sal_Unicode* pString, i
return true;
}
-// -------------------------------------------------------------------------
+
bool PrintFontManager::getMetrics( fontID nFontID, sal_Unicode minCharacter, sal_Unicode maxCharacter, CharacterMetric* pArray, bool bVertical ) const
{
@@ -1910,7 +1910,7 @@ bool PrintFontManager::getMetrics( fontID nFontID, sal_Unicode minCharacter, sal
return true;
}
-// -------------------------------------------------------------------------
+
// TODO: move most of this stuff into the central font-subsetting code
bool PrintFontManager::createFontSubset(
@@ -2143,7 +2143,7 @@ void PrintFontManager::getGlyphWidths( fontID nFont,
}
}
-// -------------------------------------------------------------------------
+
const std::map< sal_Unicode, sal_Int32 >* PrintFontManager::getEncodingMap( fontID nFont, const std::map< sal_Unicode, OString >** pNonEncoded ) const
{
@@ -2160,7 +2160,7 @@ const std::map< sal_Unicode, sal_Int32 >* PrintFontManager::getEncodingMap( font
return pFont->m_aEncodingVector.size() ? &pFont->m_aEncodingVector : NULL;
}
-// -------------------------------------------------------------------------
+
std::list< OString > PrintFontManager::getAdobeNameFromUnicode( sal_Unicode aChar ) const
{
@@ -2182,7 +2182,7 @@ std::list< OString > PrintFontManager::getAdobeNameFromUnicode( sal_Unicode aCha
return aRet;
}
-// -------------------------------------------------------------------------
+
std::list< sal_Unicode > PrintFontManager::getUnicodeFromAdobeName( const OString& rName ) const
{
std::pair< boost::unordered_multimap< OString, sal_Unicode, OStringHash >::const_iterator,
diff --git a/vcl/generic/fontmanager/fontsubst.cxx b/vcl/generic/fontmanager/fontsubst.cxx
index 7b2394cfcc6a..4a9d5572735a 100644
--- a/vcl/generic/fontmanager/fontsubst.cxx
+++ b/vcl/generic/fontmanager/fontsubst.cxx
@@ -114,7 +114,7 @@ void SalGenericInstance::RegisterFontSubstitutors( ImplDevFontList* pList )
}
}
-// -----------------------------------------------------------------------
+
static FontSelectPattern GetFcSubstitute(const FontSelectPattern &rFontSelData, OUString& rMissingCodes )
{
@@ -152,7 +152,7 @@ namespace
};
}
-//--------------------------------------------------------------------------
+
bool FcPreMatchSubstititution::FindFontSubstitute( FontSelectPattern &rFontSelData ) const
{
@@ -219,7 +219,7 @@ bool FcPreMatchSubstititution::FindFontSubstitute( FontSelectPattern &rFontSelDa
return bHaveSubstitute;
}
-// -----------------------------------------------------------------------
+
bool FcGlyphFallbackSubstititution::FindFontSubstitute( FontSelectPattern& rFontSelData,
OUString& rMissingCodes ) const
diff --git a/vcl/generic/glyphs/gcach_ftyp.cxx b/vcl/generic/glyphs/gcach_ftyp.cxx
index 42be83680f3b..53ccd83c055a 100644
--- a/vcl/generic/glyphs/gcach_ftyp.cxx
+++ b/vcl/generic/glyphs/gcach_ftyp.cxx
@@ -88,7 +88,7 @@ static void InitGammaTable()
}
}
-// -----------------------------------------------------------------------
+
static FT_Library aLibFT = 0;
@@ -99,7 +99,7 @@ typedef ::boost::unordered_map<const char*, boost::shared_ptr<FtFontFile>, rtl::
namespace { struct vclFontFileList : public rtl::Static< FontFileList, vclFontFileList > {}; }
-// -----------------------------------------------------------------------
+
// TODO: remove when the priorities are selected by UI
// if (AH==0) => disable autohinting
@@ -142,7 +142,7 @@ FtFontFile::FtFontFile( const OString& rNativeFileName )
}
}
-// -----------------------------------------------------------------------
+
FtFontFile* FtFontFile::FindFontFile( const OString& rNativeFileName )
{
@@ -160,7 +160,7 @@ FtFontFile* FtFontFile::FindFontFile( const OString& rNativeFileName )
return pFontFile;
}
-// -----------------------------------------------------------------------
+
bool FtFontFile::Map()
{
@@ -189,7 +189,7 @@ bool FtFontFile::Map()
return (mpFileMap != NULL);
}
-// -----------------------------------------------------------------------
+
void FtFontFile::Unmap()
{
@@ -253,7 +253,7 @@ FtFontInfo::FtFontInfo( const ImplDevFontAttributes& rDevFontAttributes,
maDevFontAttributes.mnQuality += mpFontFile->GetLangBoost();
}
-// -----------------------------------------------------------------------
+
FtFontInfo::~FtFontInfo()
{
@@ -273,7 +273,7 @@ void FtFontInfo::InitHashes() const
mpGlyph2Char = new Int2IntMap();
}
-// -----------------------------------------------------------------------
+
FT_FaceRec_* FtFontInfo::GetFaceFT()
{
@@ -313,7 +313,7 @@ GraphiteFaceWrapper * FtFontInfo::GetGraphiteFace()
}
#endif
-// -----------------------------------------------------------------------
+
void FtFontInfo::ReleaseFaceFT()
{
@@ -325,7 +325,7 @@ void FtFontInfo::ReleaseFaceFT()
}
}
-// -----------------------------------------------------------------------
+
static unsigned GetUInt( const unsigned char* p ) { return((p[0]<<24)+(p[1]<<16)+(p[2]<<8)+p[3]);}
static unsigned GetUShort( const unsigned char* p ){ return((p[0]<<8)+p[1]);}
@@ -371,7 +371,7 @@ const unsigned char* FtFontInfo::GetTable( const char* pTag, sal_uLong* pLength
return NULL;
}
-// -----------------------------------------------------------------------
+
void FtFontInfo::AnnounceFont( ImplDevFontList* pFontList )
{
@@ -406,7 +406,7 @@ FreetypeManager::FreetypeManager()
vclFontFileList::get();
}
-// -----------------------------------------------------------------------
+
FT_Face ServerFont::GetFtFace() const
{
@@ -415,14 +415,14 @@ FT_Face ServerFont::GetFtFace() const
return maFaceFT;
}
-// -----------------------------------------------------------------------
+
FreetypeManager::~FreetypeManager()
{
ClearFontList();
}
-// -----------------------------------------------------------------------
+
void FreetypeManager::AddFontFile( const OString& rNormalizedName,
int nFaceNum, sal_IntPtr nFontId, const ImplDevFontAttributes& rDevFontAttr)
@@ -440,7 +440,7 @@ void FreetypeManager::AddFontFile( const OString& rNormalizedName,
mnMaxFontId = nFontId;
}
-// -----------------------------------------------------------------------
+
void FreetypeManager::AnnounceFonts( ImplDevFontList* pToAdd ) const
{
@@ -451,7 +451,7 @@ void FreetypeManager::AnnounceFonts( ImplDevFontList* pToAdd ) const
}
}
-// -----------------------------------------------------------------------
+
void FreetypeManager::ClearFontList( )
{
@@ -463,7 +463,7 @@ void FreetypeManager::ClearFontList( )
maFontList.clear();
}
-// -----------------------------------------------------------------------
+
ServerFont* FreetypeManager::CreateFont( const FontSelectPattern& rFSD )
{
@@ -493,7 +493,7 @@ ImplFTSFontData::ImplFTSFontData( FtFontInfo* pFI, const ImplDevFontAttributes&
mbOrientation = true;
}
-// -----------------------------------------------------------------------
+
ImplFontEntry* ImplFTSFontData::CreateFontInstance( FontSelectPattern& rFSD ) const
{
@@ -667,7 +667,7 @@ bool ServerFont::TestFont() const
return mbFaceOk;
}
-// -----------------------------------------------------------------------
+
ServerFont::~ServerFont()
{
@@ -682,14 +682,14 @@ ServerFont::~ServerFont()
ReleaseFromGarbageCollect();
}
- // -----------------------------------------------------------------------
+
int ServerFont::GetEmUnits() const
{
return maFaceFT->units_per_EM;
}
-// -----------------------------------------------------------------------
+
void ServerFont::FetchFontMetric( ImplFontMetricData& rTo, long& rFactor ) const
{
@@ -813,7 +813,7 @@ void ServerFont::FetchFontMetric( ImplFontMetricData& rTo, long& rFactor ) const
}
}
-// -----------------------------------------------------------------------
+
static inline void SplitGlyphFlags( const ServerFont& rFont, sal_GlyphId& rGlyphId, int& nGlyphFlags )
{
@@ -824,7 +824,7 @@ static inline void SplitGlyphFlags( const ServerFont& rFont, sal_GlyphId& rGlyph
rGlyphId = rFont.GetRawGlyphIndex( rGlyphId );
}
-// -----------------------------------------------------------------------
+
int ServerFont::ApplyGlyphTransform( int nGlyphFlags,
FT_Glyph pGlyphFT, bool bForBitmapProcessing ) const
@@ -899,7 +899,7 @@ int ServerFont::ApplyGlyphTransform( int nGlyphFlags,
return nAngle;
}
-// -----------------------------------------------------------------------
+
sal_GlyphId ServerFont::GetRawGlyphIndex(sal_UCS4 aChar, sal_UCS4 aVS) const
{
@@ -944,7 +944,7 @@ sal_GlyphId ServerFont::GetRawGlyphIndex(sal_UCS4 aChar, sal_UCS4 aVS) const
return sal_GlyphId( nGlyphIndex);
}
-// -----------------------------------------------------------------------
+
sal_GlyphId ServerFont::FixupGlyphIndex( sal_GlyphId aGlyphId, sal_UCS4 aChar ) const
{
@@ -981,7 +981,7 @@ sal_GlyphId ServerFont::FixupGlyphIndex( sal_GlyphId aGlyphId, sal_UCS4 aChar )
}
-// -----------------------------------------------------------------------
+
sal_GlyphId ServerFont::GetGlyphIndex( sal_UCS4 aChar ) const
{
@@ -990,7 +990,7 @@ sal_GlyphId ServerFont::GetGlyphIndex( sal_UCS4 aChar ) const
return aGlyphId;
}
-// -----------------------------------------------------------------------
+
static int lcl_GetCharWidth( FT_FaceRec_* pFaceFT, double fStretch, int nGlyphFlags )
{
@@ -1005,7 +1005,7 @@ static int lcl_GetCharWidth( FT_FaceRec_* pFaceFT, double fStretch, int nGlyphFl
return (nCharWidth + 32) >> 6;
}
-// -----------------------------------------------------------------------
+
void ServerFont::InitGlyphData( sal_GlyphId aGlyphId, GlyphData& rGD ) const
{
@@ -1058,7 +1058,7 @@ void ServerFont::InitGlyphData( sal_GlyphId aGlyphId, GlyphData& rGD ) const
FT_Done_Glyph( pGlyphFT );
}
-// -----------------------------------------------------------------------
+
bool ServerFont::GetAntialiasAdvice( void ) const
{
@@ -1069,7 +1069,7 @@ bool ServerFont::GetAntialiasAdvice( void ) const
return bAdviseAA;
}
-// -----------------------------------------------------------------------
+
bool ServerFont::GetGlyphBitmap1( sal_GlyphId aGlyphId, RawBitmap& rRawBitmap ) const
{
@@ -1211,7 +1211,7 @@ bool ServerFont::GetGlyphBitmap1( sal_GlyphId aGlyphId, RawBitmap& rRawBitmap )
return true;
}
-// -----------------------------------------------------------------------
+
bool ServerFont::GetGlyphBitmap8( sal_GlyphId aGlyphId, RawBitmap& rRawBitmap ) const
{
@@ -1344,9 +1344,9 @@ bool ServerFont::GetGlyphBitmap8( sal_GlyphId aGlyphId, RawBitmap& rRawBitmap )
return true;
}
-// -----------------------------------------------------------------------
+
// determine unicode ranges in font
-// -----------------------------------------------------------------------
+
const ImplFontCharMap* ServerFont::GetImplFontCharMap( void ) const
{
@@ -1444,9 +1444,9 @@ bool ServerFont::GetFontCapabilities(vcl::FontCapabilities &rFontCapabilities) c
return bRet;
}
-// -----------------------------------------------------------------------
+
// outline stuff
-// -----------------------------------------------------------------------
+
class PolyArgs
{
@@ -1473,7 +1473,7 @@ private:
bool bHasOffline;
};
-// -----------------------------------------------------------------------
+
PolyArgs::PolyArgs( PolyPolygon& rPolyPoly, sal_uInt16 nMaxPoints )
: mrPolyPoly(rPolyPoly),
@@ -1487,7 +1487,7 @@ PolyArgs::PolyArgs( PolyPolygon& rPolyPoly, sal_uInt16 nMaxPoints )
maPosition.x = maPosition.y = 0;
}
-// -----------------------------------------------------------------------
+
PolyArgs::~PolyArgs()
@@ -1496,7 +1496,7 @@ PolyArgs::~PolyArgs()
delete[] mpPointAry;
}
-// -----------------------------------------------------------------------
+
void PolyArgs::AddPoint( long nX, long nY, PolyFlags aFlag )
{
@@ -1511,7 +1511,7 @@ void PolyArgs::AddPoint( long nX, long nY, PolyFlags aFlag )
bHasOffline |= (aFlag != POLY_NORMAL);
}
-// -----------------------------------------------------------------------
+
void PolyArgs::ClosePolygon()
{
@@ -1557,7 +1557,7 @@ void PolyArgs::ClosePolygon()
bHasOffline = false;
}
-// -----------------------------------------------------------------------
+
extern "C" {
@@ -1610,7 +1610,7 @@ static int FT_cubic_to( FT_Vector_CPtr p1, FT_Vector_CPtr p2, FT_Vector_CPtr p3,
} // extern "C"
-// -----------------------------------------------------------------------
+
bool ServerFont::GetGlyphOutline( sal_GlyphId aGlyphId,
::basegfx::B2DPolyPolygon& rB2DPolyPoly ) const
@@ -1688,7 +1688,7 @@ bool ServerFont::GetGlyphOutline( sal_GlyphId aGlyphId,
return true;
}
-// -----------------------------------------------------------------------
+
bool ServerFont::ApplyGSUB( const FontSelectPattern& rFSD )
{
diff --git a/vcl/generic/glyphs/gcach_layout.cxx b/vcl/generic/glyphs/gcach_layout.cxx
index dcf21965801c..67eafe8a86c8 100644
--- a/vcl/generic/glyphs/gcach_layout.cxx
+++ b/vcl/generic/glyphs/gcach_layout.cxx
@@ -51,14 +51,14 @@ void ServerFontLayout::DrawText( SalGraphics& rSalGraphics ) const
rSalGraphics.DrawServerFontLayout( *this );
}
-// -----------------------------------------------------------------------
+
bool ServerFontLayout::LayoutText( ImplLayoutArgs& rArgs )
{
return mrServerFont.GetLayoutEngine()->layout(*this, rArgs);
}
-// -----------------------------------------------------------------------
+
void ServerFontLayout::AdjustLayout( ImplLayoutArgs& rArgs )
{
GenericSalLayout::AdjustLayout( rArgs );
diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx
index 501260b22608..3fb28d2f17e2 100644
--- a/vcl/generic/print/genprnpsp.cxx
+++ b/vcl/generic/print/genprnpsp.cxx
@@ -1317,7 +1317,7 @@ void PrinterUpdate::doUpdate()
pInst->PostPrintersChanged();
}
-// -----------------------------------------------------------------------
+
IMPL_STATIC_LINK_NOINSTANCE( PrinterUpdate, UpdateTimerHdl, void*, EMPTYARG )
{
diff --git a/vcl/generic/print/genpspgraphics.cxx b/vcl/generic/print/genpspgraphics.cxx
index f4e4dc3d5701..50927df0ef59 100644
--- a/vcl/generic/print/genpspgraphics.cxx
+++ b/vcl/generic/print/genpspgraphics.cxx
@@ -578,14 +578,14 @@ public:
static bool CheckFontData( const PhysicalFontFace& r ) { return r.CheckMagic( PSPFD_MAGIC ); }
};
-//--------------------------------------------------------------------------
+
ImplPspFontData::ImplPspFontData( const psp::FastPrintFontInfo& rInfo )
: PhysicalFontFace( GenPspGraphics::Info2DevFontAttributes(rInfo), PSPFD_MAGIC ),
mnFontId( rInfo.m_nID )
{}
-//--------------------------------------------------------------------------
+
ImplFontEntry* ImplPspFontData::CreateFontInstance( FontSelectPattern& rFSD ) const
{
@@ -612,7 +612,7 @@ private:
bool mbArtBold;
};
-//--------------------------------------------------------------------------
+
PspFontLayout::PspFontLayout( ::psp::PrinterGfx& rGfx )
: mrPrinterGfx( rGfx )
@@ -625,7 +625,7 @@ PspFontLayout::PspFontLayout( ::psp::PrinterGfx& rGfx )
mbArtBold = mrPrinterGfx.GetArtificialBold();
}
-//--------------------------------------------------------------------------
+
bool PspFontLayout::LayoutText( ImplLayoutArgs& rArgs )
{
@@ -725,7 +725,7 @@ void PspServerFontLayout::InitFont() const
mnOrientation, mbVertical, mbArtItalic, mbArtBold );
}
-//--------------------------------------------------------------------------
+
static void DrawPrinterLayout( const SalLayout& rLayout, ::psp::PrinterGfx& rGfx, bool bIsPspServerFontLayout )
{
@@ -782,7 +782,7 @@ static void DrawPrinterLayout( const SalLayout& rLayout, ::psp::PrinterGfx& rGfx
}
}
-//--------------------------------------------------------------------------
+
void PspFontLayout::InitFont() const
{
@@ -790,7 +790,7 @@ void PspFontLayout::InitFont() const
mnOrientation, mbVertical, mbArtItalic, mbArtBold );
}
-//--------------------------------------------------------------------------
+
void PspFontLayout::DrawText( SalGraphics& ) const
{
@@ -1006,7 +1006,7 @@ SalLayout* GenPspGraphics::GetTextLayout( ImplLayoutArgs& rArgs, int nFallbackLe
return pLayout;
}
-//--------------------------------------------------------------------------
+
bool GenPspGraphics::CreateFontSubset(
const OUString& rToFile,
@@ -1036,7 +1036,7 @@ bool GenPspGraphics::CreateFontSubset(
return bSuccess;
}
-//--------------------------------------------------------------------------
+
const Ucs2SIntMap* GenPspGraphics::GetFontEncodingVector( const PhysicalFontFace* pFont, const Ucs2OStrMap** pNonEncoded )
{
@@ -1049,7 +1049,7 @@ const Ucs2SIntMap* GenPspGraphics::GetFontEncodingVector( const PhysicalFontFace
return GenPspGraphics::DoGetFontEncodingVector( aFont, pNonEncoded );
}
-//--------------------------------------------------------------------------
+
void GenPspGraphics::GetGlyphWidths( const PhysicalFontFace* pFont,
bool bVertical,
@@ -1088,7 +1088,7 @@ void GenPspGraphics::DoGetGlyphWidths( psp::fontID aFont,
psp::PrintFontManager& rMgr = psp::PrintFontManager::get();
rMgr.getGlyphWidths( aFont, bVertical, rWidths, rUnicodeEnc );
}
-// ----------------------------------------------------------------------------
+
ImplDevFontAttributes GenPspGraphics::Info2DevFontAttributes( const psp::FastPrintFontInfo& rInfo )
{
@@ -1165,7 +1165,7 @@ namespace vcl
}
}
-// -----------------------------------------------------------------------
+
void GenPspGraphics::AnnounceFonts( ImplDevFontList* pFontList, const psp::FastPrintFontInfo& aInfo )
{
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx
index 7a43eb1f326c..cdf0e182c66a 100644
--- a/vcl/headless/svpinst.cxx
+++ b/vcl/headless/svpinst.cxx
@@ -380,9 +380,9 @@ void* SvpSalInstance::GetConnectionIdentifier( ConnectionIdentifierType& rReturn
return const_cast<char*>("");
}
-// ---------------
+
// - SalTimer -
-// ---------------
+
void SvpSalInstance::StopTimer()
{
diff --git a/vcl/osx/HtmlFmtFlt.cxx b/vcl/osx/HtmlFmtFlt.cxx
index 74779df5a11e..c45e7f856584 100644
--- a/vcl/osx/HtmlFmtFlt.cxx
+++ b/vcl/osx/HtmlFmtFlt.cxx
@@ -29,7 +29,7 @@
using namespace com::sun::star::uno;
-//------------------------------------------------------------------------------
+
// converts the openoffice text/html clipboard format to the HTML Format
// well known under MS Windows
// the MS HTML Format has a header before the real html data
@@ -52,7 +52,7 @@ using namespace com::sun::star::uno;
// The fragment should be preceded and followed by the HTML comments
// <!--StartFragment--> and <!--EndFragment--> (no space between !-- and the
// text
-//------------------------------------------------------------------------------
+
namespace // private
{
diff --git a/vcl/osx/a11yfocuslistener.cxx b/vcl/osx/a11yfocuslistener.cxx
index c4e296072868..225473069d28 100644
--- a/vcl/osx/a11yfocuslistener.cxx
+++ b/vcl/osx/a11yfocuslistener.cxx
@@ -31,7 +31,7 @@ using namespace ::com::sun::star::uno;
rtl::Reference< AquaA11yFocusListener > AquaA11yFocusListener::theListener;
-//------------------------------------------------------------------------------
+
rtl::Reference< AquaA11yFocusListener > AquaA11yFocusListener::get()
{
@@ -41,13 +41,13 @@ rtl::Reference< AquaA11yFocusListener > AquaA11yFocusListener::get()
return theListener;
}
-//------------------------------------------------------------------------------
+
AquaA11yFocusListener::AquaA11yFocusListener() : m_focusedObject(nil)
{
}
-//------------------------------------------------------------------------------
+
id AquaA11yFocusListener::getFocusedUIElement()
{
@@ -67,7 +67,7 @@ id AquaA11yFocusListener::getFocusedUIElement()
return m_focusedObject;
}
-//------------------------------------------------------------------------------
+
void SAL_CALL
AquaA11yFocusListener::focusedObjectChanged(const Reference< XAccessible >& xAccessible)
@@ -91,7 +91,7 @@ AquaA11yFocusListener::focusedObjectChanged(const Reference< XAccessible >& xAcc
}
}
-//------------------------------------------------------------------------------
+
oslInterlockedCount SAL_CALL
AquaA11yFocusListener::acquire() SAL_THROW(())
@@ -99,7 +99,7 @@ AquaA11yFocusListener::acquire() SAL_THROW(())
return ReferenceObject::acquire();
}
-//------------------------------------------------------------------------------
+
oslInterlockedCount SAL_CALL
AquaA11yFocusListener::release() SAL_THROW(())
diff --git a/vcl/osx/a11yfocustracker.cxx b/vcl/osx/a11yfocustracker.cxx
index 1017969c879a..cbd634251fab 100644
--- a/vcl/osx/a11yfocustracker.cxx
+++ b/vcl/osx/a11yfocustracker.cxx
@@ -36,7 +36,7 @@
using namespace ::com::sun::star::accessibility;
using namespace ::com::sun::star::uno;
-//------------------------------------------------------------------------------
+
static inline Window *
getWindow(const ::VclSimpleEvent *pEvent)
@@ -45,7 +45,7 @@ getWindow(const ::VclSimpleEvent *pEvent)
}
-//------------------------------------------------------------------------------
+
// callback function for Application::addEventListener
@@ -94,7 +94,7 @@ long AquaA11yFocusTracker::WindowEventHandler(AquaA11yFocusTracker *pFocusTracke
return 0;
}
-//------------------------------------------------------------------------------
+
AquaA11yFocusTracker::AquaA11yFocusTracker() :
m_aWindowEventLink(this, (PSTUB) WindowEventHandler),
@@ -104,7 +104,7 @@ AquaA11yFocusTracker::AquaA11yFocusTracker() :
window_got_focus(Application::GetFocusWindow());
}
-//------------------------------------------------------------------------------
+
void AquaA11yFocusTracker::setFocusedObject(const Reference< XAccessible >& xAccessible)
{
@@ -117,7 +117,7 @@ void AquaA11yFocusTracker::setFocusedObject(const Reference< XAccessible >& xAcc
}
}
-//------------------------------------------------------------------------------
+
void AquaA11yFocusTracker::notify_toolbox_item_focus(ToolBox *pToolBox)
{
@@ -136,7 +136,7 @@ void AquaA11yFocusTracker::notify_toolbox_item_focus(ToolBox *pToolBox)
}
}
-//------------------------------------------------------------------------------
+
void AquaA11yFocusTracker::toolbox_open_floater(Window *pWindow)
{
@@ -171,7 +171,7 @@ void AquaA11yFocusTracker::toolbox_open_floater(Window *pWindow)
}
}
-//------------------------------------------------------------------------------
+
void AquaA11yFocusTracker::toolbox_highlight_on(Window *pWindow)
{
@@ -186,7 +186,7 @@ void AquaA11yFocusTracker::toolbox_highlight_on(Window *pWindow)
notify_toolbox_item_focus(static_cast <ToolBox *> (pWindow));
}
-//------------------------------------------------------------------------------
+
void AquaA11yFocusTracker::toolbox_highlight_off(Window *pWindow)
{
@@ -197,7 +197,7 @@ void AquaA11yFocusTracker::toolbox_highlight_off(Window *pWindow)
notify_toolbox_item_focus( pToolBoxParent );
}
-//------------------------------------------------------------------------------
+
void AquaA11yFocusTracker::tabpage_activated(Window *pWindow)
{
@@ -212,7 +212,7 @@ void AquaA11yFocusTracker::tabpage_activated(Window *pWindow)
}
}
-//------------------------------------------------------------------------------
+
void AquaA11yFocusTracker::menu_highlighted(const VclMenuEvent *pEvent)
{
@@ -227,7 +227,7 @@ void AquaA11yFocusTracker::menu_highlighted(const VclMenuEvent *pEvent)
}
}
-//------------------------------------------------------------------------------
+
void AquaA11yFocusTracker::window_got_focus(Window *pWindow)
{
diff --git a/vcl/osx/a11ylistener.cxx b/vcl/osx/a11ylistener.cxx
index dafabb7133c2..46d699c6f859 100644
--- a/vcl/osx/a11ylistener.cxx
+++ b/vcl/osx/a11ylistener.cxx
@@ -50,21 +50,21 @@ NSString * getTableNotification( const AccessibleEventObject& aEvent )
return notification;
}
-//------------------------------------------------------------------------------
+
AquaA11yEventListener::AquaA11yEventListener(id wrapperObject, sal_Int16 role) : m_wrapperObject(wrapperObject), m_role(role)
{
[ m_wrapperObject retain ];
}
-//------------------------------------------------------------------------------
+
AquaA11yEventListener::~AquaA11yEventListener()
{
[ m_wrapperObject release ];
}
-//------------------------------------------------------------------------------
+
void SAL_CALL
AquaA11yEventListener::disposing( const EventObject& ) throw( RuntimeException )
@@ -72,7 +72,7 @@ AquaA11yEventListener::disposing( const EventObject& ) throw( RuntimeException )
[ AquaA11yFactory removeFromWrapperRepositoryFor: [ (AquaA11yWrapper *) m_wrapperObject accessibleContext ] ];
}
-//------------------------------------------------------------------------------
+
void SAL_CALL
AquaA11yEventListener::notifyEvent( const AccessibleEventObject& aEvent ) throw( RuntimeException )
diff --git a/vcl/osx/documentfocuslistener.cxx b/vcl/osx/documentfocuslistener.cxx
index ac65f1e84338..da69778292e6 100644
--- a/vcl/osx/documentfocuslistener.cxx
+++ b/vcl/osx/documentfocuslistener.cxx
@@ -30,14 +30,14 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
-//------------------------------------------------------------------------------
+
DocumentFocusListener::DocumentFocusListener(AquaA11yFocusTracker& rTracker) :
m_aFocusTracker(rTracker)
{
}
-//------------------------------------------------------------------------------
+
void SAL_CALL
DocumentFocusListener::disposing( const EventObject& aEvent )
@@ -49,7 +49,7 @@ DocumentFocusListener::disposing( const EventObject& aEvent )
m_aRefList.erase(aEvent.Source);
}
-//------------------------------------------------------------------------------
+
void SAL_CALL
DocumentFocusListener::notifyEvent( const AccessibleEventObject& aEvent )
@@ -97,7 +97,7 @@ DocumentFocusListener::notifyEvent( const AccessibleEventObject& aEvent )
}
}
-//------------------------------------------------------------------------------
+
Reference< XAccessible > DocumentFocusListener::getAccessible(const EventObject& aEvent )
throw (IndexOutOfBoundsException, RuntimeException)
@@ -125,7 +125,7 @@ Reference< XAccessible > DocumentFocusListener::getAccessible(const EventObject&
return Reference< XAccessible >();
}
-//------------------------------------------------------------------------------
+
void DocumentFocusListener::attachRecursive(const Reference< XAccessible >& xAccessible)
throw (IndexOutOfBoundsException, RuntimeException)
@@ -136,7 +136,7 @@ void DocumentFocusListener::attachRecursive(const Reference< XAccessible >& xAcc
attachRecursive(xAccessible, xContext);
}
-//------------------------------------------------------------------------------
+
void DocumentFocusListener::attachRecursive(
const Reference< XAccessible >& xAccessible,
@@ -152,7 +152,7 @@ void DocumentFocusListener::attachRecursive(
}
}
-//------------------------------------------------------------------------------
+
void DocumentFocusListener::attachRecursive(
const Reference< XAccessible >& xAccessible,
@@ -185,7 +185,7 @@ void DocumentFocusListener::attachRecursive(
}
}
-//------------------------------------------------------------------------------
+
void DocumentFocusListener::detachRecursive(const Reference< XAccessible >& xAccessible)
throw (IndexOutOfBoundsException, RuntimeException)
@@ -196,7 +196,7 @@ void DocumentFocusListener::detachRecursive(const Reference< XAccessible >& xAcc
detachRecursive(xAccessible, xContext);
}
-//------------------------------------------------------------------------------
+
void DocumentFocusListener::detachRecursive(
const Reference< XAccessible >& xAccessible,
@@ -209,7 +209,7 @@ void DocumentFocusListener::detachRecursive(
detachRecursive(xAccessible, xContext, xStateSet);
}
-//------------------------------------------------------------------------------
+
void DocumentFocusListener::detachRecursive(
const Reference< XAccessible >&,
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 3ce28c9a2588..71a951c42d68 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -94,7 +94,7 @@ AquaSalFrame::AquaSalFrame( SalFrame* pParent, sal_uLong salFrameStyle ) :
pSalData->maFrameCheck.insert( this );
}
-// -----------------------------------------------------------------------
+
AquaSalFrame::~AquaSalFrame()
{
@@ -130,7 +130,7 @@ AquaSalFrame::~AquaSalFrame()
[mpNSWindow release];
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::initWindowAndView()
{
@@ -217,7 +217,7 @@ void AquaSalFrame::initWindowAndView()
[mpNSWindow setContentView: mpNSView];
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::CocoaToVCL( NSRect& io_rRect, bool bRelativeToScreen )
{
@@ -251,7 +251,7 @@ void AquaSalFrame::VCLToCocoa( NSPoint& io_rPoint, bool bRelativeToScreen )
io_rPoint.y = maGeometry.nHeight - io_rPoint.y;
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::screenParametersChanged()
{
@@ -262,7 +262,7 @@ void AquaSalFrame::screenParametersChanged()
CallCallback( SALEVENT_DISPLAYCHANGED, 0 );
}
-// -----------------------------------------------------------------------
+
SalGraphics* AquaSalFrame::GetGraphics()
{
@@ -279,7 +279,7 @@ SalGraphics* AquaSalFrame::GetGraphics()
return mpGraphics;
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::ReleaseGraphics( SalGraphics *pGraphics )
{
@@ -288,7 +288,7 @@ void AquaSalFrame::ReleaseGraphics( SalGraphics *pGraphics )
mbGraphics = FALSE;
}
-// -----------------------------------------------------------------------
+
bool AquaSalFrame::PostEvent( void *pData )
{
@@ -296,7 +296,7 @@ bool AquaSalFrame::PostEvent( void *pData )
return TRUE;
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetTitle(const OUString& rTitle)
{
if ( !mpNSWindow )
@@ -333,13 +333,13 @@ void AquaSalFrame::SetTitle(const OUString& rTitle)
[pTitle release];
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetIcon( sal_uInt16 )
{
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetRepresentedURL( const OUString& i_rDocURL )
{
@@ -359,7 +359,7 @@ void AquaSalFrame::SetRepresentedURL( const OUString& i_rDocURL )
}
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::initShow()
{
@@ -412,7 +412,7 @@ void AquaSalFrame::SendPaintEvent( const Rectangle* pRect )
CallCallback(SALEVENT_PAINT, &aPaintEvt);
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::Show(sal_Bool bVisible, sal_Bool bNoActivate)
{
@@ -475,13 +475,13 @@ void AquaSalFrame::Show(sal_Bool bVisible, sal_Bool bNoActivate)
}
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::Enable( sal_Bool )
{
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetMinClientSize( long nWidth, long nHeight )
{
@@ -506,7 +506,7 @@ void AquaSalFrame::SetMinClientSize( long nWidth, long nHeight )
}
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetMaxClientSize( long nWidth, long nHeight )
{
@@ -535,7 +535,7 @@ void AquaSalFrame::SetMaxClientSize( long nWidth, long nHeight )
}
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetClientSize( long nWidth, long nHeight )
{
@@ -554,7 +554,7 @@ void AquaSalFrame::SetClientSize( long nWidth, long nHeight )
}
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::GetClientSize( long& rWidth, long& rHeight )
{
@@ -570,7 +570,7 @@ void AquaSalFrame::GetClientSize( long& rWidth, long& rHeight )
}
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetWindowState( const SalFrameState* pState )
{
@@ -646,7 +646,7 @@ void AquaSalFrame::SetWindowState( const SalFrameState* pState )
}
}
-// -----------------------------------------------------------------------
+
bool AquaSalFrame::GetWindowState( SalFrameState* pState )
{
@@ -680,7 +680,7 @@ bool AquaSalFrame::GetWindowState( SalFrameState* pState )
return TRUE;
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetScreenNumber(unsigned int nScreen)
{
@@ -720,7 +720,7 @@ void AquaSalFrame::SetApplicationID( const OUString &/*rApplicationID*/ )
{
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::ShowFullScreen( bool bFullScreen, sal_Int32 nDisplay )
{
@@ -817,7 +817,7 @@ void AquaSalFrame::ShowFullScreen( bool bFullScreen, sal_Int32 nDisplay )
SendPaintEvent();
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::StartPresentation( sal_Bool bStart )
{
@@ -846,13 +846,13 @@ void AquaSalFrame::StartPresentation( sal_Bool bStart )
}
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetAlwaysOnTop( sal_Bool )
{
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::ToTop(sal_uInt16 nFlags)
{
@@ -873,7 +873,7 @@ void AquaSalFrame::ToTop(sal_uInt16 nFlags)
[mpNSWindow orderFront: NSApp];
}
-// -----------------------------------------------------------------------
+
NSCursor* AquaSalFrame::getCurrentCursor() const
{
@@ -929,7 +929,7 @@ void AquaSalFrame::SetPointer( PointerStyle ePointerStyle )
[mpNSWindow invalidateCursorRectsForView: mpNSView];
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetPointerPos( long nX, long nY )
{
@@ -941,7 +941,7 @@ void AquaSalFrame::SetPointerPos( long nX, long nY )
CGDisplayMoveCursorToPoint( mainDisplayID, aPoint );
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::Flush( void )
{
@@ -963,7 +963,7 @@ void AquaSalFrame::Flush( void )
}
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::Flush( const Rectangle& rRect )
{
@@ -986,7 +986,7 @@ void AquaSalFrame::Flush( const Rectangle& rRect )
}
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::Sync()
{
@@ -1000,7 +1000,7 @@ void AquaSalFrame::Sync()
}
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetInputContext( SalInputContext* pContext )
{
@@ -1016,13 +1016,13 @@ void AquaSalFrame::SetInputContext( SalInputContext* pContext )
return;
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::EndExtTextInput( sal_uInt16 )
{
}
-// -----------------------------------------------------------------------
+
OUString AquaSalFrame::GetKeyName( sal_uInt16 nKeyCode )
{
@@ -1109,7 +1109,7 @@ OUString AquaSalFrame::GetKeyName( sal_uInt16 nKeyCode )
return aResult.makeStringAndClear();
}
-// -----------------------------------------------------------------------
+
static void getAppleScrollBarVariant(StyleSettings &rSettings)
{
@@ -1308,21 +1308,21 @@ void AquaSalFrame::UpdateSettings( AllSettings& rSettings )
[mpNSView unlockFocus];
}
-// -----------------------------------------------------------------------
+
const SystemEnvData* AquaSalFrame::GetSystemData() const
{
return &maSysData;
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::Beep()
{
NSBeep();
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::SetPosSize(long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags)
{
@@ -1643,7 +1643,7 @@ void AquaSalFrame::UpdateFrameGeometry()
maGeometry.nHeight = static_cast<unsigned int>(aContentRect.size.height);
}
-// -----------------------------------------------------------------------
+
void AquaSalFrame::CaptureMouse( sal_Bool bCapture )
{
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index e960e8db82bd..b8172e153cf7 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -70,7 +70,7 @@ static int* gpnInit = 0;
static NSMenu* pDockMenu = nil;
static bool bNoSVMain = true;
static bool bLeftMain = false;
-// -----------------------------------------------------------------------
+
class AquaDelayedSettingsChanged : public Timer
{
@@ -245,7 +245,7 @@ void SalAbort( const OUString& rErrorText, bool bDumpCore )
_exit(1);
}
-// -----------------------------------------------------------------------
+
void InitSalData()
{
@@ -253,7 +253,7 @@ void InitSalData()
SetSalData( pSalData );
}
-// -----------------------------------------------------------------------
+
const OUString& SalGetDesktopEnvironment()
{
@@ -261,7 +261,7 @@ const OUString& SalGetDesktopEnvironment()
return aDesktopEnvironment;
}
-// -----------------------------------------------------------------------
+
void DeInitSalData()
{
@@ -275,13 +275,13 @@ void DeInitSalData()
SetSalData( NULL );
}
-// -----------------------------------------------------------------------
+
extern "C" {
#include <crt_externs.h>
}
-// -----------------------------------------------------------------------
+
void InitSalMain()
{
@@ -325,7 +325,7 @@ bool SalYieldMutex::tryToAcquire()
return false;
}
-// -----------------------------------------------------------------------
+
// some convenience functions regarding the yield mutex, aka solar mutex
@@ -382,14 +382,14 @@ SalInstance* CreateSalInstance()
return pInst;
}
-// -----------------------------------------------------------------------
+
void DestroySalInstance( SalInstance* pInst )
{
delete pInst;
}
-// -----------------------------------------------------------------------
+
AquaSalInstance::AquaSalInstance()
{
@@ -403,7 +403,7 @@ AquaSalInstance::AquaSalInstance()
maWaitingYieldCond = osl_createCondition();
}
-// -----------------------------------------------------------------------
+
AquaSalInstance::~AquaSalInstance()
{
@@ -414,7 +414,7 @@ AquaSalInstance::~AquaSalInstance()
osl_destroyCondition( maWaitingYieldCond );
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::wakeupYield()
{
@@ -437,7 +437,7 @@ void AquaSalInstance::wakeupYield()
}
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::PostUserEvent( AquaSalFrame* pFrame, sal_uInt16 nType, void* pData )
{
@@ -449,14 +449,14 @@ void AquaSalInstance::PostUserEvent( AquaSalFrame* pFrame, sal_uInt16 nType, voi
wakeupYield();
}
-// -----------------------------------------------------------------------
+
comphelper::SolarMutex* AquaSalInstance::GetYieldMutex()
{
return mpSalYieldMutex;
}
-// -----------------------------------------------------------------------
+
sal_uLong AquaSalInstance::ReleaseYieldMutex()
{
@@ -478,7 +478,7 @@ sal_uLong AquaSalInstance::ReleaseYieldMutex()
return 0;
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::AcquireYieldMutex( sal_uLong nCount )
{
@@ -490,7 +490,7 @@ void AquaSalInstance::AcquireYieldMutex( sal_uLong nCount )
}
}
-// -----------------------------------------------------------------------
+
bool AquaSalInstance::CheckYieldMutex()
{
@@ -505,14 +505,14 @@ bool AquaSalInstance::CheckYieldMutex()
return bRet;
}
-// -----------------------------------------------------------------------
+
bool AquaSalInstance::isNSAppThread() const
{
return osl::Thread::getCurrentIdentifier() == maMainThread;
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent )
{
@@ -611,7 +611,7 @@ void AquaSalInstance::handleAppDefinedEvent( NSEvent* pEvent )
};
}
-// -----------------------------------------------------------------------
+
class ReleasePoolHolder
{
@@ -767,7 +767,7 @@ void AquaSalInstance::Yield( bool bWait, bool bHandleAllCurrentEvents )
}
}
-// -----------------------------------------------------------------------
+
bool AquaSalInstance::AnyInput( sal_uInt16 nType )
{
@@ -813,14 +813,14 @@ bool AquaSalInstance::AnyInput( sal_uInt16 nType )
return (pEvent != NULL);
}
-// -----------------------------------------------------------------------
+
SalFrame* AquaSalInstance::CreateChildFrame( SystemParentData*, sal_uLong /*nSalFrameStyle*/ )
{
return NULL;
}
-// -----------------------------------------------------------------------
+
SalFrame* AquaSalInstance::CreateFrame( SalFrame* pParent, sal_uLong nSalFrameStyle )
{
@@ -830,14 +830,14 @@ SalFrame* AquaSalInstance::CreateFrame( SalFrame* pParent, sal_uLong nSalFrameSt
return pFrame;
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::DestroyFrame( SalFrame* pFrame )
{
delete pFrame;
}
-// -----------------------------------------------------------------------
+
SalObject* AquaSalInstance::CreateObject( SalFrame* pParent, SystemWindowData* /* pWindowData */, sal_Bool /* bShow */ )
{
@@ -850,28 +850,28 @@ SalObject* AquaSalInstance::CreateObject( SalFrame* pParent, SystemWindowData* /
return pObject;
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::DestroyObject( SalObject* pObject )
{
delete ( pObject );
}
-// -----------------------------------------------------------------------
+
SalPrinter* AquaSalInstance::CreatePrinter( SalInfoPrinter* pInfoPrinter )
{
return new AquaSalPrinter( dynamic_cast<AquaSalInfoPrinter*>(pInfoPrinter) );
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::DestroyPrinter( SalPrinter* pPrinter )
{
delete pPrinter;
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::GetPrinterQueueInfo( ImplPrnQueueList* pList )
{
@@ -899,20 +899,20 @@ void AquaSalInstance::GetPrinterQueueInfo( ImplPrnQueueList* pList )
}
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::GetPrinterQueueState( SalPrinterQueueInfo* )
{
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::DeletePrinterQueueInfo( SalPrinterQueueInfo* pInfo )
{
delete pInfo;
}
-// -----------------------------------------------------------------------
+
OUString AquaSalInstance::GetDefaultPrinter()
{
@@ -938,7 +938,7 @@ OUString AquaSalInstance::GetDefaultPrinter()
return maDefaultPrinter;
}
-// -----------------------------------------------------------------------
+
SalInfoPrinter* AquaSalInstance::CreateInfoPrinter( SalPrinterQueueInfo* pQueueInfo,
ImplJobSetup* pSetupData )
@@ -957,7 +957,7 @@ SalInfoPrinter* AquaSalInstance::CreateInfoPrinter( SalPrinterQueueInfo* pQueueI
return pNewInfoPrinter;
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::DestroyInfoPrinter( SalInfoPrinter* pPrinter )
{
@@ -967,33 +967,33 @@ void AquaSalInstance::DestroyInfoPrinter( SalInfoPrinter* pPrinter )
delete pPrinter;
}
-// -----------------------------------------------------------------------
+
SalSystem* AquaSalInstance::CreateSystem()
{
return new AquaSalSystem();
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::DestroySystem( SalSystem* pSystem )
{
delete pSystem;
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::SetEventCallback( void*, bool(*)(void*,void*,int) )
{
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::SetErrorEventCallback( void*, bool(*)(void*,void*,int) )
{
}
-// -----------------------------------------------------------------------
+
void* AquaSalInstance::GetConnectionIdentifier( ConnectionIdentifierType& rReturnedType, int& rReturnedBytes )
{
@@ -1065,35 +1065,35 @@ void AquaSalInstance::AddToRecentDocumentList(const OUString& rFileUrl, const OU
}
-// -----------------------------------------------------------------------
+
SalTimer* AquaSalInstance::CreateSalTimer()
{
return new AquaSalTimer();
}
-// -----------------------------------------------------------------------
+
SalSystem* AquaSalInstance::CreateSalSystem()
{
return new AquaSalSystem();
}
-// -----------------------------------------------------------------------
+
SalBitmap* AquaSalInstance::CreateSalBitmap()
{
return new QuartzSalBitmap();
}
-// -----------------------------------------------------------------------
+
SalSession* AquaSalInstance::CreateSalSession()
{
return NULL;
}
-// -----------------------------------------------------------------------
+
class MacImeStatus : public SalI18NImeStatus
{
@@ -1107,7 +1107,7 @@ public:
virtual void toggle() {}
};
-// -----------------------------------------------------------------------
+
SalI18NImeStatus* AquaSalInstance::CreateI18NImeStatus()
{
diff --git a/vcl/osx/salmenu.cxx b/vcl/osx/salmenu.cxx
index 8c6006f549ba..7912825bddaf 100644
--- a/vcl/osx/salmenu.cxx
+++ b/vcl/osx/salmenu.cxx
@@ -950,6 +950,6 @@ AquaSalMenuItem::~AquaSalMenuItem()
[mpMenuItem autorelease];
}
-// -------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/osx/salobj.cxx b/vcl/osx/salobj.cxx
index b0633c355f3e..350903fa665e 100644
--- a/vcl/osx/salobj.cxx
+++ b/vcl/osx/salobj.cxx
@@ -56,7 +56,7 @@ AquaSalObject::AquaSalObject( AquaSalFrame* pFrame ) :
}
}
-// -----------------------------------------------------------------------
+
AquaSalObject::~AquaSalObject()
{
@@ -93,7 +93,7 @@ AquaSalObject::~AquaSalObject()
This is gives us an 80% solution only, though.
*/
-// -----------------------------------------------------------------------
+
void AquaSalObject::ResetClipRegion()
{
@@ -101,21 +101,21 @@ void AquaSalObject::ResetClipRegion()
setClippedPosSize();
}
-// -----------------------------------------------------------------------
+
sal_uInt16 AquaSalObject::GetClipRegionType()
{
return SAL_OBJECT_CLIP_INCLUDERECTS;
}
-// -----------------------------------------------------------------------
+
void AquaSalObject::BeginSetClipRegion( sal_uLong )
{
mbClip = false;
}
-// -----------------------------------------------------------------------
+
void AquaSalObject::UnionClipRegion( long nX, long nY, long nWidth, long nHeight )
{
@@ -146,14 +146,14 @@ void AquaSalObject::UnionClipRegion( long nX, long nY, long nWidth, long nHeight
}
}
-// -----------------------------------------------------------------------
+
void AquaSalObject::EndSetClipRegion()
{
setClippedPosSize();
}
-// -----------------------------------------------------------------------
+
void AquaSalObject::SetPosSize( long nX, long nY, long nWidth, long nHeight )
{
@@ -164,7 +164,7 @@ void AquaSalObject::SetPosSize( long nX, long nY, long nWidth, long nHeight )
setClippedPosSize();
}
-// -----------------------------------------------------------------------
+
void AquaSalObject::setClippedPosSize()
{
@@ -194,7 +194,7 @@ void AquaSalObject::setClippedPosSize()
[mpClipView scrollToPoint: aClipPt];
}
-// -----------------------------------------------------------------------
+
void AquaSalObject::Show( sal_Bool bVisible )
{
@@ -202,7 +202,7 @@ void AquaSalObject::Show( sal_Bool bVisible )
[mpClipView setHidden: (bVisible ? NO : YES)];
}
-// -----------------------------------------------------------------------
+
const SystemEnvData* AquaSalObject::GetSystemData() const
{
diff --git a/vcl/osx/salprn.cxx b/vcl/osx/salprn.cxx
index c0e13b2dd4ef..b2dafd79552c 100644
--- a/vcl/osx/salprn.cxx
+++ b/vcl/osx/salprn.cxx
@@ -90,7 +90,7 @@ AquaSalInfoPrinter::AquaSalInfoPrinter( const SalPrinterQueueInfo& i_rQueue ) :
}
}
-// -----------------------------------------------------------------------
+
AquaSalInfoPrinter::~AquaSalInfoPrinter()
{
@@ -101,7 +101,7 @@ AquaSalInfoPrinter::~AquaSalInfoPrinter()
CFRelease( mrContext );
}
-// -----------------------------------------------------------------------
+
void AquaSalInfoPrinter::SetupPrinterGraphics( CGContextRef i_rContext ) const
{
@@ -146,7 +146,7 @@ void AquaSalInfoPrinter::SetupPrinterGraphics( CGContextRef i_rContext ) const
}
}
-// -----------------------------------------------------------------------
+
SalGraphics* AquaSalInfoPrinter::GetGraphics()
{
@@ -155,21 +155,21 @@ SalGraphics* AquaSalInfoPrinter::GetGraphics()
return pGraphics;
}
-// -----------------------------------------------------------------------
+
void AquaSalInfoPrinter::ReleaseGraphics( SalGraphics* )
{
mbGraphics = false;
}
-// -----------------------------------------------------------------------
+
bool AquaSalInfoPrinter::Setup( SalFrame*, ImplJobSetup* )
{
return false;
}
-// -----------------------------------------------------------------------
+
bool AquaSalInfoPrinter::SetPrinterData( ImplJobSetup* io_pSetupData )
{
@@ -217,7 +217,7 @@ bool AquaSalInfoPrinter::SetPrinterData( ImplJobSetup* io_pSetupData )
return bSuccess;
}
-// -----------------------------------------------------------------------
+
void AquaSalInfoPrinter::setPaperSize( long i_nWidth, long i_nHeight, Orientation i_eSetOrientation )
{
@@ -239,7 +239,7 @@ void AquaSalInfoPrinter::setPaperSize( long i_nWidth, long i_nHeight, Orientatio
mePageOrientation = i_eSetOrientation;
}
-// -----------------------------------------------------------------------
+
bool AquaSalInfoPrinter::SetData( sal_uLong i_nFlags, ImplJobSetup* io_pSetupData )
{
@@ -279,21 +279,21 @@ bool AquaSalInfoPrinter::SetData( sal_uLong i_nFlags, ImplJobSetup* io_pSetupDat
return mpPrintInfo != nil;
}
-// -----------------------------------------------------------------------
+
sal_uLong AquaSalInfoPrinter::GetPaperBinCount( const ImplJobSetup* )
{
return 0;
}
-// -----------------------------------------------------------------------
+
OUString AquaSalInfoPrinter::GetPaperBinName( const ImplJobSetup*, sal_uLong )
{
return OUString();
}
-// -----------------------------------------------------------------------
+
sal_uLong AquaSalInfoPrinter::GetCapabilities( const ImplJobSetup*, sal_uInt16 i_nType )
{
@@ -327,7 +327,7 @@ sal_uLong AquaSalInfoPrinter::GetCapabilities( const ImplJobSetup*, sal_uInt16 i
return 0;
}
-// -----------------------------------------------------------------------
+
void AquaSalInfoPrinter::GetPageInfo( const ImplJobSetup*,
long& o_rOutWidth, long& o_rOutHeight,
@@ -560,7 +560,7 @@ sal_Bool AquaSalInfoPrinter::StartJob( const OUString* i_pFileName,
return bSuccess;
}
-// -----------------------------------------------------------------------
+
sal_Bool AquaSalInfoPrinter::EndJob()
{
@@ -569,7 +569,7 @@ sal_Bool AquaSalInfoPrinter::EndJob()
return sal_True;
}
-// -----------------------------------------------------------------------
+
sal_Bool AquaSalInfoPrinter::AbortJob()
{
@@ -579,7 +579,7 @@ sal_Bool AquaSalInfoPrinter::AbortJob()
return sal_False;
}
-// -----------------------------------------------------------------------
+
SalGraphics* AquaSalInfoPrinter::StartPage( ImplJobSetup* i_pSetupData, sal_Bool i_bNewJobData )
{
@@ -593,7 +593,7 @@ SalGraphics* AquaSalInfoPrinter::StartPage( ImplJobSetup* i_pSetupData, sal_Bool
return mpGraphics;
}
-// -----------------------------------------------------------------------
+
sal_Bool AquaSalInfoPrinter::EndPage()
{
@@ -601,7 +601,7 @@ sal_Bool AquaSalInfoPrinter::EndPage()
return sal_True;
}
-// -----------------------------------------------------------------------
+
sal_uLong AquaSalInfoPrinter::GetErrorCode() const
{
@@ -615,13 +615,13 @@ AquaSalPrinter::AquaSalPrinter( AquaSalInfoPrinter* i_pInfoPrinter ) :
{
}
-// -----------------------------------------------------------------------
+
AquaSalPrinter::~AquaSalPrinter()
{
}
-// -----------------------------------------------------------------------
+
bool AquaSalPrinter::StartJob( const OUString* i_pFileName,
const OUString& i_rJobName,
@@ -632,7 +632,7 @@ bool AquaSalPrinter::StartJob( const OUString* i_pFileName,
return mpInfoPrinter->StartJob( i_pFileName, i_rJobName, i_rAppName, i_pSetupData, i_rController );
}
-// -----------------------------------------------------------------------
+
bool AquaSalPrinter::StartJob( const OUString* /*i_pFileName*/,
const OUString& /*i_rJobName*/,
@@ -646,35 +646,35 @@ bool AquaSalPrinter::StartJob( const OUString* /*i_pFileName*/,
return false;
}
-// -----------------------------------------------------------------------
+
bool AquaSalPrinter::EndJob()
{
return mpInfoPrinter->EndJob();
}
-// -----------------------------------------------------------------------
+
bool AquaSalPrinter::AbortJob()
{
return mpInfoPrinter->AbortJob();
}
-// -----------------------------------------------------------------------
+
SalGraphics* AquaSalPrinter::StartPage( ImplJobSetup* i_pSetupData, sal_Bool i_bNewJobData )
{
return mpInfoPrinter->StartPage( i_pSetupData, i_bNewJobData );
}
-// -----------------------------------------------------------------------
+
bool AquaSalPrinter::EndPage()
{
return mpInfoPrinter->EndPage();
}
-// -----------------------------------------------------------------------
+
sal_uLong AquaSalPrinter::GetErrorCode()
{
diff --git a/vcl/qa/cppunit/dndtest.cxx b/vcl/qa/cppunit/dndtest.cxx
index 4bc18902e05d..604d8702e4d6 100644
--- a/vcl/qa/cppunit/dndtest.cxx
+++ b/vcl/qa/cppunit/dndtest.cxx
@@ -46,7 +46,7 @@ using namespace ::com::sun::star::datatransfer;
using namespace ::com::sun::star::datatransfer::clipboard;
using namespace ::com::sun::star::datatransfer::dnd;
-// -----------------------------------------------------------------------
+
class MyWin : public WorkWindow
{
@@ -62,7 +62,7 @@ public:
void Resize();
};
-// -----------------------------------------------------------------------
+
class MyDragAndDropListener: public ::cppu::WeakImplHelper3 < XDropTargetListener, XDragGestureListener, XDragSourceListener >
{
@@ -86,7 +86,7 @@ public:
virtual void SAL_CALL disposing( const EventObject& eo ) throw(RuntimeException);
};
-// -----------------------------------------------------------------------
+
class MyInfoBox : public InfoBox
{
@@ -96,7 +96,7 @@ public:
MyInfoBox( Window* pParent );
};
-// -----------------------------------------------------------------------
+
class MyListBox : public ListBox
{
@@ -106,7 +106,7 @@ public:
MyListBox( Window* pParent );
};
-// -----------------------------------------------------------------------
+
class StringTransferable : public ::cppu::WeakImplHelper1< XTransferable >
{
@@ -130,7 +130,7 @@ public:
};
-// -----------------------------------------------------------------------
+
class VclDnDTest : public test::BootstrapFixture
{
@@ -145,7 +145,7 @@ public:
CPPUNIT_TEST_SUITE_END();
};
-// -----------------------------------------------------------------------
+
void VclDnDTest::testDnD()
{
@@ -167,7 +167,7 @@ void VclDnDTest::testDnD()
aListBox.Show();
}
-// -----------------------------------------------------------------------
+
MyWin::MyWin( Window* pParent, WinBits nWinStyle ) :
WorkWindow( pParent, nWinStyle )
@@ -186,56 +186,56 @@ MyWin::MyWin( Window* pParent, WinBits nWinStyle ) :
xRecognizer->addDragGestureListener( Reference< XDragGestureListener > ( xListener, UNO_QUERY ) );
}
-// -----------------------------------------------------------------------
+
void MyWin::MouseMove( const MouseEvent& rMEvt )
{
WorkWindow::MouseMove( rMEvt );
}
-// -----------------------------------------------------------------------
+
void MyWin::MouseButtonDown( const MouseEvent& rMEvt )
{
WorkWindow::MouseButtonDown( rMEvt );
}
-// -----------------------------------------------------------------------
+
void MyWin::MouseButtonUp( const MouseEvent& rMEvt )
{
WorkWindow::MouseButtonUp( rMEvt );
}
-// -----------------------------------------------------------------------
+
void MyWin::KeyInput( const KeyEvent& rKEvt )
{
WorkWindow::KeyInput( rKEvt );
}
-// -----------------------------------------------------------------------
+
void MyWin::KeyUp( const KeyEvent& rKEvt )
{
WorkWindow::KeyUp( rKEvt );
}
-// -----------------------------------------------------------------------
+
void MyWin::Paint( const Rectangle& rRect )
{
WorkWindow::Paint( rRect );
}
-// -----------------------------------------------------------------------
+
void MyWin::Resize()
{
WorkWindow::Resize();
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::dragGestureRecognized( const DragGestureEvent& dge ) throw(RuntimeException)
{
@@ -243,77 +243,77 @@ void SAL_CALL MyDragAndDropListener::dragGestureRecognized( const DragGestureEve
xDragSource->startDrag( dge, -1, 0, 0, new StringTransferable( OUString("TestString") ), this );
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::drop( const DropTargetDropEvent& dtde ) throw(RuntimeException)
{
dtde.Context->dropComplete( sal_True );
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::dragEnter( const DropTargetDragEnterEvent& dtdee ) throw(RuntimeException)
{
dtdee.Context->acceptDrag( dtdee.DropAction );
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::dragExit( const DropTargetEvent& ) throw(RuntimeException)
{
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::dragOver( const DropTargetDragEvent& dtde ) throw(RuntimeException)
{
dtde.Context->acceptDrag( dtde.DropAction );
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::dropActionChanged( const DropTargetDragEvent& dtde ) throw(RuntimeException)
{
dtde.Context->acceptDrag( dtde.DropAction );
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::dragDropEnd( const DragSourceDropEvent& ) throw(RuntimeException)
{
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::dragEnter( const DragSourceDragEvent& ) throw(RuntimeException)
{
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::dragExit( const DragSourceEvent& ) throw(RuntimeException)
{
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::dragOver( const DragSourceDragEvent& ) throw(RuntimeException)
{
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::dropActionChanged( const DragSourceDragEvent& ) throw(RuntimeException)
{
}
-// -----------------------------------------------------------------------
+
void SAL_CALL MyDragAndDropListener::disposing( const EventObject& ) throw(RuntimeException)
{
}
-// -----------------------------------------------------------------------
+
MyInfoBox::MyInfoBox( Window* pParent ) : InfoBox( pParent,
OUString("dragging over this box should result in another window id in the drag log.") )
@@ -332,7 +332,7 @@ MyInfoBox::MyInfoBox( Window* pParent ) : InfoBox( pParent,
xRecognizer->addDragGestureListener( Reference< XDragGestureListener > ( xListener, UNO_QUERY ) );
};
-// -----------------------------------------------------------------------
+
MyListBox::MyListBox( Window* pParent ) : ListBox( pParent )
{
@@ -350,7 +350,7 @@ MyListBox::MyListBox( Window* pParent ) : ListBox( pParent )
xRecognizer->addDragGestureListener( Reference< XDragGestureListener > ( xListener, UNO_QUERY ) );
};
-// -----------------------------------------------------------------------
+
Any SAL_CALL StringTransferable::getTransferData( const DataFlavor& )
throw(UnsupportedFlavorException, IOException, RuntimeException)
@@ -358,7 +358,7 @@ Any SAL_CALL StringTransferable::getTransferData( const DataFlavor& )
return makeAny( m_aData );
}
-// -----------------------------------------------------------------------
+
Sequence< DataFlavor > SAL_CALL StringTransferable::getTransferDataFlavors( )
throw(RuntimeException)
@@ -366,7 +366,7 @@ Sequence< DataFlavor > SAL_CALL StringTransferable::getTransferDataFlavors( )
return m_aFlavorList;
}
-// -----------------------------------------------------------------------
+
sal_Bool SAL_CALL StringTransferable::isDataFlavorSupported( const DataFlavor& )
throw(RuntimeException)
diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx
index 72399399d282..ea89b5318f8d 100644
--- a/vcl/quartz/ctfonts.cxx
+++ b/vcl/quartz/ctfonts.cxx
@@ -106,7 +106,7 @@ CoreTextStyle::CoreTextStyle( const FontSelectPattern& rFSD )
#endif
}
-// -----------------------------------------------------------------------
+
CoreTextStyle::~CoreTextStyle( void )
{
@@ -114,7 +114,7 @@ CoreTextStyle::~CoreTextStyle( void )
CFRelease( mpStyleDict );
}
-// -----------------------------------------------------------------------
+
void CoreTextStyle::GetFontMetric( ImplFontMetricData& rMetric ) const
{
@@ -136,7 +136,7 @@ void CoreTextStyle::GetFontMetric( ImplFontMetricData& rMetric ) const
rMetric.mbKernableFont = true;
}
-// -----------------------------------------------------------------------
+
bool CoreTextStyle::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect ) const
{
@@ -154,7 +154,7 @@ bool CoreTextStyle::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect )
return true;
}
-// -----------------------------------------------------------------------
+
// callbacks from CTFontCreatePathForGlyph+CGPathApply for GetGlyphOutline()
struct GgoData { basegfx::B2DPolygon maPolygon; basegfx::B2DPolyPolygon* mpPolyPoly; };
@@ -216,7 +216,7 @@ bool CoreTextStyle::GetGlyphOutline( sal_GlyphId aGlyphId, basegfx::B2DPolyPolyg
return true;
}
-// -----------------------------------------------------------------------
+
void CoreTextStyle::SetTextColor( const RGBAColor& rColor )
{
@@ -235,21 +235,21 @@ PhysicalFontFace* CoreTextFontData::Clone( void ) const
return new CoreTextFontData( *this);
}
-// -----------------------------------------------------------------------
+
CoreTextStyle* CoreTextFontData::CreateTextStyle( const FontSelectPattern& rFSD ) const
{
return new CoreTextStyle( rFSD);
}
-// -----------------------------------------------------------------------
+
ImplFontEntry* CoreTextFontData::CreateFontInstance( /*const*/ FontSelectPattern& rFSD ) const
{
return new ImplFontEntry( rFSD);
}
-// -----------------------------------------------------------------------
+
int CoreTextFontData::GetFontTable( const char pTagName[5], unsigned char* pResultBuf ) const
{
@@ -424,7 +424,7 @@ SystemFontList::SystemFontList()
, mpCTFontArray( NULL )
{}
-// -----------------------------------------------------------------------
+
SystemFontList::~SystemFontList()
{
@@ -439,7 +439,7 @@ SystemFontList::~SystemFontList()
CFRelease( mpCTFontCollection );
}
-// -----------------------------------------------------------------------
+
void SystemFontList::AddFont( CoreTextFontData* pFontData )
{
@@ -447,7 +447,7 @@ void SystemFontList::AddFont( CoreTextFontData* pFontData )
maFontContainer[ nFontId ] = pFontData;
}
-// -----------------------------------------------------------------------
+
void SystemFontList::AnnounceFonts( ImplDevFontList& rFontList ) const
{
@@ -456,7 +456,7 @@ void SystemFontList::AnnounceFonts( ImplDevFontList& rFontList ) const
rFontList.Add( (*it).second->Clone() );
}
-// -----------------------------------------------------------------------
+
CoreTextFontData* SystemFontList::GetFontDataFromId( sal_IntPtr nFontId ) const
{
@@ -466,7 +466,7 @@ CoreTextFontData* SystemFontList::GetFontDataFromId( sal_IntPtr nFontId ) const
return (*it).second;
}
-// -----------------------------------------------------------------------
+
bool SystemFontList::Init( void )
{
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 98a6938bf5fd..a30a22b1c4d1 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -66,14 +66,14 @@ QuartzSalBitmap::QuartzSalBitmap()
{
}
-// ------------------------------------------------------------------
+
QuartzSalBitmap::~QuartzSalBitmap()
{
Destroy();
}
-// ------------------------------------------------------------------
+
bool QuartzSalBitmap::Create( CGLayerRef xLayer, int nBitmapBits,
int nX, int nY, int nWidth, int nHeight )
@@ -108,7 +108,7 @@ bool QuartzSalBitmap::Create( CGLayerRef xLayer, int nBitmapBits,
return true;
}
-// ------------------------------------------------------------------
+
bool QuartzSalBitmap::Create( CGImageRef xImage, int nBitmapBits,
int nX, int nY, int nWidth, int nHeight )
@@ -177,7 +177,7 @@ bool QuartzSalBitmap::Create( BitmapBuffer& buffer)
return true;
}
-// ------------------------------------------------------------------
+
bool QuartzSalBitmap::Create( const Size& rSize, sal_uInt16 nBits, const BitmapPalette& rBitmapPalette )
{
@@ -190,21 +190,21 @@ bool QuartzSalBitmap::Create( const Size& rSize, sal_uInt16 nBits, const BitmapP
return AllocateUserData();
}
-// ------------------------------------------------------------------
+
bool QuartzSalBitmap::Create( const SalBitmap& rSalBmp )
{
return Create( rSalBmp, rSalBmp.GetBitCount() );
}
-// ------------------------------------------------------------------
+
bool QuartzSalBitmap::Create( const SalBitmap& rSalBmp, SalGraphics* pGraphics )
{
return Create( rSalBmp, pGraphics ? pGraphics->GetBitCount() : rSalBmp.GetBitCount() );
}
-// ------------------------------------------------------------------
+
bool QuartzSalBitmap::Create( const SalBitmap& rSalBmp, sal_uInt16 nNewBitCount )
{
@@ -226,14 +226,14 @@ bool QuartzSalBitmap::Create( const SalBitmap& rSalBmp, sal_uInt16 nNewBitCount
return false;
}
-// ------------------------------------------------------------------
+
bool QuartzSalBitmap::Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > /*xBitmapCanvas*/, Size& /*rSize*/, bool /*bMask*/ )
{
return false;
}
-// ------------------------------------------------------------------
+
void QuartzSalBitmap::Destroy()
{
@@ -242,7 +242,7 @@ void QuartzSalBitmap::Destroy()
maExternalData = NULL;
}
-// ------------------------------------------------------------------
+
void QuartzSalBitmap::DestroyContext()
{
@@ -257,7 +257,7 @@ void QuartzSalBitmap::DestroyContext()
}
}
-// ------------------------------------------------------------------
+
bool QuartzSalBitmap::CreateContext()
{
@@ -344,7 +344,7 @@ bool QuartzSalBitmap::CreateContext()
return mxGraphicContext != NULL;
}
-// ------------------------------------------------------------------
+
bool QuartzSalBitmap::AllocateUserData()
{
@@ -382,7 +382,7 @@ bool QuartzSalBitmap::AllocateUserData()
return maUserBuffer.get() != 0;
}
-// ------------------------------------------------------------------
+
class ImplPixelFormat
{
@@ -658,21 +658,21 @@ void QuartzSalBitmap::ConvertBitmapData( sal_uInt32 nWidth, sal_uInt32 nHeight,
}
}
-// ------------------------------------------------------------------
+
Size QuartzSalBitmap::GetSize() const
{
return Size( mnWidth, mnHeight );
}
-// ------------------------------------------------------------------
+
sal_uInt16 QuartzSalBitmap::GetBitCount() const
{
return mnBits;
}
-// ------------------------------------------------------------------
+
static struct pal_entry
{
@@ -801,7 +801,7 @@ BitmapBuffer* QuartzSalBitmap::AcquireBuffer( bool /*bReadOnly*/ )
return pBuffer;
}
-// ------------------------------------------------------------------
+
void QuartzSalBitmap::ReleaseBuffer( BitmapBuffer* pBuffer, bool bReadOnly )
{
@@ -816,7 +816,7 @@ void QuartzSalBitmap::ReleaseBuffer( BitmapBuffer* pBuffer, bool bReadOnly )
delete pBuffer;
}
-// ------------------------------------------------------------------
+
CGImageRef QuartzSalBitmap::CreateCroppedImage( int nX, int nY, int nNewWidth, int nNewHeight ) const
{
@@ -846,7 +846,7 @@ CGImageRef QuartzSalBitmap::CreateCroppedImage( int nX, int nY, int nNewWidth, i
return xCroppedImage;
}
-// ------------------------------------------------------------------
+
static void CFRTLFree(void* /*info*/, const void* data, size_t /*size*/)
{
@@ -896,7 +896,7 @@ CGImageRef QuartzSalBitmap::CreateWithMask( const QuartzSalBitmap& rMask,
return xMaskedImage;
}
-// ------------------------------------------------------------------
+
/** creates an image from the given rectangle, replacing all black pixels with nMaskColor and make all other full transparent */
CGImageRef QuartzSalBitmap::CreateColorMask( int nX, int nY, int nWidth, int nHeight, SalColor nMaskColor ) const
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index 91ff6cb1bc9e..d82621576e34 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -73,7 +73,7 @@ CoreTextFontData::CoreTextFontData( const CoreTextFontData& rSrc )
mpCharMap->AddReference();
}
-// -----------------------------------------------------------------------
+
CoreTextFontData::CoreTextFontData( const ImplDevFontAttributes& rDFA, sal_IntPtr nFontId )
: PhysicalFontFace( rDFA, 0 )
@@ -86,7 +86,7 @@ CoreTextFontData::CoreTextFontData( const ImplDevFontAttributes& rDFA, sal_IntPt
{
}
-// -----------------------------------------------------------------------
+
CoreTextFontData::~CoreTextFontData()
{
@@ -94,14 +94,14 @@ CoreTextFontData::~CoreTextFontData()
mpCharMap->DeReference();
}
-// -----------------------------------------------------------------------
+
sal_IntPtr CoreTextFontData::GetFontId() const
{
return (sal_IntPtr)mnFontId;
}
-// -----------------------------------------------------------------------
+
static unsigned GetUShort( const unsigned char* p ){return((p[0]<<8)+p[1]);}
@@ -188,7 +188,7 @@ bool CoreTextFontData::GetImplFontCapabilities(vcl::FontCapabilities &rFontCapab
return !rFontCapabilities.maUnicodeRange.empty() || !rFontCapabilities.maCodePageRange.empty();
}
-// -----------------------------------------------------------------------
+
void CoreTextFontData::ReadOs2Table( void ) const
{
@@ -240,7 +240,7 @@ void CoreTextFontData::ReadMacCmapEncoding( void ) const
return;
}
-// -----------------------------------------------------------------------
+
AquaSalGraphics::AquaSalGraphics()
#ifdef MACOSX
@@ -319,14 +319,14 @@ void AquaSalGraphics::SetTextColor( SalColor nSalColor )
mpTextStyle->SetTextColor( maTextColor );
}
-// -----------------------------------------------------------------------
+
void AquaSalGraphics::GetFontMetric( ImplFontMetricData* pMetric, int /*nFallbackLevel*/ )
{
mpTextStyle->GetFontMetric( *pMetric );
}
-// -----------------------------------------------------------------------
+
static bool AddTempDevFont(const OUString& rFontFileURL)
{
@@ -410,7 +410,7 @@ void AquaSalGraphics::ClearDevFontCache()
pSalData->mpFontList = NULL;
}
-// -----------------------------------------------------------------------
+
bool AquaSalGraphics::AddTempDevFont( ImplDevFontList*,
const OUString& rFontFileURL, const OUString& /*rFontName*/ )
@@ -418,7 +418,7 @@ bool AquaSalGraphics::AddTempDevFont( ImplDevFontList*,
return ::AddTempDevFont(rFontFileURL);
}
-// -----------------------------------------------------------------------
+
bool AquaSalGraphics::GetGlyphOutline( sal_GlyphId aGlyphId, basegfx::B2DPolyPolygon& rPolyPoly )
{
@@ -426,7 +426,7 @@ bool AquaSalGraphics::GetGlyphOutline( sal_GlyphId aGlyphId, basegfx::B2DPolyPol
return bRC;
}
-// -----------------------------------------------------------------------
+
bool AquaSalGraphics::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect )
{
@@ -434,13 +434,13 @@ bool AquaSalGraphics::GetGlyphBoundRect( sal_GlyphId aGlyphId, Rectangle& rRect
return bRC;
}
-// -----------------------------------------------------------------------
+
void AquaSalGraphics::DrawServerFontLayout( const ServerFontLayout& )
{
}
-// -----------------------------------------------------------------------
+
sal_uInt16 AquaSalGraphics::SetFont( FontSelectPattern* pReqFont, int /*nFallbackLevel*/ )
{
@@ -476,7 +476,7 @@ sal_uInt16 AquaSalGraphics::SetFont( FontSelectPattern* pReqFont, int /*nFallbac
return 0;
}
-// -----------------------------------------------------------------------
+
SalLayout* AquaSalGraphics::GetTextLayout( ImplLayoutArgs& /*rArgs*/, int /*nFallbackLevel*/ )
{
@@ -484,7 +484,7 @@ SalLayout* AquaSalGraphics::GetTextLayout( ImplLayoutArgs& /*rArgs*/, int /*nFal
return pSalLayout;
}
-// -----------------------------------------------------------------------
+
const ImplFontCharMap* AquaSalGraphics::GetImplFontCharMap() const
{
@@ -502,7 +502,7 @@ bool AquaSalGraphics::GetImplFontCapabilities(vcl::FontCapabilities &rFontCapabi
return mpFontData->GetImplFontCapabilities(rFontCapabilities);
}
-// -----------------------------------------------------------------------
+
// fake a SFNT font directory entry for a font table
// see http://developer.apple.com/fonts/TTRefMan/RM06/Chap6.html#Directory
@@ -686,7 +686,7 @@ bool AquaSalGraphics::GetRawFontData( const PhysicalFontFace* pFontData,
return true;
}
-// -----------------------------------------------------------------------
+
void AquaSalGraphics::GetGlyphWidths( const PhysicalFontFace* pFontData, bool bVertical,
Int32Vector& rGlyphWidths, Ucs2UIntMap& rUnicodeEnc )
@@ -757,7 +757,7 @@ void AquaSalGraphics::GetGlyphWidths( const PhysicalFontFace* pFontData, bool bV
}
}
-// -----------------------------------------------------------------------
+
const Ucs2SIntMap* AquaSalGraphics::GetFontEncodingVector(
const PhysicalFontFace*, const Ucs2OStrMap** /*ppNonEncoded*/ )
@@ -765,7 +765,7 @@ const Ucs2SIntMap* AquaSalGraphics::GetFontEncodingVector(
return NULL;
}
-// -----------------------------------------------------------------------
+
const void* AquaSalGraphics::GetEmbedFontData( const PhysicalFontFace*,
const sal_Ucs* /*pUnicodes*/,
@@ -776,7 +776,7 @@ const void* AquaSalGraphics::GetEmbedFontData( const PhysicalFontFace*,
return NULL;
}
-// -----------------------------------------------------------------------
+
void AquaSalGraphics::FreeEmbedFontData( const void* pData, long /*nDataLen*/ )
{
@@ -786,7 +786,7 @@ void AquaSalGraphics::FreeEmbedFontData( const void* pData, long /*nDataLen*/ )
DBG_ASSERT( (pData!=NULL), "AquaSalGraphics::FreeEmbedFontData() is not implemented\n");
}
-// -----------------------------------------------------------------------
+
SystemFontData AquaSalGraphics::GetSysFontData( int /* nFallbacklevel */ ) const
{
@@ -899,5 +899,5 @@ CGContextRef SvpSalGraphics::GetContext()
}
#endif
-
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index 06a3cfe487b9..2c0226a8334b 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -1676,7 +1676,7 @@ void AquaSalGraphics::updateResolution()
#endif
-// -----------------------------------------------------------
+
XorEmulation::XorEmulation()
: m_xTargetLayer( NULL )
diff --git a/vcl/quartz/salgdiutils.cxx b/vcl/quartz/salgdiutils.cxx
index 295719e959ec..50792ed81cbc 100644
--- a/vcl/quartz/salgdiutils.cxx
+++ b/vcl/quartz/salgdiutils.cxx
@@ -33,7 +33,7 @@
#include "osx/salframe.h"
#include "osx/saldata.hxx"
-// ----------------------------------------------------------------------
+
void AquaSalGraphics::SetWindowGraphics( AquaSalFrame* pFrame )
{
@@ -117,7 +117,7 @@ void AquaSalGraphics::SetVirDevGraphics( CGLayerRef xLayer, CGContextRef xContex
SetState();
}
-// ----------------------------------------------------------------------
+
void AquaSalGraphics::InvalidateContext()
{
@@ -125,7 +125,7 @@ void AquaSalGraphics::InvalidateContext()
mrContext = 0;
}
-// ----------------------------------------------------------------------
+
void AquaSalGraphics::UnsetState()
{
@@ -162,7 +162,7 @@ void AquaSalGraphics::SetState()
CGContextSetBlendMode( mrContext, kCGBlendModeDifference );
}
-// ----------------------------------------------------------------------
+
bool AquaSalGraphics::CheckContext()
{
@@ -264,7 +264,7 @@ CGPoint* AquaSalGraphics::makeCGptArray(sal_uLong nPoints, const SalPoint* pPtA
return CGpoints;
}
-// -----------------------------------------------------------------------
+
void AquaSalGraphics::UpdateWindow( NSRect& )
{
@@ -293,6 +293,6 @@ void AquaSalGraphics::UpdateWindow( NSRect& )
DBG_ASSERT( mpFrame->mbInitShow, "UpdateWindow called on uneligible graphics" );
}
-// -----------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/quartz/salvd.cxx b/vcl/quartz/salvd.cxx
index 0c61499728dc..5c163ce381a7 100644
--- a/vcl/quartz/salvd.cxx
+++ b/vcl/quartz/salvd.cxx
@@ -33,7 +33,7 @@
#endif
#include "quartz/salgdi.h"
-// -----------------------------------------------------------------------
+
SalVirtualDevice* AquaSalInstance::CreateVirtualDevice( SalGraphics* pGraphics,
long nDX, long nDY, sal_uInt16 nBitCount, const SystemGraphicsData *pData )
@@ -51,7 +51,7 @@ SalVirtualDevice* AquaSalInstance::CreateVirtualDevice( SalGraphics* pGraphics,
#endif
}
-// -----------------------------------------------------------------------
+
void AquaSalInstance::DestroyVirtualDevice( SalVirtualDevice* pDevice )
{
@@ -113,7 +113,7 @@ AquaSalVirtualDevice::AquaSalVirtualDevice( AquaSalGraphics* pGraphic, long nDX,
}
}
-// -----------------------------------------------------------------------
+
AquaSalVirtualDevice::~AquaSalVirtualDevice()
{
@@ -126,7 +126,7 @@ AquaSalVirtualDevice::~AquaSalVirtualDevice()
Destroy();
}
-// -----------------------------------------------------------------------
+
void AquaSalVirtualDevice::Destroy()
{
@@ -153,7 +153,7 @@ void AquaSalVirtualDevice::Destroy()
}
}
-// -----------------------------------------------------------------------
+
SalGraphics* AquaSalVirtualDevice::GetGraphics()
{
@@ -164,14 +164,14 @@ SalGraphics* AquaSalVirtualDevice::GetGraphics()
return mpGraphics;
}
-// -----------------------------------------------------------------------
+
void AquaSalVirtualDevice::ReleaseGraphics( SalGraphics* )
{
mbGraphicsUsed = false;
}
-// -----------------------------------------------------------------------
+
bool AquaSalVirtualDevice::SetSize( long nDX, long nDY )
{
@@ -278,7 +278,7 @@ bool AquaSalVirtualDevice::SetSize( long nDX, long nDY )
#endif
}
-// -----------------------------------------------------------------------
+
void AquaSalVirtualDevice::GetSize( long& rWidth, long& rHeight )
{
diff --git a/vcl/source/app/help.cxx b/vcl/source/app/help.cxx
index d70bb7335d17..c4a7ea764f0b 100644
--- a/vcl/source/app/help.cxx
+++ b/vcl/source/app/help.cxx
@@ -57,9 +57,9 @@ Help::~Help()
{
}
-// -----------------------------------------------------------------------
-// -----------------------------------------------------------------------
+
+
bool Help::Start( const OUString&, const Window* )
{
@@ -71,56 +71,56 @@ bool Help::SearchKeyword( const OUString& )
return false;
}
-// -----------------------------------------------------------------------
+
OUString Help::GetHelpText( const OUString&, const Window* )
{
return OUString();
}
-// -----------------------------------------------------------------------
+
void Help::EnableContextHelp()
{
ImplGetSVData()->maHelpData.mbContextHelp = true;
}
-// -----------------------------------------------------------------------
+
void Help::DisableContextHelp()
{
ImplGetSVData()->maHelpData.mbContextHelp = false;
}
-// -----------------------------------------------------------------------
+
bool Help::IsContextHelpEnabled()
{
return ImplGetSVData()->maHelpData.mbContextHelp;
}
-// -----------------------------------------------------------------------
+
void Help::EnableExtHelp()
{
ImplGetSVData()->maHelpData.mbExtHelp = true;
}
-// -----------------------------------------------------------------------
+
void Help::DisableExtHelp()
{
ImplGetSVData()->maHelpData.mbExtHelp = false;
}
-// -----------------------------------------------------------------------
+
bool Help::IsExtHelpEnabled()
{
return ImplGetSVData()->maHelpData.mbExtHelp;
}
-// -----------------------------------------------------------------------
+
bool Help::StartExtHelp()
{
@@ -139,7 +139,7 @@ bool Help::StartExtHelp()
return false;
}
-// -----------------------------------------------------------------------
+
bool Help::EndExtHelp()
{
@@ -157,28 +157,28 @@ bool Help::EndExtHelp()
return false;
}
-// -----------------------------------------------------------------------
+
void Help::EnableBalloonHelp()
{
ImplGetSVData()->maHelpData.mbBalloonHelp = true;
}
-// -----------------------------------------------------------------------
+
void Help::DisableBalloonHelp()
{
ImplGetSVData()->maHelpData.mbBalloonHelp = false;
}
-// -----------------------------------------------------------------------
+
bool Help::IsBalloonHelpEnabled()
{
return ImplGetSVData()->maHelpData.mbBalloonHelp;
}
-// -----------------------------------------------------------------------
+
bool Help::ShowBalloon( Window* pParent,
const Point& rScreenPos,
@@ -190,7 +190,7 @@ bool Help::ShowBalloon( Window* pParent,
return true;
}
-// -----------------------------------------------------------------------
+
bool Help::ShowBalloon( Window* pParent,
const Point& rScreenPos, const Rectangle& rRect,
@@ -202,28 +202,28 @@ bool Help::ShowBalloon( Window* pParent,
return true;
}
-// -----------------------------------------------------------------------
+
void Help::EnableQuickHelp()
{
ImplGetSVData()->maHelpData.mbQuickHelp = true;
}
-// -----------------------------------------------------------------------
+
void Help::DisableQuickHelp()
{
ImplGetSVData()->maHelpData.mbQuickHelp = false;
}
-// -----------------------------------------------------------------------
+
bool Help::IsQuickHelpEnabled()
{
return ImplGetSVData()->maHelpData.mbQuickHelp;
}
-// -----------------------------------------------------------------------
+
bool Help::ShowQuickHelp( Window* pParent,
const Rectangle& rScreenRect,
@@ -237,7 +237,7 @@ bool Help::ShowQuickHelp( Window* pParent,
return true;
}
-// -----------------------------------------------------------------------
+
void Help::HideBalloonAndQuickHelp()
{
@@ -246,7 +246,7 @@ void Help::HideBalloonAndQuickHelp()
ImplDestroyHelpWindow( bIsVisible );
}
-// -----------------------------------------------------------------------
+
sal_uIntPtr Help::ShowTip( Window* pParent, const Rectangle& rScreenRect,
const OUString& rText, sal_uInt16 nStyle )
@@ -261,7 +261,7 @@ sal_uIntPtr Help::ShowTip( Window* pParent, const Rectangle& rScreenRect,
return nId;
}
-// -----------------------------------------------------------------------
+
void Help::UpdateTip( sal_uIntPtr nId, Window* pParent, const Rectangle& rScreenRect, const OUString& rText )
{
@@ -277,7 +277,7 @@ void Help::UpdateTip( sal_uIntPtr nId, Window* pParent, const Rectangle& rScreen
pHelpWin->Invalidate();
}
-// -----------------------------------------------------------------------
+
void Help::HideTip( sal_uLong nId )
{
@@ -342,7 +342,7 @@ HelpTextWindow::HelpTextWindow( Window* pParent, const OUString& rText, sal_uInt
maHideTimer.SetTimeout( rHelpSettings.GetTipTimeout() );
}
-// -----------------------------------------------------------------------
+
HelpTextWindow::~HelpTextWindow()
{
@@ -353,7 +353,7 @@ HelpTextWindow::~HelpTextWindow()
ImplGetSVData()->maHelpData.mpHelpWin = NULL;
}
-// -----------------------------------------------------------------------
+
void HelpTextWindow::SetHelpText( const OUString& rHelpText )
{
@@ -396,7 +396,7 @@ void HelpTextWindow::SetHelpText( const OUString& rHelpText )
SetOutputSizePixel( aSize );
}
-// -----------------------------------------------------------------------
+
void HelpTextWindow::ImplShow()
{
@@ -406,7 +406,7 @@ void HelpTextWindow::ImplShow()
Update();
}
-// -----------------------------------------------------------------------
+
void HelpTextWindow::Paint( const Rectangle& )
{
@@ -455,7 +455,7 @@ void HelpTextWindow::Paint( const Rectangle& )
}
}
-// -----------------------------------------------------------------------
+
void HelpTextWindow::ShowHelp( sal_uInt16 nDelayMode )
{
@@ -482,7 +482,7 @@ void HelpTextWindow::ShowHelp( sal_uInt16 nDelayMode )
maShowTimer.Start();
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( HelpTextWindow, TimerHdl, Timer*, pTimer)
{
@@ -506,7 +506,7 @@ IMPL_LINK( HelpTextWindow, TimerHdl, Timer*, pTimer)
return 1;
}
-// -----------------------------------------------------------------------
+
Size HelpTextWindow::CalcOutSize() const
{
@@ -516,7 +516,7 @@ Size HelpTextWindow::CalcOutSize() const
return aSz;
}
-// -----------------------------------------------------------------------
+
void HelpTextWindow::RequestHelp( const HelpEvent& /*rHEvt*/ )
{
@@ -524,14 +524,14 @@ void HelpTextWindow::RequestHelp( const HelpEvent& /*rHEvt*/ )
// ShowQuickHelp/ShowBalloonHelp in the HelpTextWindow.
}
-// -----------------------------------------------------------------------
+
OUString HelpTextWindow::GetText() const
{
return maHelpText;
}
-// -----------------------------------------------------------------------
+
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > HelpTextWindow::CreateAccessible()
{
@@ -618,7 +618,7 @@ void ImplShowHelpWindow( Window* pParent, sal_uInt16 nHelpWinStyle, sal_uInt16 n
}
}
-// -----------------------------------------------------------------------
+
void ImplDestroyHelpWindow( bool bUpdateHideTime )
{
@@ -640,7 +640,7 @@ void ImplDestroyHelpWindow( bool bUpdateHideTime )
}
}
-// -----------------------------------------------------------------------
+
void ImplSetHelpWindowPos( Window* pHelpWin, sal_uInt16 nHelpWinStyle, sal_uInt16 nStyle,
const Point& rPos, const Rectangle* pHelpArea )
diff --git a/vcl/source/app/salvtables.cxx b/vcl/source/app/salvtables.cxx
index 8ed1ec84f73b..d3f377535091 100644
--- a/vcl/source/app/salvtables.cxx
+++ b/vcl/source/app/salvtables.cxx
@@ -36,7 +36,7 @@ SalFrame::~SalFrame()
{
}
-// -----------------------------------------------------------------------
+
// default to full-frame flushes
// on ports where partial-flushes are much cheaper this method should be overridden
@@ -45,14 +45,14 @@ void SalFrame::Flush( const Rectangle& )
Flush();
}
-// -----------------------------------------------------------------------
+
void SalFrame::SetRepresentedURL( const OUString& )
{
// currently this is Mac only functionality
}
-// -----------------------------------------------------------------------
+
SalInstance::~SalInstance()
{
diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx
index d9d25d7623b9..dfbb001cb769 100644
--- a/vcl/source/app/svdata.cxx
+++ b/vcl/source/app/svdata.cxx
@@ -89,7 +89,7 @@ void ImplInitSVData()
pImplSVData->maAppData.mnDefaultLayoutBorder = -1;
}
-// -----------------------------------------------------------------------
+
void ImplDeInitSVData()
{
@@ -110,14 +110,14 @@ void ImplDeInitSVData()
delete pSVData->mpPaperNames, pSVData->mpPaperNames = NULL;
}
-// -----------------------------------------------------------------------
+
void ImplDestroySVData()
{
pImplSVData = NULL;
}
-// -----------------------------------------------------------------------
+
Window* ImplGetDefaultWindow()
{
@@ -149,7 +149,7 @@ Window* ImplGetDefaultWindow()
return pSVData->mpDefaultWin;
}
-// -----------------------------------------------------------------------
+
ResMgr* ImplGetResMgr()
{
@@ -315,7 +315,7 @@ bool ImplInitAccessBridge()
return true;
}
-// -----------------------------------------------------------------------
+
Window* ImplFindWindow( const SalFrame* pFrame, ::Point& rSalFramePos )
{
diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx
index fed5316fef91..5fa2a1680a59 100644
--- a/vcl/source/components/dtranscomp.cxx
+++ b/vcl/source/components/dtranscomp.cxx
@@ -207,7 +207,7 @@ void GenericClipboard::removeClipboardListener( const Reference< datatransfer::c
m_aListeners.remove( listener );
}
-// ------------------------------------------------------------------------
+
class ClipboardFactory : public ::cppu::WeakComponentImplHelper1<
com::sun::star::lang::XSingleServiceFactory
@@ -225,7 +225,7 @@ public:
virtual Reference< XInterface > SAL_CALL createInstanceWithArguments( const Sequence< Any >& rArgs ) throw();
};
-// ------------------------------------------------------------------------
+
ClipboardFactory::ClipboardFactory() :
cppu::WeakComponentImplHelper1<
@@ -234,20 +234,20 @@ ClipboardFactory::ClipboardFactory() :
{
}
-// ------------------------------------------------------------------------
+
ClipboardFactory::~ClipboardFactory()
{
}
-// ------------------------------------------------------------------------
+
Reference< XInterface > ClipboardFactory::createInstance() throw()
{
return createInstanceWithArguments( Sequence< Any >() );
}
-// ------------------------------------------------------------------------
+
Reference< XInterface > ClipboardFactory::createInstanceWithArguments( const Sequence< Any >& arguments ) throw()
{
diff --git a/vcl/source/components/fontident.cxx b/vcl/source/components/fontident.cxx
index 9e5a138856ec..572051d65d12 100644
--- a/vcl/source/components/fontident.cxx
+++ b/vcl/source/components/fontident.cxx
@@ -41,7 +41,7 @@ using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::awt;
-// -----------------------------------------------------------------------
+
namespace vcl
{
@@ -67,7 +67,7 @@ FontIdentificator() {}
};
-// --------------------------------------------------------------------
+
FontIdentificator::~FontIdentificator()
{
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index ffeab10531d2..94d2ab883c67 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -79,13 +79,13 @@ public:
~ImplCommonButtonData();
};
-// -----------------------------------------------------------------------
+
ImplCommonButtonData::ImplCommonButtonData() : maFocusRect(), mnSeparatorX(0), mnButtonState(0),
mbSmallSymbol(false), maImage(), meImageAlign(IMAGEALIGN_TOP), meSymbolAlign(SYMBOLALIGN_LEFT)
{
}
-// -----------------------------------------------------------------------
+
ImplCommonButtonData::~ImplCommonButtonData()
{
}
@@ -98,21 +98,21 @@ Button::Button( WindowType nType ) :
mpButtonData = new ImplCommonButtonData;
}
-// -----------------------------------------------------------------------
+
Button::~Button()
{
delete mpButtonData;
}
-// -----------------------------------------------------------------------
+
void Button::Click()
{
ImplCallEventListenersAndHandler( VCLEVENT_BUTTON_CLICK, maClickHdl, this );
}
-// -----------------------------------------------------------------------
+
OUString Button::GetStandardText( StandardButtonType eButton )
{
@@ -157,7 +157,7 @@ OUString Button::GetStandardText( StandardButtonType eButton )
return ResId(nResId, *pResMgr).toString();
}
-// -----------------------------------------------------------------------
+
bool Button::SetModeImage( const Image& rImage )
{
if ( rImage != mpButtonData->maImage )
@@ -169,19 +169,19 @@ bool Button::SetModeImage( const Image& rImage )
return true;
}
-// -----------------------------------------------------------------------
+
const Image Button::GetModeImage( ) const
{
return mpButtonData->maImage;
}
-// -----------------------------------------------------------------------
+
bool Button::HasImage() const
{
return !!(mpButtonData->maImage);
}
-// -----------------------------------------------------------------------
+
void Button::SetImageAlign( ImageAlign eAlign )
{
if ( mpButtonData->meImageAlign != eAlign )
@@ -191,20 +191,20 @@ void Button::SetImageAlign( ImageAlign eAlign )
}
}
-// -----------------------------------------------------------------------
+
ImageAlign Button::GetImageAlign() const
{
return mpButtonData->meImageAlign;
}
-// -----------------------------------------------------------------------
+
void Button::SetFocusRect( const Rectangle& rFocusRect )
{
ImplSetFocusRect( rFocusRect );
}
-// -----------------------------------------------------------------------
+
long Button::ImplGetSeparatorX() const
{
@@ -216,7 +216,7 @@ void Button::ImplSetSeparatorX( long nX )
mpButtonData->mnSeparatorX = nX;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 Button::ImplGetTextStyle( OUString& rText, WinBits nWinStyle,
sal_uLong nDrawFlags )
@@ -246,7 +246,7 @@ sal_uInt16 Button::ImplGetTextStyle( OUString& rText, WinBits nWinStyle,
return nTextStyle;
}
-// -----------------------------------------------------------------------
+
void Button::ImplDrawAlignedImage( OutputDevice* pDev, Point& rPos,
Size& rSize, bool bLayout,
@@ -520,7 +520,7 @@ void Button::ImplDrawAlignedImage( OutputDevice* pDev, Point& rPos,
}
}
-// -----------------------------------------------------------------------
+
void Button::ImplSetFocusRect( const Rectangle &rFocusRect )
{
Rectangle aFocusRect = rFocusRect;
@@ -542,25 +542,25 @@ void Button::ImplSetFocusRect( const Rectangle &rFocusRect )
mpButtonData->maFocusRect = aFocusRect;
}
-// -----------------------------------------------------------------------
+
const Rectangle& Button::ImplGetFocusRect() const
{
return mpButtonData->maFocusRect;
}
-// -----------------------------------------------------------------------
+
sal_uInt16& Button::ImplGetButtonState()
{
return mpButtonData->mnButtonState;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 Button::ImplGetButtonState() const
{
return mpButtonData->mnButtonState;
}
-// -----------------------------------------------------------------------
+
void Button::ImplSetSymbolAlign( SymbolAlign eAlign )
{
if ( mpButtonData->meSymbolAlign != eAlign )
@@ -570,13 +570,13 @@ void Button::ImplSetSymbolAlign( SymbolAlign eAlign )
}
}
-// -----------------------------------------------------------------------
+
void Button::SetSmallSymbol(bool bSmall)
{
mpButtonData->mbSmallSymbol = bSmall;
}
-// -----------------------------------------------------------------------
+
void Button::EnableImageDisplay( bool bEnable )
{
if( bEnable )
@@ -585,7 +585,7 @@ void Button::EnableImageDisplay( bool bEnable )
mpButtonData->mnButtonState |= BUTTON_DRAW_NOIMAGE;
}
-// -----------------------------------------------------------------------
+
void Button::EnableTextDisplay( bool bEnable )
{
if( bEnable )
@@ -633,7 +633,7 @@ void PushButton::ImplInitPushButtonData()
mbInUserDraw = false;
}
-// -----------------------------------------------------------------------
+
void PushButton::ImplInit( Window* pParent, WinBits nStyle )
{
@@ -646,7 +646,7 @@ void PushButton::ImplInit( Window* pParent, WinBits nStyle )
ImplInitSettings( true, true, true );
}
-// -----------------------------------------------------------------------
+
WinBits PushButton::ImplInitStyle( const Window* pPrevWindow, WinBits nStyle )
{
@@ -669,20 +669,20 @@ WinBits PushButton::ImplInitStyle( const Window* pPrevWindow, WinBits nStyle )
return nStyle;
}
-// -----------------------------------------------------------------
+
const Font& PushButton::GetCanonicalFont( const StyleSettings& _rStyle ) const
{
return _rStyle.GetPushButtonFont();
}
-// -----------------------------------------------------------------
+
const Color& PushButton::GetCanonicalTextColor( const StyleSettings& _rStyle ) const
{
return _rStyle.GetButtonTextColor();
}
-// -----------------------------------------------------------------------
+
void PushButton::ImplInitSettings( bool bFont,
bool bForeground, bool bBackground )
@@ -714,7 +714,7 @@ void PushButton::ImplInitSettings( bool bFont,
}
}
-// -----------------------------------------------------------------------
+
void PushButton::ImplDrawPushButtonFrame( Window* pDev,
Rectangle& rRect, sal_uInt16 nStyle )
@@ -742,7 +742,7 @@ void PushButton::ImplDrawPushButtonFrame( Window* pDev,
rRect = aDecoView.DrawButton( rRect, nStyle );
}
-// -----------------------------------------------------------------------
+
bool PushButton::ImplHitTestPushButton( Window* pDev,
const Point& rPos )
@@ -753,7 +753,7 @@ bool PushButton::ImplHitTestPushButton( Window* pDev,
return aTestRect.IsInside( rPos );
}
-// -----------------------------------------------------------------------
+
sal_uInt16 PushButton::ImplGetTextStyle( sal_uLong nDrawFlags ) const
{
@@ -790,7 +790,7 @@ sal_uInt16 PushButton::ImplGetTextStyle( sal_uLong nDrawFlags ) const
return nTextStyle;
}
-// -----------------------------------------------------------------------
+
static void ImplDrawBtnDropDownArrow( OutputDevice* pDev,
long nX, long nY,
@@ -818,7 +818,7 @@ static void ImplDrawBtnDropDownArrow( OutputDevice* pDev,
pDev->SetFillColor( aOldFillColor );
}
-// -----------------------------------------------------------------------
+
void PushButton::ImplDrawPushButtonContent( OutputDevice* pDev, sal_uLong nDrawFlags,
const Rectangle& rRect,
@@ -940,13 +940,13 @@ void PushButton::ImplDrawPushButtonContent( OutputDevice* pDev, sal_uLong nDrawF
pDev->Pop(); // restore clipregion
}
-// -----------------------------------------------------------------------
+
void PushButton::UserDraw( const UserDrawEvent& )
{
}
-// -----------------------------------------------------------------------
+
void PushButton::ImplDrawPushButton( bool bLayout )
{
@@ -1123,7 +1123,7 @@ void PushButton::ImplDrawPushButton( bool bLayout )
}
}
-// -----------------------------------------------------------------------
+
void PushButton::ImplSetDefButton( bool bSet )
{
@@ -1183,14 +1183,14 @@ void PushButton::ImplSetDefButton( bool bSet )
Invalidate();
}
-// -----------------------------------------------------------------------
+
bool PushButton::ImplIsDefButton() const
{
return (ImplGetButtonState() & BUTTON_DRAW_DEFAULT) != 0;
}
-// -----------------------------------------------------------------------
+
PushButton::PushButton( WindowType nType ) :
Button( nType )
@@ -1198,7 +1198,7 @@ PushButton::PushButton( WindowType nType ) :
ImplInitPushButtonData();
}
-// -----------------------------------------------------------------------
+
PushButton::PushButton( Window* pParent, WinBits nStyle ) :
Button( WINDOW_PUSHBUTTON )
@@ -1207,7 +1207,7 @@ PushButton::PushButton( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
PushButton::PushButton( Window* pParent, const ResId& rResId ) :
Button( WINDOW_PUSHBUTTON )
@@ -1222,13 +1222,13 @@ PushButton::PushButton( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
PushButton::~PushButton()
{
}
-// -----------------------------------------------------------------------
+
void PushButton::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -1250,7 +1250,7 @@ void PushButton::MouseButtonDown( const MouseEvent& rMEvt )
}
}
-// -----------------------------------------------------------------------
+
void PushButton::Tracking( const TrackingEvent& rTEvt )
{
@@ -1316,7 +1316,7 @@ void PushButton::Tracking( const TrackingEvent& rTEvt )
}
}
-// -----------------------------------------------------------------------
+
void PushButton::KeyInput( const KeyEvent& rKEvt )
{
@@ -1344,7 +1344,7 @@ void PushButton::KeyInput( const KeyEvent& rKEvt )
Button::KeyInput( rKEvt );
}
-// -----------------------------------------------------------------------
+
void PushButton::KeyUp( const KeyEvent& rKEvt )
{
@@ -1378,7 +1378,7 @@ void PushButton::KeyUp( const KeyEvent& rKEvt )
Button::KeyUp( rKEvt );
}
-// -----------------------------------------------------------------------
+
void PushButton::FillLayoutData() const
{
@@ -1386,14 +1386,14 @@ void PushButton::FillLayoutData() const
const_cast<PushButton*>(this)->ImplDrawPushButton( true );
}
-// -----------------------------------------------------------------------
+
void PushButton::Paint( const Rectangle& )
{
ImplDrawPushButton();
}
-// -----------------------------------------------------------------------
+
void PushButton::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
sal_uLong nFlags )
@@ -1438,7 +1438,7 @@ void PushButton::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
pDev->Pop();
}
-// -----------------------------------------------------------------------
+
void PushButton::Resize()
{
@@ -1446,7 +1446,7 @@ void PushButton::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void PushButton::GetFocus()
{
@@ -1455,7 +1455,7 @@ void PushButton::GetFocus()
Button::GetFocus();
}
-// -----------------------------------------------------------------------
+
void PushButton::LoseFocus()
{
@@ -1464,7 +1464,7 @@ void PushButton::LoseFocus()
Button::LoseFocus();
}
-// -----------------------------------------------------------------------
+
void PushButton::StateChanged( StateChangedType nType )
{
@@ -1514,7 +1514,7 @@ void PushButton::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void PushButton::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -1530,7 +1530,7 @@ void PushButton::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
bool PushButton::PreNotify( NotifyEvent& rNEvt )
{
@@ -1597,14 +1597,14 @@ bool PushButton::PreNotify( NotifyEvent& rNEvt )
return Button::PreNotify(rNEvt);
}
-// -----------------------------------------------------------------------
+
void PushButton::Toggle()
{
ImplCallEventListenersAndHandler( VCLEVENT_PUSHBUTTON_TOGGLE, maToggleHdl, this );
}
-// -----------------------------------------------------------------------
+
void PushButton::SetSymbol( SymbolType eSymbol )
{
@@ -1615,13 +1615,13 @@ void PushButton::SetSymbol( SymbolType eSymbol )
}
}
-// -----------------------------------------------------------------------
+
void PushButton::SetSymbolAlign( SymbolAlign eAlign )
{
ImplSetSymbolAlign( eAlign );
}
-// -----------------------------------------------------------------------
+
void PushButton::SetDropDown( sal_uInt16 nStyle )
{
@@ -1632,7 +1632,7 @@ void PushButton::SetDropDown( sal_uInt16 nStyle )
}
}
-// -----------------------------------------------------------------------
+
void PushButton::SetState( TriState eState )
{
@@ -1657,7 +1657,7 @@ void PushButton::SetState( TriState eState )
}
}
-// -----------------------------------------------------------------------
+
void PushButton::SetPressed( bool bPressed )
{
@@ -1668,7 +1668,7 @@ void PushButton::SetPressed( bool bPressed )
}
}
-// -----------------------------------------------------------------------
+
void PushButton::EndSelection()
{
@@ -1681,7 +1681,7 @@ void PushButton::EndSelection()
}
}
-// -----------------------------------------------------------------------
+
Size PushButton::CalcMinimumSize( long nMaxWidth ) const
{
@@ -1750,7 +1750,7 @@ void OKButton::ImplInit( Window* pParent, WinBits nStyle )
SetText( Button::GetStandardText( BUTTON_OK ) );
}
-// -----------------------------------------------------------------------
+
OKButton::OKButton( Window* pParent, WinBits nStyle ) :
PushButton( WINDOW_OKBUTTON )
@@ -1758,7 +1758,7 @@ OKButton::OKButton( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
OKButton::OKButton( Window* pParent, const ResId& rResId ) :
PushButton( WINDOW_OKBUTTON )
@@ -1772,7 +1772,7 @@ OKButton::OKButton( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
void OKButton::Click()
{
@@ -1815,7 +1815,7 @@ void CancelButton::ImplInit( Window* pParent, WinBits nStyle )
SetText( Button::GetStandardText( BUTTON_CANCEL ) );
}
-// -----------------------------------------------------------------------
+
CancelButton::CancelButton( Window* pParent, WinBits nStyle ) :
PushButton( WINDOW_CANCELBUTTON )
@@ -1823,7 +1823,7 @@ CancelButton::CancelButton( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
CancelButton::CancelButton( Window* pParent, const ResId& rResId ) :
PushButton( WINDOW_CANCELBUTTON )
@@ -1837,7 +1837,7 @@ CancelButton::CancelButton( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
void CancelButton::Click()
{
@@ -1886,7 +1886,7 @@ void HelpButton::ImplInit( Window* pParent, WinBits nStyle )
SetText( Button::GetStandardText( BUTTON_HELP ) );
}
-// -----------------------------------------------------------------------
+
HelpButton::HelpButton( Window* pParent, WinBits nStyle ) :
PushButton( WINDOW_HELPBUTTON )
@@ -1894,7 +1894,7 @@ HelpButton::HelpButton( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
HelpButton::HelpButton( Window* pParent, const ResId& rResId ) :
PushButton( WINDOW_HELPBUTTON )
@@ -1908,7 +1908,7 @@ HelpButton::HelpButton( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
void HelpButton::Click()
{
@@ -1935,7 +1935,7 @@ void RadioButton::ImplInitRadioButtonData()
mbStateChanged = false;
}
-// -----------------------------------------------------------------------
+
void RadioButton::ImplInit( Window* pParent, WinBits nStyle )
{
@@ -1945,7 +1945,7 @@ void RadioButton::ImplInit( Window* pParent, WinBits nStyle )
ImplInitSettings( true, true, true );
}
-// -----------------------------------------------------------------------
+
WinBits RadioButton::ImplInitStyle( const Window* pPrevWindow, WinBits nStyle )
{
@@ -1962,20 +1962,20 @@ WinBits RadioButton::ImplInitStyle( const Window* pPrevWindow, WinBits nStyle )
return nStyle;
}
-// -----------------------------------------------------------------
+
const Font& RadioButton::GetCanonicalFont( const StyleSettings& _rStyle ) const
{
return _rStyle.GetRadioCheckFont();
}
-// -----------------------------------------------------------------
+
const Color& RadioButton::GetCanonicalTextColor( const StyleSettings& _rStyle ) const
{
return _rStyle.GetRadioCheckTextColor();
}
-// -----------------------------------------------------------------------
+
void RadioButton::ImplInitSettings( bool bFont,
bool bForeground, bool bBackground )
@@ -2014,7 +2014,7 @@ void RadioButton::DrawRadioButtonState( )
ImplDrawRadioButtonState( );
}
-// -----------------------------------------------------------------------
+
void RadioButton::ImplInvalidateOrDrawRadioButtonState()
{
@@ -2140,7 +2140,7 @@ void RadioButton::ImplDrawRadioButtonState()
}
}
-// -----------------------------------------------------------------------
+
void RadioButton::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize,
@@ -2278,7 +2278,7 @@ void RadioButton::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
pDev->Pop();
}
-// -----------------------------------------------------------------------
+
void RadioButton::ImplDrawRadioButton( bool bLayout )
{
@@ -2395,7 +2395,7 @@ std::vector< RadioButton* > RadioButton::GetRadioButtonGroup(bool bIncludeThis)
return aGroup;
}
-// -----------------------------------------------------------------------
+
void RadioButton::ImplUncheckAllOther()
{
@@ -2421,7 +2421,7 @@ void RadioButton::ImplUncheckAllOther()
}
}
-// -----------------------------------------------------------------------
+
void RadioButton::ImplCallClick( bool bGrabFocus, sal_uInt16 nFocusFlags )
{
@@ -2450,7 +2450,7 @@ void RadioButton::ImplCallClick( bool bGrabFocus, sal_uInt16 nFocusFlags )
mbStateChanged = false;
}
-// -----------------------------------------------------------------------
+
RadioButton::RadioButton( Window* pParent, WinBits nStyle ) :
Button( WINDOW_RADIOBUTTON ), mbLegacyNoTextAlign( false )
@@ -2459,7 +2459,7 @@ RadioButton::RadioButton( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
RadioButton::RadioButton( Window* pParent, const ResId& rResId ) :
Button( WINDOW_RADIOBUTTON ), mbLegacyNoTextAlign( false )
@@ -2474,7 +2474,7 @@ RadioButton::RadioButton( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
void RadioButton::ImplLoadRes( const ResId& rResId )
{
@@ -2486,7 +2486,7 @@ void RadioButton::ImplLoadRes( const ResId& rResId )
SetState( true );
}
-// -----------------------------------------------------------------------
+
RadioButton::~RadioButton()
{
@@ -2497,7 +2497,7 @@ RadioButton::~RadioButton()
}
}
-// -----------------------------------------------------------------------
+
void RadioButton::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -2512,7 +2512,7 @@ void RadioButton::MouseButtonDown( const MouseEvent& rMEvt )
Button::MouseButtonDown( rMEvt );
}
-// -----------------------------------------------------------------------
+
void RadioButton::Tracking( const TrackingEvent& rTEvt )
{
@@ -2553,7 +2553,7 @@ void RadioButton::Tracking( const TrackingEvent& rTEvt )
}
}
-// -----------------------------------------------------------------------
+
void RadioButton::KeyInput( const KeyEvent& rKEvt )
{
@@ -2576,7 +2576,7 @@ void RadioButton::KeyInput( const KeyEvent& rKEvt )
Button::KeyInput( rKEvt );
}
-// -----------------------------------------------------------------------
+
void RadioButton::KeyUp( const KeyEvent& rKEvt )
{
@@ -2591,7 +2591,7 @@ void RadioButton::KeyUp( const KeyEvent& rKEvt )
Button::KeyUp( rKEvt );
}
-// -----------------------------------------------------------------------
+
void RadioButton::FillLayoutData() const
{
@@ -2599,14 +2599,14 @@ void RadioButton::FillLayoutData() const
const_cast<RadioButton*>(this)->ImplDrawRadioButton( true );
}
-// -----------------------------------------------------------------------
+
void RadioButton::Paint( const Rectangle& )
{
ImplDrawRadioButton();
}
-// -----------------------------------------------------------------------
+
void RadioButton::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
sal_uLong nFlags )
@@ -2682,7 +2682,7 @@ void RadioButton::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize
}
}
-// -----------------------------------------------------------------------
+
void RadioButton::Resize()
{
@@ -2690,7 +2690,7 @@ void RadioButton::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void RadioButton::GetFocus()
{
@@ -2699,7 +2699,7 @@ void RadioButton::GetFocus()
Button::GetFocus();
}
-// -----------------------------------------------------------------------
+
void RadioButton::LoseFocus()
{
@@ -2713,7 +2713,7 @@ void RadioButton::LoseFocus()
Button::LoseFocus();
}
-// -----------------------------------------------------------------------
+
void RadioButton::StateChanged( StateChangedType nType )
{
@@ -2762,7 +2762,7 @@ void RadioButton::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void RadioButton::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -2778,7 +2778,7 @@ void RadioButton::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
bool RadioButton::PreNotify( NotifyEvent& rNEvt )
{
@@ -2806,14 +2806,14 @@ bool RadioButton::PreNotify( NotifyEvent& rNEvt )
return Button::PreNotify(rNEvt);
}
-// -----------------------------------------------------------------------
+
void RadioButton::Toggle()
{
ImplCallEventListenersAndHandler( VCLEVENT_RADIOBUTTON_TOGGLE, maToggleHdl, this );
}
-// -----------------------------------------------------------------------
+
bool RadioButton::SetModeRadioImage( const Image& rImage )
{
@@ -2826,14 +2826,14 @@ bool RadioButton::SetModeRadioImage( const Image& rImage )
return true;
}
-// -----------------------------------------------------------------------
+
const Image& RadioButton::GetModeRadioImage( ) const
{
return maImage;
}
-// -----------------------------------------------------------------------
+
void RadioButton::SetState( bool bCheck )
{
@@ -2890,7 +2890,7 @@ bool RadioButton::set_property(const OString &rKey, const OString &rValue)
return true;
}
-// -----------------------------------------------------------------------
+
void RadioButton::Check( bool bCheck )
{
@@ -2917,7 +2917,7 @@ void RadioButton::Check( bool bCheck )
}
}
-// -----------------------------------------------------------------------
+
long RadioButton::ImplGetImageToTextDistance() const
{
@@ -2926,7 +2926,7 @@ long RadioButton::ImplGetImageToTextDistance() const
return CalcZoom( 4 );
}
-// -----------------------------------------------------------------------
+
Size RadioButton::ImplGetRadioImageSize() const
{
@@ -3037,7 +3037,7 @@ Image RadioButton::GetRadioImage( const AllSettings& rSettings, sal_uInt16 nFlag
return pSVData->maCtrlData.mpRadioImgList->GetImage( nId );
}
-// -----------------------------------------------------------------------
+
void RadioButton::ImplSetMinimumNWFSize()
{
@@ -3066,7 +3066,7 @@ void RadioButton::ImplSetMinimumNWFSize()
Pop();
}
-// -----------------------------------------------------------------------
+
Size RadioButton::CalcMinimumSize( long nMaxWidth ) const
{
@@ -3118,7 +3118,7 @@ Size RadioButton::CalcMinimumSize( long nMaxWidth ) const
return CalcWindowSize( aSize );
}
-// -----------------------------------------------------------------------
+
Size RadioButton::GetOptimalSize() const
{
@@ -3134,7 +3134,7 @@ void CheckBox::ImplInitCheckBoxData()
mbTriState = false;
}
-// -----------------------------------------------------------------------
+
void CheckBox::ImplInit( Window* pParent, WinBits nStyle )
{
@@ -3144,7 +3144,7 @@ void CheckBox::ImplInit( Window* pParent, WinBits nStyle )
ImplInitSettings( true, true, true );
}
-// -----------------------------------------------------------------------
+
WinBits CheckBox::ImplInitStyle( const Window* pPrevWindow, WinBits nStyle )
{
@@ -3156,20 +3156,20 @@ WinBits CheckBox::ImplInitStyle( const Window* pPrevWindow, WinBits nStyle )
return nStyle;
}
-// -----------------------------------------------------------------
+
const Font& CheckBox::GetCanonicalFont( const StyleSettings& _rStyle ) const
{
return _rStyle.GetRadioCheckFont();
}
-// -----------------------------------------------------------------
+
const Color& CheckBox::GetCanonicalTextColor( const StyleSettings& _rStyle ) const
{
return _rStyle.GetRadioCheckTextColor();
}
-// -----------------------------------------------------------------------
+
void CheckBox::ImplInitSettings( bool bFont,
bool bForeground, bool bBackground )
@@ -3203,7 +3203,7 @@ void CheckBox::ImplInitSettings( bool bFont,
}
}
-// -----------------------------------------------------------------------
+
void CheckBox::ImplLoadRes( const ResId& rResId )
{
@@ -3218,7 +3218,7 @@ void CheckBox::ImplLoadRes( const ResId& rResId )
}
}
-// -----------------------------------------------------------------------
+
void CheckBox::ImplInvalidateOrDrawCheckBoxState()
{
@@ -3278,7 +3278,7 @@ void CheckBox::ImplDrawCheckBoxState()
}
}
-// -----------------------------------------------------------------------
+
void CheckBox::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize,
@@ -3383,7 +3383,7 @@ void CheckBox::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
pDev->Pop();
}
-// -----------------------------------------------------------------------
+
void CheckBox::ImplDrawCheckBox( bool bLayout )
{
@@ -3405,7 +3405,7 @@ void CheckBox::ImplDrawCheckBox( bool bLayout )
}
}
-// -----------------------------------------------------------------------
+
void CheckBox::ImplCheck()
{
@@ -3433,7 +3433,7 @@ void CheckBox::ImplCheck()
Click();
}
-// -----------------------------------------------------------------------
+
CheckBox::CheckBox( Window* pParent, WinBits nStyle ) :
Button( WINDOW_CHECKBOX ), mbLegacyNoTextAlign( false )
@@ -3442,7 +3442,7 @@ CheckBox::CheckBox( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
CheckBox::CheckBox( Window* pParent, const ResId& rResId ) :
Button( WINDOW_CHECKBOX ), mbLegacyNoTextAlign( false )
@@ -3457,7 +3457,7 @@ CheckBox::CheckBox( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
void CheckBox::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -3472,7 +3472,7 @@ void CheckBox::MouseButtonDown( const MouseEvent& rMEvt )
Button::MouseButtonDown( rMEvt );
}
-// -----------------------------------------------------------------------
+
void CheckBox::Tracking( const TrackingEvent& rTEvt )
{
@@ -3513,7 +3513,7 @@ void CheckBox::Tracking( const TrackingEvent& rTEvt )
}
}
-// -----------------------------------------------------------------------
+
void CheckBox::KeyInput( const KeyEvent& rKEvt )
{
@@ -3536,7 +3536,7 @@ void CheckBox::KeyInput( const KeyEvent& rKEvt )
Button::KeyInput( rKEvt );
}
-// -----------------------------------------------------------------------
+
void CheckBox::KeyUp( const KeyEvent& rKEvt )
{
@@ -3551,7 +3551,7 @@ void CheckBox::KeyUp( const KeyEvent& rKEvt )
Button::KeyUp( rKEvt );
}
-// -----------------------------------------------------------------------
+
void CheckBox::FillLayoutData() const
{
@@ -3559,14 +3559,14 @@ void CheckBox::FillLayoutData() const
const_cast<CheckBox*>(this)->ImplDrawCheckBox( true );
}
-// -----------------------------------------------------------------------
+
void CheckBox::Paint( const Rectangle& )
{
ImplDrawCheckBox();
}
-// -----------------------------------------------------------------------
+
void CheckBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
sal_uLong nFlags )
@@ -3666,7 +3666,7 @@ void CheckBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
pDev->Pop();
}
-// -----------------------------------------------------------------------
+
void CheckBox::Resize()
{
@@ -3674,7 +3674,7 @@ void CheckBox::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void CheckBox::GetFocus()
{
@@ -3698,7 +3698,7 @@ void CheckBox::GetFocus()
Button::GetFocus();
}
-// -----------------------------------------------------------------------
+
void CheckBox::LoseFocus()
{
@@ -3725,7 +3725,7 @@ void CheckBox::LoseFocus()
}
}
-// -----------------------------------------------------------------------
+
void CheckBox::StateChanged( StateChangedType nType )
{
@@ -3774,7 +3774,7 @@ void CheckBox::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void CheckBox::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -3790,7 +3790,7 @@ void CheckBox::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
bool CheckBox::PreNotify( NotifyEvent& rNEvt )
{
@@ -3818,14 +3818,14 @@ bool CheckBox::PreNotify( NotifyEvent& rNEvt )
return Button::PreNotify(rNEvt);
}
-// -----------------------------------------------------------------------
+
void CheckBox::Toggle()
{
ImplCallEventListenersAndHandler( VCLEVENT_CHECKBOX_TOGGLE, maToggleHdl, this );
}
-// -----------------------------------------------------------------------
+
void CheckBox::SetState( TriState eState )
{
@@ -3849,7 +3849,7 @@ bool CheckBox::set_property(const OString &rKey, const OString &rValue)
return true;
}
-// -----------------------------------------------------------------------
+
void CheckBox::EnableTriState( bool bTriState )
{
@@ -3862,7 +3862,7 @@ void CheckBox::EnableTriState( bool bTriState )
}
}
-// -----------------------------------------------------------------------
+
long CheckBox::ImplGetImageToTextDistance() const
{
@@ -3871,7 +3871,7 @@ long CheckBox::ImplGetImageToTextDistance() const
return CalcZoom( 4 );
}
-// -----------------------------------------------------------------------
+
Size CheckBox::ImplGetCheckImageSize() const
{
@@ -3961,7 +3961,7 @@ Image CheckBox::GetCheckImage( const AllSettings& rSettings, sal_uInt16 nFlags )
return pSVData->maCtrlData.mpCheckImgList->GetImage( nId );
}
-// -----------------------------------------------------------------------
+
void CheckBox::ImplSetMinimumNWFSize()
{
@@ -3990,7 +3990,7 @@ void CheckBox::ImplSetMinimumNWFSize()
Pop();
}
-// -----------------------------------------------------------------------
+
Size CheckBox::CalcMinimumSize( long nMaxWidth ) const
{
@@ -4025,7 +4025,7 @@ Size CheckBox::CalcMinimumSize( long nMaxWidth ) const
return CalcWindowSize( aSize );
}
-// -----------------------------------------------------------------------
+
Size CheckBox::GetOptimalSize() const
{
@@ -4040,7 +4040,7 @@ ImageButton::ImageButton( Window* pParent, WinBits nStyle ) :
ImplInitStyle();
}
-// -----------------------------------------------------------------------
+
ImageButton::ImageButton( Window* pParent, const ResId& rResId ) :
PushButton( pParent, rResId.SetRT( RSC_IMAGEBUTTON ) )
@@ -4062,13 +4062,13 @@ ImageButton::ImageButton( Window* pParent, const ResId& rResId ) :
ImplInitStyle();
}
-// -----------------------------------------------------------------------
+
ImageButton::~ImageButton()
{
}
-// -----------------------------------------------------------------------
+
void ImageButton::ImplInitStyle()
{
WinBits nStyle = GetStyle();
@@ -4089,7 +4089,7 @@ ImageRadioButton::ImageRadioButton( Window* pParent, WinBits nStyle ) :
{
}
-// -----------------------------------------------------------------------
+
ImageRadioButton::~ImageRadioButton()
{
@@ -4103,7 +4103,7 @@ TriStateBox::TriStateBox( Window* pParent, WinBits nStyle ) :
EnableTriState( true );
}
-// -----------------------------------------------------------------------
+
TriStateBox::~TriStateBox()
{
@@ -4116,7 +4116,7 @@ DisclosureButton::DisclosureButton( Window* pParent, WinBits nStyle ) :
{
}
-// -----------------------------------------------------------------------
+
void DisclosureButton::ImplDrawCheckBoxState()
{
@@ -4168,7 +4168,7 @@ void DisclosureButton::ImplDrawCheckBoxState()
}
}
-// -----------------------------------------------------------------------
+
void DisclosureButton::KeyInput( const KeyEvent& rKEvt )
{
diff --git a/vcl/source/control/combobox.cxx b/vcl/source/control/combobox.cxx
index b6d8c9bc851e..22ae03aca7e2 100644
--- a/vcl/source/control/combobox.cxx
+++ b/vcl/source/control/combobox.cxx
@@ -56,7 +56,7 @@ ComboBox::ComboBox( WindowType nType ) :
SetWidthInChars(-1);
}
-// -----------------------------------------------------------------------
+
ComboBox::ComboBox( Window* pParent, WinBits nStyle ) :
Edit( WINDOW_COMBOBOX )
@@ -66,7 +66,7 @@ ComboBox::ComboBox( Window* pParent, WinBits nStyle ) :
SetWidthInChars(-1);
}
-// -----------------------------------------------------------------------
+
ComboBox::ComboBox( Window* pParent, const ResId& rResId ) :
Edit( WINDOW_COMBOBOX )
@@ -82,7 +82,7 @@ ComboBox::ComboBox( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
ComboBox::~ComboBox()
{
@@ -97,7 +97,7 @@ ComboBox::~ComboBox()
delete mpBtn;
}
-// -----------------------------------------------------------------------
+
void ComboBox::ImplInitComboBoxData()
{
@@ -114,7 +114,7 @@ void ComboBox::ImplInitComboBoxData()
m_nMaxWidthChars = -1;
}
-// -----------------------------------------------------------------------
+
void ComboBox::ImplCalcEditHeight()
{
@@ -140,7 +140,7 @@ void ComboBox::ImplCalcEditHeight()
}
}
-// -----------------------------------------------------------------------
+
void ComboBox::ImplInit( Window* pParent, WinBits nStyle )
{
@@ -219,7 +219,7 @@ void ComboBox::ImplInit( Window* pParent, WinBits nStyle )
SetCompoundControl( true );
}
-// -----------------------------------------------------------------------
+
WinBits ComboBox::ImplInitStyle( WinBits nStyle )
{
@@ -230,7 +230,7 @@ WinBits ComboBox::ImplInitStyle( WinBits nStyle )
return nStyle;
}
-// -----------------------------------------------------------------------
+
void ComboBox::ImplLoadRes( const ResId& rResId )
{
@@ -247,7 +247,7 @@ void ComboBox::ImplLoadRes( const ResId& rResId )
}
}
-// -----------------------------------------------------------------------
+
void ComboBox::EnableAutocomplete( bool bEnable, bool bMatchCase )
{
@@ -259,14 +259,14 @@ void ComboBox::EnableAutocomplete( bool bEnable, bool bMatchCase )
mpSubEdit->SetAutocompleteHdl( Link() );
}
-// -----------------------------------------------------------------------
+
bool ComboBox::IsAutocompleteEnabled() const
{
return mpSubEdit->GetAutocompleteHdl().IsSet();
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ComboBox, ImplClickBtnHdl)
{
@@ -288,7 +288,7 @@ IMPL_LINK_NOARG(ComboBox, ImplClickBtnHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ComboBox, ImplPopupModeEndHdl)
{
@@ -313,7 +313,7 @@ IMPL_LINK_NOARG(ComboBox, ImplPopupModeEndHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( ComboBox, ImplAutocompleteHdl, Edit*, pEdit )
{
@@ -370,7 +370,7 @@ IMPL_LINK( ComboBox, ImplAutocompleteHdl, Edit*, pEdit )
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ComboBox, ImplSelectHdl)
{
@@ -476,7 +476,7 @@ IMPL_LINK_NOARG(ComboBox, ImplCancelHdl)
return 1;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( ComboBox, ImplSelectionChangedHdl, void*, n )
{
@@ -489,7 +489,7 @@ IMPL_LINK( ComboBox, ImplSelectionChangedHdl, void*, n )
return 1;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ComboBox, ImplDoubleClickHdl)
{
@@ -497,7 +497,7 @@ IMPL_LINK_NOARG(ComboBox, ImplDoubleClickHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
void ComboBox::ToggleDropDown()
{
@@ -521,21 +521,21 @@ void ComboBox::ToggleDropDown()
}
}
-// -----------------------------------------------------------------------
+
void ComboBox::Select()
{
ImplCallEventListenersAndHandler( VCLEVENT_COMBOBOX_SELECT, maSelectHdl, this );
}
-// -----------------------------------------------------------------------
+
void ComboBox::DoubleClick()
{
ImplCallEventListenersAndHandler( VCLEVENT_COMBOBOX_DOUBLECLICK, maDoubleClickHdl, this );
}
-// -----------------------------------------------------------------------
+
void ComboBox::EnableAutoSize( bool bAuto )
{
@@ -554,7 +554,7 @@ void ComboBox::EnableAutoSize( bool bAuto )
}
}
-// -----------------------------------------------------------------------
+
void ComboBox::EnableDDAutoWidth( bool b )
{
@@ -562,7 +562,7 @@ void ComboBox::EnableDDAutoWidth( bool b )
mpFloatWin->SetAutoWidth( b );
}
- // -----------------------------------------------------------------------
+
void ComboBox::SetDropDownLineCount( sal_uInt16 nLines )
{
@@ -570,7 +570,7 @@ void ComboBox::SetDropDownLineCount( sal_uInt16 nLines )
mpFloatWin->SetDropDownLineCount( nLines );
}
-// -----------------------------------------------------------------------
+
void ComboBox::AdaptDropDownLineCountToMaximum()
{
@@ -578,7 +578,7 @@ void ComboBox::AdaptDropDownLineCountToMaximum()
SetDropDownLineCount(GetSettings().GetStyleSettings().GetListBoxMaximumLineCount());
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ComboBox::GetDropDownLineCount() const
{
@@ -588,7 +588,7 @@ sal_uInt16 ComboBox::GetDropDownLineCount() const
return nLines;
}
-// -----------------------------------------------------------------------
+
void ComboBox::setPosSizePixel( long nX, long nY, long nWidth, long nHeight,
sal_uInt16 nFlags )
@@ -609,7 +609,7 @@ void ComboBox::setPosSizePixel( long nX, long nY, long nWidth, long nHeight,
Edit::setPosSizePixel( nX, nY, nWidth, nHeight, nFlags );
}
-// -----------------------------------------------------------------------
+
void ComboBox::Resize()
{
@@ -637,7 +637,7 @@ void ComboBox::Resize()
mpFloatWin->SetSizePixel( mpFloatWin->CalcFloatSize() );
}
-// -----------------------------------------------------------------------
+
void ComboBox::FillLayoutData() const
{
@@ -661,7 +661,7 @@ void ComboBox::FillLayoutData() const
}
}
-// -----------------------------------------------------------------------
+
void ComboBox::StateChanged( StateChangedType nType )
{
@@ -727,7 +727,7 @@ void ComboBox::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void ComboBox::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -751,7 +751,7 @@ void ComboBox::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
bool ComboBox::PreNotify( NotifyEvent& rNEvt )
{
@@ -759,7 +759,7 @@ bool ComboBox::PreNotify( NotifyEvent& rNEvt )
return Edit::PreNotify( rNEvt );
}
-// -----------------------------------------------------------------------
+
bool ComboBox::Notify( NotifyEvent& rNEvt )
{
@@ -844,7 +844,7 @@ bool ComboBox::Notify( NotifyEvent& rNEvt )
return nDone || Edit::Notify( rNEvt );
}
-// -----------------------------------------------------------------------
+
void ComboBox::SetText( const OUString& rStr )
{
@@ -854,7 +854,7 @@ void ComboBox::SetText( const OUString& rStr )
ImplUpdateFloatSelection();
}
-// -----------------------------------------------------------------------
+
void ComboBox::SetText( const OUString& rStr, const Selection& rNewSelection )
{
@@ -864,7 +864,7 @@ void ComboBox::SetText( const OUString& rStr, const Selection& rNewSelection )
ImplUpdateFloatSelection();
}
-// -----------------------------------------------------------------------
+
void ComboBox::Modify()
{
@@ -874,7 +874,7 @@ void ComboBox::Modify()
Edit::Modify();
}
-// -----------------------------------------------------------------------
+
void ComboBox::ImplUpdateFloatSelection()
{
@@ -925,7 +925,7 @@ void ComboBox::ImplUpdateFloatSelection()
mpImplLB->SetCallSelectionChangedHdl( true );
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ComboBox::InsertEntry(const OUString& rStr, sal_uInt16 const nPos)
{
@@ -935,7 +935,7 @@ sal_uInt16 ComboBox::InsertEntry(const OUString& rStr, sal_uInt16 const nPos)
return nRealPos;
}
-// -----------------------------------------------------------------------
+
void ComboBox::InsertEntryWithImage(
const OUString& rStr, const Image& rImage, sal_uInt16 const nPos)
@@ -945,14 +945,14 @@ void ComboBox::InsertEntryWithImage(
CallEventListeners( VCLEVENT_COMBOBOX_ITEMADDED, (void*) sal_IntPtr(nRealPos) );
}
-// -----------------------------------------------------------------------
+
void ComboBox::RemoveEntry( const OUString& rStr )
{
RemoveEntryAt(GetEntryPos(rStr));
}
-// -----------------------------------------------------------------------
+
void ComboBox::RemoveEntryAt(sal_uInt16 const nPos)
{
@@ -960,14 +960,14 @@ void ComboBox::RemoveEntryAt(sal_uInt16 const nPos)
CallEventListeners( VCLEVENT_COMBOBOX_ITEMREMOVED, (void*) sal_IntPtr(nPos) );
}
-// -----------------------------------------------------------------------
+
void ComboBox::Clear()
{
mpImplLB->Clear();
CallEventListeners( VCLEVENT_COMBOBOX_ITEMREMOVED, (void*) sal_IntPtr(-1) );
}
-// -----------------------------------------------------------------------
+
Image ComboBox::GetEntryImage( sal_uInt16 nPos ) const
{
@@ -976,7 +976,7 @@ Image ComboBox::GetEntryImage( sal_uInt16 nPos ) const
return Image();
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ComboBox::GetEntryPos( const OUString& rStr ) const
{
@@ -986,35 +986,35 @@ sal_uInt16 ComboBox::GetEntryPos( const OUString& rStr ) const
return nPos;
}
-// -----------------------------------------------------------------------
+
OUString ComboBox::GetEntry( sal_uInt16 nPos ) const
{
return mpImplLB->GetEntryList()->GetEntryText( nPos + mpImplLB->GetEntryList()->GetMRUCount() );
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ComboBox::GetEntryCount() const
{
return mpImplLB->GetEntryList()->GetEntryCount() - mpImplLB->GetEntryList()->GetMRUCount();
}
-// -----------------------------------------------------------------------
+
bool ComboBox::IsTravelSelect() const
{
return mpImplLB->IsTravelSelect();
}
-// -----------------------------------------------------------------------
+
bool ComboBox::IsInDropDown() const
{
return mpFloatWin && mpFloatWin->IsInPopupMode();
}
-// -----------------------------------------------------------------------
+
void ComboBox::EnableMultiSelection( bool bMulti )
{
@@ -1022,28 +1022,28 @@ void ComboBox::EnableMultiSelection( bool bMulti )
mpImplLB->SetMultiSelectionSimpleMode( true );
}
-// -----------------------------------------------------------------------
+
bool ComboBox::IsMultiSelectionEnabled() const
{
return mpImplLB->IsMultiSelectionEnabled();
}
-// -----------------------------------------------------------------------
+
long ComboBox::CalcWindowSizePixel( sal_uInt16 nLines ) const
{
return mpImplLB->GetEntryHeight() * nLines;
}
-// -----------------------------------------------------------------------
+
Size ComboBox::GetOptimalSize() const
{
return CalcMinimumSize();
}
-// -----------------------------------------------------------------------
+
long ComboBox::getMaxWidthScrollBarAndDownButton() const
{
@@ -1105,7 +1105,7 @@ Size ComboBox::CalcMinimumSize() const
return aSz;
}
-// -----------------------------------------------------------------------
+
Size ComboBox::CalcAdjustedSize( const Size& rPrefSize ) const
{
@@ -1132,7 +1132,7 @@ Size ComboBox::CalcAdjustedSize( const Size& rPrefSize ) const
return aSz;
}
-// -----------------------------------------------------------------------
+
Size ComboBox::CalcBlockSize( sal_uInt16 nColumns, sal_uInt16 nLines ) const
{
@@ -1174,7 +1174,7 @@ Size ComboBox::CalcBlockSize( sal_uInt16 nColumns, sal_uInt16 nLines ) const
return aSz;
}
-// -----------------------------------------------------------------------
+
void ComboBox::GetMaxVisColumnsAndLines( sal_uInt16& rnCols, sal_uInt16& rnLines ) const
{
@@ -1193,7 +1193,7 @@ void ComboBox::GetMaxVisColumnsAndLines( sal_uInt16& rnCols, sal_uInt16& rnLines
}
}
-// -----------------------------------------------------------------------
+
void ComboBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags )
{
@@ -1299,7 +1299,7 @@ void ComboBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, s
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( ComboBox, ImplUserDrawHdl, UserDrawEvent*, pEvent )
{
@@ -1307,27 +1307,27 @@ IMPL_LINK( ComboBox, ImplUserDrawHdl, UserDrawEvent*, pEvent )
return 1;
}
-// -----------------------------------------------------------------------
+
void ComboBox::UserDraw( const UserDrawEvent& )
{
}
-// -----------------------------------------------------------------------
+
void ComboBox::SetUserItemSize( const Size& rSz )
{
mpImplLB->GetMainWindow()->SetUserItemSize( rSz );
}
-// -----------------------------------------------------------------------
+
void ComboBox::EnableUserDraw( bool bUserDraw )
{
mpImplLB->GetMainWindow()->EnableUserDraw( bUserDraw );
}
-// -----------------------------------------------------------------------
+
void ComboBox::DrawEntry( const UserDrawEvent& rEvt, bool bDrawImage, bool bDrawText, bool bDrawTextAtImagePos )
{
@@ -1335,35 +1335,35 @@ void ComboBox::DrawEntry( const UserDrawEvent& rEvt, bool bDrawImage, bool bDraw
mpImplLB->GetMainWindow()->DrawEntry( rEvt.GetItemId(), bDrawImage, bDrawText, bDrawTextAtImagePos );
}
-// -----------------------------------------------------------------------
+
void ComboBox::SetSeparatorPos( sal_uInt16 n )
{
mpImplLB->SetSeparatorPos( n );
}
-// -----------------------------------------------------------------------
+
void ComboBox::SetMRUEntries( const OUString& rEntries, sal_Unicode cSep )
{
mpImplLB->SetMRUEntries( rEntries, cSep );
}
-// -----------------------------------------------------------------------
+
OUString ComboBox::GetMRUEntries( sal_Unicode cSep ) const
{
return mpImplLB->GetMRUEntries( cSep );
}
-// -----------------------------------------------------------------------
+
void ComboBox::SetMaxMRUCount( sal_uInt16 n )
{
mpImplLB->SetMaxMRUCount( n );
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ComboBox::GetMaxMRUCount() const
{
@@ -1375,28 +1375,28 @@ sal_uInt16 ComboBox::GetMRUCount() const
return mpImplLB->GetEntryList()->GetMRUCount();
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ComboBox::GetDisplayLineCount() const
{
return mpImplLB->GetDisplayLineCount();
}
-// -----------------------------------------------------------------------
+
void ComboBox::SetEntryData( sal_uInt16 nPos, void* pNewData )
{
mpImplLB->SetEntryData( nPos + mpImplLB->GetEntryList()->GetMRUCount(), pNewData );
}
-// -----------------------------------------------------------------------
+
void* ComboBox::GetEntryData( sal_uInt16 nPos ) const
{
return mpImplLB->GetEntryList()->GetEntryData( nPos + mpImplLB->GetEntryList()->GetMRUCount() );
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ComboBox::GetTopEntry() const
{
@@ -1406,21 +1406,21 @@ sal_uInt16 ComboBox::GetTopEntry() const
return nPos;
}
-// -----------------------------------------------------------------------
+
void ComboBox::SetProminentEntryType( ProminentEntry eType )
{
mpImplLB->SetProminentEntryType( eType );
}
-// -----------------------------------------------------------------------
+
Rectangle ComboBox::GetDropDownPosSizePixel() const
{
return mpFloatWin ? mpFloatWin->GetWindowExtentsRelative( const_cast<ComboBox*>(this) ) : Rectangle();
}
-// -----------------------------------------------------------------------
+
const Wallpaper& ComboBox::GetDisplayBackground() const
{
@@ -1435,12 +1435,12 @@ const Wallpaper& ComboBox::GetDisplayBackground() const
return Control::GetDisplayBackground();
return rBack;
}
-// -----------------------------------------------------------------------------
+
sal_uInt16 ComboBox::GetSelectEntryCount() const
{
return mpImplLB->GetEntryList()->GetSelectEntryCount();
}
-// -----------------------------------------------------------------------------
+
sal_uInt16 ComboBox::GetSelectEntryPos( sal_uInt16 nIndex ) const
{
sal_uInt16 nPos = mpImplLB->GetEntryList()->GetSelectEntryPos( nIndex );
@@ -1452,24 +1452,24 @@ sal_uInt16 ComboBox::GetSelectEntryPos( sal_uInt16 nIndex ) const
}
return nPos;
}
-// -----------------------------------------------------------------------------
+
bool ComboBox::IsEntryPosSelected( sal_uInt16 nPos ) const
{
return mpImplLB->GetEntryList()->IsEntryPosSelected( nPos + mpImplLB->GetEntryList()->GetMRUCount() );
}
-// -----------------------------------------------------------------------------
+
void ComboBox::SelectEntryPos( sal_uInt16 nPos, bool bSelect)
{
if ( nPos < mpImplLB->GetEntryList()->GetEntryCount() )
mpImplLB->SelectEntry( nPos + mpImplLB->GetEntryList()->GetMRUCount(), bSelect );
}
-// -----------------------------------------------------------------------------
+
void ComboBox::SetNoSelection()
{
mpImplLB->SetNoSelection();
mpSubEdit->SetText( OUString() );
}
-// -----------------------------------------------------------------------------
+
Rectangle ComboBox::GetBoundingRectangle( sal_uInt16 nItem ) const
{
Rectangle aRect = mpImplLB->GetMainWindow()->GetBoundingRectangle( nItem );
@@ -1477,7 +1477,7 @@ Rectangle ComboBox::GetBoundingRectangle( sal_uInt16 nItem ) const
aRect.Move( aOffset.TopLeft().X(), aOffset.TopLeft().Y() );
return aRect;
}
-// -----------------------------------------------------------------------------
+
void ComboBox::SetBorderStyle( sal_uInt16 nBorderStyle )
{
@@ -1488,7 +1488,7 @@ void ComboBox::SetBorderStyle( sal_uInt16 nBorderStyle )
mpImplLB->SetBorderStyle( nBorderStyle );
}
}
-// -----------------------------------------------------------------------------
+
long ComboBox::GetIndexForPoint( const Point& rPoint, sal_uInt16& rPos ) const
{
diff --git a/vcl/source/control/ctrl.cxx b/vcl/source/control/ctrl.cxx
index 84e25feb4cfb..9a458295c28a 100644
--- a/vcl/source/control/ctrl.cxx
+++ b/vcl/source/control/ctrl.cxx
@@ -43,7 +43,7 @@ void Control::ImplInitControlData()
mpControlData = new ImplControlData;
}
-// -----------------------------------------------------------------------
+
Control::Control( WindowType nType ) :
Window( nType )
@@ -51,7 +51,7 @@ Control::Control( WindowType nType ) :
ImplInitControlData();
}
-// -----------------------------------------------------------------------
+
Control::Control( Window* pParent, WinBits nStyle ) :
Window( WINDOW_CONTROL )
@@ -73,28 +73,28 @@ Control::Control( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
Control::~Control()
{
delete mpControlData, mpControlData = NULL;
}
-// -----------------------------------------------------------------------
+
void Control::GetFocus()
{
Window::GetFocus();
}
-// -----------------------------------------------------------------------
+
void Control::LoseFocus()
{
Window::LoseFocus();
}
-// -----------------------------------------------------------------------
+
void Control::Resize()
{
@@ -102,13 +102,13 @@ void Control::Resize()
Window::Resize();
}
-// -----------------------------------------------------------------------
+
void Control::FillLayoutData() const
{
}
-// -----------------------------------------------------------------------
+
void Control::CreateLayoutData() const
{
@@ -116,21 +116,21 @@ void Control::CreateLayoutData() const
mpControlData->mpLayoutData = new ::vcl::ControlLayoutData();
}
-// -----------------------------------------------------------------------
+
bool Control::HasLayoutData() const
{
return mpControlData->mpLayoutData != NULL;
}
-// -----------------------------------------------------------------------
+
::vcl::ControlLayoutData* Control::GetLayoutData() const
{
return mpControlData->mpLayoutData;
}
-// -----------------------------------------------------------------------
+
void Control::SetText( const OUString& rStr )
{
@@ -138,7 +138,7 @@ void Control::SetText( const OUString& rStr )
Window::SetText( rStr );
}
-// -----------------------------------------------------------------------
+
Rectangle ControlLayoutData::GetCharacterBounds( long nIndex ) const
{
@@ -146,7 +146,7 @@ Rectangle ControlLayoutData::GetCharacterBounds( long nIndex ) const
}
-// -----------------------------------------------------------------------
+
Rectangle Control::GetCharacterBounds( long nIndex ) const
{
@@ -155,7 +155,7 @@ Rectangle Control::GetCharacterBounds( long nIndex ) const
return mpControlData->mpLayoutData ? mpControlData->mpLayoutData->GetCharacterBounds( nIndex ) : Rectangle();
}
-// -----------------------------------------------------------------------
+
long ControlLayoutData::GetIndexForPoint( const Point& rPoint ) const
{
@@ -174,7 +174,7 @@ long ControlLayoutData::GetIndexForPoint( const Point& rPoint ) const
return nIndex;
}
-// -----------------------------------------------------------------------
+
long Control::GetIndexForPoint( const Point& rPoint ) const
{
@@ -183,7 +183,7 @@ long Control::GetIndexForPoint( const Point& rPoint ) const
return mpControlData->mpLayoutData ? mpControlData->mpLayoutData->GetIndexForPoint( rPoint ) : -1;
}
-// -----------------------------------------------------------------------
+
long ControlLayoutData::GetLineCount() const
{
@@ -193,7 +193,7 @@ long ControlLayoutData::GetLineCount() const
return nLines;
}
-// -----------------------------------------------------------------------
+
Pair ControlLayoutData::GetLineStartEnd( long nLine ) const
{
@@ -218,7 +218,7 @@ Pair ControlLayoutData::GetLineStartEnd( long nLine ) const
return aPair;
}
-// -----------------------------------------------------------------------
+
Pair Control::GetLineStartEnd( long nLine ) const
{
@@ -227,7 +227,7 @@ Pair Control::GetLineStartEnd( long nLine ) const
return mpControlData->mpLayoutData ? mpControlData->mpLayoutData->GetLineStartEnd( nLine ) : Pair( -1, -1 );
}
-// -----------------------------------------------------------------------
+
long ControlLayoutData::ToRelativeLineIndex( long nIndex ) const
{
@@ -261,7 +261,7 @@ long ControlLayoutData::ToRelativeLineIndex( long nIndex ) const
return nIndex;
}
-// -----------------------------------------------------------------------
+
long Control::ToRelativeLineIndex( long nIndex ) const
{
@@ -270,7 +270,7 @@ long Control::ToRelativeLineIndex( long nIndex ) const
return mpControlData->mpLayoutData ? mpControlData->mpLayoutData->ToRelativeLineIndex( nIndex ) : -1;
}
-// -----------------------------------------------------------------------
+
OUString Control::GetDisplayText() const
{
@@ -279,7 +279,7 @@ OUString Control::GetDisplayText() const
return mpControlData->mpLayoutData ? OUString(mpControlData->mpLayoutData->m_aDisplayText) : GetText();
}
-// -----------------------------------------------------------------------
+
bool Control::Notify( NotifyEvent& rNEvt )
{
@@ -313,7 +313,7 @@ bool Control::Notify( NotifyEvent& rNEvt )
return Window::Notify( rNEvt );
}
-// -----------------------------------------------------------------------
+
void Control::StateChanged( StateChangedType nStateChange )
{
@@ -329,7 +329,7 @@ void Control::StateChanged( StateChangedType nStateChange )
Window::StateChanged( nStateChange );
}
-// -----------------------------------------------------------------------
+
void Control::AppendLayoutData( const Control& rSubControl ) const
{
@@ -355,7 +355,7 @@ void Control::AppendLayoutData( const Control& rSubControl ) const
}
}
-// -----------------------------------------------------------------
+
bool Control::ImplCallEventListenersAndHandler( sal_uLong nEvent, const Link& rHandler, void* pCaller )
{
@@ -376,7 +376,7 @@ bool Control::ImplCallEventListenersAndHandler( sal_uLong nEvent, const Link& r
return true;
}
-// -----------------------------------------------------------------
+
void Control::SetLayoutDataParent( const Control* pParent ) const
{
@@ -384,14 +384,14 @@ void Control::SetLayoutDataParent( const Control* pParent ) const
mpControlData->mpLayoutData->m_pParent = pParent;
}
-// -----------------------------------------------------------------
+
void Control::ImplClearLayoutData() const
{
delete mpControlData->mpLayoutData, mpControlData->mpLayoutData = NULL;
}
-// -----------------------------------------------------------------------
+
void Control::ImplDrawFrame( OutputDevice* pDev, Rectangle& rRect )
{
@@ -420,7 +420,7 @@ void Control::ImplDrawFrame( OutputDevice* pDev, Rectangle& rRect )
pDev->OutputDevice::SetSettings( aOriginalSettings );
}
-// -----------------------------------------------------------------------
+
void Control::DataChanged( const DataChangedEvent& rDCEvt)
{
@@ -447,7 +447,7 @@ void Control::DataChanged( const DataChangedEvent& rDCEvt)
}
}
-// -----------------------------------------------------------------
+
ControlLayoutData::~ControlLayoutData()
{
@@ -455,7 +455,7 @@ ControlLayoutData::~ControlLayoutData()
m_pParent->ImplClearLayoutData();
}
-// -----------------------------------------------------------------
+
Size Control::GetOptimalSize() const
{
@@ -463,7 +463,7 @@ Size Control::GetOptimalSize() const
GetTextHeight() + 2 * 6 );
}
-// -----------------------------------------------------------------
+
void Control::SetReferenceDevice( OutputDevice* _referenceDevice )
{
@@ -474,27 +474,27 @@ void Control::SetReferenceDevice( OutputDevice* _referenceDevice )
Invalidate();
}
-// -----------------------------------------------------------------
+
OutputDevice* Control::GetReferenceDevice() const
{
return mpControlData->mpReferenceDevice;
}
-// -----------------------------------------------------------------
+
const Font& Control::GetCanonicalFont( const StyleSettings& _rStyle ) const
{
return _rStyle.GetLabelFont();
}
-// -----------------------------------------------------------------
+
const Color& Control::GetCanonicalTextColor( const StyleSettings& _rStyle ) const
{
return _rStyle.GetLabelTextColor();
}
-// -----------------------------------------------------------------
+
void Control::ImplInitSettings( const bool _bFont, const bool _bForeground )
{
const StyleSettings& rStyleSettings = GetSettings().GetStyleSettings();
@@ -519,7 +519,7 @@ void Control::ImplInitSettings( const bool _bFont, const bool _bForeground )
}
}
-// -----------------------------------------------------------------
+
void Control::DrawControlText( OutputDevice& _rTargetDevice, Rectangle& _io_rRect, const OUString& _rStr,
sal_uInt16 _nStyle, MetricVector* _pVector, OUString* _pDisplayText ) const
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 165d73885552..e24a474a1324 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -137,7 +137,7 @@ struct Impl_IMEInfos
void DestroyAttribs();
};
-// -----------------------------------------------------------------------
+
Impl_IMEInfos::Impl_IMEInfos(sal_Int32 nP, const OUString& rOldTextAfterStartPos)
: aOldTextAfterStartPos(rOldTextAfterStartPos)
@@ -149,14 +149,14 @@ Impl_IMEInfos::Impl_IMEInfos(sal_Int32 nP, const OUString& rOldTextAfterStartPos
bWasCursorOverwrite = false;
}
-// -----------------------------------------------------------------------
+
Impl_IMEInfos::~Impl_IMEInfos()
{
delete[] pAttribs;
}
-// -----------------------------------------------------------------------
+
void Impl_IMEInfos::CopyAttribs(const sal_uInt16* pA, sal_Int32 nL)
{
@@ -166,7 +166,7 @@ void Impl_IMEInfos::CopyAttribs(const sal_uInt16* pA, sal_Int32 nL)
memcpy( pAttribs, pA, nL*sizeof(sal_uInt16) );
}
-// -----------------------------------------------------------------------
+
void Impl_IMEInfos::DestroyAttribs()
{
@@ -183,7 +183,7 @@ Edit::Edit( WindowType nType ) :
ImplInitEditData();
}
-// -----------------------------------------------------------------------
+
Edit::Edit( Window* pParent, WinBits nStyle ) :
Control( WINDOW_EDIT )
@@ -264,7 +264,7 @@ bool Edit::set_property(const OString &rKey, const OString &rValue)
return true;
}
-// -----------------------------------------------------------------------
+
Edit::~Edit()
{
@@ -298,7 +298,7 @@ Edit::~Edit()
}
}
-// -----------------------------------------------------------------------
+
void Edit::ImplInitEditData()
{
@@ -330,7 +330,7 @@ void Edit::ImplInitEditData()
mxDnDListener = pDnDWrapper;
}
-// -----------------------------------------------------------------------
+
bool Edit::ImplUseNativeBorder( WinBits nStyle )
{
@@ -385,7 +385,7 @@ void Edit::ImplInit( Window* pParent, WinBits nStyle )
}
}
-// -----------------------------------------------------------------------
+
WinBits Edit::ImplInitStyle( WinBits nStyle )
{
@@ -397,7 +397,7 @@ WinBits Edit::ImplInitStyle( WinBits nStyle )
return nStyle;
}
-// -----------------------------------------------------------------------
+
bool Edit::IsCharInput( const KeyEvent& rKeyEvent )
{
@@ -409,7 +409,7 @@ bool Edit::IsCharInput( const KeyEvent& rKeyEvent )
!rKeyEvent.GetKeyCode().IsMod1() );
}
-// -----------------------------------------------------------------------
+
void Edit::ImplModified()
{
@@ -417,7 +417,7 @@ void Edit::ImplModified()
Modify();
}
-// -----------------------------------------------------------------------
+
void Edit::ImplInitSettings( bool bFont, bool bForeground, bool bBackground )
{
@@ -461,7 +461,7 @@ void Edit::ImplInitSettings( bool bFont, bool bForeground, bool bBackground )
}
}
-// -----------------------------------------------------------------------
+
long Edit::ImplGetExtraOffset() const
{
@@ -476,7 +476,7 @@ long Edit::ImplGetExtraOffset() const
}
-// -----------------------------------------------------------------------
+
OUString Edit::ImplGetText() const
{
@@ -495,7 +495,7 @@ OUString Edit::ImplGetText() const
return maText.toString();
}
-// -----------------------------------------------------------------------
+
void Edit::ImplInvalidateOrRepaint()
{
@@ -510,7 +510,7 @@ void Edit::ImplInvalidateOrRepaint()
ImplRepaint();
}
-// -----------------------------------------------------------------------
+
long Edit::ImplGetTextYPosition() const
{
@@ -521,7 +521,7 @@ long Edit::ImplGetTextYPosition() const
return ( GetOutputSizePixel().Height() - GetTextHeight() ) / 2;
}
-// -----------------------------------------------------------------------
+
void Edit::ImplRepaint(bool bLayout)
{
@@ -743,7 +743,7 @@ void Edit::ImplRepaint(bool bLayout)
delete [] pDXBuffer;
}
-// -----------------------------------------------------------------------
+
void Edit::ImplDelete( const Selection& rSelection, sal_uInt8 nDirection, sal_uInt8 nMode )
{
@@ -813,7 +813,7 @@ void Edit::ImplDelete( const Selection& rSelection, sal_uInt8 nDirection, sal_uI
mbInternModified = true;
}
-// -----------------------------------------------------------------------
+
OUString Edit::ImplGetValidString( const OUString& rString ) const
{
@@ -824,7 +824,7 @@ OUString Edit::ImplGetValidString( const OUString& rString ) const
return aValidString;
}
-// -----------------------------------------------------------------------
+
uno::Reference < i18n::XBreakIterator > Edit::ImplGetBreakIterator() const
{
//!! since we don't want to become incompatible in the next minor update
@@ -833,7 +833,7 @@ uno::Reference < i18n::XBreakIterator > Edit::ImplGetBreakIterator() const
uno::Reference< uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext();
return i18n::BreakIterator::create(xContext);
}
-// -----------------------------------------------------------------------
+
uno::Reference < i18n::XExtendedInputSequenceChecker > Edit::ImplGetInputSequenceChecker()
{
@@ -845,7 +845,7 @@ uno::Reference < i18n::XExtendedInputSequenceChecker > Edit::ImplGetInputSequenc
return mxISC;
}
-// -----------------------------------------------------------------------
+
void Edit::ShowTruncationWarning( Window* pParent )
{
@@ -857,7 +857,7 @@ void Edit::ShowTruncationWarning( Window* pParent )
}
}
-// -----------------------------------------------------------------------
+
bool Edit::ImplTruncateToMaxLen( OUString& rStr, sal_Int32 nSelectionLen ) const
{
@@ -871,7 +871,7 @@ bool Edit::ImplTruncateToMaxLen( OUString& rStr, sal_Int32 nSelectionLen ) const
return bWasTruncated;
}
-// -----------------------------------------------------------------------
+
void Edit::ImplInsertText( const OUString& rStr, const Selection* pNewSel, bool bIsUserInput )
{
@@ -974,7 +974,7 @@ void Edit::ImplInsertText( const OUString& rStr, const Selection* pNewSel, bool
mbInternModified = true;
}
-// -----------------------------------------------------------------------
+
void Edit::ImplSetText( const OUString& rText, const Selection* pNewSelection )
{
@@ -1009,7 +1009,7 @@ void Edit::ImplSetText( const OUString& rText, const Selection* pNewSelection )
}
}
-// -----------------------------------------------------------------------
+
int Edit::ImplGetNativeControlType() const
{
@@ -1140,7 +1140,7 @@ void Edit::ImplPaintBorder( long nXStart, long nXEnd )
}
}
-// -----------------------------------------------------------------------
+
void Edit::ImplShowCursor( bool bOnlyIfVisible )
{
@@ -1222,7 +1222,7 @@ void Edit::ImplShowCursor( bool bOnlyIfVisible )
delete [] pDXBuffer;
}
-// -----------------------------------------------------------------------
+
void Edit::ImplAlign()
{
@@ -1262,7 +1262,7 @@ void Edit::ImplAlign()
}
-// -----------------------------------------------------------------------
+
void Edit::ImplAlignAndPaint()
{
@@ -1271,7 +1271,7 @@ void Edit::ImplAlignAndPaint()
ImplShowCursor();
}
-// -----------------------------------------------------------------------
+
sal_Int32 Edit::ImplGetCharPos( const Point& rWindowPos ) const
{
@@ -1332,7 +1332,7 @@ sal_Int32 Edit::ImplGetCharPos( const Point& rWindowPos ) const
return nIndex;
}
-// -----------------------------------------------------------------------
+
void Edit::ImplSetCursorPos( sal_Int32 nChar, bool bSelect )
{
@@ -1343,7 +1343,7 @@ void Edit::ImplSetCursorPos( sal_Int32 nChar, bool bSelect )
ImplSetSelection( aSelection );
}
-// -----------------------------------------------------------------------
+
void Edit::ImplLoadRes( const ResId& rResId )
{
@@ -1354,7 +1354,7 @@ void Edit::ImplLoadRes( const ResId& rResId )
SetMaxTextLen( nTextLength );
}
-// -----------------------------------------------------------------------
+
void Edit::ImplCopyToSelectionClipboard()
{
@@ -1370,7 +1370,7 @@ void Edit::ImplCopy( uno::Reference< datatransfer::clipboard::XClipboard >& rxCl
::vcl::unohelper::TextDataObject::CopyStringTo( GetSelected(), rxClipboard );
}
-// -----------------------------------------------------------------------
+
void Edit::ImplPaste( uno::Reference< datatransfer::clipboard::XClipboard >& rxClipboard )
{
@@ -1410,7 +1410,7 @@ void Edit::ImplPaste( uno::Reference< datatransfer::clipboard::XClipboard >& rxC
}
}
-// -----------------------------------------------------------------------
+
void Edit::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -1455,7 +1455,7 @@ void Edit::MouseButtonDown( const MouseEvent& rMEvt )
mbInMBDown = false;
}
-// -----------------------------------------------------------------------
+
void Edit::MouseButtonUp( const MouseEvent& rMEvt )
{
@@ -1474,7 +1474,7 @@ void Edit::MouseButtonUp( const MouseEvent& rMEvt )
}
}
-// -----------------------------------------------------------------------
+
void Edit::Tracking( const TrackingEvent& rTEvt )
{
@@ -1504,7 +1504,7 @@ void Edit::Tracking( const TrackingEvent& rTEvt )
mpUpdateDataTimer->Start();//do not update while the user is still travelling in the control
}
-// -----------------------------------------------------------------------
+
bool Edit::ImplHandleKeyEvent( const KeyEvent& rKEvt )
{
@@ -1837,7 +1837,7 @@ bool Edit::ImplHandleKeyEvent( const KeyEvent& rKEvt )
return bDone;
}
-// -----------------------------------------------------------------------
+
void Edit::KeyInput( const KeyEvent& rKEvt )
{
@@ -1848,7 +1848,7 @@ void Edit::KeyInput( const KeyEvent& rKEvt )
Control::KeyInput( rKEvt );
}
-// -----------------------------------------------------------------------
+
void Edit::FillLayoutData() const
{
@@ -1856,7 +1856,7 @@ void Edit::FillLayoutData() const
const_cast<Edit*>(this)->ImplRepaint(true);
}
-// -----------------------------------------------------------------------
+
void Edit::Paint( const Rectangle& )
{
@@ -1864,7 +1864,7 @@ void Edit::Paint( const Rectangle& )
ImplRepaint();
}
-// -----------------------------------------------------------------------
+
void Edit::Resize()
{
@@ -1879,7 +1879,7 @@ void Edit::Resize()
}
}
-// -----------------------------------------------------------------------
+
void Edit::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags )
{
@@ -1968,7 +1968,7 @@ void Edit::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_u
}
}
-// -----------------------------------------------------------------------
+
void Edit::ImplInvalidateOutermostBorder( Window* pWin )
{
@@ -2036,7 +2036,7 @@ void Edit::GetFocus()
Control::GetFocus();
}
-// -----------------------------------------------------------------------
+
Window* Edit::GetPreferredKeyInputWindow()
{
@@ -2046,7 +2046,7 @@ Window* Edit::GetPreferredKeyInputWindow()
return this;
}
-// -----------------------------------------------------------------------
+
void Edit::LoseFocus()
{
@@ -2075,7 +2075,7 @@ void Edit::LoseFocus()
Control::LoseFocus();
}
-// -----------------------------------------------------------------------
+
void Edit::Command( const CommandEvent& rCEvt )
{
@@ -2314,7 +2314,7 @@ void Edit::Command( const CommandEvent& rCEvt )
Control::Command( rCEvt );
}
-// -----------------------------------------------------------------------
+
void Edit::StateChanged( StateChangedType nType )
{
@@ -2415,7 +2415,7 @@ void Edit::StateChanged( StateChangedType nType )
Control::StateChanged( nType );
}
-// -----------------------------------------------------------------------
+
void Edit::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -2435,7 +2435,7 @@ void Edit::DataChanged( const DataChangedEvent& rDCEvt )
Control::DataChanged( rDCEvt );
}
-// -----------------------------------------------------------------------
+
void Edit::ImplShowDDCursor()
{
@@ -2452,7 +2452,7 @@ void Edit::ImplShowDDCursor()
}
}
-// -----------------------------------------------------------------------
+
void Edit::ImplHideDDCursor()
{
@@ -2463,7 +2463,7 @@ void Edit::ImplHideDDCursor()
}
}
-// -----------------------------------------------------------------------
+
void Edit::Modify()
{
@@ -2493,14 +2493,14 @@ void Edit::Modify()
}
}
-// -----------------------------------------------------------------------
+
void Edit::UpdateData()
{
maUpdateDataHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(Edit, ImplUpdateDataHdl)
{
@@ -2508,7 +2508,7 @@ IMPL_LINK_NOARG(Edit, ImplUpdateDataHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
void Edit::EnableUpdateData( sal_uLong nTimeout )
{
@@ -2526,7 +2526,7 @@ void Edit::EnableUpdateData( sal_uLong nTimeout )
}
}
-// -----------------------------------------------------------------------
+
void Edit::SetEchoChar( sal_Unicode c )
{
@@ -2535,7 +2535,7 @@ void Edit::SetEchoChar( sal_Unicode c )
mpSubEdit->SetEchoChar( c );
}
-// -----------------------------------------------------------------------
+
void Edit::SetReadOnly( sal_Bool bReadOnly )
{
@@ -2549,7 +2549,7 @@ void Edit::SetReadOnly( sal_Bool bReadOnly )
}
}
-// -----------------------------------------------------------------------
+
void Edit::SetAutocompleteHdl( const Link& rHdl )
{
@@ -2558,7 +2558,7 @@ void Edit::SetAutocompleteHdl( const Link& rHdl )
mpSubEdit->SetAutocompleteHdl( rHdl );
}
-// -----------------------------------------------------------------------
+
void Edit::SetInsertMode( bool bInsert )
{
@@ -2572,7 +2572,7 @@ void Edit::SetInsertMode( bool bInsert )
}
}
-// -----------------------------------------------------------------------
+
bool Edit::IsInsertMode() const
{
@@ -2582,7 +2582,7 @@ bool Edit::IsInsertMode() const
return mbInsertMode;
}
-// -----------------------------------------------------------------------
+
void Edit::SetMaxTextLen(sal_Int32 nMaxLen)
{
@@ -2597,7 +2597,7 @@ void Edit::SetMaxTextLen(sal_Int32 nMaxLen)
}
}
-// -----------------------------------------------------------------------
+
void Edit::SetSelection( const Selection& rSelection )
{
@@ -2611,7 +2611,7 @@ void Edit::SetSelection( const Selection& rSelection )
ImplSetSelection( rSelection );
}
-// -----------------------------------------------------------------------
+
void Edit::ImplSetSelection( const Selection& rSelection, bool bPaint )
{
@@ -2675,7 +2675,7 @@ void Edit::ImplSetSelection( const Selection& rSelection, bool bPaint )
}
}
-// -----------------------------------------------------------------------
+
const Selection& Edit::GetSelection() const
{
@@ -2685,7 +2685,7 @@ const Selection& Edit::GetSelection() const
return maSelection;
}
-// -----------------------------------------------------------------------
+
void Edit::ReplaceSelected( const OUString& rStr )
{
@@ -2695,7 +2695,7 @@ void Edit::ReplaceSelected( const OUString& rStr )
ImplInsertText( rStr );
}
-// -----------------------------------------------------------------------
+
void Edit::DeleteSelected()
{
@@ -2708,7 +2708,7 @@ void Edit::DeleteSelected()
}
}
-// -----------------------------------------------------------------------
+
OUString Edit::GetSelected() const
{
@@ -2722,7 +2722,7 @@ OUString Edit::GetSelected() const
}
}
-// -----------------------------------------------------------------------
+
void Edit::Cut()
{
@@ -2733,7 +2733,7 @@ void Edit::Cut()
}
}
-// -----------------------------------------------------------------------
+
void Edit::Copy()
{
@@ -2744,7 +2744,7 @@ void Edit::Copy()
}
}
-// -----------------------------------------------------------------------
+
void Edit::Paste()
{
@@ -2752,7 +2752,7 @@ void Edit::Paste()
ImplPaste( aClipboard );
}
-// -----------------------------------------------------------------------
+
void Edit::Undo()
{
@@ -2768,7 +2768,7 @@ void Edit::Undo()
}
}
-// -----------------------------------------------------------------------
+
void Edit::SetText( const OUString& rStr )
{
@@ -2781,7 +2781,7 @@ void Edit::SetText( const OUString& rStr )
}
}
-// -----------------------------------------------------------------------
+
void Edit::SetText( const OUString& rStr, const Selection& rSelection )
{
@@ -2791,7 +2791,7 @@ void Edit::SetText( const OUString& rStr, const Selection& rSelection )
ImplSetText( rStr, &rSelection );
}
-// -----------------------------------------------------------------------
+
OUString Edit::GetText() const
{
@@ -2801,7 +2801,7 @@ OUString Edit::GetText() const
return maText.toString();
}
-// -----------------------------------------------------------------------
+
void Edit::SetPlaceholderText( const OUString& rStr )
{
@@ -2815,7 +2815,7 @@ void Edit::SetPlaceholderText( const OUString& rStr )
}
}
-// -----------------------------------------------------------------------
+
OUString Edit::GetPlaceholderText() const
{
@@ -2825,7 +2825,7 @@ OUString Edit::GetPlaceholderText() const
return maPlaceholderText;
}
-// -----------------------------------------------------------------------
+
void Edit::SetModifyFlag()
{
@@ -2835,7 +2835,7 @@ void Edit::SetModifyFlag()
mbModified = true;
}
-// -----------------------------------------------------------------------
+
void Edit::ClearModifyFlag()
{
@@ -2845,7 +2845,7 @@ void Edit::ClearModifyFlag()
mbModified = false;
}
-// -----------------------------------------------------------------------
+
void Edit::SetSubEdit( Edit* pEdit )
{
@@ -2927,14 +2927,14 @@ Size Edit::GetMinimumEditSize()
return aSize;
}
-// -----------------------------------------------------------------------
+
Size Edit::GetOptimalSize() const
{
return CalcMinimumSize();
}
-// -----------------------------------------------------------------------
+
Size Edit::CalcSize(sal_Int32 nChars) const
{
@@ -2947,7 +2947,7 @@ Size Edit::CalcSize(sal_Int32 nChars) const
return aSz;
}
-// -----------------------------------------------------------------------
+
sal_Int32 Edit::GetMaxVisChars() const
{
@@ -2957,28 +2957,28 @@ sal_Int32 Edit::GetMaxVisChars() const
return nCharWidth ? nOutWidth/nCharWidth : 0;
}
-// -----------------------------------------------------------------------
+
sal_Int32 Edit::GetCharPos( const Point& rWindowPos ) const
{
return ImplGetCharPos( rWindowPos );
}
-// -----------------------------------------------------------------------
+
void Edit::SetGetSpecialCharsFunction( FncGetSpecialChars fn )
{
pImplFncGetSpecialChars = fn;
}
-// -----------------------------------------------------------------------
+
FncGetSpecialChars Edit::GetGetSpecialCharsFunction()
{
return pImplFncGetSpecialChars;
}
-// -----------------------------------------------------------------------
+
PopupMenu* Edit::CreatePopupMenu()
{
@@ -3005,7 +3005,7 @@ PopupMenu* Edit::CreatePopupMenu()
return pPopup;
}
-// -----------------------------------------------------------------------
+
void Edit::DeletePopupMenu( PopupMenu* pMenu )
{
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index 695d3ae6b8e7..ebe5367ef907 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -94,7 +94,7 @@ void FixedText::ImplInit( Window* pParent, WinBits nStyle )
ImplInitSettings( true, true, true );
}
-// -----------------------------------------------------------------------
+
WinBits FixedText::ImplInitStyle( WinBits nStyle )
{
@@ -103,20 +103,20 @@ WinBits FixedText::ImplInitStyle( WinBits nStyle )
return nStyle;
}
-// -----------------------------------------------------------------
+
const Font& FixedText::GetCanonicalFont( const StyleSettings& _rStyle ) const
{
return ( GetStyle() & WB_INFO ) ? _rStyle.GetInfoFont() : _rStyle.GetLabelFont();
}
-// -----------------------------------------------------------------
+
const Color& FixedText::GetCanonicalTextColor( const StyleSettings& _rStyle ) const
{
return ( GetStyle() & WB_INFO ) ? _rStyle.GetInfoTextColor() : _rStyle.GetLabelTextColor();
}
-// -----------------------------------------------------------------------
+
void FixedText::ImplInitSettings( bool bFont,
bool bForeground, bool bBackground )
@@ -147,7 +147,7 @@ void FixedText::ImplInitSettings( bool bFont,
}
}
-// -----------------------------------------------------------------------
+
FixedText::FixedText( Window* pParent, WinBits nStyle )
: Control(WINDOW_FIXEDTEXT)
@@ -158,7 +158,7 @@ FixedText::FixedText( Window* pParent, WinBits nStyle )
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
FixedText::FixedText( Window* pParent, const ResId& rResId )
: Control(WINDOW_FIXEDTEXT)
@@ -175,7 +175,7 @@ FixedText::FixedText( Window* pParent, const ResId& rResId )
Show();
}
-// -----------------------------------------------------------------------
+
sal_uInt16 FixedText::ImplGetTextStyle( WinBits nWinStyle )
{
@@ -208,7 +208,7 @@ sal_uInt16 FixedText::ImplGetTextStyle( WinBits nWinStyle )
return nTextStyle;
}
-// -----------------------------------------------------------------------
+
void FixedText::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize,
@@ -256,14 +256,14 @@ void FixedText::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
);
}
-// -----------------------------------------------------------------------
+
void FixedText::Paint( const Rectangle& )
{
ImplDraw( this, 0, Point(), GetOutputSizePixel() );
}
-// -----------------------------------------------------------------------
+
void FixedText::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
sal_uLong nFlags )
@@ -303,7 +303,7 @@ void FixedText::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
pDev->Pop();
}
-// -----------------------------------------------------------------------
+
void FixedText::Resize()
{
@@ -311,7 +311,7 @@ void FixedText::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void FixedText::StateChanged( StateChangedType nType )
{
@@ -352,7 +352,7 @@ void FixedText::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void FixedText::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -368,7 +368,7 @@ void FixedText::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
Size FixedText::getTextDimensions(Control const *pControl, const OUString &rTxt, long nMaxWidth)
{
@@ -401,7 +401,7 @@ Size FixedText::CalcMinimumSize( long nMaxWidth ) const
{
return CalcWindowSize( CalcMinimumTextSize ( this, nMaxWidth ) );
}
-// -----------------------------------------------------------------------
+
Size FixedText::GetOptimalSize() const
{
@@ -425,7 +425,7 @@ Size FixedText::GetOptimalSize() const
return aRet;
}
-// -----------------------------------------------------------------------
+
void FixedText::FillLayoutData() const
{
@@ -514,7 +514,7 @@ SelectableFixedText::SelectableFixedText(Window* pParent, WinBits nStyle)
SetPaintTransparent( true );
}
-// -----------------------------------------------------------------------
+
void SelectableFixedText::LoseFocus()
{
@@ -532,7 +532,7 @@ void FixedLine::ImplInit( Window* pParent, WinBits nStyle )
ImplInitSettings( true, true, true );
}
-// -----------------------------------------------------------------------
+
WinBits FixedLine::ImplInitStyle( WinBits nStyle )
{
@@ -541,20 +541,20 @@ WinBits FixedLine::ImplInitStyle( WinBits nStyle )
return nStyle;
}
-// -----------------------------------------------------------------
+
const Font& FixedLine::GetCanonicalFont( const StyleSettings& _rStyle ) const
{
return _rStyle.GetGroupFont();
}
-// -----------------------------------------------------------------
+
const Color& FixedLine::GetCanonicalTextColor( const StyleSettings& _rStyle ) const
{
return _rStyle.GetGroupTextColor();
}
-// -----------------------------------------------------------------------
+
void FixedLine::ImplInitSettings( bool bFont,
bool bForeground, bool bBackground )
@@ -585,7 +585,7 @@ void FixedLine::ImplInitSettings( bool bFont,
}
}
-// -----------------------------------------------------------------------
+
void FixedLine::ImplDraw( bool bLayout )
{
@@ -660,7 +660,7 @@ void FixedLine::ImplDraw( bool bLayout )
}
}
-// -----------------------------------------------------------------------
+
FixedLine::FixedLine( Window* pParent, WinBits nStyle ) :
Control( WINDOW_FIXEDLINE )
@@ -669,7 +669,7 @@ FixedLine::FixedLine( Window* pParent, WinBits nStyle ) :
SetSizePixel( Size( 2, 2 ) );
}
-// -----------------------------------------------------------------------
+
FixedLine::FixedLine( Window* pParent, const ResId& rResId ) :
Control( WINDOW_FIXEDLINE )
@@ -683,7 +683,7 @@ FixedLine::FixedLine( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
void FixedLine::FillLayoutData() const
{
@@ -692,20 +692,20 @@ void FixedLine::FillLayoutData() const
}
-// -----------------------------------------------------------------------
+
void FixedLine::Paint( const Rectangle& )
{
ImplDraw();
}
-// -----------------------------------------------------------------------
+
void FixedLine::Draw( OutputDevice*, const Point&, const Size&, sal_uLong )
{
}
-// -----------------------------------------------------------------------
+
void FixedLine::Resize()
{
@@ -713,7 +713,7 @@ void FixedLine::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void FixedLine::StateChanged( StateChangedType nType )
{
@@ -752,7 +752,7 @@ void FixedLine::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void FixedLine::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -768,7 +768,7 @@ void FixedLine::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
Size FixedLine::GetOptimalSize() const
{
@@ -784,7 +784,7 @@ void FixedBitmap::ImplInit( Window* pParent, WinBits nStyle )
ImplInitSettings();
}
-// -----------------------------------------------------------------------
+
WinBits FixedBitmap::ImplInitStyle( WinBits nStyle )
{
@@ -793,7 +793,7 @@ WinBits FixedBitmap::ImplInitStyle( WinBits nStyle )
return nStyle;
}
-// -----------------------------------------------------------------------
+
void FixedBitmap::ImplInitSettings()
{
@@ -818,7 +818,7 @@ void FixedBitmap::ImplInitSettings()
}
}
-// -----------------------------------------------------------------------
+
void FixedBitmap::ImplLoadRes( const ResId& rResId )
{
@@ -833,7 +833,7 @@ void FixedBitmap::ImplLoadRes( const ResId& rResId )
}
}
-// -----------------------------------------------------------------------
+
FixedBitmap::FixedBitmap( Window* pParent, WinBits nStyle ) :
Control( WINDOW_FIXEDBITMAP )
@@ -841,7 +841,7 @@ FixedBitmap::FixedBitmap( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
FixedBitmap::FixedBitmap( Window* pParent, const ResId& rResId ) :
Control( WINDOW_FIXEDBITMAP )
@@ -855,13 +855,13 @@ FixedBitmap::FixedBitmap( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
FixedBitmap::~FixedBitmap()
{
}
-// -----------------------------------------------------------------------
+
void FixedBitmap::ImplDraw( OutputDevice* pDev, sal_uLong /* nDrawFlags */,
const Point& rPos, const Size& rSize )
@@ -881,14 +881,14 @@ void FixedBitmap::ImplDraw( OutputDevice* pDev, sal_uLong /* nDrawFlags */,
}
}
-// -----------------------------------------------------------------------
+
void FixedBitmap::Paint( const Rectangle& )
{
ImplDraw( this, 0, Point(), GetOutputSizePixel() );
}
-// -----------------------------------------------------------------------
+
void FixedBitmap::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
sal_uLong nFlags )
@@ -912,7 +912,7 @@ void FixedBitmap::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize
pDev->Pop();
}
-// -----------------------------------------------------------------------
+
void FixedBitmap::Resize()
{
@@ -920,7 +920,7 @@ void FixedBitmap::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void FixedBitmap::StateChanged( StateChangedType nType )
{
@@ -946,7 +946,7 @@ void FixedBitmap::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void FixedBitmap::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -960,7 +960,7 @@ void FixedBitmap::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
void FixedBitmap::SetBitmap( const Bitmap& rBitmap )
{
@@ -979,7 +979,7 @@ void FixedImage::ImplInit( Window* pParent, WinBits nStyle )
ImplInitSettings();
}
-// -----------------------------------------------------------------------
+
WinBits FixedImage::ImplInitStyle( WinBits nStyle )
{
@@ -988,7 +988,7 @@ WinBits FixedImage::ImplInitStyle( WinBits nStyle )
return nStyle;
}
-// -----------------------------------------------------------------------
+
void FixedImage::ImplInitSettings()
{
@@ -1013,7 +1013,7 @@ void FixedImage::ImplInitSettings()
}
}
-// -----------------------------------------------------------------------
+
void FixedImage::ImplLoadRes( const ResId& rResId )
{
@@ -1028,7 +1028,7 @@ void FixedImage::ImplLoadRes( const ResId& rResId )
}
}
-// -----------------------------------------------------------------------
+
FixedImage::FixedImage( Window* pParent, WinBits nStyle ) :
Control( WINDOW_FIXEDIMAGE )
@@ -1036,7 +1036,7 @@ FixedImage::FixedImage( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
FixedImage::FixedImage( Window* pParent, const ResId& rResId ) :
Control( WINDOW_FIXEDIMAGE )
@@ -1050,13 +1050,13 @@ FixedImage::FixedImage( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
FixedImage::~FixedImage()
{
}
-// -----------------------------------------------------------------------
+
void FixedImage::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize )
@@ -1088,27 +1088,27 @@ void FixedImage::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
mbInUserDraw = false;
}
-// -----------------------------------------------------------------------
+
void FixedImage::Paint( const Rectangle& )
{
ImplDraw( this, 0, Point(), GetOutputSizePixel() );
}
-// -----------------------------------------------------------------------
+
Size FixedImage::GetOptimalSize() const
{
return maImage.GetSizePixel();
}
-// -----------------------------------------------------------------------
+
void FixedImage::UserDraw( const UserDrawEvent& )
{
}
-// -----------------------------------------------------------------------
+
void FixedImage::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
sal_uLong nFlags )
@@ -1131,7 +1131,7 @@ void FixedImage::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
pDev->Pop();
}
-// -----------------------------------------------------------------------
+
void FixedImage::Resize()
{
@@ -1139,7 +1139,7 @@ void FixedImage::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void FixedImage::StateChanged( StateChangedType nType )
{
@@ -1166,7 +1166,7 @@ void FixedImage::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void FixedImage::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -1180,7 +1180,7 @@ void FixedImage::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
void FixedImage::SetImage( const Image& rImage )
{
@@ -1192,7 +1192,7 @@ void FixedImage::SetImage( const Image& rImage )
}
}
-// -----------------------------------------------------------------------
+
bool FixedImage::SetModeImage( const Image& rImage )
{
@@ -1200,7 +1200,7 @@ bool FixedImage::SetModeImage( const Image& rImage )
return true;
}
-// -----------------------------------------------------------------------
+
const Image& FixedImage::GetModeImage( ) const
{
diff --git a/vcl/source/control/group.cxx b/vcl/source/control/group.cxx
index 8e1ef5bf1f51..47fd9e25c8db 100644
--- a/vcl/source/control/group.cxx
+++ b/vcl/source/control/group.cxx
@@ -43,7 +43,7 @@ void GroupBox::ImplInit( Window* pParent, WinBits nStyle )
ImplInitSettings( true, true, true );
}
-// -----------------------------------------------------------------------
+
WinBits GroupBox::ImplInitStyle( WinBits nStyle )
{
@@ -52,20 +52,20 @@ WinBits GroupBox::ImplInitStyle( WinBits nStyle )
return nStyle;
}
-// -----------------------------------------------------------------
+
const Font& GroupBox::GetCanonicalFont( const StyleSettings& _rStyle ) const
{
return _rStyle.GetGroupFont();
}
-// -----------------------------------------------------------------
+
const Color& GroupBox::GetCanonicalTextColor( const StyleSettings& _rStyle ) const
{
return _rStyle.GetGroupTextColor();
}
-// -----------------------------------------------------------------------
+
void GroupBox::ImplInitSettings( bool bFont,
bool bForeground, bool bBackground )
@@ -98,7 +98,7 @@ void GroupBox::ImplInitSettings( bool bFont,
}
}
-// -----------------------------------------------------------------------
+
GroupBox::GroupBox( Window* pParent, WinBits nStyle ) :
Control( WINDOW_GROUPBOX )
@@ -106,7 +106,7 @@ GroupBox::GroupBox( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
GroupBox::GroupBox( Window* pParent, const ResId& rResId ) :
Control( WINDOW_GROUPBOX )
@@ -120,7 +120,7 @@ GroupBox::GroupBox( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
void GroupBox::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
const Point& rPos, const Size& rSize, bool bLayout )
@@ -212,7 +212,7 @@ void GroupBox::ImplDraw( OutputDevice* pDev, sal_uLong nDrawFlags,
DrawControlText( *pDev, aRect, aText, nTextStyle, pVector, pDisplayText );
}
-// -----------------------------------------------------------------------
+
void GroupBox::FillLayoutData() const
{
@@ -220,14 +220,14 @@ void GroupBox::FillLayoutData() const
const_cast<GroupBox*>(this)-> ImplDraw( const_cast<GroupBox*>(this), 0, Point(), GetOutputSizePixel(), true );
}
-// -----------------------------------------------------------------------
+
void GroupBox::Paint( const Rectangle& )
{
ImplDraw( this, 0, Point(), GetOutputSizePixel() );
}
-// -----------------------------------------------------------------------
+
void GroupBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
sal_uLong nFlags )
@@ -249,7 +249,7 @@ void GroupBox::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize,
pDev->Pop();
}
-// -----------------------------------------------------------------------
+
void GroupBox::Resize()
{
@@ -257,7 +257,7 @@ void GroupBox::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void GroupBox::StateChanged( StateChangedType nType )
{
@@ -295,7 +295,7 @@ void GroupBox::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void GroupBox::DataChanged( const DataChangedEvent& rDCEvt )
{
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 9d1b2f60cabf..252fb7f67552 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -76,7 +76,7 @@ void ImplInitFieldSettings( Window* pWin, bool bFont, bool bForeground, bool bBa
}
}
-// -----------------------------------------------------------------------
+
void ImplInitDropDownButton( PushButton* pButton )
{
@@ -104,14 +104,14 @@ ImplEntryList::ImplEntryList( Window* pWindow )
mnMaxMRUCount = 0;
}
-// -----------------------------------------------------------------------
+
ImplEntryList::~ImplEntryList()
{
Clear();
}
-// -----------------------------------------------------------------------
+
void ImplEntryList::Clear()
{
@@ -119,7 +119,7 @@ void ImplEntryList::Clear()
maEntries.clear();
}
-// -----------------------------------------------------------------------
+
void ImplEntryList::SelectEntry( sal_uInt16 nPos, bool bSelect )
{
@@ -249,7 +249,7 @@ sal_uInt16 ImplEntryList::InsertEntry( sal_uInt16 nPos, ImplEntryType* pNewEntry
return insPos;
}
-// -----------------------------------------------------------------------
+
void ImplEntryList::RemoveEntry( sal_uInt16 nPos )
{
@@ -264,7 +264,7 @@ void ImplEntryList::RemoveEntry( sal_uInt16 nPos )
}
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplEntryList::FindEntry( const OUString& rString, bool bSearchMRUArea ) const
{
@@ -278,7 +278,7 @@ sal_uInt16 ImplEntryList::FindEntry( const OUString& rString, bool bSearchMRUAre
return LISTBOX_ENTRY_NOTFOUND;
}
- // -----------------------------------------------------------------------
+
sal_uInt16 ImplEntryList::FindMatchingEntry( const OUString& rStr, sal_uInt16 nStart, bool bForward, bool bLazy ) const
{
@@ -316,7 +316,7 @@ sal_uInt16 ImplEntryList::FindMatchingEntry( const OUString& rStr, sal_uInt16 nS
return nPos;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplEntryList::FindEntry( const void* pData ) const
{
@@ -333,7 +333,7 @@ sal_uInt16 ImplEntryList::FindEntry( const void* pData ) const
return nPos;
}
-// -----------------------------------------------------------------------
+
long ImplEntryList::GetAddedHeight( sal_uInt16 i_nEndIndex, sal_uInt16 i_nBeginIndex, long i_nBeginHeight ) const
{
@@ -361,7 +361,7 @@ long ImplEntryList::GetAddedHeight( sal_uInt16 i_nEndIndex, sal_uInt16 i_nBeginI
return i_nEndIndex > i_nBeginIndex ? nHeight : -nHeight;
}
-// -----------------------------------------------------------------------
+
long ImplEntryList::GetEntryHeight( sal_uInt16 nPos ) const
{
@@ -369,7 +369,7 @@ long ImplEntryList::GetEntryHeight( sal_uInt16 nPos ) const
return pImplEntry ? pImplEntry->mnHeight : 0;
}
-// -----------------------------------------------------------------------
+
OUString ImplEntryList::GetEntryText( sal_uInt16 nPos ) const
{
@@ -380,7 +380,7 @@ OUString ImplEntryList::GetEntryText( sal_uInt16 nPos ) const
return aEntryText;
}
-// -----------------------------------------------------------------------
+
bool ImplEntryList::HasEntryImage( sal_uInt16 nPos ) const
{
@@ -391,7 +391,7 @@ bool ImplEntryList::HasEntryImage( sal_uInt16 nPos ) const
return bImage;
}
-// -----------------------------------------------------------------------
+
Image ImplEntryList::GetEntryImage( sal_uInt16 nPos ) const
{
@@ -402,7 +402,7 @@ Image ImplEntryList::GetEntryImage( sal_uInt16 nPos ) const
return aImage;
}
-// -----------------------------------------------------------------------
+
void ImplEntryList::SetEntryData( sal_uInt16 nPos, void* pNewData )
{
@@ -411,7 +411,7 @@ void ImplEntryList::SetEntryData( sal_uInt16 nPos, void* pNewData )
pImplEntry->mpUserData = pNewData;
}
-// -----------------------------------------------------------------------
+
void* ImplEntryList::GetEntryData( sal_uInt16 nPos ) const
{
@@ -419,7 +419,7 @@ void* ImplEntryList::GetEntryData( sal_uInt16 nPos ) const
return pImplEntry ? pImplEntry->mpUserData : NULL;
}
-// -----------------------------------------------------------------------
+
void ImplEntryList::SetEntryFlags( sal_uInt16 nPos, long nFlags )
{
@@ -428,7 +428,7 @@ void ImplEntryList::SetEntryFlags( sal_uInt16 nPos, long nFlags )
pImplEntry->mnFlags = nFlags;
}
-// -----------------------------------------------------------------------
+
long ImplEntryList::GetEntryFlags( sal_uInt16 nPos ) const
{
@@ -436,7 +436,7 @@ long ImplEntryList::GetEntryFlags( sal_uInt16 nPos ) const
return pImplEntry ? pImplEntry->mnFlags : 0;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplEntryList::GetSelectEntryCount() const
{
@@ -450,14 +450,14 @@ sal_uInt16 ImplEntryList::GetSelectEntryCount() const
return nSelCount;
}
-// -----------------------------------------------------------------------
+
OUString ImplEntryList::GetSelectEntry( sal_uInt16 nIndex ) const
{
return GetEntryText( GetSelectEntryPos( nIndex ) );
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplEntryList::GetSelectEntryPos( sal_uInt16 nIndex ) const
{
@@ -482,7 +482,7 @@ sal_uInt16 ImplEntryList::GetSelectEntryPos( sal_uInt16 nIndex ) const
return nSelEntryPos;
}
-// -----------------------------------------------------------------------
+
bool ImplEntryList::IsEntryPosSelected( sal_uInt16 nIndex ) const
{
@@ -490,7 +490,7 @@ bool ImplEntryList::IsEntryPosSelected( sal_uInt16 nIndex ) const
return pImplEntry ? pImplEntry->mbIsSelected : sal_False;
}
-// -----------------------------------------------------------------------
+
bool ImplEntryList::IsEntrySelectable( sal_uInt16 nPos ) const
{
@@ -498,7 +498,7 @@ bool ImplEntryList::IsEntrySelectable( sal_uInt16 nPos ) const
return pImplEntry ? ((pImplEntry->mnFlags & LISTBOX_ENTRY_FLAG_DISABLE_SELECTION) == 0) : true;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplEntryList::FindFirstSelectable( sal_uInt16 nPos, bool bForward /* = true */ )
{
@@ -574,21 +574,21 @@ ImplListBoxWindow::ImplListBoxWindow( Window* pParent, WinBits nWinStyle ) :
ImplCalcMetrics();
}
-// -----------------------------------------------------------------------
+
ImplListBoxWindow::~ImplListBoxWindow()
{
delete mpEntryList;
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::ImplInitSettings( bool bFont, bool bForeground, bool bBackground )
{
ImplInitFieldSettings( this, bFont, bForeground, bBackground );
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::ImplCalcMetrics()
{
@@ -620,7 +620,7 @@ void ImplListBoxWindow::ImplCalcMetrics()
}
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::Clear()
{
@@ -650,7 +650,7 @@ void ImplListBoxWindow::SetUserItemSize( const Size& rSz )
ImplCalcMetrics();
}
-// -----------------------------------------------------------------------
+
struct ImplEntryMetrics
{
@@ -663,7 +663,7 @@ struct ImplEntryMetrics
long nImgHeight;
};
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::EnableQuickSelection( const bool& b )
{
maQuickSelectionEngine.SetEnabled( b );
@@ -751,7 +751,7 @@ void ImplListBoxWindow::ImplUpdateEntryMetrics( ImplEntryType& rEntry )
rEntry.mnHeight = aMetrics.nEntryHeight;
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::ImplCallSelect()
{
@@ -794,7 +794,7 @@ void ImplListBoxWindow::ImplCallSelect()
mbSelectionChanged = false;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplListBoxWindow::InsertEntry( sal_uInt16 nPos, ImplEntryType* pNewEntry )
{
@@ -808,7 +808,7 @@ sal_uInt16 ImplListBoxWindow::InsertEntry( sal_uInt16 nPos, ImplEntryType* pNewE
return nNewPos;
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::RemoveEntry( sal_uInt16 nPos )
{
@@ -819,7 +819,7 @@ void ImplListBoxWindow::RemoveEntry( sal_uInt16 nPos )
ImplCalcMetrics();
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::SetEntryFlags( sal_uInt16 nPos, long nFlags )
{
@@ -829,7 +829,7 @@ void ImplListBoxWindow::SetEntryFlags( sal_uInt16 nPos, long nFlags )
ImplUpdateEntryMetrics( *pEntry );
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::ImplShowFocusRect()
{
@@ -839,7 +839,7 @@ void ImplListBoxWindow::ImplShowFocusRect()
mbHasFocusRect = true;
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::ImplHideFocusRect()
{
@@ -851,7 +851,7 @@ void ImplListBoxWindow::ImplHideFocusRect()
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplListBoxWindow::GetEntryPosForPoint( const Point& rPoint ) const
{
@@ -870,7 +870,7 @@ sal_uInt16 ImplListBoxWindow::GetEntryPosForPoint( const Point& rPoint ) const
return nSelect;
}
-// -----------------------------------------------------------------------
+
bool ImplListBoxWindow::IsVisible( sal_uInt16 i_nEntry ) const
{
@@ -888,7 +888,7 @@ bool ImplListBoxWindow::IsVisible( sal_uInt16 i_nEntry ) const
return bRet;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplListBoxWindow::GetLastVisibleEntry() const
{
@@ -908,7 +908,7 @@ sal_uInt16 ImplListBoxWindow::GetLastVisibleEntry() const
return nPos;
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -949,7 +949,7 @@ void ImplListBoxWindow::MouseButtonDown( const MouseEvent& rMEvt )
}
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::MouseMove( const MouseEvent& rMEvt )
{
@@ -1030,7 +1030,7 @@ void ImplListBoxWindow::MouseMove( const MouseEvent& rMEvt )
}
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::DeselectAll()
{
@@ -1041,7 +1041,7 @@ void ImplListBoxWindow::DeselectAll()
}
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::SelectEntry( sal_uInt16 nPos, bool bSelect )
{
@@ -1092,7 +1092,7 @@ void ImplListBoxWindow::SelectEntry( sal_uInt16 nPos, bool bSelect )
}
}
-// -----------------------------------------------------------------------
+
bool ImplListBoxWindow::SelectEntries( sal_uInt16 nSelect, LB_EVENT_TYPE eLET, bool bShift, bool bCtrl, bool bSelectPosChange /*=FALSE*/ )
{
@@ -1249,7 +1249,7 @@ bool ImplListBoxWindow::SelectEntries( sal_uInt16 nSelect, LB_EVENT_TYPE eLET, b
return bSelectionChanged;
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::Tracking( const TrackingEvent& rTEvt )
{
@@ -1418,7 +1418,7 @@ void ImplListBoxWindow::Tracking( const TrackingEvent& rTEvt )
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::KeyInput( const KeyEvent& rKEvt )
{
@@ -1426,7 +1426,7 @@ void ImplListBoxWindow::KeyInput( const KeyEvent& rKEvt )
Control::KeyInput( rKEvt );
}
-// -----------------------------------------------------------------------
+
bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
{
@@ -1715,7 +1715,7 @@ bool ImplListBoxWindow::ProcessKeyInput( const KeyEvent& rKEvt )
return bDone;
}
-// -----------------------------------------------------------------------
+
namespace
{
static ::vcl::StringEntryIdentifier lcl_getEntry( const ImplEntryList& _rList, sal_uInt16 _nPos, OUString& _out_entryText )
@@ -1738,20 +1738,20 @@ namespace
}
}
-// -----------------------------------------------------------------------
+
::vcl::StringEntryIdentifier ImplListBoxWindow::CurrentEntry( OUString& _out_entryText ) const
{
return lcl_getEntry( *GetEntryList(), ( mnCurrentPos == LISTBOX_ENTRY_NOTFOUND ) ? 0 : mnCurrentPos + 1, _out_entryText );
}
-// -----------------------------------------------------------------------
+
::vcl::StringEntryIdentifier ImplListBoxWindow::NextEntry( ::vcl::StringEntryIdentifier _currentEntry, OUString& _out_entryText ) const
{
sal_uInt16 nNextPos = lcl_getEntryPos( _currentEntry ) + 1;
return lcl_getEntry( *GetEntryList(), nNextPos, _out_entryText );
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::SelectEntry( ::vcl::StringEntryIdentifier _entry )
{
sal_uInt16 nSelect = lcl_getEntryPos( _entry );
@@ -1781,7 +1781,7 @@ void ImplListBoxWindow::SelectEntry( ::vcl::StringEntryIdentifier _entry )
}
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::ImplPaint( sal_uInt16 nPos, bool bErase, bool bLayout )
{
@@ -1838,7 +1838,7 @@ void ImplListBoxWindow::ImplPaint( sal_uInt16 nPos, bool bErase, bool bLayout )
}
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::DrawEntry( sal_uInt16 nPos, bool bDrawImage, bool bDrawText, bool bDrawTextAtImagePos, bool bLayout )
{
@@ -1958,7 +1958,7 @@ void ImplListBoxWindow::DrawEntry( sal_uInt16 nPos, bool bDrawImage, bool bDrawT
}
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::FillLayoutData() const
{
@@ -1967,7 +1967,7 @@ void ImplListBoxWindow::FillLayoutData() const
ImplDoPaint( Rectangle( Point( 0, 0 ), GetOutputSize() ), true );
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::ImplDoPaint( const Rectangle& rRect, bool bLayout )
{
@@ -1999,14 +1999,14 @@ void ImplListBoxWindow::ImplDoPaint( const Rectangle& rRect, bool bLayout )
ImplShowFocusRect();
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::Paint( const Rectangle& rRect )
{
ImplDoPaint( rRect );
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplListBoxWindow::GetDisplayLineCount() const
{
@@ -2021,7 +2021,7 @@ sal_uInt16 ImplListBoxWindow::GetDisplayLineCount() const
return nEntries;
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::Resize()
{
@@ -2043,7 +2043,7 @@ void ImplListBoxWindow::Resize()
ImplClearLayoutData();
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::GetFocus()
{
@@ -2058,7 +2058,7 @@ void ImplListBoxWindow::GetFocus()
Control::GetFocus();
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::LoseFocus()
{
@@ -2066,7 +2066,7 @@ void ImplListBoxWindow::LoseFocus()
Control::LoseFocus();
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::SetTopEntry( sal_uInt16 nTop )
{
@@ -2097,7 +2097,7 @@ void ImplListBoxWindow::SetTopEntry( sal_uInt16 nTop )
}
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::ShowProminentEntry( sal_uInt16 nEntryPos )
{
@@ -2111,14 +2111,14 @@ void ImplListBoxWindow::ShowProminentEntry( sal_uInt16 nEntryPos )
SetTopEntry( nEntryPos );
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::SetLeftIndent( long n )
{
ScrollHorz( n - mnLeft );
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::ScrollHorz( long n )
{
@@ -2152,7 +2152,7 @@ void ImplListBoxWindow::ScrollHorz( long n )
}
}
-// -----------------------------------------------------------------------
+
Size ImplListBoxWindow::CalcSize(sal_Int32 nMaxLines) const
{
@@ -2164,7 +2164,7 @@ Size ImplListBoxWindow::CalcSize(sal_Int32 nMaxLines) const
return aSz;
}
-// -----------------------------------------------------------------------
+
Rectangle ImplListBoxWindow::GetBoundingRectangle( sal_uInt16 nItem ) const
{
@@ -2175,7 +2175,7 @@ Rectangle ImplListBoxWindow::GetBoundingRectangle( sal_uInt16 nItem ) const
return aRect;
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::StateChanged( StateChangedType nType )
{
@@ -2211,7 +2211,7 @@ void ImplListBoxWindow::StateChanged( StateChangedType nType )
ImplClearLayoutData();
}
-// -----------------------------------------------------------------------
+
void ImplListBoxWindow::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -2229,7 +2229,7 @@ void ImplListBoxWindow::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplListBoxWindow::ImplGetTextStyle() const
{
@@ -2275,7 +2275,7 @@ ImplListBox::ImplListBox( Window* pParent, WinBits nWinStyle ) :
maLBWindow.Show();
}
-// -----------------------------------------------------------------------
+
ImplListBox::~ImplListBox()
{
@@ -2284,7 +2284,7 @@ ImplListBox::~ImplListBox()
delete mpScrollBarBox;
}
-// -----------------------------------------------------------------------
+
void ImplListBox::Clear()
{
@@ -2299,7 +2299,7 @@ void ImplListBox::Clear()
StateChanged( STATE_CHANGE_DATA );
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplListBox::InsertEntry( sal_uInt16 nPos, const OUString& rStr )
{
@@ -2309,7 +2309,7 @@ sal_uInt16 ImplListBox::InsertEntry( sal_uInt16 nPos, const OUString& rStr )
return nNewPos;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplListBox::InsertEntry( sal_uInt16 nPos, const OUString& rStr, const Image& rImage )
{
@@ -2319,7 +2319,7 @@ sal_uInt16 ImplListBox::InsertEntry( sal_uInt16 nPos, const OUString& rStr, cons
return nNewPos;
}
-// -----------------------------------------------------------------------
+
void ImplListBox::RemoveEntry( sal_uInt16 nPos )
{
@@ -2327,42 +2327,42 @@ void ImplListBox::RemoveEntry( sal_uInt16 nPos )
StateChanged( STATE_CHANGE_DATA );
}
-// -----------------------------------------------------------------------
+
void ImplListBox::SetEntryFlags( sal_uInt16 nPos, long nFlags )
{
maLBWindow.SetEntryFlags( nPos, nFlags );
}
-// -----------------------------------------------------------------------
+
void ImplListBox::SelectEntry( sal_uInt16 nPos, bool bSelect )
{
maLBWindow.SelectEntry( nPos, bSelect );
}
-// -----------------------------------------------------------------------
+
void ImplListBox::SetNoSelection()
{
maLBWindow.DeselectAll();
}
-// -----------------------------------------------------------------------
+
void ImplListBox::GetFocus()
{
maLBWindow.GrabFocus();
}
-// -----------------------------------------------------------------------
+
Window* ImplListBox::GetPreferredKeyInputWindow()
{
return &maLBWindow;
}
-// -----------------------------------------------------------------------
+
void ImplListBox::Resize()
{
@@ -2372,7 +2372,7 @@ void ImplListBox::Resize()
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ImplListBox, MRUChanged)
{
@@ -2380,7 +2380,7 @@ IMPL_LINK_NOARG(ImplListBox, MRUChanged)
return 1;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ImplListBox, LBWindowScrolled)
{
@@ -2396,7 +2396,7 @@ IMPL_LINK_NOARG(ImplListBox, LBWindowScrolled)
return 1;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( ImplListBox, ScrollBarHdl, ScrollBar*, pSB )
{
@@ -2409,7 +2409,7 @@ IMPL_LINK( ImplListBox, ScrollBarHdl, ScrollBar*, pSB )
return 1;
}
-// -----------------------------------------------------------------------
+
void ImplListBox::ImplCheckScrollBars()
{
@@ -2492,7 +2492,7 @@ void ImplListBox::ImplCheckScrollBars()
ImplInitScrollBars();
}
-// -----------------------------------------------------------------------
+
void ImplListBox::ImplInitScrollBars()
{
@@ -2516,7 +2516,7 @@ void ImplListBox::ImplInitScrollBars()
}
}
-// -----------------------------------------------------------------------
+
void ImplListBox::ImplResizeControls()
{
@@ -2580,7 +2580,7 @@ void ImplListBox::ImplResizeControls()
}
}
-// -----------------------------------------------------------------------
+
void ImplListBox::StateChanged( StateChangedType nType )
{
@@ -2630,14 +2630,14 @@ void ImplListBox::StateChanged( StateChangedType nType )
Control::StateChanged( nType );
}
-// -----------------------------------------------------------------------
+
void ImplListBox::DataChanged( const DataChangedEvent& rDCEvt )
{
Control::DataChanged( rDCEvt );
}
-// -----------------------------------------------------------------------
+
bool ImplListBox::Notify( NotifyEvent& rNEvt )
{
@@ -2658,14 +2658,14 @@ bool ImplListBox::Notify( NotifyEvent& rNEvt )
return nDone || Window::Notify( rNEvt );
}
-// -----------------------------------------------------------------------
+
const Wallpaper& ImplListBox::GetDisplayBackground() const
{
return maLBWindow.GetDisplayBackground();
}
-// -----------------------------------------------------------------------
+
bool ImplListBox::HandleWheelAsCursorTravel( const CommandEvent& rCEvt )
{
@@ -2683,7 +2683,7 @@ bool ImplListBox::HandleWheelAsCursorTravel( const CommandEvent& rCEvt )
return bDone;
}
-// -----------------------------------------------------------------------
+
void ImplListBox::SetMRUEntries( const OUString& rEntries, sal_Unicode cSep )
{
@@ -2716,7 +2716,7 @@ void ImplListBox::SetMRUEntries( const OUString& rEntries, sal_Unicode cSep )
}
}
-// -----------------------------------------------------------------------
+
OUString ImplListBox::GetMRUEntries( sal_Unicode cSep ) const
{
@@ -2730,7 +2730,7 @@ OUString ImplListBox::GetMRUEntries( sal_Unicode cSep ) const
return aEntries.makeStringAndClear();
}
-// -----------------------------------------------------------------------
+
void ImplListBox::SetEdgeBlending(bool bNew)
{
@@ -2758,7 +2758,7 @@ ImplWin::ImplWin( Window* pParent, WinBits nWinStyle ) :
mnItemPos = LISTBOX_ENTRY_NOTFOUND;
}
-// -----------------------------------------------------------------------
+
void ImplWin::MBDown()
{
@@ -2766,7 +2766,7 @@ void ImplWin::MBDown()
maMBDownHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void ImplWin::MouseButtonDown( const MouseEvent& )
{
@@ -2776,7 +2776,7 @@ void ImplWin::MouseButtonDown( const MouseEvent& )
}
}
-// -----------------------------------------------------------------------
+
void ImplWin::FillLayoutData() const
{
@@ -2784,7 +2784,7 @@ void ImplWin::FillLayoutData() const
const_cast<ImplWin*>(this)->ImplDraw( true );
}
-// -----------------------------------------------------------------------
+
bool ImplWin::PreNotify( NotifyEvent& rNEvt )
{
@@ -2807,7 +2807,7 @@ bool ImplWin::PreNotify( NotifyEvent& rNEvt )
return Control::PreNotify(rNEvt);
}
-// -----------------------------------------------------------------------
+
void ImplWin::ImplDraw( bool bLayout )
{
@@ -2918,14 +2918,14 @@ void ImplWin::ImplDraw( bool bLayout )
}
}
-// -----------------------------------------------------------------------
+
void ImplWin::Paint( const Rectangle& )
{
ImplDraw();
}
-// -----------------------------------------------------------------------
+
void ImplWin::DrawEntry( bool bDrawImage, bool bDrawText, bool bDrawTextAtImagePos, bool bLayout )
{
@@ -3000,7 +3000,7 @@ void ImplWin::DrawEntry( bool bDrawImage, bool bDrawText, bool bDrawTextAtImageP
ShowFocus( maFocusRect );
}
-// -----------------------------------------------------------------------
+
void ImplWin::Resize()
{
@@ -3009,7 +3009,7 @@ void ImplWin::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void ImplWin::GetFocus()
{
@@ -3028,7 +3028,7 @@ void ImplWin::GetFocus()
Control::GetFocus();
}
-// -----------------------------------------------------------------------
+
void ImplWin::LoseFocus()
{
@@ -3055,7 +3055,7 @@ ImplBtn::ImplBtn( Window* pParent, WinBits nWinStyle ) :
{
}
-// -----------------------------------------------------------------------
+
void ImplBtn::MBDown()
{
@@ -3063,7 +3063,7 @@ void ImplBtn::MBDown()
maMBDownHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void ImplBtn::MouseButtonDown( const MouseEvent& )
{
@@ -3101,7 +3101,7 @@ ImplListBoxFloatingWindow::ImplListBoxFloatingWindow( Window* pParent ) :
}
-// -----------------------------------------------------------------------
+
bool ImplListBoxFloatingWindow::PreNotify( NotifyEvent& rNEvt )
{
@@ -3114,7 +3114,7 @@ bool ImplListBoxFloatingWindow::PreNotify( NotifyEvent& rNEvt )
return FloatingWindow::PreNotify( rNEvt );
}
-// -----------------------------------------------------------------------
+
void ImplListBoxFloatingWindow::setPosSizePixel( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags )
{
@@ -3150,7 +3150,7 @@ void ImplListBoxFloatingWindow::setPosSizePixel( long nX, long nY, long nWidth,
}
}
-// -----------------------------------------------------------------------
+
void ImplListBoxFloatingWindow::Resize()
{
@@ -3158,7 +3158,7 @@ void ImplListBoxFloatingWindow::Resize()
FloatingWindow::Resize();
}
-// -----------------------------------------------------------------------
+
Size ImplListBoxFloatingWindow::CalcFloatSize()
{
@@ -3232,7 +3232,7 @@ Size ImplListBoxFloatingWindow::CalcFloatSize()
return aFloatSz;
}
-// -----------------------------------------------------------------------
+
void ImplListBoxFloatingWindow::StartFloat( bool bStartTracking )
{
diff --git a/vcl/source/control/imgctrl.cxx b/vcl/source/control/imgctrl.cxx
index 5b41fc616994..1e3441a01705 100644
--- a/vcl/source/control/imgctrl.cxx
+++ b/vcl/source/control/imgctrl.cxx
@@ -26,7 +26,7 @@
namespace ImageScaleMode = ::com::sun::star::awt::ImageScaleMode;
-// -----------------------------------------------------------------------
+
ImageControl::ImageControl( Window* pParent, WinBits nStyle )
:FixedImage( pParent, nStyle )
@@ -34,7 +34,7 @@ ImageControl::ImageControl( Window* pParent, WinBits nStyle )
{
}
-// -----------------------------------------------------------------------
+
ImageControl::ImageControl( Window* pParent, const ResId& rResId )
:FixedImage( pParent, rResId )
@@ -42,7 +42,7 @@ ImageControl::ImageControl( Window* pParent, const ResId& rResId )
{
}
-// -----------------------------------------------------------------------
+
void ImageControl::SetScaleMode( const ::sal_Int16 _nMode )
{
@@ -53,14 +53,14 @@ void ImageControl::SetScaleMode( const ::sal_Int16 _nMode )
}
}
-// -----------------------------------------------------------------------
+
void ImageControl::Resize()
{
Invalidate();
}
-// -----------------------------------------------------------------------
+
namespace
{
static Size lcl_calcPaintSize( const Rectangle& _rPaintRect, const Size& _rBitmapSize )
@@ -83,7 +83,7 @@ namespace
}
}
-// -----------------------------------------------------------------------
+
void ImageControl::ImplDraw( OutputDevice& rDev, sal_uLong nDrawFlags, const Point& rPos, const Size& rSize ) const
{
@@ -149,7 +149,7 @@ void ImageControl::ImplDraw( OutputDevice& rDev, sal_uLong nDrawFlags, const Poi
} // switch ( mnScaleMode )
}
-// -----------------------------------------------------------------------
+
void ImageControl::Paint( const Rectangle& /*rRect*/ )
{
@@ -177,7 +177,7 @@ void ImageControl::Paint( const Rectangle& /*rRect*/ )
}
}
-// -----------------------------------------------------------------------
+
void ImageControl::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags )
{
const Point aPos = pDev->LogicToPixel( rPos );
@@ -198,7 +198,7 @@ void ImageControl::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSiz
pDev->Pop();
}
-// -----------------------------------------------------------------------
+
void ImageControl::GetFocus()
{
@@ -206,7 +206,7 @@ void ImageControl::GetFocus()
GetWindow( WINDOW_BORDER )->Invalidate();
}
-// -----------------------------------------------------------------------
+
void ImageControl::LoseFocus()
{
diff --git a/vcl/source/control/lstbox.cxx b/vcl/source/control/lstbox.cxx
index bf87289c1677..0ee8067a2a20 100644
--- a/vcl/source/control/lstbox.cxx
+++ b/vcl/source/control/lstbox.cxx
@@ -615,7 +615,7 @@ void ListBox::AdaptDropDownLineCountToMaximum()
SetDropDownLineCount(GetSettings().GetStyleSettings().GetListBoxMaximumLineCount());
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ListBox::GetDropDownLineCount() const
{
@@ -1536,7 +1536,7 @@ bool ListBox::set_property(const OString &rKey, const OString &rValue)
return true;
}
-// -----------------------------------------------------------------------
+
void ListBox::SetEdgeBlending(bool bNew)
{
diff --git a/vcl/source/control/slider.cxx b/vcl/source/control/slider.cxx
index a942545ec792..35d01ed13c10 100644
--- a/vcl/source/control/slider.cxx
+++ b/vcl/source/control/slider.cxx
@@ -78,7 +78,7 @@ void Slider::ImplInit( Window* pParent, WinBits nStyle )
SetSizePixel( CalcWindowSizePixel() );
}
-// -----------------------------------------------------------------------
+
Slider::Slider( Window* pParent, WinBits nStyle ) :
Control( WINDOW_SLIDER )
@@ -86,7 +86,7 @@ Slider::Slider( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
void Slider::ImplInitSettings()
{
@@ -111,7 +111,7 @@ void Slider::ImplInitSettings()
}
}
-// -----------------------------------------------------------------------
+
void Slider::ImplUpdateRects( bool bUpdate )
{
@@ -220,7 +220,7 @@ void Slider::ImplUpdateRects( bool bUpdate )
}
}
-// -----------------------------------------------------------------------
+
long Slider::ImplCalcThumbPos( long nPixPos )
{
@@ -231,7 +231,7 @@ long Slider::ImplCalcThumbPos( long nPixPos )
return nCalcThumbPos;
}
-// -----------------------------------------------------------------------
+
long Slider::ImplCalcThumbPosPix( long nPos )
{
@@ -248,7 +248,7 @@ long Slider::ImplCalcThumbPosPix( long nPos )
return nCalcThumbPos+mnThumbPixOffset;
}
-// -----------------------------------------------------------------------
+
void Slider::ImplCalc( bool bUpdate )
{
@@ -319,7 +319,7 @@ void Slider::ImplCalc( bool bUpdate )
ImplUpdateRects( bUpdate );
}
-// -----------------------------------------------------------------------
+
void Slider::ImplDraw( sal_uInt16 nDrawFlags )
{
@@ -459,7 +459,7 @@ void Slider::ImplDraw( sal_uInt16 nDrawFlags )
}
}
-// -----------------------------------------------------------------------
+
bool Slider::ImplIsPageUp( const Point& rPos )
{
@@ -478,7 +478,7 @@ bool Slider::ImplIsPageUp( const Point& rPos )
return aRect.IsInside( rPos );
}
-// -----------------------------------------------------------------------
+
bool Slider::ImplIsPageDown( const Point& rPos )
{
@@ -497,7 +497,7 @@ bool Slider::ImplIsPageDown( const Point& rPos )
return aRect.IsInside( rPos );
}
-// -----------------------------------------------------------------------
+
long Slider::ImplSlide( long nNewPos, bool bCallEndSlide )
{
@@ -515,7 +515,7 @@ long Slider::ImplSlide( long nNewPos, bool bCallEndSlide )
return nDelta;
}
-// -----------------------------------------------------------------------
+
long Slider::ImplDoAction( bool bCallEndSlide )
{
@@ -549,7 +549,7 @@ long Slider::ImplDoAction( bool bCallEndSlide )
return nDelta;
}
-// -----------------------------------------------------------------------
+
void Slider::ImplDoMouseAction( const Point& rMousePos, bool bCallAction )
{
@@ -611,7 +611,7 @@ void Slider::ImplDoMouseAction( const Point& rMousePos, bool bCallAction )
ImplDraw( mnDragDraw );
}
-// -----------------------------------------------------------------------
+
long Slider::ImplDoSlide( long nNewPos )
{
@@ -624,7 +624,7 @@ long Slider::ImplDoSlide( long nNewPos )
return nDelta;
}
-// -----------------------------------------------------------------------
+
long Slider::ImplDoSlideAction( ScrollType eScrollType )
{
@@ -639,7 +639,7 @@ long Slider::ImplDoSlideAction( ScrollType eScrollType )
return nDelta;
}
-// -----------------------------------------------------------------------
+
void Slider::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -700,7 +700,7 @@ void Slider::MouseButtonDown( const MouseEvent& rMEvt )
}
}
-// -----------------------------------------------------------------------
+
void Slider::MouseButtonUp( const MouseEvent& )
{
@@ -720,7 +720,7 @@ void Slider::MouseButtonUp( const MouseEvent& )
}
}
-// -----------------------------------------------------------------------
+
void Slider::Tracking( const TrackingEvent& rTEvt )
{
@@ -807,7 +807,7 @@ void Slider::Tracking( const TrackingEvent& rTEvt )
}
}
-// -----------------------------------------------------------------------
+
void Slider::KeyInput( const KeyEvent& rKEvt )
{
@@ -849,14 +849,14 @@ void Slider::KeyInput( const KeyEvent& rKEvt )
Control::KeyInput( rKEvt );
}
-// -----------------------------------------------------------------------
+
void Slider::Paint( const Rectangle& )
{
ImplDraw( SLIDER_DRAW_ALL );
}
-// -----------------------------------------------------------------------
+
void Slider::Resize()
{
@@ -867,14 +867,14 @@ void Slider::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void Slider::RequestHelp( const HelpEvent& rHEvt )
{
Control::RequestHelp( rHEvt );
}
-// -----------------------------------------------------------------------
+
void Slider::StateChanged( StateChangedType nType )
{
@@ -920,7 +920,7 @@ void Slider::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void Slider::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -934,21 +934,21 @@ void Slider::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
void Slider::Slide()
{
maSlideHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void Slider::EndSlide()
{
maEndSlideHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void Slider::SetRange( const Range& rRange )
{
@@ -975,7 +975,7 @@ void Slider::SetRange( const Range& rRange )
}
}
-// -----------------------------------------------------------------------
+
void Slider::SetThumbPos( long nNewThumbPos )
{
@@ -991,7 +991,7 @@ void Slider::SetThumbPos( long nNewThumbPos )
}
}
-// -----------------------------------------------------------------------
+
Size Slider::CalcWindowSizePixel()
{
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx
index 6d6d7dbc256f..fccfe301b48e 100644
--- a/vcl/source/control/spinbtn.cxx
+++ b/vcl/source/control/spinbtn.cxx
@@ -50,7 +50,7 @@ void SpinButton::ImplInit( Window* pParent, WinBits nStyle )
Control::ImplInit( pParent, nStyle, NULL );
}
-// -----------------------------------------------------------------------
+
SpinButton::SpinButton( Window* pParent, WinBits nStyle )
:Control( WINDOW_SPINBUTTON )
@@ -59,13 +59,13 @@ SpinButton::SpinButton( Window* pParent, WinBits nStyle )
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
SpinButton::~SpinButton()
{
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( SpinButton, ImplTimeout, Timer*, pTimer )
{
@@ -85,7 +85,7 @@ IMPL_LINK( SpinButton, ImplTimeout, Timer*, pTimer )
return 0;
}
-// -----------------------------------------------------------------------
+
void SpinButton::Up()
{
@@ -100,7 +100,7 @@ void SpinButton::Up()
ImplCallEventListenersAndHandler( VCLEVENT_SPINBUTTON_UP, maUpHdlLink, this );
}
-// -----------------------------------------------------------------------
+
void SpinButton::Down()
{
@@ -115,7 +115,7 @@ void SpinButton::Down()
ImplCallEventListenersAndHandler( VCLEVENT_SPINBUTTON_DOWN, maDownHdlLink, this );
}
-// -----------------------------------------------------------------------
+
void SpinButton::Resize()
{
@@ -140,7 +140,7 @@ void SpinButton::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
void SpinButton::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags )
{
@@ -199,7 +199,7 @@ void SpinButton::Paint( const Rectangle& )
ShowFocus( maFocusRect );
}
-// -----------------------------------------------------------------------
+
void SpinButton::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -225,7 +225,7 @@ void SpinButton::MouseButtonDown( const MouseEvent& rMEvt )
}
}
-// -----------------------------------------------------------------------
+
void SpinButton::MouseButtonUp( const MouseEvent& )
{
@@ -254,7 +254,7 @@ void SpinButton::MouseButtonUp( const MouseEvent& )
mbInitialUp = mbInitialDown = false;
}
-// -----------------------------------------------------------------------
+
void SpinButton::MouseMove( const MouseEvent& rMEvt )
{
@@ -297,7 +297,7 @@ void SpinButton::MouseMove( const MouseEvent& rMEvt )
}
}
-// -----------------------------------------------------------------------
+
void SpinButton::KeyInput( const KeyEvent& rKEvt )
{
@@ -336,7 +336,7 @@ void SpinButton::KeyInput( const KeyEvent& rKEvt )
Control::KeyInput( rKEvt );
}
-// -----------------------------------------------------------------------
+
void SpinButton::StateChanged( StateChangedType nType )
{
@@ -373,21 +373,21 @@ void SpinButton::StateChanged( StateChangedType nType )
Control::StateChanged( nType );
}
-// -----------------------------------------------------------------------
+
void SpinButton::SetRangeMin( long nNewRange )
{
SetRange( Range( nNewRange, GetRangeMax() ) );
}
-// -----------------------------------------------------------------------
+
void SpinButton::SetRangeMax( long nNewRange )
{
SetRange( Range( GetRangeMin(), nNewRange ) );
}
-// -----------------------------------------------------------------------
+
void SpinButton::SetRange( const Range& rRange )
{
@@ -414,7 +414,7 @@ void SpinButton::SetRange( const Range& rRange )
}
}
-// -----------------------------------------------------------------------
+
void SpinButton::SetValue( long nValue )
{
@@ -431,7 +431,7 @@ void SpinButton::SetValue( long nValue )
}
}
-// -----------------------------------------------------------------------
+
void SpinButton::GetFocus()
{
@@ -439,7 +439,7 @@ void SpinButton::GetFocus()
Control::GetFocus();
}
-// -----------------------------------------------------------------------
+
void SpinButton::LoseFocus()
{
@@ -447,7 +447,7 @@ void SpinButton::LoseFocus()
Control::LoseFocus();
}
-// -----------------------------------------------------------------------
+
bool SpinButton::ImplMoveFocus( bool _bUpper )
{
@@ -461,7 +461,7 @@ bool SpinButton::ImplMoveFocus( bool _bUpper )
return true;
}
-// -----------------------------------------------------------------------
+
void SpinButton::ImplCalcFocusRect( bool _bUpper )
{
@@ -474,7 +474,7 @@ void SpinButton::ImplCalcFocusRect( bool _bUpper )
mbUpperIsFocused = _bUpper;
}
-// -----------------------------------------------------------------------
+
Rectangle* SpinButton::ImplFindPartRect( const Point& rPt )
{
@@ -523,6 +523,6 @@ bool SpinButton::PreNotify( NotifyEvent& rNEvt )
return Control::PreNotify(rNEvt);
}
-// -----------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx
index 3e72b136c363..8251a50d6951 100644
--- a/vcl/source/control/spinfld.cxx
+++ b/vcl/source/control/spinfld.cxx
@@ -303,7 +303,7 @@ void SpinField::ImplInitSpinFieldData()
mbInDropDown = false;
}
-// --------------------------------------------------------------------
+
void SpinField::ImplInit( Window* pParent, WinBits nWinStyle )
{
@@ -339,7 +339,7 @@ void SpinField::ImplInit( Window* pParent, WinBits nWinStyle )
}
}
-// --------------------------------------------------------------------
+
SpinField::SpinField( WindowType nTyp ) :
Edit( nTyp )
@@ -347,7 +347,7 @@ SpinField::SpinField( WindowType nTyp ) :
ImplInitSpinFieldData();
}
-// --------------------------------------------------------------------
+
SpinField::SpinField( Window* pParent, WinBits nWinStyle ) :
Edit( WINDOW_SPINFIELD )
@@ -369,42 +369,42 @@ SpinField::SpinField( Window* pParent, const ResId& rResId ) :
Show();
}
-// --------------------------------------------------------------------
+
SpinField::~SpinField()
{
delete mpEdit;
}
-// --------------------------------------------------------------------
+
void SpinField::Up()
{
ImplCallEventListenersAndHandler( VCLEVENT_SPINFIELD_UP, maUpHdlLink, this );
}
-// --------------------------------------------------------------------
+
void SpinField::Down()
{
ImplCallEventListenersAndHandler( VCLEVENT_SPINFIELD_DOWN, maDownHdlLink, this );
}
-// --------------------------------------------------------------------
+
void SpinField::First()
{
ImplCallEventListenersAndHandler( VCLEVENT_SPINFIELD_FIRST, maFirstHdlLink, this );
}
-// --------------------------------------------------------------------
+
void SpinField::Last()
{
ImplCallEventListenersAndHandler( VCLEVENT_SPINFIELD_LAST, maLastHdlLink, this );
}
-// --------------------------------------------------------------------
+
void SpinField::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -448,7 +448,7 @@ void SpinField::MouseButtonDown( const MouseEvent& rMEvt )
Edit::MouseButtonDown( rMEvt );
}
-// --------------------------------------------------------------------
+
void SpinField::MouseButtonUp( const MouseEvent& rMEvt )
{
@@ -475,7 +475,7 @@ void SpinField::MouseButtonUp( const MouseEvent& rMEvt )
Edit::MouseButtonUp( rMEvt );
}
-// --------------------------------------------------------------------
+
void SpinField::MouseMove( const MouseEvent& rMEvt )
{
@@ -522,7 +522,7 @@ void SpinField::MouseMove( const MouseEvent& rMEvt )
Edit::MouseMove( rMEvt );
}
-// --------------------------------------------------------------------
+
bool SpinField::Notify( NotifyEvent& rNEvt )
{
@@ -610,14 +610,14 @@ bool SpinField::Notify( NotifyEvent& rNEvt )
return nDone || Edit::Notify( rNEvt );
}
-// --------------------------------------------------------------------
+
void SpinField::Command( const CommandEvent& rCEvt )
{
Edit::Command( rCEvt );
}
-// --------------------------------------------------------------------
+
void SpinField::FillLayoutData() const
{
@@ -631,7 +631,7 @@ void SpinField::FillLayoutData() const
Edit::FillLayoutData();
}
-// --------------------------------------------------------------------
+
void SpinField::Paint( const Rectangle& rRect )
{
@@ -662,7 +662,7 @@ void SpinField::Paint( const Rectangle& rRect )
Edit::Paint( rRect );
}
-// --------------------------------------------------------------------
+
void SpinField::ImplCalcButtonAreas( OutputDevice* pDev, const Size& rOutSz, Rectangle& rDDArea, Rectangle& rSpinUpArea, Rectangle& rSpinDownArea )
{
@@ -747,7 +747,7 @@ void SpinField::ImplCalcButtonAreas( OutputDevice* pDev, const Size& rOutSz, Rec
}
}
-// --------------------------------------------------------------------
+
void SpinField::Resize()
{
@@ -808,7 +808,7 @@ void SpinField::Resize()
}
}
-// -----------------------------------------------------------------------
+
void SpinField::StateChanged( StateChangedType nType )
{
@@ -872,7 +872,7 @@ void SpinField::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void SpinField::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -886,7 +886,7 @@ void SpinField::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
Rectangle* SpinField::ImplFindPartRect( const Point& rPt )
{
@@ -947,7 +947,7 @@ bool SpinField::PreNotify( NotifyEvent& rNEvt )
return Edit::PreNotify(rNEvt);
}
-// -----------------------------------------------------------------------
+
void SpinField::EndDropDown()
{
@@ -955,7 +955,7 @@ void SpinField::EndDropDown()
Paint( Rectangle( Point(), GetOutputSizePixel() ) );
}
-// -----------------------------------------------------------------------
+
bool SpinField::ShowDropDown( sal_Bool )
{
@@ -996,14 +996,14 @@ Size SpinField::CalcMinimumSize() const
return CalcMinimumSizeForText(GetText());
}
-// -----------------------------------------------------------------------
+
Size SpinField::GetOptimalSize() const
{
return CalcMinimumSize();
}
-// -----------------------------------------------------------------------
+
Size SpinField::CalcSize(sal_Int32 nChars) const
{
@@ -1017,7 +1017,7 @@ Size SpinField::CalcSize(sal_Int32 nChars) const
return aSz;
}
-// --------------------------------------------------------------------
+
IMPL_LINK( SpinField, ImplTimeout, Timer*, pTimer )
{
@@ -1036,7 +1036,7 @@ IMPL_LINK( SpinField, ImplTimeout, Timer*, pTimer )
return 0;
}
-// -----------------------------------------------------------------------
+
void SpinField::Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags )
{
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 81d2119b29d3..1f388c42d553 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -63,7 +63,7 @@ struct ImplTabItem
{}
};
-// -----------------------------------------------------------------------
+
struct ImplTabCtrlData
{
@@ -75,7 +75,7 @@ struct ImplTabCtrlData
ListBox* mpListBox;
};
-// -----------------------------------------------------------------------
+
#define TAB_OFFSET 3
#define TAB_TABOFFSET_X 3
@@ -137,20 +137,20 @@ void TabControl::ImplInit( Window* pParent, WinBits nStyle )
pParent->AddChildEventListener( LINK( this, TabControl, ImplWindowEventListener ) );
}
-// -----------------------------------------------------------------
+
const Font& TabControl::GetCanonicalFont( const StyleSettings& _rStyle ) const
{
return _rStyle.GetAppFont();
}
-// -----------------------------------------------------------------
+
const Color& TabControl::GetCanonicalTextColor( const StyleSettings& _rStyle ) const
{
return _rStyle.GetButtonTextColor();
}
-// -----------------------------------------------------------------------
+
void TabControl::ImplInitSettings( bool bFont,
bool bForeground, bool bBackground )
@@ -188,7 +188,7 @@ void TabControl::ImplInitSettings( bool bFont,
}
}
-// -----------------------------------------------------------------------
+
void TabControl::ImplFreeLayoutData()
{
@@ -200,7 +200,7 @@ void TabControl::ImplFreeLayoutData()
}
}
-// -----------------------------------------------------------------------
+
TabControl::TabControl( Window* pParent, WinBits nStyle ) :
Control( WINDOW_TABCONTROL )
@@ -209,7 +209,7 @@ TabControl::TabControl( Window* pParent, WinBits nStyle ) :
OSL_TRACE("*** TABCONTROL no notabs? %s", ( GetStyle() & WB_NOBORDER ) ? "true" : "false" );
}
-// -----------------------------------------------------------------------
+
TabControl::TabControl( Window* pParent, const ResId& rResId ) :
Control( WINDOW_TABCONTROL )
@@ -223,7 +223,7 @@ TabControl::TabControl( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
void TabControl::ImplLoadRes( const ResId& rResId )
{
@@ -244,7 +244,7 @@ void TabControl::ImplLoadRes( const ResId& rResId )
}
}
-// -----------------------------------------------------------------------
+
TabControl::~TabControl()
{
@@ -262,7 +262,7 @@ TabControl::~TabControl()
}
}
-// -----------------------------------------------------------------------
+
ImplTabItem* TabControl::ImplGetItem( sal_uInt16 nId ) const
{
@@ -276,7 +276,7 @@ ImplTabItem* TabControl::ImplGetItem( sal_uInt16 nId ) const
return NULL;
}
-// -----------------------------------------------------------------------
+
Size TabControl::ImplGetItemSize( ImplTabItem* pItem, long nMaxWidth )
{
@@ -627,7 +627,7 @@ Rectangle TabControl::ImplGetTabRect( sal_uInt16 nItemPos, long nWidth, long nHe
return size_t(nItemPos) < mpTabCtrlData->maItemList.size() ? mpTabCtrlData->maItemList[nItemPos].maRect : Rectangle();
}
-// -----------------------------------------------------------------------
+
void TabControl::ImplChangeTabPage( sal_uInt16 nId, sal_uInt16 nOldId )
{
@@ -733,7 +733,7 @@ void TabControl::ImplChangeTabPage( sal_uInt16 nId, sal_uInt16 nOldId )
Invalidate( aRect );
}
-// -----------------------------------------------------------------------
+
bool TabControl::ImplPosCurTabPage()
{
@@ -755,7 +755,7 @@ bool TabControl::ImplPosCurTabPage()
return false;
}
-// -----------------------------------------------------------------------
+
void TabControl::ImplActivateTabPage( bool bNext )
{
@@ -774,7 +774,7 @@ void TabControl::ImplActivateTabPage( bool bNext )
SelectTabPage( GetPageId( nCurPos ) );
}
-// -----------------------------------------------------------------------
+
void TabControl::ImplShowFocus()
{
@@ -826,7 +826,7 @@ void TabControl::ImplShowFocus()
ShowFocus( aRect );
}
-// -----------------------------------------------------------------------
+
void TabControl::ImplDrawItem( ImplTabItem* pItem, const Rectangle& rCurRect, bool bLayout, bool bFirstInGroup, bool bLastInGroup, bool /* bIsCurrentItem */ )
{
@@ -1026,7 +1026,7 @@ void TabControl::ImplDrawItem( ImplTabItem* pItem, const Rectangle& rCurRect, bo
}
}
-// -----------------------------------------------------------------------
+
bool TabControl::ImplHandleKeyEvent( const KeyEvent& rKeyEvent )
{
@@ -1062,7 +1062,7 @@ bool TabControl::ImplHandleKeyEvent( const KeyEvent& rKeyEvent )
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(TabControl, ImplListBoxSelectHdl)
{
@@ -1070,7 +1070,7 @@ IMPL_LINK_NOARG(TabControl, ImplListBoxSelectHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK( TabControl, ImplWindowEventListener, VclSimpleEvent*, pEvent )
{
@@ -1088,7 +1088,7 @@ IMPL_LINK( TabControl, ImplWindowEventListener, VclSimpleEvent*, pEvent )
}
-// -----------------------------------------------------------------------
+
void TabControl::MouseButtonDown( const MouseEvent& rMEvt )
{
@@ -1104,7 +1104,7 @@ void TabControl::MouseButtonDown( const MouseEvent& rMEvt )
}
}
-// -----------------------------------------------------------------------
+
void TabControl::KeyInput( const KeyEvent& rKEvt )
{
@@ -1125,7 +1125,7 @@ void TabControl::KeyInput( const KeyEvent& rKEvt )
Control::KeyInput( rKEvt );
}
-// -----------------------------------------------------------------------
+
void TabControl::Paint( const Rectangle& rRect )
{
@@ -1133,7 +1133,7 @@ void TabControl::Paint( const Rectangle& rRect )
ImplPaint( rRect, false );
}
-// -----------------------------------------------------------------------
+
void TabControl::ImplPaint( const Rectangle& rRect, bool bLayout )
{
@@ -1315,7 +1315,7 @@ void TabControl::ImplPaint( const Rectangle& rRect, bool bLayout )
mbSmallInvalidate = true;
}
-// -----------------------------------------------------------------------
+
void TabControl::setAllocation(const Size &rAllocation)
{
@@ -1407,7 +1407,7 @@ void TabControl::Resize()
setAllocation(Control::GetOutputSizePixel());
}
-// -----------------------------------------------------------------------
+
void TabControl::GetFocus()
{
@@ -1424,7 +1424,7 @@ void TabControl::GetFocus()
Control::GetFocus();
}
-// -----------------------------------------------------------------------
+
void TabControl::LoseFocus()
{
@@ -1433,7 +1433,7 @@ void TabControl::LoseFocus()
Control::LoseFocus();
}
-// -----------------------------------------------------------------------
+
void TabControl::RequestHelp( const HelpEvent& rHEvt )
{
@@ -1518,7 +1518,7 @@ void TabControl::RequestHelp( const HelpEvent& rHEvt )
Control::RequestHelp( rHEvt );
}
-// -----------------------------------------------------------------------
+
void TabControl::Command( const CommandEvent& rCEvt )
{
@@ -1559,7 +1559,7 @@ void TabControl::Command( const CommandEvent& rCEvt )
Control::Command( rCEvt );
}
-// -----------------------------------------------------------------------
+
void TabControl::StateChanged( StateChangedType nType )
{
@@ -1594,7 +1594,7 @@ void TabControl::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void TabControl::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -1610,7 +1610,7 @@ void TabControl::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
Rectangle* TabControl::ImplFindPartRect( const Point& rPt )
{
@@ -1678,7 +1678,7 @@ bool TabControl::PreNotify( NotifyEvent& rNEvt )
return Control::PreNotify(rNEvt);
}
-// -----------------------------------------------------------------------
+
bool TabControl::Notify( NotifyEvent& rNEvt )
{
@@ -1690,21 +1690,21 @@ bool TabControl::Notify( NotifyEvent& rNEvt )
return nRet || Control::Notify( rNEvt );
}
-// -----------------------------------------------------------------------
+
void TabControl::ActivatePage()
{
maActivateHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
bool TabControl::DeactivatePage()
{
return !maDeactivateHdl.IsSet() || maDeactivateHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void TabControl::SetTabPageSizePixel( const Size& rSize )
{
@@ -1718,7 +1718,7 @@ void TabControl::SetTabPageSizePixel( const Size& rSize )
Window::SetOutputSizePixel( aNewSize );
}
-// -----------------------------------------------------------------------
+
Size TabControl::GetTabPageSizePixel() const
{
@@ -1726,7 +1726,7 @@ Size TabControl::GetTabPageSizePixel() const
return aRect.GetSize();
}
-// -----------------------------------------------------------------------
+
void TabControl::InsertPage( const ResId& rResId, sal_uInt16 nPos )
{
@@ -1753,7 +1753,7 @@ void TabControl::InsertPage( const ResId& rResId, sal_uInt16 nPos )
}
}
-// -----------------------------------------------------------------------
+
void TabControl::InsertPage( sal_uInt16 nPageId, const OUString& rText,
sal_uInt16 nPos )
@@ -1807,7 +1807,7 @@ void TabControl::InsertPage( sal_uInt16 nPageId, const OUString& rText,
ImplCallEventListeners( VCLEVENT_TABPAGE_INSERTED, (void*) (sal_uLong)nPageId );
}
-// -----------------------------------------------------------------------
+
void TabControl::RemovePage( sal_uInt16 nPageId )
{
@@ -1855,7 +1855,7 @@ void TabControl::RemovePage( sal_uInt16 nPageId )
}
}
-// -----------------------------------------------------------------------
+
void TabControl::Clear()
{
@@ -1874,7 +1874,7 @@ void TabControl::Clear()
ImplCallEventListeners( VCLEVENT_TABPAGE_REMOVEDALL );
}
-// -----------------------------------------------------------------------
+
void TabControl::EnablePage( sal_uInt16 i_nPageId, bool i_bEnable )
{
@@ -1897,14 +1897,14 @@ void TabControl::EnablePage( sal_uInt16 i_nPageId, bool i_bEnable )
}
}
-// -----------------------------------------------------------------------
+
sal_uInt16 TabControl::GetPageCount() const
{
return (sal_uInt16)mpTabCtrlData->maItemList.size();
}
-// -----------------------------------------------------------------------
+
sal_uInt16 TabControl::GetPageId( sal_uInt16 nPos ) const
{
@@ -1913,7 +1913,7 @@ sal_uInt16 TabControl::GetPageId( sal_uInt16 nPos ) const
return 0;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 TabControl::GetPagePos( sal_uInt16 nPageId ) const
{
@@ -1927,7 +1927,7 @@ sal_uInt16 TabControl::GetPagePos( sal_uInt16 nPageId ) const
return TAB_PAGE_NOTFOUND;
}
-// -----------------------------------------------------------------------
+
sal_uInt16 TabControl::GetPageId( const Point& rPos ) const
{
@@ -1964,7 +1964,7 @@ sal_uInt16 TabControl::GetPageId( const OString& rName ) const
return 0;
}
-// -----------------------------------------------------------------------
+
void TabControl::SetCurPageId( sal_uInt16 nPageId )
{
@@ -2001,7 +2001,7 @@ void TabControl::SetCurPageId( sal_uInt16 nPageId )
}
}
-// -----------------------------------------------------------------------
+
sal_uInt16 TabControl::GetCurPageId() const
{
@@ -2011,7 +2011,7 @@ sal_uInt16 TabControl::GetCurPageId() const
return mnCurPageId;
}
-// -----------------------------------------------------------------------
+
void TabControl::SelectTabPage( sal_uInt16 nPageId )
{
@@ -2035,7 +2035,7 @@ void TabControl::SelectTabPage( sal_uInt16 nPageId )
}
}
-// -----------------------------------------------------------------------
+
void TabControl::SetTabPage( sal_uInt16 nPageId, TabPage* pTabPage )
{
@@ -2065,7 +2065,7 @@ void TabControl::SetTabPage( sal_uInt16 nPageId, TabPage* pTabPage )
}
}
-// -----------------------------------------------------------------------
+
TabPage* TabControl::GetTabPage( sal_uInt16 nPageId ) const
{
@@ -2077,7 +2077,7 @@ TabPage* TabControl::GetTabPage( sal_uInt16 nPageId ) const
return NULL;
}
-// -----------------------------------------------------------------------
+
void TabControl::SetPageText( sal_uInt16 nPageId, const OUString& rText )
{
@@ -2100,7 +2100,7 @@ void TabControl::SetPageText( sal_uInt16 nPageId, const OUString& rText )
}
}
-// -----------------------------------------------------------------------
+
OUString TabControl::GetPageText( sal_uInt16 nPageId ) const
{
@@ -2111,7 +2111,7 @@ OUString TabControl::GetPageText( sal_uInt16 nPageId ) const
return pItem->maText;
}
-// -----------------------------------------------------------------------
+
void TabControl::SetHelpText( sal_uInt16 nPageId, const OUString& rText )
{
@@ -2122,7 +2122,7 @@ void TabControl::SetHelpText( sal_uInt16 nPageId, const OUString& rText )
pItem->maHelpText = rText;
}
-// -----------------------------------------------------------------------
+
const OUString& TabControl::GetHelpText( sal_uInt16 nPageId ) const
{
@@ -2139,7 +2139,7 @@ const OUString& TabControl::GetHelpText( sal_uInt16 nPageId ) const
return pItem->maHelpText;
}
-// -----------------------------------------------------------------------
+
void TabControl::SetHelpId( sal_uInt16 nPageId, const OString& rId ) const
{
@@ -2177,7 +2177,7 @@ OString TabControl::GetPageName( sal_uInt16 nPageId ) const
return OString();
}
-// -----------------------------------------------------------------------
+
void TabControl::SetPageImage( sal_uInt16 i_nPageId, const Image& i_rImage )
{
@@ -2192,7 +2192,7 @@ void TabControl::SetPageImage( sal_uInt16 i_nPageId, const Image& i_rImage )
}
}
-// -----------------------------------------------------------------------
+
Rectangle TabControl::GetCharacterBounds( sal_uInt16 nPageId, long nIndex ) const
{
@@ -2215,7 +2215,7 @@ Rectangle TabControl::GetCharacterBounds( sal_uInt16 nPageId, long nIndex ) cons
return aRet;
}
-// -----------------------------------------------------------------------
+
long TabControl::GetIndexForPoint( const Point& rPoint, sal_uInt16& rPageId ) const
{
@@ -2248,7 +2248,7 @@ long TabControl::GetIndexForPoint( const Point& rPoint, sal_uInt16& rPageId ) co
return nRet;
}
-// -----------------------------------------------------------------------
+
void TabControl::FillLayoutData() const
{
@@ -2257,7 +2257,7 @@ void TabControl::FillLayoutData() const
const_cast<TabControl*>(this)->ImplPaint( Rectangle(), true );
}
-// -----------------------------------------------------------------------
+
Rectangle TabControl::GetTabBounds( sal_uInt16 nPageId ) const
{
@@ -2270,7 +2270,7 @@ Rectangle TabControl::GetTabBounds( sal_uInt16 nPageId ) const
return aRet;
}
-// -----------------------------------------------------------------------
+
void TabControl::SetItemsOffset( const Point& rOffs )
{
@@ -2286,7 +2286,7 @@ Point TabControl::GetItemsOffset() const
return Point();
}
-// -----------------------------------------------------------------------
+
Size TabControl::calculateRequisition() const
{
diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx
index 969e5898d29a..6a8c268a1a4e 100644
--- a/vcl/source/edit/textview.cxx
+++ b/vcl/source/edit/textview.cxx
@@ -2271,9 +2271,9 @@ sal_Int32 TextView::GetLineNumberOfCursorInSelection() const
}
-// -------------------------------------------------------------------------
+
// (+) class TextSelFunctionSet
-// -------------------------------------------------------------------------
+
TextSelFunctionSet::TextSelFunctionSet( TextView* pView )
{
mpView = pView;
diff --git a/vcl/source/edit/xtextedt.cxx b/vcl/source/edit/xtextedt.cxx
index c543c563d4e1..0f8f1342e277 100644
--- a/vcl/source/edit/xtextedt.cxx
+++ b/vcl/source/edit/xtextedt.cxx
@@ -223,9 +223,9 @@ bool ExtTextEngine::Search( TextSelection& rSel, const util::SearchOptions& rSea
}
-// -------------------------------------------------------------------------
+
// class ExtTextView
-// -------------------------------------------------------------------------
+
ExtTextView::ExtTextView( ExtTextEngine* pEng, Window* pWindow )
: TextView( pEng, pWindow )
{
diff --git a/vcl/source/filter/FilterConfigCache.cxx b/vcl/source/filter/FilterConfigCache.cxx
index cbb35a2ccd61..47962c368793 100644
--- a/vcl/source/filter/FilterConfigCache.cxx
+++ b/vcl/source/filter/FilterConfigCache.cxx
@@ -300,7 +300,7 @@ void FilterConfigCache::ImplInitSmart()
}
}
-// ------------------------------------------------------------------------
+
FilterConfigCache::FilterConfigCache( bool bConfig ) :
bUseConfig ( bConfig )
@@ -442,7 +442,7 @@ bool FilterConfigCache::IsImportPixelFormat( sal_uInt16 nFormat )
return (nFormat < aImport.size()) && aImport[ nFormat ].bIsPixelFormat;
}
-// ------------------------------------------------------------------------
+
OUString FilterConfigCache::GetExportFilterName( sal_uInt16 nFormat )
{
@@ -556,6 +556,6 @@ bool FilterConfigCache::IsExportPixelFormat( sal_uInt16 nFormat )
return (nFormat < aExport.size()) && aExport[ nFormat ].bIsPixelFormat;
}
-// ------------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/filter/FilterConfigItem.cxx b/vcl/source/filter/FilterConfigItem.cxx
index db9af7ad21ed..253566b1be8e 100644
--- a/vcl/source/filter/FilterConfigItem.cxx
+++ b/vcl/source/filter/FilterConfigItem.cxx
@@ -400,14 +400,14 @@ void FilterConfigItem::WriteInt32( const OUString& rKey, sal_Int32 nNewValue )
}
}
-// ------------------------------------------------------------------------
+
Sequence< PropertyValue > FilterConfigItem::GetFilterData() const
{
return aFilterData;
}
-// ------------------------------------------------------------------------
+
Reference< XStatusIndicator > FilterConfigItem::GetStatusIndicator() const
{
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx
index abdcbea87bdb..ded84a24c523 100644
--- a/vcl/source/filter/graphicfilter.cxx
+++ b/vcl/source/filter/graphicfilter.cxx
@@ -782,7 +782,7 @@ static bool ImpPeekGraphicFormat( SvStream& rStream, OUString& rFormatExtension,
return bTest && !bSomethingTested;
}
-//--------------------------------------------------------------------------
+
sal_uInt16 GraphicFilter::ImpTestOrFindFormat( const OUString& rPath, SvStream& rStream, sal_uInt16& rFormat )
{
@@ -828,7 +828,7 @@ sal_uInt16 GraphicFilter::ImpTestOrFindFormat( const OUString& rPath, SvStream&
return GRFILTER_OK;
}
-//--------------------------------------------------------------------------
+
#ifndef DISABLE_EXPORT
@@ -1343,7 +1343,7 @@ sal_uInt16 GraphicFilter::ImportGraphic( Graphic& rGraphic, const OUString& rPat
return ImportGraphic( rGraphic, rPath, rIStream, nFormat, pDeterminedFormat, nImportFlags, NULL, pExtHeader );
}
-//-------------------------------------------------------------------------
+
sal_uInt16 GraphicFilter::ImportGraphic( Graphic& rGraphic, const OUString& rPath, SvStream& rIStream,
sal_uInt16 nFormat, sal_uInt16* pDeterminedFormat, sal_uInt32 nImportFlags,
diff --git a/vcl/source/filter/igif/decode.cxx b/vcl/source/filter/igif/decode.cxx
index fd92fba99856..db1bc12725bb 100644
--- a/vcl/source/filter/igif/decode.cxx
+++ b/vcl/source/filter/igif/decode.cxx
@@ -20,7 +20,7 @@
#include "decode.hxx"
-// ------------------------------------------------------------------------
+
struct GIFLZWTableEntry
{
@@ -29,7 +29,7 @@ struct GIFLZWTableEntry
sal_uInt8 nData;
};
-// ------------------------------------------------------------------------
+
GIFLZWDecompressor::GIFLZWDecompressor( sal_uInt8 cDataSize ) :
nInputBitsBuf ( 0 ),
@@ -57,7 +57,7 @@ GIFLZWDecompressor::GIFLZWDecompressor( sal_uInt8 cDataSize ) :
}
}
-// ------------------------------------------------------------------------
+
GIFLZWDecompressor::~GIFLZWDecompressor()
{
@@ -65,7 +65,7 @@ GIFLZWDecompressor::~GIFLZWDecompressor()
delete[] pTable;
}
-// ------------------------------------------------------------------------
+
HPBYTE GIFLZWDecompressor::DecompressBlock( HPBYTE pSrc, sal_uInt8 cBufSize,
sal_uLong& rCount, bool& rEOI )
@@ -111,7 +111,7 @@ HPBYTE GIFLZWDecompressor::DecompressBlock( HPBYTE pSrc, sal_uInt8 cBufSize,
return pTarget;
}
-// ------------------------------------------------------------------------
+
void GIFLZWDecompressor::AddToTable( sal_uInt16 nPrevCode, sal_uInt16 nCodeFirstData )
{
@@ -130,7 +130,7 @@ void GIFLZWDecompressor::AddToTable( sal_uInt16 nPrevCode, sal_uInt16 nCodeFirst
}
}
-// ------------------------------------------------------------------------
+
bool GIFLZWDecompressor::ProcessOneCode()
{
diff --git a/vcl/source/filter/ixbm/xbmread.cxx b/vcl/source/filter/ixbm/xbmread.cxx
index 8b99c81c7f80..3b94c802b343 100644
--- a/vcl/source/filter/ixbm/xbmread.cxx
+++ b/vcl/source/filter/ixbm/xbmread.cxx
@@ -23,9 +23,9 @@
#include <comphelper/string.hxx>
#include "xbmread.hxx"
-// -------------
+
// - XBMReader -
-// -------------
+
XBMReader::XBMReader( SvStream& rStm ) :
rIStm ( rStm ),
@@ -40,7 +40,7 @@ XBMReader::XBMReader( SvStream& rStm ) :
InitTable();
}
-// ------------------------------------------------------------------------
+
XBMReader::~XBMReader()
{
@@ -50,7 +50,7 @@ XBMReader::~XBMReader()
aBmp1.ReleaseAccess( pAcc1 );
}
-// ------------------------------------------------------------------------
+
void XBMReader::InitTable()
{
@@ -88,7 +88,7 @@ void XBMReader::InitTable()
pHexTable[(int)'\0'] = -1;
}
-// ------------------------------------------------------------------------
+
OString XBMReader::FindTokenLine( SvStream* pInStm, const char* pTok1,
const char* pTok2, const char* pTok3 )
@@ -135,7 +135,7 @@ OString XBMReader::FindTokenLine( SvStream* pInStm, const char* pTok1,
return aRet;
}
-// ------------------------------------------------------------------------
+
long XBMReader::ParseDefine( const sal_Char* pDefine )
{
@@ -184,7 +184,7 @@ long XBMReader::ParseDefine( const sal_Char* pDefine )
return nRet;
}
-// ------------------------------------------------------------------------
+
bool XBMReader::ParseData( SvStream* pInStm, const OString& aLastLine, XBMFormat eFormat )
{
@@ -257,7 +257,7 @@ bool XBMReader::ParseData( SvStream* pInStm, const OString& aLastLine, XBMFormat
return true;
}
-// ------------------------------------------------------------------------
+
ReadState XBMReader::ReadXBM( Graphic& rGraphic )
{
@@ -353,9 +353,9 @@ ReadState XBMReader::ReadXBM( Graphic& rGraphic )
return eReadState;
}
-// -------------
+
// - ImportXBM -
-// -------------
+
bool ImportXBM( SvStream& rStm, Graphic& rGraphic )
{
diff --git a/vcl/source/filter/ixpm/xpmread.cxx b/vcl/source/filter/ixpm/xpmread.cxx
index 27f49b19e2f3..9d3ad23145c4 100644
--- a/vcl/source/filter/ixpm/xpmread.cxx
+++ b/vcl/source/filter/ixpm/xpmread.cxx
@@ -24,9 +24,9 @@
#define _XPMPRIVATE
#include "xpmread.hxx"
-// -------------
+
// - XPMReader -
-// -------------
+
XPMReader::XPMReader( SvStream& rStm ) :
mrIStm ( rStm ),
@@ -49,7 +49,7 @@ XPMReader::XPMReader( SvStream& rStm ) :
}
-// ------------------------------------------------------------------------
+
XPMReader::~XPMReader()
{
@@ -57,7 +57,7 @@ XPMReader::~XPMReader()
maBmp.ReleaseAccess( mpAcc );
}
-// ------------------------------------------------------------------------
+
ReadState XPMReader::ReadXPM( Graphic& rGraphic )
{
@@ -214,7 +214,7 @@ ReadState XPMReader::ReadXPM( Graphic& rGraphic )
return eReadState;
}
-// ------------------------------------------------------------------------
+
// ImplGetColor returns variouls colour values,
// returns TRUE if various colours could be assigned
@@ -233,7 +233,7 @@ bool XPMReader::ImplGetColor( sal_uLong nNumb )
return bStatus;
}
-// ------------------------------------------------------------------------
+
// ImpGetScanLine reads the string mpBufSize and writes the pixel in the
// Bitmap. Parameter nY is the horizontal position.
@@ -299,7 +299,7 @@ bool XPMReader::ImplGetScanLine( sal_uLong nY )
return bStatus;
}
-// ------------------------------------------------------------------------
+
// tries to determine a colour value from mpStringBuf
// if a colour was found the RGB value is written a pDest[1]..pDest[2]
// pDest[0] contains 0xFF if the colour is transparent otherwise 0
@@ -367,7 +367,7 @@ bool XPMReader::ImplGetColSub( sal_uInt8* pDest )
return bColStatus;
}
-// ------------------------------------------------------------------------
+
// ImplGetColKey searches string mpStringBuf for a parameter 'nKey'
// and returns a boolean. (if TRUE mpPara and mnParaSize will be set)
@@ -411,7 +411,7 @@ bool XPMReader::ImplGetColKey( sal_uInt8 nKey )
return ( mnParaSize ) ? true : false;
}
-// ------------------------------------------------------------------------
+
// ImplGetRGBHex translates the ASCII-Hexadecimalvalue belonging to mpPara
// in a RGB value and writes this to pDest
// below formats should be contained in mpPara:
@@ -441,7 +441,7 @@ void XPMReader::ImplGetRGBHex( sal_uInt8* pDest,sal_uLong nAdd )
}
}
-// ------------------------------------------------------------------------
+
// ImplGetUlong returns the value of a up to 6-digit long ASCII-decimal number.
sal_uLong XPMReader::ImplGetULONG( sal_uLong nPara )
@@ -464,7 +464,7 @@ sal_uLong XPMReader::ImplGetULONG( sal_uLong nPara )
else return 0;
}
-// ------------------------------------------------------------------------
+
bool XPMReader::ImplCompare( sal_uInt8* pSource, sal_uInt8* pDest, sal_uLong nSize, sal_uLong nMode )
{
@@ -495,7 +495,7 @@ bool XPMReader::ImplCompare( sal_uInt8* pSource, sal_uInt8* pDest, sal_uLong nSi
return bRet;
}
-// ------------------------------------------------------------------------
+
// ImplGetPara tries to retrieve nNumb (0...x) parameters from mpStringBuf.
// Parameters are separated by spaces or tabs.
// If a parameter was found then the return value is TRUE and mpPara + mnParaSize
@@ -551,7 +551,7 @@ bool XPMReader::ImplGetPara ( sal_uLong nNumb )
return ( ( nCount == nNumb ) && ( mpPara ) );
}
-// ------------------------------------------------------------------------
+
// The next string is read and stored in mpStringBuf (terminated with 0);
// mnStringSize contains the size of the string read.
// Comments like '//' and '/*....*/' are skipped.
@@ -650,9 +650,9 @@ bool XPMReader::ImplGetString( void )
return mbStatus;
}
-// -------------
+
// - ImportXPM -
-// -------------
+
bool ImportXPM( SvStream& rStm, Graphic& rGraphic )
{
diff --git a/vcl/source/filter/wmf/winwmf.cxx b/vcl/source/filter/wmf/winwmf.cxx
index 8d6fd89787aa..26efbadd9a0a 100644
--- a/vcl/source/filter/wmf/winwmf.cxx
+++ b/vcl/source/filter/wmf/winwmf.cxx
@@ -139,7 +139,7 @@ inline Point WMFReader::ReadPoint()
return Point( nX, nY );
}
-// ------------------------------------------------------------------------
+
inline Point WMFReader::ReadYX()
{
@@ -148,7 +148,7 @@ inline Point WMFReader::ReadYX()
return Point( nX, nY );
}
-// ------------------------------------------------------------------------
+
Rectangle WMFReader::ReadRectangle()
{
@@ -160,7 +160,7 @@ Rectangle WMFReader::ReadRectangle()
return Rectangle( aTL, aBR );
}
-// ------------------------------------------------------------------------
+
Size WMFReader::ReadYXExt()
{
@@ -169,7 +169,7 @@ Size WMFReader::ReadYXExt()
return Size( nW, nH );
}
-// ------------------------------------------------------------------------
+
void WMFReader::ReadRecordParams( sal_uInt16 nFunc )
{
@@ -1089,7 +1089,7 @@ void WMFReader::ReadRecordParams( sal_uInt16 nFunc )
}
}
-// ------------------------------------------------------------------------
+
bool WMFReader::ReadHeader()
{
@@ -1304,7 +1304,7 @@ void WMFReader::ReadWMF()
pWMF->Seek( nStartPos );
}
-// ------------------------------------------------------------------------
+
bool WMFReader::GetPlaceableBound( Rectangle& rPlaceableBound, SvStream* pStm )
{
diff --git a/vcl/source/filter/wmf/wmf.cxx b/vcl/source/filter/wmf/wmf.cxx
index f9e51a2a8724..2100052336ab 100644
--- a/vcl/source/filter/wmf/wmf.cxx
+++ b/vcl/source/filter/wmf/wmf.cxx
@@ -25,7 +25,7 @@
#include <vcl/gdimetafiletools.hxx>
#include <comphelper/scopeguard.hxx>
-// -----------------------------------------------------------------------------
+
bool ConvertWMFToGDIMetaFile( SvStream & rStreamWMF, GDIMetaFile & rGDIMetaFile, FilterConfigItem* pConfigItem, WMF_EXTERNALHEADER *pExtHeader )
{
@@ -56,7 +56,7 @@ bool ConvertWMFToGDIMetaFile( SvStream & rStreamWMF, GDIMetaFile & rGDIMetaFile,
return !rStreamWMF.GetError();
}
-// -----------------------------------------------------------------------------
+
bool ReadWindowMetafile( SvStream& rStream, GDIMetaFile& rMTF, FilterConfigItem* pFilterConfigItem )
{
@@ -90,7 +90,7 @@ bool ReadWindowMetafile( SvStream& rStream, GDIMetaFile& rMTF, FilterConfigItem*
return rStream.good();
}
-// -----------------------------------------------------------------------------
+
bool ConvertGDIMetaFileToWMF( const GDIMetaFile & rMTF, SvStream & rTargetStream,
FilterConfigItem* pConfigItem, bool bPlaceable)
@@ -109,7 +109,7 @@ bool ConvertGDIMetaFileToWMF( const GDIMetaFile & rMTF, SvStream & rTargetStream
return aWMFWriter.WriteWMF( aGdiMetaFile, rTargetStream, pConfigItem, bPlaceable );
}
-// -----------------------------------------------------------------------------
+
bool ConvertGDIMetaFileToEMF( const GDIMetaFile & rMTF, SvStream & rTargetStream,
FilterConfigItem* pConfigItem )
@@ -128,7 +128,7 @@ bool ConvertGDIMetaFileToEMF( const GDIMetaFile & rMTF, SvStream & rTargetStream
return aEMFWriter.WriteEMF( aGdiMetaFile, pConfigItem );
}
-// -----------------------------------------------------------------------------
+
bool WriteWindowMetafileBits( SvStream& rStream, const GDIMetaFile& rMTF )
{
diff --git a/vcl/source/filter/wmf/wmfwr.cxx b/vcl/source/filter/wmf/wmfwr.cxx
index 1baff780e01f..ac979a20a6ef 100644
--- a/vcl/source/filter/wmf/wmfwr.cxx
+++ b/vcl/source/filter/wmf/wmfwr.cxx
@@ -1651,7 +1651,7 @@ void WMFWriter::WriteRecords( const GDIMetaFile & rMTF )
}
}
-// ------------------------------------------------------------------------
+
void WMFWriter::WriteHeader( const GDIMetaFile &, bool bPlaceable )
{
@@ -1685,7 +1685,7 @@ void WMFWriter::WriteHeader( const GDIMetaFile &, bool bPlaceable )
.WriteUInt16( (sal_uInt16)0x0000 ); // reserved
}
-// ------------------------------------------------------------------------
+
void WMFWriter::UpdateHeader()
{
@@ -1707,7 +1707,7 @@ void WMFWriter::UpdateHeader()
pWMF->Seek(nPos);
}
-// ------------------------------------------------------------------------
+
bool WMFWriter::WriteWMF( const GDIMetaFile& rMTF, SvStream& rTargetStream,
FilterConfigItem* pFConfigItem, bool bPlaceable )
@@ -1833,7 +1833,7 @@ bool WMFWriter::WriteWMF( const GDIMetaFile& rMTF, SvStream& rTargetStream,
return bStatus;
}
-// ------------------------------------------------------------------------
+
sal_uInt16 WMFWriter::CalcSaveTargetMapMode(MapMode& rMapMode,
const Size& rPrefSize)
@@ -1859,7 +1859,7 @@ sal_uInt16 WMFWriter::CalcSaveTargetMapMode(MapMode& rMapMode,
return nDivisor;
}
-// ------------------------------------------------------------------------
+
void WMFWriter::WriteEmbeddedEMF( const GDIMetaFile& rMTF )
{
@@ -1912,7 +1912,7 @@ void WMFWriter::WriteEmbeddedEMF( const GDIMetaFile& rMTF )
}
}
-// ------------------------------------------------------------------------
+
void WMFWriter::WriteEMFRecord( SvMemoryStream& rStream, sal_uInt32 nCurSize, sal_uInt32 nRemainingSize,
sal_uInt32 nTotalSize, sal_uInt32 nRecCounts, sal_uInt16 nCheckSum )
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index d57b849ad965..79c9f50ab577 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -142,9 +142,9 @@ static const char* pStringIds[] = {
"Regular", "Roman", "Semibold"
};
-// --------------------------------------------------------------------
-// --------------------------------------------------------------------
+
+
// TOP DICT keywords (also covers PRIV DICT keywords)
static const char* pDictOps[] = {
@@ -158,7 +158,7 @@ static const char* pDictOps[] = {
"shortint", "longint", "BCD", NULL
};
-// --------------------------------------------------------------------
+
// TOP DICT escapes (also covers PRIV DICT escapes)
static const char* pDictEscs[] = {
@@ -174,7 +174,7 @@ static const char* pDictEscs[] = {
"nFDArray", "nFDSelect", "sFontName"
};
-// --------------------------------------------------------------------
+
static const char* pType1Ops[] = {
NULL, "2hstem", NULL, "2vstem",
@@ -187,7 +187,7 @@ static const char* pType1Ops[] = {
NULL, NULL, "4vhcurveto", "4hvcurveto"
};
-// --------------------------------------------------------------------
+
static const char* pT1EscOps[] = {
"0dotsection", "6vstem3", "6hstem3", NULL,
@@ -201,7 +201,7 @@ static const char* pT1EscOps[] = {
NULL, "2setcurrentpoint"
};
-// --------------------------------------------------------------------
+
struct TYPE1OP
{
@@ -222,7 +222,7 @@ struct TYPE1OP
};
};
-// --------------------------------------------------------------------
+
static const char* pType2Ops[] = {
NULL, "hhstem", NULL, "vvstem",
@@ -235,7 +235,7 @@ static const char* pType2Ops[] = {
".shortint", "Gcallgsubr", ".vhcurveto", ".hvcurveto"
};
-// --------------------------------------------------------------------
+
static const char* pT2EscOps[] = {
NULL, NULL, NULL, "2and",
@@ -250,7 +250,7 @@ static const char* pT2EscOps[] = {
"9hflex1", "fflex1"
};
-// --------------------------------------------------------------------
+
struct TYPE2OP
{
@@ -350,7 +350,7 @@ public:
GlyphWidth* pGlyphWidths, int nGlyphCount, FontSubsetInfo& ) = 0;
};
-// --------------------------------------------------------------------
+
SubsetterContext::~SubsetterContext( void)
{}
@@ -463,7 +463,7 @@ private:
ValType maCharWidth;
};
-// --------------------------------------------------------------------
+
CffSubsetterContext::CffSubsetterContext( const U8* pBasePtr, int nBaseLen)
: mpBasePtr( pBasePtr)
@@ -478,14 +478,14 @@ CffSubsetterContext::CffSubsetterContext( const U8* pBasePtr, int nBaseLen)
mpCffLocal = &maCffLocal[0];
}
-// --------------------------------------------------------------------
+
CffSubsetterContext::~CffSubsetterContext( void)
{
// TODO: delete[] maCffLocal;
}
-// --------------------------------------------------------------------
+
inline int CffSubsetterContext::popInt( void)
{
@@ -495,7 +495,7 @@ inline int CffSubsetterContext::popInt( void)
return nInt;
}
-// --------------------------------------------------------------------
+
inline int CffSubsetterContext::peekInt( void) const
{
@@ -505,7 +505,7 @@ inline int CffSubsetterContext::peekInt( void) const
return nInt;
}
-// --------------------------------------------------------------------
+
inline int CffSubsetterContext::getInt( int nIndex) const
{
@@ -515,7 +515,7 @@ inline int CffSubsetterContext::getInt( int nIndex) const
return nInt;
}
-// --------------------------------------------------------------------
+
inline void CffSubsetterContext::updateWidth( bool bUseFirstVal)
{
@@ -535,7 +535,7 @@ inline void CffSubsetterContext::updateWidth( bool bUseFirstVal)
}
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::addHints( bool bVerticalHints)
{
@@ -568,7 +568,7 @@ void CffSubsetterContext::addHints( bool bVerticalHints)
mnStackIdx = 0;
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::setCharStringType( int nVal)
{
@@ -579,7 +579,7 @@ void CffSubsetterContext::setCharStringType( int nVal)
}
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::readDictOp( void)
{
@@ -718,7 +718,7 @@ void CffSubsetterContext::readDictOp( void)
}
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::read2push()
{
@@ -752,7 +752,7 @@ void CffSubsetterContext::read2push()
push( aVal);
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::writeType1Val( ValType aVal)
{
@@ -789,7 +789,7 @@ void CffSubsetterContext::writeType1Val( ValType aVal)
mpWritePtr = pOut;
}
-// --------------------------------------------------------------------
+
inline void CffSubsetterContext::pop2write( void)
{
@@ -797,14 +797,14 @@ inline void CffSubsetterContext::pop2write( void)
writeType1Val( aVal);
}
-// --------------------------------------------------------------------
+
inline void CffSubsetterContext::writeTypeOp( int nTypeOp)
{
*(mpWritePtr++) = static_cast<U8>(nTypeOp);
}
-// --------------------------------------------------------------------
+
inline void CffSubsetterContext::writeTypeEsc( int nTypeEsc)
{
@@ -812,7 +812,7 @@ inline void CffSubsetterContext::writeTypeEsc( int nTypeEsc)
*(mpWritePtr++) = static_cast<U8>(nTypeEsc);
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::pop2MultiWrite( int nArgsPerTypo, int nTypeOp, int nTypeXor)
{
@@ -828,7 +828,7 @@ void CffSubsetterContext::pop2MultiWrite( int nArgsPerTypo, int nTypeOp, int nTy
clear();
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::popAll2Write( int nTypeOp)
{
@@ -841,7 +841,7 @@ void CffSubsetterContext::popAll2Write( int nTypeOp)
writeTypeOp( nTypeOp);
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::writeCurveTo( int nStackPos,
int nIX1, int nIY1, int nIX2, int nIY2, int nIX3, int nIY3)
@@ -866,7 +866,7 @@ void CffSubsetterContext::writeCurveTo( int nStackPos,
writeTypeOp( TYPE1OP::RCURVETO );
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::convertOneTypeOp( void)
{
@@ -1093,7 +1093,7 @@ void CffSubsetterContext::convertOneTypeOp( void)
}
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::convertOneTypeEsc( void)
{
@@ -1276,7 +1276,7 @@ void CffSubsetterContext::convertOneTypeEsc( void)
}
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::callType2Subr( bool bGlobal, int nSubrNumber)
{
@@ -1298,7 +1298,7 @@ void CffSubsetterContext::callType2Subr( bool bGlobal, int nSubrNumber)
mpReadEnd = pOldReadEnd;
}
-// --------------------------------------------------------------------
+
static const int MAX_T1OPS_SIZE = 81920; // TODO: use dynamic value
@@ -1375,7 +1375,7 @@ if( mbSawError) {
return nType1Len;
}
-// --------------------------------------------------------------------
+
RealType CffSubsetterContext::readRealVal()
{
@@ -1447,7 +1447,7 @@ RealType CffSubsetterContext::readRealVal()
return fReal;
}
-// --------------------------------------------------------------------
+
// prepare to access an element inside a CFF/CID index table
int CffSubsetterContext::seekIndexData( int nIndexBase, int nDataIndex)
@@ -1488,7 +1488,7 @@ int CffSubsetterContext::seekIndexData( int nIndexBase, int nDataIndex)
return (nOfs2 - nOfs1);
}
-// --------------------------------------------------------------------
+
// skip over a CFF/CID index table
void CffSubsetterContext::seekIndexEnd( int nIndexBase)
@@ -1543,7 +1543,7 @@ CffLocal::CffLocal( void)
maFamilyOtherBlues.clear();
}
-// --------------------------------------------------------------------
+
CffGlobal::CffGlobal( void)
: mnNameIdxBase( 0)
@@ -1569,7 +1569,7 @@ CffGlobal::CffGlobal( void)
// TODO; maFontMatrix.clear();
}
-// --------------------------------------------------------------------
+
void CffSubsetterContext::initialCffRead( void)
{
@@ -1672,7 +1672,7 @@ void CffSubsetterContext::initialCffRead( void)
// ignore the Notices info
}
-// --------------------------------------------------------------------
+
// get a cstring from a StringID
const char* CffSubsetterContext::getString( int nStringID)
@@ -1706,7 +1706,7 @@ const char* CffSubsetterContext::getString( int nStringID)
return aNameBuf;
}
-// --------------------------------------------------------------------
+
// access a CID's FDSelect table
int CffSubsetterContext::getFDSelect( int nGlyphIndex) const
@@ -1752,7 +1752,7 @@ int CffSubsetterContext::getFDSelect( int nGlyphIndex) const
return -1;
}
-// --------------------------------------------------------------------
+
int CffSubsetterContext::getGlyphSID( int nGlyphIndex) const
{
@@ -1801,7 +1801,7 @@ int CffSubsetterContext::getGlyphSID( int nGlyphIndex) const
return nSID;
}
-// --------------------------------------------------------------------
+
// NOTE: the result becomes invalid with the next call to this method
const char* CffSubsetterContext::getGlyphName( int nGlyphIndex)
@@ -1839,7 +1839,7 @@ const char* CffSubsetterContext::getGlyphName( int nGlyphIndex)
return pGlyphName;
}
-// --------------------------------------------------------------------
+
class Type1Emitter
{
@@ -1868,7 +1868,7 @@ public:
int mnHexLineCol;
};
-// --------------------------------------------------------------------
+
Type1Emitter::Type1Emitter( FILE* pOutFile, bool bPfbSubset)
: mpFileOut( pOutFile)
@@ -1881,7 +1881,7 @@ Type1Emitter::Type1Emitter( FILE* pOutFile, bool bPfbSubset)
maSubsetName[0] = '\0';
}
-// --------------------------------------------------------------------
+
Type1Emitter::~Type1Emitter( void)
{
@@ -1892,7 +1892,7 @@ Type1Emitter::~Type1Emitter( void)
mpFileOut = NULL;
}
-// --------------------------------------------------------------------
+
void Type1Emitter::setSubsetName( const char* pSubsetName)
{
@@ -1902,7 +1902,7 @@ void Type1Emitter::setSubsetName( const char* pSubsetName)
maSubsetName[sizeof(maSubsetName)-1] = '\0';
}
-// --------------------------------------------------------------------
+
int Type1Emitter::tellPos( void) const
{
@@ -1910,7 +1910,7 @@ int Type1Emitter::tellPos( void) const
return nTellPos;
}
-// --------------------------------------------------------------------
+
size_t Type1Emitter::updateLen( int nTellPos, size_t nLength)
{
@@ -1928,14 +1928,14 @@ size_t Type1Emitter::updateLen( int nTellPos, size_t nLength)
return nWrote;
}
-// --------------------------------------------------------------------
+
inline size_t Type1Emitter::emitRawData(const char* pData, size_t nLength) const
{
return fwrite( pData, 1, nLength, mpFileOut);
}
-// --------------------------------------------------------------------
+
inline void Type1Emitter::emitAllRaw( void)
{
@@ -1946,7 +1946,7 @@ inline void Type1Emitter::emitAllRaw( void)
mpPtr = maBuffer;
}
-// --------------------------------------------------------------------
+
inline void Type1Emitter::emitAllHex( void)
{
@@ -1974,7 +1974,7 @@ inline void Type1Emitter::emitAllHex( void)
mpPtr = maBuffer;
}
-// --------------------------------------------------------------------
+
void Type1Emitter::emitAllCrypted( void)
{
@@ -1991,7 +1991,7 @@ void Type1Emitter::emitAllCrypted( void)
emitAllHex();
}
-// --------------------------------------------------------------------
+
// #i110387# quick-and-dirty double->ascii conversion
// needed because sprintf/ecvt/etc. alone are too localized (LC_NUMERIC)
@@ -2002,7 +2002,7 @@ inline int dbl2str( char* pOut, double fVal, int nPrecision=6)
return nLen;
}
-// --------------------------------------------------------------------
+
void Type1Emitter::emitValVector( const char* pLineHead, const char* pLineTail,
const ValVector& rVector)
@@ -2028,7 +2028,7 @@ void Type1Emitter::emitValVector( const char* pLineHead, const char* pLineTail,
mpPtr += sprintf( mpPtr, "%s", pLineTail);
}
-// --------------------------------------------------------------------
+
bool CffSubsetterContext::emitAsType1( Type1Emitter& rEmitter,
const sal_GlyphId* pReqGlyphIds, const U8* pReqEncoding,
diff --git a/vcl/source/fontsubset/fontsubset.cxx b/vcl/source/fontsubset/fontsubset.cxx
index 8b8970486cad..ab0636f73c04 100644
--- a/vcl/source/fontsubset/fontsubset.cxx
+++ b/vcl/source/fontsubset/fontsubset.cxx
@@ -36,12 +36,12 @@ FontSubsetInfo::FontSubsetInfo()
, mpSftTTFont( NULL)
{}
-// --------------------------------------------------------------------
+
FontSubsetInfo::~FontSubsetInfo()
{}
-// --------------------------------------------------------------------
+
// prepare subsetting for fonts where the input font file is mapped
bool FontSubsetInfo::LoadFont(
@@ -55,7 +55,7 @@ bool FontSubsetInfo::LoadFont(
return (mnInByteLength > 0);
}
-// --------------------------------------------------------------------
+
// prepare subsetting for fonts that are known to the SFT-parser
bool FontSubsetInfo::LoadFont( vcl::_TrueTypeFont* pSftTTFont )
@@ -66,7 +66,7 @@ bool FontSubsetInfo::LoadFont( vcl::_TrueTypeFont* pSftTTFont )
return (mpSftTTFont == NULL);
}
-// --------------------------------------------------------------------
+
bool FontSubsetInfo::CreateFontSubset(
int nReqFontTypeMask,
@@ -113,7 +113,7 @@ bool FontSubsetInfo::CreateFontSubset(
return bOK;
}
-// --------------------------------------------------------------------
+
// TODO: move function to sft.cxx to replace dummy implementation
bool FontSubsetInfo::CreateFontSubsetFromSfnt( sal_Int32* pOutGlyphWidths )
@@ -158,7 +158,7 @@ bool FontSubsetInfo::CreateFontSubsetFromSfnt( sal_Int32* pOutGlyphWidths )
return (nSFTErr != vcl::SF_OK);
}
-// --------------------------------------------------------------------
+
// TODO: replace dummy implementation
bool FontSubsetInfo::CreateFontSubsetFromType1( sal_Int32* pOutGlyphWidths)
diff --git a/vcl/source/fontsubset/xlat.cxx b/vcl/source/fontsubset/xlat.cxx
index b92d6b670757..22365b709764 100644
--- a/vcl/source/fontsubset/xlat.cxx
+++ b/vcl/source/fontsubset/xlat.cxx
@@ -51,7 +51,7 @@ ConverterCache::ConverterCache( void)
}
}
-// --------------------------------------------------------------------
+
ConverterCache::~ConverterCache( void)
{
@@ -64,7 +64,7 @@ ConverterCache::~ConverterCache( void)
}
}
-// --------------------------------------------------------------------
+
void ConverterCache::ensureConverter( int nSelect )
{
@@ -93,7 +93,7 @@ void ConverterCache::ensureConverter( int nSelect )
rtl_resetUnicodeToTextContext( maConverterCache[ nSelect ], aContext );
}
-// --------------------------------------------------------------------
+
sal_uInt16 ConverterCache::convertOne( int nSelect, sal_Unicode aChar )
{
@@ -118,7 +118,7 @@ sal_uInt16 ConverterCache::convertOne( int nSelect, sal_Unicode aChar )
return aCode;
}
-// --------------------------------------------------------------------
+
void ConverterCache::convertStr( int nSelect, const sal_Unicode* pSrc, sal_uInt16* pDst, int nCount )
{
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 73029540a90b..22afc65c627e 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -946,7 +946,7 @@ bool Bitmap::Scale( const double& rScaleX, const double& rScaleY, sal_uInt32 nSc
return bRetval;
}
-// ------------------------------------------------------------------------
+
bool Bitmap::Scale( const Size& rNewSize, sal_uInt32 nScaleFlag )
{
@@ -965,14 +965,14 @@ bool Bitmap::Scale( const Size& rNewSize, sal_uInt32 nScaleFlag )
return bRet;
}
-// ------------------------------------------------------------------------
+
void Bitmap::AdaptBitCount(Bitmap& rNew) const
{
ImplAdaptBitCount(rNew);
}
-// ------------------------------------------------------------------------
+
void Bitmap::ImplAdaptBitCount(Bitmap& rNew) const
{
@@ -2084,7 +2084,7 @@ bool Bitmap::ImplScaleSuper(
return bRet;
}
-//-----------------------------------------------------------------------------------
+
namespace
{
@@ -2442,7 +2442,7 @@ bool Bitmap::ImplScaleConvolution(
return bResult;
}
-// ------------------------------------------------------------------------
+
bool Bitmap::Dither( sal_uLong nDitherFlags )
{
diff --git a/vcl/source/gdi/lineinfo.cxx b/vcl/source/gdi/lineinfo.cxx
index a6fb09f1ad05..91c299177d63 100644
--- a/vcl/source/gdi/lineinfo.cxx
+++ b/vcl/source/gdi/lineinfo.cxx
@@ -27,9 +27,9 @@
#include <numeric>
-// ----------------
+
// - ImplLineInfo -
-// ----------------
+
ImplLineInfo::ImplLineInfo() :
mnRefCount ( 1 ),
@@ -45,7 +45,7 @@ ImplLineInfo::ImplLineInfo() :
{
}
-// -----------------------------------------------------------------------
+
ImplLineInfo::ImplLineInfo( const ImplLineInfo& rImplLineInfo ) :
mnRefCount ( 1 ),
@@ -61,7 +61,7 @@ ImplLineInfo::ImplLineInfo( const ImplLineInfo& rImplLineInfo ) :
{
}
-// -----------------------------------------------------------------------
+
inline bool ImplLineInfo::operator==( const ImplLineInfo& rB ) const
{
@@ -76,9 +76,9 @@ inline bool ImplLineInfo::operator==( const ImplLineInfo& rB ) const
&& meLineCap == rB.meLineCap);
}
-// ------------
+
// - LineInfo -
-// ------------
+
LineInfo::LineInfo( LineStyle eStyle, long nWidth )
{
@@ -87,7 +87,7 @@ LineInfo::LineInfo( LineStyle eStyle, long nWidth )
mpImplLineInfo->mnWidth = nWidth;
}
-// -----------------------------------------------------------------------
+
LineInfo::LineInfo( const LineInfo& rLineInfo )
{
@@ -95,7 +95,7 @@ LineInfo::LineInfo( const LineInfo& rLineInfo )
mpImplLineInfo->mnRefCount++;
}
-// -----------------------------------------------------------------------
+
LineInfo::~LineInfo()
{
@@ -103,7 +103,7 @@ LineInfo::~LineInfo()
delete mpImplLineInfo;
}
-// -----------------------------------------------------------------------
+
LineInfo& LineInfo::operator=( const LineInfo& rLineInfo )
{
@@ -117,7 +117,7 @@ LineInfo& LineInfo::operator=( const LineInfo& rLineInfo )
return *this;
}
-// -----------------------------------------------------------------------
+
bool LineInfo::operator==( const LineInfo& rLineInfo ) const
{
@@ -126,7 +126,7 @@ bool LineInfo::operator==( const LineInfo& rLineInfo ) const
*mpImplLineInfo == *rLineInfo.mpImplLineInfo );
}
-// -----------------------------------------------------------------------
+
void LineInfo::ImplMakeUnique()
{
@@ -139,7 +139,7 @@ void LineInfo::ImplMakeUnique()
}
}
-// -----------------------------------------------------------------------
+
void LineInfo::SetStyle( LineStyle eStyle )
{
@@ -147,7 +147,7 @@ void LineInfo::SetStyle( LineStyle eStyle )
mpImplLineInfo->meStyle = eStyle;
}
-// -----------------------------------------------------------------------
+
void LineInfo::SetWidth( long nWidth )
{
@@ -155,7 +155,7 @@ void LineInfo::SetWidth( long nWidth )
mpImplLineInfo->mnWidth = nWidth;
}
-// -----------------------------------------------------------------------
+
void LineInfo::SetDashCount( sal_uInt16 nDashCount )
{
@@ -163,7 +163,7 @@ void LineInfo::SetDashCount( sal_uInt16 nDashCount )
mpImplLineInfo->mnDashCount = nDashCount;
}
-// -----------------------------------------------------------------------
+
void LineInfo::SetDashLen( long nDashLen )
{
@@ -171,7 +171,7 @@ void LineInfo::SetDashLen( long nDashLen )
mpImplLineInfo->mnDashLen = nDashLen;
}
-// -----------------------------------------------------------------------
+
void LineInfo::SetDotCount( sal_uInt16 nDotCount )
{
@@ -179,7 +179,7 @@ void LineInfo::SetDotCount( sal_uInt16 nDotCount )
mpImplLineInfo->mnDotCount = nDotCount;
}
-// -----------------------------------------------------------------------
+
void LineInfo::SetDotLen( long nDotLen )
{
@@ -187,7 +187,7 @@ void LineInfo::SetDotLen( long nDotLen )
mpImplLineInfo->mnDotLen = nDotLen;
}
-// -----------------------------------------------------------------------
+
void LineInfo::SetDistance( long nDistance )
{
@@ -195,7 +195,7 @@ void LineInfo::SetDistance( long nDistance )
mpImplLineInfo->mnDistance = nDistance;
}
-// -----------------------------------------------------------------------
+
void LineInfo::SetLineJoin(basegfx::B2DLineJoin eLineJoin)
{
@@ -207,7 +207,7 @@ void LineInfo::SetLineJoin(basegfx::B2DLineJoin eLineJoin)
}
}
-// -----------------------------------------------------------------------
+
void LineInfo::SetLineCap(com::sun::star::drawing::LineCap eLineCap)
{
@@ -218,7 +218,7 @@ void LineInfo::SetLineCap(com::sun::star::drawing::LineCap eLineCap)
}
}
-// -----------------------------------------------------------------------
+
bool LineInfo::IsDefault() const
{
@@ -227,7 +227,7 @@ bool LineInfo::IsDefault() const
&& ( com::sun::star::drawing::LineCap_BUTT == mpImplLineInfo->meLineCap));
}
-// -----------------------------------------------------------------------
+
SvStream& ReadImplLineInfo( SvStream& rIStm, ImplLineInfo& rImplLineInfo )
{
@@ -266,7 +266,7 @@ SvStream& ReadImplLineInfo( SvStream& rIStm, ImplLineInfo& rImplLineInfo )
return rIStm;
}
-// -----------------------------------------------------------------------
+
SvStream& WriteImplLineInfo( SvStream& rOStm, const ImplLineInfo& rImplLineInfo )
{
@@ -290,7 +290,7 @@ SvStream& WriteImplLineInfo( SvStream& rOStm, const ImplLineInfo& rImplLineInfo
return rOStm;
}
-// -----------------------------------------------------------------------
+
SvStream& ReadLineInfo( SvStream& rIStm, LineInfo& rLineInfo )
{
@@ -298,14 +298,14 @@ SvStream& ReadLineInfo( SvStream& rIStm, LineInfo& rLineInfo )
return ReadImplLineInfo( rIStm, *rLineInfo.mpImplLineInfo );
}
-// -----------------------------------------------------------------------
+
SvStream& WriteLineInfo( SvStream& rOStm, const LineInfo& rLineInfo )
{
return WriteImplLineInfo( rOStm, *rLineInfo.mpImplLineInfo );
}
-// -----------------------------------------------------------------------
+
void LineInfo::applyToB2DPolyPolygon(
basegfx::B2DPolyPolygon& io_rLinePolyPolygon,
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index 16ecaa20ac57..e3977355321b 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -38,7 +38,7 @@ inline void ImplScalePoint( Point& rPt, double fScaleX, double fScaleY )
rPt.Y() = FRound( fScaleY * rPt.Y() );
}
-// ------------------------------------------------------------------------
+
inline void ImplScaleRect( Rectangle& rRect, double fScaleX, double fScaleY )
{
@@ -52,7 +52,7 @@ inline void ImplScaleRect( Rectangle& rRect, double fScaleX, double fScaleY )
rRect.Justify();
}
-// ------------------------------------------------------------------------
+
inline void ImplScalePoly( Polygon& rPoly, double fScaleX, double fScaleY )
{
@@ -60,7 +60,7 @@ inline void ImplScalePoly( Polygon& rPoly, double fScaleX, double fScaleY )
ImplScalePoint( rPoly[ i ], fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
inline void ImplScaleLineInfo( LineInfo& rLineInfo, double fScaleX, double fScaleY )
{
@@ -90,7 +90,7 @@ MetaAction::MetaAction() :
{
}
-// ------------------------------------------------------------------------
+
MetaAction::MetaAction( sal_uInt16 nType ) :
mnRefCount( 1 ),
@@ -98,59 +98,59 @@ MetaAction::MetaAction( sal_uInt16 nType ) :
{
}
-// ------------------------------------------------------------------------
+
MetaAction::~MetaAction()
{
}
-// ------------------------------------------------------------------------
+
void MetaAction::Execute( OutputDevice* )
{
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaAction::Clone()
{
return new MetaAction;
}
-// ------------------------------------------------------------------------
+
void MetaAction::Move( long, long )
{
}
-// ------------------------------------------------------------------------
+
void MetaAction::Scale( double, double )
{
}
-// ------------------------------------------------------------------------
+
bool MetaAction::Compare( const MetaAction& ) const
{
return true;
}
-// ------------------------------------------------------------------------
+
void MetaAction::Write( SvStream& rOStm, ImplMetaWriteData* )
{
rOStm.WriteUInt16( mnType );
}
-// ------------------------------------------------------------------------
+
void MetaAction::Read( SvStream&, ImplMetaReadData* )
{
// DO NOT read mnType - ReadMetaAction already did that!
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaAction::ReadMetaAction( SvStream& rIStm, ImplMetaReadData* pData )
{
@@ -237,7 +237,7 @@ MetaAction* MetaAction::ReadMetaAction( SvStream& rIStm, ImplMetaReadData* pData
IMPL_META_ACTION( Pixel, META_PIXEL_ACTION )
-// ------------------------------------------------------------------------
+
MetaPixelAction::MetaPixelAction( const Point& rPt, const Color& rColor ) :
MetaAction ( META_PIXEL_ACTION ),
@@ -246,14 +246,14 @@ MetaPixelAction::MetaPixelAction( const Point& rPt, const Color& rColor ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaPixelAction::Execute( OutputDevice* pOut )
{
pOut->DrawPixel( maPt, maColor );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaPixelAction::Clone()
{
@@ -262,21 +262,21 @@ MetaAction* MetaPixelAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaPixelAction::Move( long nHorzMove, long nVertMove )
{
maPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaPixelAction::Scale( double fScaleX, double fScaleY )
{
ImplScalePoint( maPt, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaPixelAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -284,7 +284,7 @@ bool MetaPixelAction::Compare( const MetaAction& rMetaAction ) const
( maColor == ((MetaPixelAction&)rMetaAction).maColor );
}
-// ------------------------------------------------------------------------
+
void MetaPixelAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -293,7 +293,7 @@ void MetaPixelAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
maColor.Write( rOStm, true );
}
-// ------------------------------------------------------------------------
+
void MetaPixelAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -306,7 +306,7 @@ void MetaPixelAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Point, META_POINT_ACTION )
-// ------------------------------------------------------------------------
+
MetaPointAction::MetaPointAction( const Point& rPt ) :
MetaAction ( META_POINT_ACTION ),
@@ -314,14 +314,14 @@ MetaPointAction::MetaPointAction( const Point& rPt ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaPointAction::Execute( OutputDevice* pOut )
{
pOut->DrawPixel( maPt );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaPointAction::Clone()
{
@@ -330,28 +330,28 @@ MetaAction* MetaPointAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaPointAction::Move( long nHorzMove, long nVertMove )
{
maPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaPointAction::Scale( double fScaleX, double fScaleY )
{
ImplScalePoint( maPt, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaPointAction::Compare( const MetaAction& rMetaAction ) const
{
return maPt == ((MetaPointAction&)rMetaAction).maPt;
}
-// ------------------------------------------------------------------------
+
void MetaPointAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -359,7 +359,7 @@ void MetaPointAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WritePair( rOStm, maPt );
}
-// ------------------------------------------------------------------------
+
void MetaPointAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -371,7 +371,7 @@ void MetaPointAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Line, META_LINE_ACTION )
-// ------------------------------------------------------------------------
+
MetaLineAction::MetaLineAction( const Point& rStart, const Point& rEnd ) :
MetaAction ( META_LINE_ACTION ),
@@ -380,7 +380,7 @@ MetaLineAction::MetaLineAction( const Point& rStart, const Point& rEnd ) :
{
}
-// ------------------------------------------------------------------------
+
MetaLineAction::MetaLineAction( const Point& rStart, const Point& rEnd,
const LineInfo& rLineInfo ) :
@@ -391,7 +391,7 @@ MetaLineAction::MetaLineAction( const Point& rStart, const Point& rEnd,
{
}
-// ------------------------------------------------------------------------
+
void MetaLineAction::Execute( OutputDevice* pOut )
{
@@ -401,7 +401,7 @@ void MetaLineAction::Execute( OutputDevice* pOut )
pOut->DrawLine( maStartPt, maEndPt, maLineInfo );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaLineAction::Clone()
{
@@ -410,7 +410,7 @@ MetaAction* MetaLineAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaLineAction::Move( long nHorzMove, long nVertMove )
{
@@ -418,7 +418,7 @@ void MetaLineAction::Move( long nHorzMove, long nVertMove )
maEndPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaLineAction::Scale( double fScaleX, double fScaleY )
{
@@ -427,7 +427,7 @@ void MetaLineAction::Scale( double fScaleX, double fScaleY )
ImplScaleLineInfo( maLineInfo, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaLineAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -436,7 +436,7 @@ bool MetaLineAction::Compare( const MetaAction& rMetaAction ) const
( maEndPt == ((MetaLineAction&)rMetaAction).maEndPt );
}
-// ------------------------------------------------------------------------
+
void MetaLineAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -447,7 +447,7 @@ void MetaLineAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WriteLineInfo( rOStm, maLineInfo ); // Version 2
}
-// ------------------------------------------------------------------------
+
void MetaLineAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -468,7 +468,7 @@ void MetaLineAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Rect, META_RECT_ACTION )
-// ------------------------------------------------------------------------
+
MetaRectAction::MetaRectAction( const Rectangle& rRect ) :
MetaAction ( META_RECT_ACTION ),
@@ -476,14 +476,14 @@ MetaRectAction::MetaRectAction( const Rectangle& rRect ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaRectAction::Execute( OutputDevice* pOut )
{
pOut->DrawRect( maRect );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaRectAction::Clone()
{
@@ -492,28 +492,28 @@ MetaAction* MetaRectAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaRectAction::Move( long nHorzMove, long nVertMove )
{
maRect.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaRectAction::Scale( double fScaleX, double fScaleY )
{
ImplScaleRect( maRect, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaRectAction::Compare( const MetaAction& rMetaAction ) const
{
return maRect == ((MetaRectAction&)rMetaAction).maRect;
}
-// ------------------------------------------------------------------------
+
void MetaRectAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -521,7 +521,7 @@ void MetaRectAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WriteRectangle( rOStm, maRect );
}
-// ------------------------------------------------------------------------
+
void MetaRectAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -533,7 +533,7 @@ void MetaRectAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( RoundRect, META_ROUNDRECT_ACTION )
-// ------------------------------------------------------------------------
+
MetaRoundRectAction::MetaRoundRectAction( const Rectangle& rRect,
sal_uInt32 nHorzRound, sal_uInt32 nVertRound ) :
@@ -544,14 +544,14 @@ MetaRoundRectAction::MetaRoundRectAction( const Rectangle& rRect,
{
}
-// ------------------------------------------------------------------------
+
void MetaRoundRectAction::Execute( OutputDevice* pOut )
{
pOut->DrawRect( maRect, mnHorzRound, mnVertRound );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaRoundRectAction::Clone()
{
@@ -560,14 +560,14 @@ MetaAction* MetaRoundRectAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaRoundRectAction::Move( long nHorzMove, long nVertMove )
{
maRect.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaRoundRectAction::Scale( double fScaleX, double fScaleY )
{
@@ -576,7 +576,7 @@ void MetaRoundRectAction::Scale( double fScaleX, double fScaleY )
mnVertRound = FRound( mnVertRound * fabs(fScaleY) );
}
-// ------------------------------------------------------------------------
+
bool MetaRoundRectAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -585,7 +585,7 @@ bool MetaRoundRectAction::Compare( const MetaAction& rMetaAction ) const
( mnVertRound == ((MetaRoundRectAction&)rMetaAction).mnVertRound );
}
-// ------------------------------------------------------------------------
+
void MetaRoundRectAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -594,7 +594,7 @@ void MetaRoundRectAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUInt32( mnHorzRound ).WriteUInt32( mnVertRound );
}
-// ------------------------------------------------------------------------
+
void MetaRoundRectAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -606,7 +606,7 @@ void MetaRoundRectAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Ellipse, META_ELLIPSE_ACTION )
-// ------------------------------------------------------------------------
+
MetaEllipseAction::MetaEllipseAction( const Rectangle& rRect ) :
MetaAction ( META_ELLIPSE_ACTION ),
@@ -614,14 +614,14 @@ MetaEllipseAction::MetaEllipseAction( const Rectangle& rRect ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaEllipseAction::Execute( OutputDevice* pOut )
{
pOut->DrawEllipse( maRect );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaEllipseAction::Clone()
{
@@ -630,28 +630,28 @@ MetaAction* MetaEllipseAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaEllipseAction::Move( long nHorzMove, long nVertMove )
{
maRect.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaEllipseAction::Scale( double fScaleX, double fScaleY )
{
ImplScaleRect( maRect, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaEllipseAction::Compare( const MetaAction& rMetaAction ) const
{
return maRect == ((MetaEllipseAction&)rMetaAction).maRect;
}
-// ------------------------------------------------------------------------
+
void MetaEllipseAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -659,7 +659,7 @@ void MetaEllipseAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WriteRectangle( rOStm, maRect );
}
-// ------------------------------------------------------------------------
+
void MetaEllipseAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -671,7 +671,7 @@ void MetaEllipseAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Arc, META_ARC_ACTION )
-// ------------------------------------------------------------------------
+
MetaArcAction::MetaArcAction( const Rectangle& rRect,
const Point& rStart, const Point& rEnd ) :
@@ -682,14 +682,14 @@ MetaArcAction::MetaArcAction( const Rectangle& rRect,
{
}
-// ------------------------------------------------------------------------
+
void MetaArcAction::Execute( OutputDevice* pOut )
{
pOut->DrawArc( maRect, maStartPt, maEndPt );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaArcAction::Clone()
{
@@ -698,7 +698,7 @@ MetaAction* MetaArcAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaArcAction::Move( long nHorzMove, long nVertMove )
{
@@ -707,7 +707,7 @@ void MetaArcAction::Move( long nHorzMove, long nVertMove )
maEndPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaArcAction::Scale( double fScaleX, double fScaleY )
{
@@ -716,7 +716,7 @@ void MetaArcAction::Scale( double fScaleX, double fScaleY )
ImplScalePoint( maEndPt, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaArcAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -725,7 +725,7 @@ bool MetaArcAction::Compare( const MetaAction& rMetaAction ) const
( maEndPt == ((MetaArcAction&)rMetaAction).maEndPt );
}
-// ------------------------------------------------------------------------
+
void MetaArcAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -735,7 +735,7 @@ void MetaArcAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WritePair( rOStm, maEndPt );
}
-// ------------------------------------------------------------------------
+
void MetaArcAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -749,7 +749,7 @@ void MetaArcAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Pie, META_PIE_ACTION )
-// ------------------------------------------------------------------------
+
MetaPieAction::MetaPieAction( const Rectangle& rRect,
const Point& rStart, const Point& rEnd ) :
@@ -760,14 +760,14 @@ MetaPieAction::MetaPieAction( const Rectangle& rRect,
{
}
-// ------------------------------------------------------------------------
+
void MetaPieAction::Execute( OutputDevice* pOut )
{
pOut->DrawPie( maRect, maStartPt, maEndPt );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaPieAction::Clone()
{
@@ -776,7 +776,7 @@ MetaAction* MetaPieAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaPieAction::Move( long nHorzMove, long nVertMove )
{
@@ -785,7 +785,7 @@ void MetaPieAction::Move( long nHorzMove, long nVertMove )
maEndPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaPieAction::Scale( double fScaleX, double fScaleY )
{
@@ -794,7 +794,7 @@ void MetaPieAction::Scale( double fScaleX, double fScaleY )
ImplScalePoint( maEndPt, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaPieAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -803,7 +803,7 @@ bool MetaPieAction::Compare( const MetaAction& rMetaAction ) const
( maEndPt == ((MetaPieAction&)rMetaAction).maEndPt );
}
-// ------------------------------------------------------------------------
+
void MetaPieAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -813,7 +813,7 @@ void MetaPieAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WritePair( rOStm, maEndPt );
}
-// ------------------------------------------------------------------------
+
void MetaPieAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -827,7 +827,7 @@ void MetaPieAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Chord, META_CHORD_ACTION )
-// ------------------------------------------------------------------------
+
MetaChordAction::MetaChordAction( const Rectangle& rRect,
const Point& rStart, const Point& rEnd ) :
@@ -838,14 +838,14 @@ MetaChordAction::MetaChordAction( const Rectangle& rRect,
{
}
-// ------------------------------------------------------------------------
+
void MetaChordAction::Execute( OutputDevice* pOut )
{
pOut->DrawChord( maRect, maStartPt, maEndPt );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaChordAction::Clone()
{
@@ -854,7 +854,7 @@ MetaAction* MetaChordAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaChordAction::Move( long nHorzMove, long nVertMove )
{
@@ -863,7 +863,7 @@ void MetaChordAction::Move( long nHorzMove, long nVertMove )
maEndPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaChordAction::Scale( double fScaleX, double fScaleY )
{
@@ -872,7 +872,7 @@ void MetaChordAction::Scale( double fScaleX, double fScaleY )
ImplScalePoint( maEndPt, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaChordAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -881,7 +881,7 @@ bool MetaChordAction::Compare( const MetaAction& rMetaAction ) const
( maEndPt == ((MetaChordAction&)rMetaAction).maEndPt );
}
-// ------------------------------------------------------------------------
+
void MetaChordAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -891,7 +891,7 @@ void MetaChordAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WritePair( rOStm, maEndPt );
}
-// ------------------------------------------------------------------------
+
void MetaChordAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -905,7 +905,7 @@ void MetaChordAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( PolyLine, META_POLYLINE_ACTION )
-// ------------------------------------------------------------------------
+
MetaPolyLineAction::MetaPolyLineAction( const Polygon& rPoly ) :
MetaAction ( META_POLYLINE_ACTION ),
@@ -913,7 +913,7 @@ MetaPolyLineAction::MetaPolyLineAction( const Polygon& rPoly ) :
{
}
-// ------------------------------------------------------------------------
+
MetaPolyLineAction::MetaPolyLineAction( const Polygon& rPoly, const LineInfo& rLineInfo ) :
MetaAction ( META_POLYLINE_ACTION ),
@@ -922,7 +922,7 @@ MetaPolyLineAction::MetaPolyLineAction( const Polygon& rPoly, const LineInfo& rL
{
}
-// ------------------------------------------------------------------------
+
void MetaPolyLineAction::Execute( OutputDevice* pOut )
{
@@ -932,7 +932,7 @@ void MetaPolyLineAction::Execute( OutputDevice* pOut )
pOut->DrawPolyLine( maPoly, maLineInfo );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaPolyLineAction::Clone()
{
@@ -941,14 +941,14 @@ MetaAction* MetaPolyLineAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaPolyLineAction::Move( long nHorzMove, long nVertMove )
{
maPoly.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaPolyLineAction::Scale( double fScaleX, double fScaleY )
{
@@ -956,7 +956,7 @@ void MetaPolyLineAction::Scale( double fScaleX, double fScaleY )
ImplScaleLineInfo( maLineInfo, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaPolyLineAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -969,7 +969,7 @@ bool MetaPolyLineAction::Compare( const MetaAction& rMetaAction ) const
}
-// ------------------------------------------------------------------------
+
void MetaPolyLineAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -987,7 +987,7 @@ void MetaPolyLineAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
maPoly.Write( rOStm );
}
-// ------------------------------------------------------------------------
+
void MetaPolyLineAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -1012,7 +1012,7 @@ void MetaPolyLineAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Polygon, META_POLYGON_ACTION )
-// ------------------------------------------------------------------------
+
MetaPolygonAction::MetaPolygonAction( const Polygon& rPoly ) :
MetaAction ( META_POLYGON_ACTION ),
@@ -1020,14 +1020,14 @@ MetaPolygonAction::MetaPolygonAction( const Polygon& rPoly ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaPolygonAction::Execute( OutputDevice* pOut )
{
pOut->DrawPolygon( maPoly );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaPolygonAction::Clone()
{
@@ -1036,28 +1036,28 @@ MetaAction* MetaPolygonAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaPolygonAction::Move( long nHorzMove, long nVertMove )
{
maPoly.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaPolygonAction::Scale( double fScaleX, double fScaleY )
{
ImplScalePoly( maPoly, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaPolygonAction::Compare( const MetaAction& rMetaAction ) const
{
return maPoly.IsEqual(((MetaPolygonAction&)rMetaAction).maPoly );
}
-// ------------------------------------------------------------------------
+
void MetaPolygonAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -1073,7 +1073,7 @@ void MetaPolygonAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
maPoly.Write( rOStm );
}
-// ------------------------------------------------------------------------
+
void MetaPolygonAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -1094,7 +1094,7 @@ void MetaPolygonAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( PolyPolygon, META_POLYPOLYGON_ACTION )
-// ------------------------------------------------------------------------
+
MetaPolyPolygonAction::MetaPolyPolygonAction( const PolyPolygon& rPolyPoly ) :
MetaAction ( META_POLYPOLYGON_ACTION ),
@@ -1102,14 +1102,14 @@ MetaPolyPolygonAction::MetaPolyPolygonAction( const PolyPolygon& rPolyPoly ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaPolyPolygonAction::Execute( OutputDevice* pOut )
{
pOut->DrawPolyPolygon( maPolyPoly );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaPolyPolygonAction::Clone()
{
@@ -1118,14 +1118,14 @@ MetaAction* MetaPolyPolygonAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaPolyPolygonAction::Move( long nHorzMove, long nVertMove )
{
maPolyPoly.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaPolyPolygonAction::Scale( double fScaleX, double fScaleY )
{
@@ -1133,14 +1133,14 @@ void MetaPolyPolygonAction::Scale( double fScaleX, double fScaleY )
ImplScalePoly( maPolyPoly[ i ], fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaPolyPolygonAction::Compare( const MetaAction& rMetaAction ) const
{
return maPolyPoly.IsEqual(((MetaPolyPolygonAction&)rMetaAction).maPolyPoly );
}
-// ------------------------------------------------------------------------
+
void MetaPolyPolygonAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -1174,7 +1174,7 @@ void MetaPolyPolygonAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
}
}
-// ------------------------------------------------------------------------
+
void MetaPolyPolygonAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -1199,7 +1199,7 @@ void MetaPolyPolygonAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Text, META_TEXT_ACTION )
-// ------------------------------------------------------------------------
+
MetaTextAction::MetaTextAction( const Point& rPt, const OUString& rStr,
sal_Int32 nIndex, sal_Int32 nLen ) :
@@ -1211,14 +1211,14 @@ MetaTextAction::MetaTextAction( const Point& rPt, const OUString& rStr,
{
}
-// ------------------------------------------------------------------------
+
void MetaTextAction::Execute( OutputDevice* pOut )
{
pOut->DrawText( maPt, maStr, mnIndex, mnLen );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaTextAction::Clone()
{
@@ -1227,21 +1227,21 @@ MetaAction* MetaTextAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaTextAction::Move( long nHorzMove, long nVertMove )
{
maPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaTextAction::Scale( double fScaleX, double fScaleY )
{
ImplScalePoint( maPt, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaTextAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -1251,7 +1251,7 @@ bool MetaTextAction::Compare( const MetaAction& rMetaAction ) const
( mnLen == ((MetaTextAction&)rMetaAction).mnLen );
}
-// ------------------------------------------------------------------------
+
void MetaTextAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -1264,7 +1264,7 @@ void MetaTextAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
write_uInt16_lenPrefixed_uInt16s_FromOUString(rOStm, maStr); // version 2
}
-// ------------------------------------------------------------------------
+
void MetaTextAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
{
@@ -1288,7 +1288,7 @@ MetaTextArrayAction::MetaTextArrayAction() :
{
}
-// ------------------------------------------------------------------------
+
MetaTextArrayAction::MetaTextArrayAction( const MetaTextArrayAction& rAction ) :
MetaAction ( META_TEXTARRAY_ACTION ),
@@ -1308,7 +1308,7 @@ MetaTextArrayAction::MetaTextArrayAction( const MetaTextArrayAction& rAction ) :
mpDXAry = NULL;
}
-// ------------------------------------------------------------------------
+
MetaTextArrayAction::MetaTextArrayAction( const Point& rStartPt,
const OUString& rStr,
@@ -1332,21 +1332,21 @@ MetaTextArrayAction::MetaTextArrayAction( const Point& rStartPt,
mpDXAry = NULL;
}
-// ------------------------------------------------------------------------
+
MetaTextArrayAction::~MetaTextArrayAction()
{
delete[] mpDXAry;
}
-// ------------------------------------------------------------------------
+
void MetaTextArrayAction::Execute( OutputDevice* pOut )
{
pOut->DrawTextArray( maStartPt, maStr, mpDXAry, mnIndex, mnLen );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaTextArrayAction::Clone()
{
@@ -1355,14 +1355,14 @@ MetaAction* MetaTextArrayAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaTextArrayAction::Move( long nHorzMove, long nVertMove )
{
maStartPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaTextArrayAction::Scale( double fScaleX, double fScaleY )
{
@@ -1375,7 +1375,7 @@ void MetaTextArrayAction::Scale( double fScaleX, double fScaleY )
}
}
-// ------------------------------------------------------------------------
+
bool MetaTextArrayAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -1386,7 +1386,7 @@ bool MetaTextArrayAction::Compare( const MetaAction& rMetaAction ) const
( memcmp( mpDXAry, ((MetaTextArrayAction&)rMetaAction).mpDXAry, mnLen ) == 0 );
}
-// ------------------------------------------------------------------------
+
void MetaTextArrayAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -1405,7 +1405,7 @@ void MetaTextArrayAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
write_uInt16_lenPrefixed_uInt16s_FromOUString(rOStm, maStr); // version 2
}
-// ------------------------------------------------------------------------
+
void MetaTextArrayAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
{
@@ -1469,7 +1469,7 @@ void MetaTextArrayAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
IMPL_META_ACTION( StretchText, META_STRETCHTEXT_ACTION )
-// ------------------------------------------------------------------------
+
MetaStretchTextAction::MetaStretchTextAction( const Point& rPt, sal_uInt32 nWidth,
const OUString& rStr,
@@ -1483,14 +1483,14 @@ MetaStretchTextAction::MetaStretchTextAction( const Point& rPt, sal_uInt32 nWidt
{
}
-// ------------------------------------------------------------------------
+
void MetaStretchTextAction::Execute( OutputDevice* pOut )
{
pOut->DrawStretchText( maPt, mnWidth, maStr, mnIndex, mnLen );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaStretchTextAction::Clone()
{
@@ -1499,14 +1499,14 @@ MetaAction* MetaStretchTextAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaStretchTextAction::Move( long nHorzMove, long nVertMove )
{
maPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaStretchTextAction::Scale( double fScaleX, double fScaleY )
{
@@ -1514,7 +1514,7 @@ void MetaStretchTextAction::Scale( double fScaleX, double fScaleY )
mnWidth = (sal_uLong)FRound( mnWidth * fabs(fScaleX) );
}
-// ------------------------------------------------------------------------
+
bool MetaStretchTextAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -1525,7 +1525,7 @@ bool MetaStretchTextAction::Compare( const MetaAction& rMetaAction ) const
( mnLen == ((MetaStretchTextAction&)rMetaAction).mnLen );
}
-// ------------------------------------------------------------------------
+
void MetaStretchTextAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -1539,7 +1539,7 @@ void MetaStretchTextAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
write_uInt16_lenPrefixed_uInt16s_FromOUString(rOStm, maStr); // version 2
}
-// ------------------------------------------------------------------------
+
void MetaStretchTextAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
{
@@ -1558,7 +1558,7 @@ void MetaStretchTextAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
IMPL_META_ACTION( TextRect, META_TEXTRECT_ACTION )
-// ------------------------------------------------------------------------
+
MetaTextRectAction::MetaTextRectAction( const Rectangle& rRect,
const OUString& rStr, sal_uInt16 nStyle ) :
@@ -1569,14 +1569,14 @@ MetaTextRectAction::MetaTextRectAction( const Rectangle& rRect,
{
}
-// ------------------------------------------------------------------------
+
void MetaTextRectAction::Execute( OutputDevice* pOut )
{
pOut->DrawText( maRect, maStr, mnStyle );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaTextRectAction::Clone()
{
@@ -1585,21 +1585,21 @@ MetaAction* MetaTextRectAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaTextRectAction::Move( long nHorzMove, long nVertMove )
{
maRect.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaTextRectAction::Scale( double fScaleX, double fScaleY )
{
ImplScaleRect( maRect, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaTextRectAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -1608,7 +1608,7 @@ bool MetaTextRectAction::Compare( const MetaAction& rMetaAction ) const
( mnStyle == ((MetaTextRectAction&)rMetaAction).mnStyle );
}
-// ------------------------------------------------------------------------
+
void MetaTextRectAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -1620,7 +1620,7 @@ void MetaTextRectAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
write_uInt16_lenPrefixed_uInt16s_FromOUString(rOStm, maStr); // version 2
}
-// ------------------------------------------------------------------------
+
void MetaTextRectAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
{
@@ -1637,7 +1637,7 @@ void MetaTextRectAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
IMPL_META_ACTION( TextLine, META_TEXTLINE_ACTION )
-// ------------------------------------------------------------------------
+
MetaTextLineAction::MetaTextLineAction( const Point& rPos, long nWidth,
FontStrikeout eStrikeout,
@@ -1652,14 +1652,14 @@ MetaTextLineAction::MetaTextLineAction( const Point& rPos, long nWidth,
{
}
-// ------------------------------------------------------------------------
+
void MetaTextLineAction::Execute( OutputDevice* pOut )
{
pOut->DrawTextLine( maPos, mnWidth, meStrikeout, meUnderline, meOverline );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaTextLineAction::Clone()
{
@@ -1668,14 +1668,14 @@ MetaAction* MetaTextLineAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaTextLineAction::Move( long nHorzMove, long nVertMove )
{
maPos.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaTextLineAction::Scale( double fScaleX, double fScaleY )
{
@@ -1683,7 +1683,7 @@ void MetaTextLineAction::Scale( double fScaleX, double fScaleY )
mnWidth = FRound( mnWidth * fabs(fScaleX) );
}
-// ------------------------------------------------------------------------
+
bool MetaTextLineAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -1694,7 +1694,7 @@ bool MetaTextLineAction::Compare( const MetaAction& rMetaAction ) const
( meOverline == ((MetaTextLineAction&)rMetaAction).meOverline );
}
-// ------------------------------------------------------------------------
+
void MetaTextLineAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -1709,7 +1709,7 @@ void MetaTextLineAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUInt32( static_cast<sal_uInt32>(meOverline) );
}
-// ------------------------------------------------------------------------
+
void MetaTextLineAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -1735,7 +1735,7 @@ void MetaTextLineAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Bmp, META_BMP_ACTION )
-// ------------------------------------------------------------------------
+
MetaBmpAction::MetaBmpAction( const Point& rPt, const Bitmap& rBmp ) :
MetaAction ( META_BMP_ACTION ),
@@ -1744,14 +1744,14 @@ MetaBmpAction::MetaBmpAction( const Point& rPt, const Bitmap& rBmp ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaBmpAction::Execute( OutputDevice* pOut )
{
pOut->DrawBitmap( maPt, maBmp );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaBmpAction::Clone()
{
@@ -1760,21 +1760,21 @@ MetaAction* MetaBmpAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaBmpAction::Move( long nHorzMove, long nVertMove )
{
maPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaBmpAction::Scale( double fScaleX, double fScaleY )
{
ImplScalePoint( maPt, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaBmpAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -1782,7 +1782,7 @@ bool MetaBmpAction::Compare( const MetaAction& rMetaAction ) const
( maPt == ((MetaBmpAction&)rMetaAction).maPt );
}
-// ------------------------------------------------------------------------
+
void MetaBmpAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -1794,7 +1794,7 @@ void MetaBmpAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
}
}
-// ------------------------------------------------------------------------
+
void MetaBmpAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -1807,7 +1807,7 @@ void MetaBmpAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( BmpScale, META_BMPSCALE_ACTION )
-// ------------------------------------------------------------------------
+
MetaBmpScaleAction::MetaBmpScaleAction( const Point& rPt, const Size& rSz,
const Bitmap& rBmp ) :
@@ -1818,14 +1818,14 @@ MetaBmpScaleAction::MetaBmpScaleAction( const Point& rPt, const Size& rSz,
{
}
-// ------------------------------------------------------------------------
+
void MetaBmpScaleAction::Execute( OutputDevice* pOut )
{
pOut->DrawBitmap( maPt, maSz, maBmp );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaBmpScaleAction::Clone()
{
@@ -1834,14 +1834,14 @@ MetaAction* MetaBmpScaleAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaBmpScaleAction::Move( long nHorzMove, long nVertMove )
{
maPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaBmpScaleAction::Scale( double fScaleX, double fScaleY )
{
@@ -1851,7 +1851,7 @@ void MetaBmpScaleAction::Scale( double fScaleX, double fScaleY )
maSz = aRectangle.GetSize();
}
-// ------------------------------------------------------------------------
+
bool MetaBmpScaleAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -1860,7 +1860,7 @@ bool MetaBmpScaleAction::Compare( const MetaAction& rMetaAction ) const
( maSz == ((MetaBmpScaleAction&)rMetaAction).maSz );
}
-// ------------------------------------------------------------------------
+
void MetaBmpScaleAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -1873,7 +1873,7 @@ void MetaBmpScaleAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
}
}
-// ------------------------------------------------------------------------
+
void MetaBmpScaleAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -1887,7 +1887,7 @@ void MetaBmpScaleAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( BmpScalePart, META_BMPSCALEPART_ACTION )
-// ------------------------------------------------------------------------
+
MetaBmpScalePartAction::MetaBmpScalePartAction( const Point& rDstPt, const Size& rDstSz,
const Point& rSrcPt, const Size& rSrcSz,
@@ -1901,14 +1901,14 @@ MetaBmpScalePartAction::MetaBmpScalePartAction( const Point& rDstPt, const Size&
{
}
-// ------------------------------------------------------------------------
+
void MetaBmpScalePartAction::Execute( OutputDevice* pOut )
{
pOut->DrawBitmap( maDstPt, maDstSz, maSrcPt, maSrcSz, maBmp );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaBmpScalePartAction::Clone()
{
@@ -1917,14 +1917,14 @@ MetaAction* MetaBmpScalePartAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaBmpScalePartAction::Move( long nHorzMove, long nVertMove )
{
maDstPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaBmpScalePartAction::Scale( double fScaleX, double fScaleY )
{
@@ -1934,7 +1934,7 @@ void MetaBmpScalePartAction::Scale( double fScaleX, double fScaleY )
maDstSz = aRectangle.GetSize();
}
-// ------------------------------------------------------------------------
+
bool MetaBmpScalePartAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -1945,7 +1945,7 @@ bool MetaBmpScalePartAction::Compare( const MetaAction& rMetaAction ) const
( maSrcSz == ((MetaBmpScalePartAction&)rMetaAction).maSrcSz );
}
-// ------------------------------------------------------------------------
+
void MetaBmpScalePartAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -1960,7 +1960,7 @@ void MetaBmpScalePartAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
}
}
-// ------------------------------------------------------------------------
+
void MetaBmpScalePartAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -1976,7 +1976,7 @@ void MetaBmpScalePartAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( BmpEx, META_BMPEX_ACTION )
-// ------------------------------------------------------------------------
+
MetaBmpExAction::MetaBmpExAction( const Point& rPt, const BitmapEx& rBmpEx ) :
MetaAction ( META_BMPEX_ACTION ),
@@ -1985,14 +1985,14 @@ MetaBmpExAction::MetaBmpExAction( const Point& rPt, const BitmapEx& rBmpEx ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaBmpExAction::Execute( OutputDevice* pOut )
{
pOut->DrawBitmapEx( maPt, maBmpEx );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaBmpExAction::Clone()
{
@@ -2001,21 +2001,21 @@ MetaAction* MetaBmpExAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaBmpExAction::Move( long nHorzMove, long nVertMove )
{
maPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaBmpExAction::Scale( double fScaleX, double fScaleY )
{
ImplScalePoint( maPt, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaBmpExAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2023,7 +2023,7 @@ bool MetaBmpExAction::Compare( const MetaAction& rMetaAction ) const
( maPt == ((MetaBmpExAction&)rMetaAction).maPt );
}
-// ------------------------------------------------------------------------
+
void MetaBmpExAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2035,7 +2035,7 @@ void MetaBmpExAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
}
}
-// ------------------------------------------------------------------------
+
void MetaBmpExAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2048,7 +2048,7 @@ void MetaBmpExAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( BmpExScale, META_BMPEXSCALE_ACTION )
-// ------------------------------------------------------------------------
+
MetaBmpExScaleAction::MetaBmpExScaleAction( const Point& rPt, const Size& rSz,
const BitmapEx& rBmpEx ) :
@@ -2059,14 +2059,14 @@ MetaBmpExScaleAction::MetaBmpExScaleAction( const Point& rPt, const Size& rSz,
{
}
-// ------------------------------------------------------------------------
+
void MetaBmpExScaleAction::Execute( OutputDevice* pOut )
{
pOut->DrawBitmapEx( maPt, maSz, maBmpEx );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaBmpExScaleAction::Clone()
{
@@ -2075,14 +2075,14 @@ MetaAction* MetaBmpExScaleAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaBmpExScaleAction::Move( long nHorzMove, long nVertMove )
{
maPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaBmpExScaleAction::Scale( double fScaleX, double fScaleY )
{
@@ -2092,7 +2092,7 @@ void MetaBmpExScaleAction::Scale( double fScaleX, double fScaleY )
maSz = aRectangle.GetSize();
}
-// ------------------------------------------------------------------------
+
bool MetaBmpExScaleAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2101,7 +2101,7 @@ bool MetaBmpExScaleAction::Compare( const MetaAction& rMetaAction ) const
( maSz == ((MetaBmpExScaleAction&)rMetaAction).maSz );
}
-// ------------------------------------------------------------------------
+
void MetaBmpExScaleAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2114,7 +2114,7 @@ void MetaBmpExScaleAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
}
}
-// ------------------------------------------------------------------------
+
void MetaBmpExScaleAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2128,7 +2128,7 @@ void MetaBmpExScaleAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( BmpExScalePart, META_BMPEXSCALEPART_ACTION )
-// ------------------------------------------------------------------------
+
MetaBmpExScalePartAction::MetaBmpExScalePartAction( const Point& rDstPt, const Size& rDstSz,
const Point& rSrcPt, const Size& rSrcSz,
@@ -2142,14 +2142,14 @@ MetaBmpExScalePartAction::MetaBmpExScalePartAction( const Point& rDstPt, const S
{
}
-// ------------------------------------------------------------------------
+
void MetaBmpExScalePartAction::Execute( OutputDevice* pOut )
{
pOut->DrawBitmapEx( maDstPt, maDstSz, maSrcPt, maSrcSz, maBmpEx );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaBmpExScalePartAction::Clone()
{
@@ -2158,14 +2158,14 @@ MetaAction* MetaBmpExScalePartAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaBmpExScalePartAction::Move( long nHorzMove, long nVertMove )
{
maDstPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaBmpExScalePartAction::Scale( double fScaleX, double fScaleY )
{
@@ -2175,7 +2175,7 @@ void MetaBmpExScalePartAction::Scale( double fScaleX, double fScaleY )
maDstSz = aRectangle.GetSize();
}
-// ------------------------------------------------------------------------
+
bool MetaBmpExScalePartAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2186,7 +2186,7 @@ bool MetaBmpExScalePartAction::Compare( const MetaAction& rMetaAction ) const
( maSrcSz == ((MetaBmpExScalePartAction&)rMetaAction).maSrcSz );
}
-// ------------------------------------------------------------------------
+
void MetaBmpExScalePartAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2201,7 +2201,7 @@ void MetaBmpExScalePartAction::Write( SvStream& rOStm, ImplMetaWriteData* pData
}
}
-// ------------------------------------------------------------------------
+
void MetaBmpExScalePartAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2217,7 +2217,7 @@ void MetaBmpExScalePartAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Mask, META_MASK_ACTION )
-// ------------------------------------------------------------------------
+
MetaMaskAction::MetaMaskAction( const Point& rPt,
const Bitmap& rBmp,
@@ -2229,14 +2229,14 @@ MetaMaskAction::MetaMaskAction( const Point& rPt,
{
}
-// ------------------------------------------------------------------------
+
void MetaMaskAction::Execute( OutputDevice* pOut )
{
pOut->DrawMask( maPt, maBmp, maColor );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaMaskAction::Clone()
{
@@ -2245,21 +2245,21 @@ MetaAction* MetaMaskAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaMaskAction::Move( long nHorzMove, long nVertMove )
{
maPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaMaskAction::Scale( double fScaleX, double fScaleY )
{
ImplScalePoint( maPt, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaMaskAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2268,7 +2268,7 @@ bool MetaMaskAction::Compare( const MetaAction& rMetaAction ) const
( maPt == ((MetaMaskAction&)rMetaAction).maPt );
}
-// ------------------------------------------------------------------------
+
void MetaMaskAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2280,7 +2280,7 @@ void MetaMaskAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
}
}
-// ------------------------------------------------------------------------
+
void MetaMaskAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2293,7 +2293,7 @@ void MetaMaskAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( MaskScale, META_MASKSCALE_ACTION )
-// ------------------------------------------------------------------------
+
MetaMaskScaleAction::MetaMaskScaleAction( const Point& rPt, const Size& rSz,
const Bitmap& rBmp,
@@ -2306,14 +2306,14 @@ MetaMaskScaleAction::MetaMaskScaleAction( const Point& rPt, const Size& rSz,
{
}
-// ------------------------------------------------------------------------
+
void MetaMaskScaleAction::Execute( OutputDevice* pOut )
{
pOut->DrawMask( maPt, maSz, maBmp, maColor );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaMaskScaleAction::Clone()
{
@@ -2322,14 +2322,14 @@ MetaAction* MetaMaskScaleAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaMaskScaleAction::Move( long nHorzMove, long nVertMove )
{
maPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaMaskScaleAction::Scale( double fScaleX, double fScaleY )
{
@@ -2339,7 +2339,7 @@ void MetaMaskScaleAction::Scale( double fScaleX, double fScaleY )
maSz = aRectangle.GetSize();
}
-// ------------------------------------------------------------------------
+
bool MetaMaskScaleAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2349,7 +2349,7 @@ bool MetaMaskScaleAction::Compare( const MetaAction& rMetaAction ) const
( maSz == ((MetaMaskScaleAction&)rMetaAction).maSz );
}
-// ------------------------------------------------------------------------
+
void MetaMaskScaleAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2362,7 +2362,7 @@ void MetaMaskScaleAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
}
}
-// ------------------------------------------------------------------------
+
void MetaMaskScaleAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2376,7 +2376,7 @@ void MetaMaskScaleAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( MaskScalePart, META_MASKSCALEPART_ACTION )
-// ------------------------------------------------------------------------
+
MetaMaskScalePartAction::MetaMaskScalePartAction( const Point& rDstPt, const Size& rDstSz,
const Point& rSrcPt, const Size& rSrcSz,
@@ -2392,14 +2392,14 @@ MetaMaskScalePartAction::MetaMaskScalePartAction( const Point& rDstPt, const Siz
{
}
-// ------------------------------------------------------------------------
+
void MetaMaskScalePartAction::Execute( OutputDevice* pOut )
{
pOut->DrawMask( maDstPt, maDstSz, maSrcPt, maSrcSz, maBmp, maColor );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaMaskScalePartAction::Clone()
{
@@ -2408,14 +2408,14 @@ MetaAction* MetaMaskScalePartAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaMaskScalePartAction::Move( long nHorzMove, long nVertMove )
{
maDstPt.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaMaskScalePartAction::Scale( double fScaleX, double fScaleY )
{
@@ -2425,7 +2425,7 @@ void MetaMaskScalePartAction::Scale( double fScaleX, double fScaleY )
maDstSz = aRectangle.GetSize();
}
-// ------------------------------------------------------------------------
+
bool MetaMaskScalePartAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2437,7 +2437,7 @@ bool MetaMaskScalePartAction::Compare( const MetaAction& rMetaAction ) const
( maSrcSz == ((MetaMaskScalePartAction&)rMetaAction).maSrcSz );
}
-// ------------------------------------------------------------------------
+
void MetaMaskScalePartAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2453,7 +2453,7 @@ void MetaMaskScalePartAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
}
}
-// ------------------------------------------------------------------------
+
void MetaMaskScalePartAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2470,7 +2470,7 @@ void MetaMaskScalePartAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Gradient, META_GRADIENT_ACTION )
-// ------------------------------------------------------------------------
+
MetaGradientAction::MetaGradientAction( const Rectangle& rRect, const Gradient& rGradient ) :
MetaAction ( META_GRADIENT_ACTION ),
@@ -2479,14 +2479,14 @@ MetaGradientAction::MetaGradientAction( const Rectangle& rRect, const Gradient&
{
}
-// ------------------------------------------------------------------------
+
void MetaGradientAction::Execute( OutputDevice* pOut )
{
pOut->DrawGradient( maRect, maGradient );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaGradientAction::Clone()
{
@@ -2495,21 +2495,21 @@ MetaAction* MetaGradientAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaGradientAction::Move( long nHorzMove, long nVertMove )
{
maRect.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaGradientAction::Scale( double fScaleX, double fScaleY )
{
ImplScaleRect( maRect, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaGradientAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2517,7 +2517,7 @@ bool MetaGradientAction::Compare( const MetaAction& rMetaAction ) const
( maGradient == ((MetaGradientAction&)rMetaAction).maGradient );
}
-// ------------------------------------------------------------------------
+
void MetaGradientAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2526,7 +2526,7 @@ void MetaGradientAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WriteGradient( rOStm, maGradient );
}
-// ------------------------------------------------------------------------
+
void MetaGradientAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2542,7 +2542,7 @@ MetaGradientExAction::MetaGradientExAction() :
{
}
-// ------------------------------------------------------------------------
+
MetaGradientExAction::MetaGradientExAction( const PolyPolygon& rPolyPoly, const Gradient& rGradient ) :
MetaAction ( META_GRADIENTEX_ACTION ),
@@ -2551,13 +2551,13 @@ MetaGradientExAction::MetaGradientExAction( const PolyPolygon& rPolyPoly, const
{
}
-// ------------------------------------------------------------------------
+
MetaGradientExAction::~MetaGradientExAction()
{
}
-// ------------------------------------------------------------------------
+
void MetaGradientExAction::Execute( OutputDevice* pOut )
{
@@ -2568,7 +2568,7 @@ void MetaGradientExAction::Execute( OutputDevice* pOut )
}
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaGradientExAction::Clone()
{
@@ -2577,14 +2577,14 @@ MetaAction* MetaGradientExAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaGradientExAction::Move( long nHorzMove, long nVertMove )
{
maPolyPoly.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaGradientExAction::Scale( double fScaleX, double fScaleY )
{
@@ -2592,7 +2592,7 @@ void MetaGradientExAction::Scale( double fScaleX, double fScaleY )
ImplScalePoly( maPolyPoly[ i ], fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaGradientExAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2600,7 +2600,7 @@ bool MetaGradientExAction::Compare( const MetaAction& rMetaAction ) const
( maGradient == ((MetaGradientExAction&)rMetaAction).maGradient );
}
-// ------------------------------------------------------------------------
+
void MetaGradientExAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2614,7 +2614,7 @@ void MetaGradientExAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WriteGradient( rOStm, maGradient );
}
-// ------------------------------------------------------------------------
+
void MetaGradientExAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2627,7 +2627,7 @@ void MetaGradientExAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Hatch, META_HATCH_ACTION )
-// ------------------------------------------------------------------------
+
MetaHatchAction::MetaHatchAction( const PolyPolygon& rPolyPoly, const Hatch& rHatch ) :
MetaAction ( META_HATCH_ACTION ),
@@ -2636,14 +2636,14 @@ MetaHatchAction::MetaHatchAction( const PolyPolygon& rPolyPoly, const Hatch& rHa
{
}
-// ------------------------------------------------------------------------
+
void MetaHatchAction::Execute( OutputDevice* pOut )
{
pOut->DrawHatch( maPolyPoly, maHatch );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaHatchAction::Clone()
{
@@ -2652,14 +2652,14 @@ MetaAction* MetaHatchAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaHatchAction::Move( long nHorzMove, long nVertMove )
{
maPolyPoly.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaHatchAction::Scale( double fScaleX, double fScaleY )
{
@@ -2667,7 +2667,7 @@ void MetaHatchAction::Scale( double fScaleX, double fScaleY )
ImplScalePoly( maPolyPoly[ i ], fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaHatchAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2675,7 +2675,7 @@ bool MetaHatchAction::Compare( const MetaAction& rMetaAction ) const
( maHatch == ((MetaHatchAction&)rMetaAction).maHatch );
}
-// ------------------------------------------------------------------------
+
void MetaHatchAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2689,7 +2689,7 @@ void MetaHatchAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WriteHatch( rOStm, maHatch );
}
-// ------------------------------------------------------------------------
+
void MetaHatchAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2702,7 +2702,7 @@ void MetaHatchAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Wallpaper, META_WALLPAPER_ACTION )
-// ------------------------------------------------------------------------
+
MetaWallpaperAction::MetaWallpaperAction( const Rectangle& rRect,
const Wallpaper& rPaper ) :
@@ -2712,14 +2712,14 @@ MetaWallpaperAction::MetaWallpaperAction( const Rectangle& rRect,
{
}
-// ------------------------------------------------------------------------
+
void MetaWallpaperAction::Execute( OutputDevice* pOut )
{
pOut->DrawWallpaper( maRect, maWallpaper );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaWallpaperAction::Clone()
{
@@ -2728,21 +2728,21 @@ MetaAction* MetaWallpaperAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaWallpaperAction::Move( long nHorzMove, long nVertMove )
{
maRect.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaWallpaperAction::Scale( double fScaleX, double fScaleY )
{
ImplScaleRect( maRect, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaWallpaperAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2750,7 +2750,7 @@ bool MetaWallpaperAction::Compare( const MetaAction& rMetaAction ) const
( maWallpaper == ((MetaWallpaperAction&)rMetaAction).maWallpaper );
}
-// ------------------------------------------------------------------------
+
void MetaWallpaperAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2758,7 +2758,7 @@ void MetaWallpaperAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WriteWallpaper( rOStm, maWallpaper );
}
-// ------------------------------------------------------------------------
+
void MetaWallpaperAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2770,7 +2770,7 @@ void MetaWallpaperAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( ClipRegion, META_CLIPREGION_ACTION )
-// ------------------------------------------------------------------------
+
MetaClipRegionAction::MetaClipRegionAction( const Region& rRegion, bool bClip ) :
MetaAction ( META_CLIPREGION_ACTION ),
@@ -2779,7 +2779,7 @@ MetaClipRegionAction::MetaClipRegionAction( const Region& rRegion, bool bClip )
{
}
-// ------------------------------------------------------------------------
+
void MetaClipRegionAction::Execute( OutputDevice* pOut )
{
@@ -2789,7 +2789,7 @@ void MetaClipRegionAction::Execute( OutputDevice* pOut )
pOut->SetClipRegion();
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaClipRegionAction::Clone()
{
@@ -2798,21 +2798,21 @@ MetaAction* MetaClipRegionAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaClipRegionAction::Move( long nHorzMove, long nVertMove )
{
maRegion.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaClipRegionAction::Scale( double fScaleX, double fScaleY )
{
maRegion.Scale( fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaClipRegionAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -2820,7 +2820,7 @@ bool MetaClipRegionAction::Compare( const MetaAction& rMetaAction ) const
( mbClip == ((MetaClipRegionAction&)rMetaAction).mbClip );
}
-// ------------------------------------------------------------------------
+
void MetaClipRegionAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2829,7 +2829,7 @@ void MetaClipRegionAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUChar( mbClip );
}
-// ------------------------------------------------------------------------
+
void MetaClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2842,7 +2842,7 @@ void MetaClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( ISectRectClipRegion, META_ISECTRECTCLIPREGION_ACTION )
-// ------------------------------------------------------------------------
+
MetaISectRectClipRegionAction::MetaISectRectClipRegionAction( const Rectangle& rRect ) :
MetaAction ( META_ISECTRECTCLIPREGION_ACTION ),
@@ -2850,14 +2850,14 @@ MetaISectRectClipRegionAction::MetaISectRectClipRegionAction( const Rectangle& r
{
}
-// ------------------------------------------------------------------------
+
void MetaISectRectClipRegionAction::Execute( OutputDevice* pOut )
{
pOut->IntersectClipRegion( maRect );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaISectRectClipRegionAction::Clone()
{
@@ -2866,28 +2866,28 @@ MetaAction* MetaISectRectClipRegionAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaISectRectClipRegionAction::Move( long nHorzMove, long nVertMove )
{
maRect.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaISectRectClipRegionAction::Scale( double fScaleX, double fScaleY )
{
ImplScaleRect( maRect, fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaISectRectClipRegionAction::Compare( const MetaAction& rMetaAction ) const
{
return maRect == ((MetaISectRectClipRegionAction&)rMetaAction).maRect;
}
-// ------------------------------------------------------------------------
+
void MetaISectRectClipRegionAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2895,7 +2895,7 @@ void MetaISectRectClipRegionAction::Write( SvStream& rOStm, ImplMetaWriteData* p
WriteRectangle( rOStm, maRect );
}
-// ------------------------------------------------------------------------
+
void MetaISectRectClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2907,7 +2907,7 @@ void MetaISectRectClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( ISectRegionClipRegion, META_ISECTREGIONCLIPREGION_ACTION )
-// ------------------------------------------------------------------------
+
MetaISectRegionClipRegionAction::MetaISectRegionClipRegionAction( const Region& rRegion ) :
MetaAction ( META_ISECTREGIONCLIPREGION_ACTION ),
@@ -2915,14 +2915,14 @@ MetaISectRegionClipRegionAction::MetaISectRegionClipRegionAction( const Region&
{
}
-// ------------------------------------------------------------------------
+
void MetaISectRegionClipRegionAction::Execute( OutputDevice* pOut )
{
pOut->IntersectClipRegion( maRegion );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaISectRegionClipRegionAction::Clone()
{
@@ -2931,28 +2931,28 @@ MetaAction* MetaISectRegionClipRegionAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaISectRegionClipRegionAction::Move( long nHorzMove, long nVertMove )
{
maRegion.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaISectRegionClipRegionAction::Scale( double fScaleX, double fScaleY )
{
maRegion.Scale( fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaISectRegionClipRegionAction::Compare( const MetaAction& rMetaAction ) const
{
return maRegion == ((MetaISectRegionClipRegionAction&)rMetaAction).maRegion;
}
-// ------------------------------------------------------------------------
+
void MetaISectRegionClipRegionAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -2960,7 +2960,7 @@ void MetaISectRegionClipRegionAction::Write( SvStream& rOStm, ImplMetaWriteData*
WriteRegion( rOStm, maRegion );
}
-// ------------------------------------------------------------------------
+
void MetaISectRegionClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -2972,7 +2972,7 @@ void MetaISectRegionClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( MoveClipRegion, META_MOVECLIPREGION_ACTION )
-// ------------------------------------------------------------------------
+
MetaMoveClipRegionAction::MetaMoveClipRegionAction( long nHorzMove, long nVertMove ) :
MetaAction ( META_MOVECLIPREGION_ACTION ),
@@ -2981,14 +2981,14 @@ MetaMoveClipRegionAction::MetaMoveClipRegionAction( long nHorzMove, long nVertMo
{
}
-// ------------------------------------------------------------------------
+
void MetaMoveClipRegionAction::Execute( OutputDevice* pOut )
{
pOut->MoveClipRegion( mnHorzMove, mnVertMove );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaMoveClipRegionAction::Clone()
{
@@ -2997,7 +2997,7 @@ MetaAction* MetaMoveClipRegionAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaMoveClipRegionAction::Scale( double fScaleX, double fScaleY )
{
@@ -3005,7 +3005,7 @@ void MetaMoveClipRegionAction::Scale( double fScaleX, double fScaleY )
mnVertMove = FRound( mnVertMove * fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaMoveClipRegionAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -3013,7 +3013,7 @@ bool MetaMoveClipRegionAction::Compare( const MetaAction& rMetaAction ) const
( mnVertMove == ((MetaMoveClipRegionAction&)rMetaAction).mnVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaMoveClipRegionAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3022,7 +3022,7 @@ void MetaMoveClipRegionAction::Write( SvStream& rOStm, ImplMetaWriteData* pData
rOStm.WriteInt32( sal::static_int_cast<sal_Int32>(mnHorzMove) ).WriteInt32( sal::static_int_cast<sal_Int32>(mnVertMove) );
}
-// ------------------------------------------------------------------------
+
void MetaMoveClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3038,7 +3038,7 @@ void MetaMoveClipRegionAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( LineColor, META_LINECOLOR_ACTION )
-// ------------------------------------------------------------------------
+
MetaLineColorAction::MetaLineColorAction( const Color& rColor, bool bSet ) :
MetaAction ( META_LINECOLOR_ACTION ),
@@ -3047,7 +3047,7 @@ MetaLineColorAction::MetaLineColorAction( const Color& rColor, bool bSet ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaLineColorAction::Execute( OutputDevice* pOut )
{
@@ -3057,7 +3057,7 @@ void MetaLineColorAction::Execute( OutputDevice* pOut )
pOut->SetLineColor();
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaLineColorAction::Clone()
{
@@ -3066,7 +3066,7 @@ MetaAction* MetaLineColorAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaLineColorAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -3074,7 +3074,7 @@ bool MetaLineColorAction::Compare( const MetaAction& rMetaAction ) const
( mbSet == ((MetaLineColorAction&)rMetaAction).mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaLineColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3083,7 +3083,7 @@ void MetaLineColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUChar( mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaLineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3096,7 +3096,7 @@ void MetaLineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( FillColor, META_FILLCOLOR_ACTION )
-// ------------------------------------------------------------------------
+
MetaFillColorAction::MetaFillColorAction( const Color& rColor, bool bSet ) :
MetaAction ( META_FILLCOLOR_ACTION ),
@@ -3105,7 +3105,7 @@ MetaFillColorAction::MetaFillColorAction( const Color& rColor, bool bSet ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaFillColorAction::Execute( OutputDevice* pOut )
{
@@ -3115,7 +3115,7 @@ void MetaFillColorAction::Execute( OutputDevice* pOut )
pOut->SetFillColor();
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaFillColorAction::Clone()
{
@@ -3124,7 +3124,7 @@ MetaAction* MetaFillColorAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaFillColorAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -3132,7 +3132,7 @@ bool MetaFillColorAction::Compare( const MetaAction& rMetaAction ) const
( mbSet == ((MetaFillColorAction&)rMetaAction).mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaFillColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3141,7 +3141,7 @@ void MetaFillColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUChar( mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaFillColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3154,7 +3154,7 @@ void MetaFillColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( TextColor, META_TEXTCOLOR_ACTION )
-// ------------------------------------------------------------------------
+
MetaTextColorAction::MetaTextColorAction( const Color& rColor ) :
MetaAction ( META_TEXTCOLOR_ACTION ),
@@ -3162,14 +3162,14 @@ MetaTextColorAction::MetaTextColorAction( const Color& rColor ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaTextColorAction::Execute( OutputDevice* pOut )
{
pOut->SetTextColor( maColor );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaTextColorAction::Clone()
{
@@ -3178,14 +3178,14 @@ MetaAction* MetaTextColorAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaTextColorAction::Compare( const MetaAction& rMetaAction ) const
{
return maColor == ((MetaTextColorAction&)rMetaAction).maColor;
}
-// ------------------------------------------------------------------------
+
void MetaTextColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3193,7 +3193,7 @@ void MetaTextColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
maColor.Write( rOStm, true );
}
-// ------------------------------------------------------------------------
+
void MetaTextColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3205,7 +3205,7 @@ void MetaTextColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( TextFillColor, META_TEXTFILLCOLOR_ACTION )
-// ------------------------------------------------------------------------
+
MetaTextFillColorAction::MetaTextFillColorAction( const Color& rColor, bool bSet ) :
MetaAction ( META_TEXTFILLCOLOR_ACTION ),
@@ -3214,7 +3214,7 @@ MetaTextFillColorAction::MetaTextFillColorAction( const Color& rColor, bool bSet
{
}
-// ------------------------------------------------------------------------
+
void MetaTextFillColorAction::Execute( OutputDevice* pOut )
{
@@ -3224,7 +3224,7 @@ void MetaTextFillColorAction::Execute( OutputDevice* pOut )
pOut->SetTextFillColor();
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaTextFillColorAction::Clone()
{
@@ -3233,7 +3233,7 @@ MetaAction* MetaTextFillColorAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaTextFillColorAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -3241,7 +3241,7 @@ bool MetaTextFillColorAction::Compare( const MetaAction& rMetaAction ) const
( mbSet == ((MetaTextFillColorAction&)rMetaAction).mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaTextFillColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3250,7 +3250,7 @@ void MetaTextFillColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUChar( mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaTextFillColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3263,7 +3263,7 @@ void MetaTextFillColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( TextLineColor, META_TEXTLINECOLOR_ACTION )
-// ------------------------------------------------------------------------
+
MetaTextLineColorAction::MetaTextLineColorAction( const Color& rColor, bool bSet ) :
MetaAction ( META_TEXTLINECOLOR_ACTION ),
@@ -3272,7 +3272,7 @@ MetaTextLineColorAction::MetaTextLineColorAction( const Color& rColor, bool bSet
{
}
-// ------------------------------------------------------------------------
+
void MetaTextLineColorAction::Execute( OutputDevice* pOut )
{
@@ -3282,7 +3282,7 @@ void MetaTextLineColorAction::Execute( OutputDevice* pOut )
pOut->SetTextLineColor();
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaTextLineColorAction::Clone()
{
@@ -3291,7 +3291,7 @@ MetaAction* MetaTextLineColorAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaTextLineColorAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -3299,7 +3299,7 @@ bool MetaTextLineColorAction::Compare( const MetaAction& rMetaAction ) const
( mbSet == ((MetaTextLineColorAction&)rMetaAction).mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaTextLineColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3308,7 +3308,7 @@ void MetaTextLineColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUChar( mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaTextLineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3321,7 +3321,7 @@ void MetaTextLineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( OverlineColor, META_OVERLINECOLOR_ACTION )
-// ------------------------------------------------------------------------
+
MetaOverlineColorAction::MetaOverlineColorAction( const Color& rColor, bool bSet ) :
MetaAction ( META_OVERLINECOLOR_ACTION ),
@@ -3330,7 +3330,7 @@ MetaOverlineColorAction::MetaOverlineColorAction( const Color& rColor, bool bSet
{
}
-// ------------------------------------------------------------------------
+
void MetaOverlineColorAction::Execute( OutputDevice* pOut )
{
@@ -3340,7 +3340,7 @@ void MetaOverlineColorAction::Execute( OutputDevice* pOut )
pOut->SetOverlineColor();
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaOverlineColorAction::Clone()
{
@@ -3349,7 +3349,7 @@ MetaAction* MetaOverlineColorAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaOverlineColorAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -3357,7 +3357,7 @@ bool MetaOverlineColorAction::Compare( const MetaAction& rMetaAction ) const
( mbSet == ((MetaOverlineColorAction&)rMetaAction).mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaOverlineColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3366,7 +3366,7 @@ void MetaOverlineColorAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUChar( mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaOverlineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3379,7 +3379,7 @@ void MetaOverlineColorAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( TextAlign, META_TEXTALIGN_ACTION )
-// ------------------------------------------------------------------------
+
MetaTextAlignAction::MetaTextAlignAction( TextAlign aAlign ) :
MetaAction ( META_TEXTALIGN_ACTION ),
@@ -3387,14 +3387,14 @@ MetaTextAlignAction::MetaTextAlignAction( TextAlign aAlign ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaTextAlignAction::Execute( OutputDevice* pOut )
{
pOut->SetTextAlign( maAlign );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaTextAlignAction::Clone()
{
@@ -3403,14 +3403,14 @@ MetaAction* MetaTextAlignAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaTextAlignAction::Compare( const MetaAction& rMetaAction ) const
{
return maAlign == ((MetaTextAlignAction&)rMetaAction).maAlign;
}
-// ------------------------------------------------------------------------
+
void MetaTextAlignAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3418,7 +3418,7 @@ void MetaTextAlignAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUInt16( (sal_uInt16) maAlign );
}
-// ------------------------------------------------------------------------
+
void MetaTextAlignAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3432,7 +3432,7 @@ void MetaTextAlignAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( MapMode, META_MAPMODE_ACTION )
-// ------------------------------------------------------------------------
+
MetaMapModeAction::MetaMapModeAction( const MapMode& rMapMode ) :
MetaAction ( META_MAPMODE_ACTION ),
@@ -3440,14 +3440,14 @@ MetaMapModeAction::MetaMapModeAction( const MapMode& rMapMode ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaMapModeAction::Execute( OutputDevice* pOut )
{
pOut->SetMapMode( maMapMode );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaMapModeAction::Clone()
{
@@ -3456,7 +3456,7 @@ MetaAction* MetaMapModeAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaMapModeAction::Scale( double fScaleX, double fScaleY )
{
@@ -3466,14 +3466,14 @@ void MetaMapModeAction::Scale( double fScaleX, double fScaleY )
maMapMode.SetOrigin( aPoint );
}
-// ------------------------------------------------------------------------
+
bool MetaMapModeAction::Compare( const MetaAction& rMetaAction ) const
{
return maMapMode == ((MetaMapModeAction&)rMetaAction).maMapMode;
}
-// ------------------------------------------------------------------------
+
void MetaMapModeAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3481,7 +3481,7 @@ void MetaMapModeAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
WriteMapMode( rOStm, maMapMode );
}
-// ------------------------------------------------------------------------
+
void MetaMapModeAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3493,7 +3493,7 @@ void MetaMapModeAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Font, META_FONT_ACTION )
-// ------------------------------------------------------------------------
+
MetaFontAction::MetaFontAction( const Font& rFont ) :
MetaAction ( META_FONT_ACTION ),
@@ -3510,14 +3510,14 @@ MetaFontAction::MetaFontAction( const Font& rFont ) :
}
}
-// ------------------------------------------------------------------------
+
void MetaFontAction::Execute( OutputDevice* pOut )
{
pOut->SetFont( maFont );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaFontAction::Clone()
{
@@ -3526,7 +3526,7 @@ MetaAction* MetaFontAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaFontAction::Scale( double fScaleX, double fScaleY )
{
@@ -3536,14 +3536,14 @@ void MetaFontAction::Scale( double fScaleX, double fScaleY )
maFont.SetSize( aSize );
}
-// ------------------------------------------------------------------------
+
bool MetaFontAction::Compare( const MetaAction& rMetaAction ) const
{
return maFont == ((MetaFontAction&)rMetaAction).maFont;
}
-// ------------------------------------------------------------------------
+
void MetaFontAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3554,7 +3554,7 @@ void MetaFontAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
pData->meActualCharSet = osl_getThreadTextEncoding();
}
-// ------------------------------------------------------------------------
+
void MetaFontAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
{
@@ -3569,7 +3569,7 @@ void MetaFontAction::Read( SvStream& rIStm, ImplMetaReadData* pData )
IMPL_META_ACTION( Push, META_PUSH_ACTION )
-// ------------------------------------------------------------------------
+
MetaPushAction::MetaPushAction( sal_uInt16 nFlags ) :
MetaAction ( META_PUSH_ACTION ),
@@ -3577,14 +3577,14 @@ MetaPushAction::MetaPushAction( sal_uInt16 nFlags ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaPushAction::Execute( OutputDevice* pOut )
{
pOut->Push( mnFlags );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaPushAction::Clone()
{
@@ -3593,14 +3593,14 @@ MetaAction* MetaPushAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaPushAction::Compare( const MetaAction& rMetaAction ) const
{
return mnFlags == ((MetaPushAction&)rMetaAction).mnFlags;
}
-// ------------------------------------------------------------------------
+
void MetaPushAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3608,7 +3608,7 @@ void MetaPushAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUInt16( mnFlags );
}
-// ------------------------------------------------------------------------
+
void MetaPushAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3620,14 +3620,14 @@ void MetaPushAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Pop, META_POP_ACTION )
-// ------------------------------------------------------------------------
+
void MetaPopAction::Execute( OutputDevice* pOut )
{
pOut->Pop();
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaPopAction::Clone()
{
@@ -3636,14 +3636,14 @@ MetaAction* MetaPopAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaPopAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
WRITE_BASE_COMPAT( rOStm, 1, pData );
}
-// ------------------------------------------------------------------------
+
void MetaPopAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3654,7 +3654,7 @@ void MetaPopAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( RasterOp, META_RASTEROP_ACTION )
-// ------------------------------------------------------------------------
+
MetaRasterOpAction::MetaRasterOpAction( RasterOp eRasterOp ) :
MetaAction ( META_RASTEROP_ACTION ),
@@ -3662,14 +3662,14 @@ MetaRasterOpAction::MetaRasterOpAction( RasterOp eRasterOp ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaRasterOpAction::Execute( OutputDevice* pOut )
{
pOut->SetRasterOp( meRasterOp );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaRasterOpAction::Clone()
{
@@ -3678,14 +3678,14 @@ MetaAction* MetaRasterOpAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaRasterOpAction::Compare( const MetaAction& rMetaAction ) const
{
return meRasterOp == ((MetaRasterOpAction&)rMetaAction).meRasterOp;
}
-// ------------------------------------------------------------------------
+
void MetaRasterOpAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3693,7 +3693,7 @@ void MetaRasterOpAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUInt16( (sal_uInt16) meRasterOp );
}
-// ------------------------------------------------------------------------
+
void MetaRasterOpAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3707,7 +3707,7 @@ void MetaRasterOpAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( Transparent, META_TRANSPARENT_ACTION )
-// ------------------------------------------------------------------------
+
MetaTransparentAction::MetaTransparentAction( const PolyPolygon& rPolyPoly, sal_uInt16 nTransPercent ) :
MetaAction ( META_TRANSPARENT_ACTION ),
@@ -3716,14 +3716,14 @@ MetaTransparentAction::MetaTransparentAction( const PolyPolygon& rPolyPoly, sal_
{
}
-// ------------------------------------------------------------------------
+
void MetaTransparentAction::Execute( OutputDevice* pOut )
{
pOut->DrawTransparent( maPolyPoly, mnTransPercent );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaTransparentAction::Clone()
{
@@ -3732,14 +3732,14 @@ MetaAction* MetaTransparentAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaTransparentAction::Move( long nHorzMove, long nVertMove )
{
maPolyPoly.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaTransparentAction::Scale( double fScaleX, double fScaleY )
{
@@ -3747,7 +3747,7 @@ void MetaTransparentAction::Scale( double fScaleX, double fScaleY )
ImplScalePoly( maPolyPoly[ i ], fScaleX, fScaleY );
}
-// ------------------------------------------------------------------------
+
bool MetaTransparentAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -3755,7 +3755,7 @@ bool MetaTransparentAction::Compare( const MetaAction& rMetaAction ) const
( mnTransPercent == ((MetaTransparentAction&)rMetaAction).mnTransPercent );
}
-// ------------------------------------------------------------------------
+
void MetaTransparentAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3777,7 +3777,7 @@ void MetaTransparentAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUInt16( mnTransPercent );
}
-// ------------------------------------------------------------------------
+
void MetaTransparentAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3790,7 +3790,7 @@ void MetaTransparentAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( FloatTransparent, META_FLOATTRANSPARENT_ACTION )
-// ------------------------------------------------------------------------
+
MetaFloatTransparentAction::MetaFloatTransparentAction( const GDIMetaFile& rMtf, const Point& rPos,
const Size& rSize, const Gradient& rGradient ) :
@@ -3802,14 +3802,14 @@ MetaFloatTransparentAction::MetaFloatTransparentAction( const GDIMetaFile& rMtf,
{
}
-// ------------------------------------------------------------------------
+
void MetaFloatTransparentAction::Execute( OutputDevice* pOut )
{
pOut->DrawTransparent( maMtf, maPoint, maSize, maGradient );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaFloatTransparentAction::Clone()
{
@@ -3818,14 +3818,14 @@ MetaAction* MetaFloatTransparentAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaFloatTransparentAction::Move( long nHorzMove, long nVertMove )
{
maPoint.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaFloatTransparentAction::Scale( double fScaleX, double fScaleY )
{
@@ -3835,7 +3835,7 @@ void MetaFloatTransparentAction::Scale( double fScaleX, double fScaleY )
maSize = aRectangle.GetSize();
}
-// ------------------------------------------------------------------------
+
bool MetaFloatTransparentAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -3845,7 +3845,7 @@ bool MetaFloatTransparentAction::Compare( const MetaAction& rMetaAction ) const
( maGradient == ((MetaFloatTransparentAction&)rMetaAction).maGradient );
}
-// ------------------------------------------------------------------------
+
void MetaFloatTransparentAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3857,7 +3857,7 @@ void MetaFloatTransparentAction::Write( SvStream& rOStm, ImplMetaWriteData* pDat
WriteGradient( rOStm, maGradient );
}
-// ------------------------------------------------------------------------
+
void MetaFloatTransparentAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3872,7 +3872,7 @@ void MetaFloatTransparentAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( EPS, META_EPS_ACTION )
-// ------------------------------------------------------------------------
+
MetaEPSAction::MetaEPSAction( const Point& rPoint, const Size& rSize,
const GfxLink& rGfxLink, const GDIMetaFile& rSubst ) :
@@ -3884,14 +3884,14 @@ MetaEPSAction::MetaEPSAction( const Point& rPoint, const Size& rSize,
{
}
-// ------------------------------------------------------------------------
+
void MetaEPSAction::Execute( OutputDevice* pOut )
{
pOut->DrawEPS( maPoint, maSize, maGfxLink, &maSubst );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaEPSAction::Clone()
{
@@ -3900,14 +3900,14 @@ MetaAction* MetaEPSAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
void MetaEPSAction::Move( long nHorzMove, long nVertMove )
{
maPoint.Move( nHorzMove, nVertMove );
}
-// ------------------------------------------------------------------------
+
void MetaEPSAction::Scale( double fScaleX, double fScaleY )
{
@@ -3917,7 +3917,7 @@ void MetaEPSAction::Scale( double fScaleX, double fScaleY )
maSize = aRectangle.GetSize();
}
-// ------------------------------------------------------------------------
+
bool MetaEPSAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -3927,7 +3927,7 @@ bool MetaEPSAction::Compare( const MetaAction& rMetaAction ) const
( maSize == ((MetaEPSAction&)rMetaAction).maSize );
}
-// ------------------------------------------------------------------------
+
void MetaEPSAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3938,7 +3938,7 @@ void MetaEPSAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
maSubst.Write( rOStm );
}
-// ------------------------------------------------------------------------
+
void MetaEPSAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -3953,7 +3953,7 @@ void MetaEPSAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( RefPoint, META_REFPOINT_ACTION )
-// ------------------------------------------------------------------------
+
MetaRefPointAction::MetaRefPointAction( const Point& rRefPoint, bool bSet ) :
MetaAction ( META_REFPOINT_ACTION ),
@@ -3962,7 +3962,7 @@ MetaRefPointAction::MetaRefPointAction( const Point& rRefPoint, bool bSet ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaRefPointAction::Execute( OutputDevice* pOut )
{
@@ -3972,7 +3972,7 @@ void MetaRefPointAction::Execute( OutputDevice* pOut )
pOut->SetRefPoint();
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaRefPointAction::Clone()
{
@@ -3981,7 +3981,7 @@ MetaAction* MetaRefPointAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaRefPointAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -3989,7 +3989,7 @@ bool MetaRefPointAction::Compare( const MetaAction& rMetaAction ) const
( mbSet == ((MetaRefPointAction&)rMetaAction).mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaRefPointAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -3998,7 +3998,7 @@ void MetaRefPointAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUChar( mbSet );
}
-// ------------------------------------------------------------------------
+
void MetaRefPointAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -4015,7 +4015,7 @@ MetaCommentAction::MetaCommentAction( sal_Int32 nValue ) :
ImplInitDynamicData( NULL, 0UL );
}
-// ------------------------------------------------------------------------
+
MetaCommentAction::MetaCommentAction( const MetaCommentAction& rAct ) :
MetaAction ( META_COMMENT_ACTION ),
@@ -4025,7 +4025,7 @@ MetaCommentAction::MetaCommentAction( const MetaCommentAction& rAct ) :
ImplInitDynamicData( rAct.mpData, rAct.mnDataSize );
}
-// ------------------------------------------------------------------------
+
MetaCommentAction::MetaCommentAction( const OString& rComment, sal_Int32 nValue, const sal_uInt8* pData, sal_uInt32 nDataSize ) :
MetaAction ( META_COMMENT_ACTION ),
@@ -4035,7 +4035,7 @@ MetaCommentAction::MetaCommentAction( const OString& rComment, sal_Int32 nValue,
ImplInitDynamicData( pData, nDataSize );
}
-// ------------------------------------------------------------------------
+
MetaCommentAction::~MetaCommentAction()
{
@@ -4043,7 +4043,7 @@ MetaCommentAction::~MetaCommentAction()
delete[] mpData;
}
-// ------------------------------------------------------------------------
+
void MetaCommentAction::ImplInitDynamicData( const sal_uInt8* pData, sal_uInt32 nDataSize )
{
@@ -4059,7 +4059,7 @@ void MetaCommentAction::ImplInitDynamicData( const sal_uInt8* pData, sal_uInt32
}
}
-// ------------------------------------------------------------------------
+
void MetaCommentAction::Execute( OutputDevice* pOut )
{
@@ -4070,7 +4070,7 @@ void MetaCommentAction::Execute( OutputDevice* pOut )
}
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaCommentAction::Clone()
{
@@ -4131,7 +4131,7 @@ void MetaCommentAction::Move( long nXMove, long nYMove )
}
}
-// ------------------------------------------------------------------------
+
// SJ: 25.07.06 #i56656# we are not able to mirrorcertain kind of
// comments properly, especially the XPATHSTROKE and XPATHFILL lead to
// problems, so it is better to remove these comments when mirroring
@@ -4197,7 +4197,7 @@ void MetaCommentAction::Scale( double fXScale, double fYScale )
}
}
-// ------------------------------------------------------------------------
+
bool MetaCommentAction::Compare( const MetaAction& rMetaAction ) const
{
@@ -4207,7 +4207,7 @@ bool MetaCommentAction::Compare( const MetaAction& rMetaAction ) const
( memcmp( mpData, ((MetaCommentAction&)rMetaAction).mpData, mnDataSize ) == 0 );
}
-// ------------------------------------------------------------------------
+
void MetaCommentAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -4219,7 +4219,7 @@ void MetaCommentAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.Write( mpData, mnDataSize );
}
-// ------------------------------------------------------------------------
+
void MetaCommentAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -4244,7 +4244,7 @@ void MetaCommentAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( LayoutMode, META_LAYOUTMODE_ACTION )
-// ------------------------------------------------------------------------
+
MetaLayoutModeAction::MetaLayoutModeAction( sal_uInt32 nLayoutMode ) :
MetaAction ( META_LAYOUTMODE_ACTION ),
@@ -4252,14 +4252,14 @@ MetaLayoutModeAction::MetaLayoutModeAction( sal_uInt32 nLayoutMode ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaLayoutModeAction::Execute( OutputDevice* pOut )
{
pOut->SetLayoutMode( mnLayoutMode );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaLayoutModeAction::Clone()
{
@@ -4268,14 +4268,14 @@ MetaAction* MetaLayoutModeAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaLayoutModeAction::Compare( const MetaAction& rMetaAction ) const
{
return mnLayoutMode == ((MetaLayoutModeAction&)rMetaAction).mnLayoutMode;
}
-// ------------------------------------------------------------------------
+
void MetaLayoutModeAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -4283,7 +4283,7 @@ void MetaLayoutModeAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUInt32( mnLayoutMode );
}
-// ------------------------------------------------------------------------
+
void MetaLayoutModeAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
@@ -4295,7 +4295,7 @@ void MetaLayoutModeAction::Read( SvStream& rIStm, ImplMetaReadData* )
IMPL_META_ACTION( TextLanguage, META_TEXTLANGUAGE_ACTION )
-// ------------------------------------------------------------------------
+
MetaTextLanguageAction::MetaTextLanguageAction( LanguageType eTextLanguage ) :
MetaAction ( META_TEXTLANGUAGE_ACTION ),
@@ -4303,14 +4303,14 @@ MetaTextLanguageAction::MetaTextLanguageAction( LanguageType eTextLanguage ) :
{
}
-// ------------------------------------------------------------------------
+
void MetaTextLanguageAction::Execute( OutputDevice* pOut )
{
pOut->SetDigitLanguage( meTextLanguage );
}
-// ------------------------------------------------------------------------
+
MetaAction* MetaTextLanguageAction::Clone()
{
@@ -4319,14 +4319,14 @@ MetaAction* MetaTextLanguageAction::Clone()
return pClone;
}
-// ------------------------------------------------------------------------
+
bool MetaTextLanguageAction::Compare( const MetaAction& rMetaAction ) const
{
return meTextLanguage == ((MetaTextLanguageAction&)rMetaAction).meTextLanguage;
}
-// ------------------------------------------------------------------------
+
void MetaTextLanguageAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
{
@@ -4334,7 +4334,7 @@ void MetaTextLanguageAction::Write( SvStream& rOStm, ImplMetaWriteData* pData )
rOStm.WriteUInt16( meTextLanguage );
}
-// ------------------------------------------------------------------------
+
void MetaTextLanguageAction::Read( SvStream& rIStm, ImplMetaReadData* )
{
diff --git a/vcl/source/gdi/octree.cxx b/vcl/source/gdi/octree.cxx
index 0a6a8c1ddc13..4e7222cdb2f5 100644
--- a/vcl/source/gdi/octree.cxx
+++ b/vcl/source/gdi/octree.cxx
@@ -25,15 +25,15 @@
#include "octree.hxx"
-// ---------
+
// - pMask -
-// ---------
+
static const sal_uInt8 pImplMask[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
-// -------------
+
// - NodeCache -
-// -------------
+
ImpNodeCache::ImpNodeCache( const sal_uLong nInitSize ) :
pActNode( NULL )
@@ -49,7 +49,7 @@ ImpNodeCache::ImpNodeCache( const sal_uLong nInitSize ) :
}
}
-// ------------------------------------------------------------------------
+
ImpNodeCache::~ImpNodeCache()
{
@@ -62,9 +62,9 @@ ImpNodeCache::~ImpNodeCache()
}
}
-// ----------
+
// - Octree -
-// ----------
+
Octree::Octree( const BitmapReadAccess& rReadAcc, sal_uLong nColors ) :
nMax ( nColors ),
@@ -77,7 +77,7 @@ Octree::Octree( const BitmapReadAccess& rReadAcc, sal_uLong nColors ) :
ImplCreateOctree();
}
-// ------------------------------------------------------------------------
+
Octree::~Octree()
{
@@ -85,7 +85,7 @@ Octree::~Octree()
delete pNodeCache;
}
-// ------------------------------------------------------------------------
+
void Octree::ImplCreateOctree()
{
@@ -131,7 +131,7 @@ void Octree::ImplCreateOctree()
}
}
-// ------------------------------------------------------------------------
+
void Octree::ImplDeleteOctree( PPNODE ppNode )
{
@@ -145,7 +145,7 @@ void Octree::ImplDeleteOctree( PPNODE ppNode )
*ppNode = NULL;
}
-// ------------------------------------------------------------------------
+
void Octree::ImplAdd( PPNODE ppNode )
{
@@ -184,7 +184,7 @@ void Octree::ImplAdd( PPNODE ppNode )
}
}
-// ------------------------------------------------------------------------
+
void Octree::ImplReduce()
{
@@ -224,7 +224,7 @@ void Octree::ImplReduce()
nLeafCount -= --nChildren;
}
-// ------------------------------------------------------------------------
+
void Octree::CreatePalette( PNODE pNode )
{
@@ -241,7 +241,7 @@ void Octree::CreatePalette( PNODE pNode )
}
-// ------------------------------------------------------------------------
+
void Octree::GetPalIndex( PNODE pNode )
{
@@ -259,9 +259,9 @@ void Octree::GetPalIndex( PNODE pNode )
}
}
-// -------------------
+
// - InverseColorMap -
-// -------------------
+
InverseColorMap::InverseColorMap( const BitmapPalette& rPal ) :
nBits( 8 - OCTREE_BITS )
@@ -315,7 +315,7 @@ InverseColorMap::InverseColorMap( const BitmapPalette& rPal ) :
}
}
-// ------------------------------------------------------------------------
+
InverseColorMap::~InverseColorMap()
{
@@ -323,7 +323,7 @@ InverseColorMap::~InverseColorMap()
rtl_freeMemory( pMap );
}
-// ------------------------------------------------------------------------
+
void InverseColorMap::ImplCreateBuffers( const sal_uLong nMax )
{
diff --git a/vcl/source/gdi/outdev2.cxx b/vcl/source/gdi/outdev2.cxx
index 111fdf652a8a..a5e2c57e6f0d 100644
--- a/vcl/source/gdi/outdev2.cxx
+++ b/vcl/source/gdi/outdev2.cxx
@@ -660,7 +660,7 @@ void OutputDevice::DrawBitmapEx( const Point& rDestPt, const Size& rDestSize,
}
}
-// ------------------------------------------------------------------
+
void OutputDevice::DrawTransformedBitmapEx(
const basegfx::B2DHomMatrix& rTransformation,
diff --git a/vcl/source/gdi/outdev5.cxx b/vcl/source/gdi/outdev5.cxx
index 4c522a94f76a..830a1ee3748e 100644
--- a/vcl/source/gdi/outdev5.cxx
+++ b/vcl/source/gdi/outdev5.cxx
@@ -92,7 +92,7 @@ void OutputDevice::DrawRect( const Rectangle& rRect,
mpAlphaVDev->DrawRect( rRect, nHorzRound, nVertRound );
}
-// -----------------------------------------------------------------------
+
void OutputDevice::DrawEllipse( const Rectangle& rRect )
{
@@ -140,7 +140,7 @@ void OutputDevice::DrawEllipse( const Rectangle& rRect )
mpAlphaVDev->DrawEllipse( rRect );
}
-// -----------------------------------------------------------------------
+
void OutputDevice::DrawArc( const Rectangle& rRect,
const Point& rStartPt, const Point& rEndPt )
@@ -185,7 +185,7 @@ void OutputDevice::DrawArc( const Rectangle& rRect,
mpAlphaVDev->DrawArc( rRect, rStartPt, rEndPt );
}
-// -----------------------------------------------------------------------
+
void OutputDevice::DrawPie( const Rectangle& rRect,
const Point& rStartPt, const Point& rEndPt )
@@ -237,7 +237,7 @@ void OutputDevice::DrawPie( const Rectangle& rRect,
mpAlphaVDev->DrawPie( rRect, rStartPt, rEndPt );
}
-// -----------------------------------------------------------------------
+
void OutputDevice::DrawChord( const Rectangle& rRect,
const Point& rStartPt, const Point& rEndPt )
diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx
index 9d785e2610f9..e61e6bf58f12 100644
--- a/vcl/source/gdi/outdev6.cxx
+++ b/vcl/source/gdi/outdev6.cxx
@@ -175,7 +175,7 @@ void OutputDevice::DrawGrid( const Rectangle& rRect, const Size& rDist, sal_uLon
mpAlphaVDev->DrawGrid( rRect, rDist, nFlags );
}
-// ------------------------------------------------------------------------
+
// Caution: This method is nearly the same as
// void OutputDevice::DrawPolyPolygon( const basegfx::B2DPolyPolygon& rB2DPolyPoly )
// so when changes are made here do not forget to make change sthere, too
@@ -240,7 +240,7 @@ void OutputDevice::DrawTransparent( const basegfx::B2DPolyPolygon& rB2DPolyPoly,
DrawTransparent(toPolyPolygon(rB2DPolyPoly), static_cast<sal_uInt16>(fTransparency * 100.0));
}
-// ------------------------------------------------------------------------
+
void OutputDevice::DrawTransparent( const PolyPolygon& rPolyPoly,
sal_uInt16 nTransparencePercent )
@@ -635,7 +635,7 @@ void OutputDevice::DrawTransparent( const PolyPolygon& rPolyPoly,
}
}
-// -----------------------------------------------------------------------
+
void OutputDevice::DrawTransparent( const GDIMetaFile& rMtf, const Point& rPos,
const Size& rSize, const Gradient& rTransparenceGradient )
@@ -796,7 +796,7 @@ void OutputDevice::DrawTransparent( const GDIMetaFile& rMtf, const Point& rPos,
}
}
-// -----------------------------------------------------------------------
+
void OutputDevice::ImplDrawColorWallpaper( long nX, long nY,
long nWidth, long nHeight,
@@ -815,7 +815,7 @@ void OutputDevice::ImplDrawColorWallpaper( long nX, long nY,
EnableMapMode( bMap );
}
-// -----------------------------------------------------------------------
+
void OutputDevice::ImplDrawBitmapWallpaper( long nX, long nY,
long nWidth, long nHeight,
@@ -1058,7 +1058,7 @@ void OutputDevice::ImplDrawBitmapWallpaper( long nX, long nY,
mpMetaFile = pOldMetaFile;
}
-// -----------------------------------------------------------------------
+
void OutputDevice::ImplDrawGradientWallpaper( long nX, long nY,
long nWidth, long nHeight,
@@ -1103,7 +1103,7 @@ void OutputDevice::ImplDrawGradientWallpaper( long nX, long nY,
mpMetaFile = pOldMetaFile;
}
-// -----------------------------------------------------------------------
+
void OutputDevice::ImplDrawWallpaper( long nX, long nY,
long nWidth, long nHeight,
@@ -1117,7 +1117,7 @@ void OutputDevice::ImplDrawWallpaper( long nX, long nY,
ImplDrawColorWallpaper( nX, nY, nWidth, nHeight, rWallpaper );
}
-// -----------------------------------------------------------------------
+
void OutputDevice::DrawWallpaper( const Rectangle& rRect,
const Wallpaper& rWallpaper )
@@ -1144,7 +1144,7 @@ void OutputDevice::DrawWallpaper( const Rectangle& rRect,
mpAlphaVDev->DrawWallpaper( rRect, rWallpaper );
}
-// -----------------------------------------------------------------------
+
void OutputDevice::Erase()
{
@@ -1184,7 +1184,7 @@ void OutputDevice::Erase()
mpAlphaVDev->Erase();
}
-// -----------------------------------------------------------------------
+
bool OutputDevice::DrawEPS( const Point& rPoint, const Size& rSize,
const GfxLink& rGfxLink, GDIMetaFile* pSubst )
@@ -1242,7 +1242,7 @@ bool OutputDevice::DrawEPS( const Point& rPoint, const Size& rSize,
return bDrawn;
}
-// -----------------------------------------------------------------------
+
void OutputDevice::DrawCheckered(const Point& rPos, const Size& rSize, sal_uInt32 nLen, Color aStart, Color aEnd)
{
diff --git a/vcl/source/gdi/outdevnative.cxx b/vcl/source/gdi/outdevnative.cxx
index 9e310c7ab9ac..33296903fbb2 100644
--- a/vcl/source/gdi/outdevnative.cxx
+++ b/vcl/source/gdi/outdevnative.cxx
@@ -25,7 +25,7 @@
#include "salgdi.hxx"
-// -----------------------------------------------------------------------
+
static bool lcl_enableNativeWidget( const OutputDevice& i_rDevice )
{
@@ -140,12 +140,12 @@ PushButtonValue* PushButtonValue::clone() const
return new PushButtonValue( *this );
}
-// -----------------------------------------------------------------------
+
// These functions are mainly passthrough functions that allow access to
// the SalFrame behind a Window object for native widget rendering purposes.
-// -----------------------------------------------------------------------
-// -----------------------------------------------------------------------
+
+
bool OutputDevice::IsNativeControlSupported( ControlType nType, ControlPart nPart ) const
{
@@ -160,7 +160,7 @@ bool OutputDevice::IsNativeControlSupported( ControlType nType, ControlPart nPar
}
-// -----------------------------------------------------------------------
+
bool OutputDevice::HitTestNativeControl( ControlType nType,
ControlPart nPart,
@@ -183,7 +183,7 @@ bool OutputDevice::HitTestNativeControl( ControlType nType,
rIsInside, this ) );
}
-// -----------------------------------------------------------------------
+
static boost::shared_ptr< ImplControlValue > lcl_transformControlValue( const ImplControlValue& rVal, const OutputDevice& rDev )
{
@@ -303,7 +303,7 @@ bool OutputDevice::DrawNativeControl( ControlType nType,
return bRet;
}
-// -----------------------------------------------------------------------
+
bool OutputDevice::GetNativeControlRegion( ControlType nType,
ControlPart nPart,
diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx
index 2a805f6d5a67..5d632fcd02ba 100644
--- a/vcl/source/gdi/pdfwriter_impl2.cxx
+++ b/vcl/source/gdi/pdfwriter_impl2.cxx
@@ -49,7 +49,7 @@ using namespace com::sun::star::beans;
static bool lcl_canUsePDFAxialShading(const Gradient& rGradient);
-// -----------------------------------------------------------------------------
+
void PDFWriterImpl::implWriteGradient( const PolyPolygon& i_rPolyPoly, const Gradient& i_rGradient,
VirtualDevice* i_pDummyVDev, const vcl::PDFWriter::PlayMetafileContext& i_rContext )
@@ -64,7 +64,7 @@ void PDFWriterImpl::implWriteGradient( const PolyPolygon& i_rPolyPoly, const Gra
m_rOuterFace.Pop();
}
-// -----------------------------------------------------------------------------
+
void PDFWriterImpl::implWriteBitmapEx( const Point& i_rPoint, const Size& i_rSize, const BitmapEx& i_rBitmapEx,
VirtualDevice* i_pDummyVDev, const vcl::PDFWriter::PlayMetafileContext& i_rContext )
@@ -243,7 +243,7 @@ void PDFWriterImpl::implWriteBitmapEx( const Point& i_rPoint, const Size& i_rSiz
}
-// -----------------------------------------------------------------------------
+
void PDFWriterImpl::playMetafile( const GDIMetaFile& i_rMtf, vcl::PDFExtOutDevData* i_pOutDevData, const vcl::PDFWriter::PlayMetafileContext& i_rContext, VirtualDevice* pDummyVDev )
{
diff --git a/vcl/source/gdi/regband.cxx b/vcl/source/gdi/regband.cxx
index 699ef39df805..f7e0820f9c17 100644
--- a/vcl/source/gdi/regband.cxx
+++ b/vcl/source/gdi/regband.cxx
@@ -42,7 +42,7 @@
// converted to rectangles and the points in the list are deleted.
//
//
-// -----------------------------------------------------------------------
+
ImplRegionBand::ImplRegionBand( long nTop, long nBottom )
{
@@ -58,7 +58,7 @@ ImplRegionBand::ImplRegionBand( long nTop, long nBottom )
mbTouched = false;
}
-// -----------------------------------------------------------------------
+
ImplRegionBand::ImplRegionBand(
const ImplRegionBand& rRegionBand,
@@ -120,7 +120,7 @@ ImplRegionBand::ImplRegionBand(
}
}
-// -----------------------------------------------------------------------
+
ImplRegionBand::~ImplRegionBand()
{
@@ -145,7 +145,7 @@ ImplRegionBand::~ImplRegionBand()
}
}
-// -----------------------------------------------------------------------
+
//
// generate separations from lines and process union with existing
// separations
@@ -198,7 +198,7 @@ void ImplRegionBand::ProcessPoints()
mpFirstBandPoint = NULL;
}
-// -----------------------------------------------------------------------
+
//
// generate separations from lines and process union with existing
// separations
@@ -311,7 +311,7 @@ bool ImplRegionBand::InsertPoint( long nX, long nLineId,
return true;
}
-// -----------------------------------------------------------------------
+
void ImplRegionBand::MoveX( long nHorzMove )
{
@@ -325,7 +325,7 @@ void ImplRegionBand::MoveX( long nHorzMove )
}
}
-// -----------------------------------------------------------------------
+
void ImplRegionBand::ScaleX( double fHorzScale )
{
@@ -338,7 +338,7 @@ void ImplRegionBand::ScaleX( double fHorzScale )
}
}
-// -----------------------------------------------------------------------
+
//
// combine overlaping sparations
@@ -383,7 +383,7 @@ bool ImplRegionBand::OptimizeBand()
return true;
}
-// -----------------------------------------------------------------------
+
void ImplRegionBand::Union( long nXLeft, long nXRight )
{
@@ -457,7 +457,7 @@ void ImplRegionBand::Union( long nXLeft, long nXRight )
OptimizeBand();
}
-// -----------------------------------------------------------------------
+
void ImplRegionBand::Intersect( long nXLeft, long nXRight )
{
@@ -504,7 +504,7 @@ void ImplRegionBand::Intersect( long nXLeft, long nXRight )
OptimizeBand();
}
-// -----------------------------------------------------------------------
+
void ImplRegionBand::Exclude( long nXLeft, long nXRight )
{
@@ -584,7 +584,7 @@ void ImplRegionBand::Exclude( long nXLeft, long nXRight )
OptimizeBand();
}
-// -----------------------------------------------------------------------
+
void ImplRegionBand::XOr( long nXLeft, long nXRight )
{
@@ -831,7 +831,7 @@ void ImplRegionBand::XOr( long nXLeft, long nXRight )
OptimizeBand();
}
-// -----------------------------------------------------------------------
+
bool ImplRegionBand::IsInside( long nX )
{
@@ -847,7 +847,7 @@ bool ImplRegionBand::IsInside( long nX )
return false;
}
-// -----------------------------------------------------------------------
+
bool ImplRegionBand::IsOver( long nLeft, long nRight )
{
@@ -863,7 +863,7 @@ bool ImplRegionBand::IsOver( long nLeft, long nRight )
return false;
}
-// -----------------------------------------------------------------------
+
bool ImplRegionBand::IsInside( long nLeft, long nRight )
{
@@ -879,7 +879,7 @@ bool ImplRegionBand::IsInside( long nLeft, long nRight )
return false;
}
-// -----------------------------------------------------------------------
+
long ImplRegionBand::GetXLeftBoundary() const
{
@@ -888,7 +888,7 @@ long ImplRegionBand::GetXLeftBoundary() const
return mpFirstSep->mnXLeft;
}
-// -----------------------------------------------------------------------
+
long ImplRegionBand::GetXRightBoundary() const
{
@@ -901,7 +901,7 @@ long ImplRegionBand::GetXRightBoundary() const
return pSep->mnXRight;
}
-// -----------------------------------------------------------------------
+
bool ImplRegionBand::operator==( const ImplRegionBand& rRegionBand ) const
{
@@ -934,7 +934,7 @@ bool ImplRegionBand::operator==( const ImplRegionBand& rRegionBand ) const
return true;
}
-// -----------------------------------------------------------------------
+
ImplRegionBand* ImplRegionBand::SplitBand (const sal_Int32 nY)
{
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index 6e3f7fe06d3d..8c536275a5ed 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -1419,7 +1419,7 @@ bool Region::IsInside( const Rectangle& rRect ) const
return aRegion.IsEmpty();
}
-// -----------------------------------------------------------------------
+
bool Region::IsOver( const Rectangle& rRect ) const
{
diff --git a/vcl/source/gdi/sallayout.cxx b/vcl/source/gdi/sallayout.cxx
index 90e6d2996c85..c2bb8b7422b7 100644
--- a/vcl/source/gdi/sallayout.cxx
+++ b/vcl/source/gdi/sallayout.cxx
@@ -215,14 +215,14 @@ int GetVerticalFlags( sal_UCS4 nChar )
return GF_NONE; // not rotated as default
}
-// -----------------------------------------------------------------------
+
sal_UCS4 GetVerticalChar( sal_UCS4 )
{
return 0; // #i14788# input method is responsible vertical char changes
}
-// -----------------------------------------------------------------------
+
VCL_DLLPUBLIC sal_UCS4 GetMirroredChar( sal_UCS4 nChar )
{
@@ -230,7 +230,7 @@ VCL_DLLPUBLIC sal_UCS4 GetMirroredChar( sal_UCS4 nChar )
return nChar;
}
-// -----------------------------------------------------------------------
+
VCL_DLLPUBLIC sal_UCS4 GetLocalizedChar( sal_UCS4 nChar, LanguageType eLang )
{
@@ -324,7 +324,7 @@ VCL_DLLPUBLIC sal_UCS4 GetLocalizedChar( sal_UCS4 nChar, LanguageType eLang )
return nChar;
}
-// -----------------------------------------------------------------------
+
inline bool IsControlChar( sal_UCS4 cChar )
{
@@ -376,7 +376,7 @@ bool ImplLayoutRuns::AddPos( int nCharPos, bool bRTL )
return true;
}
-// -----------------------------------------------------------------------
+
bool ImplLayoutRuns::AddRun( int nCharPos0, int nCharPos1, bool bRTL )
{
@@ -397,7 +397,7 @@ bool ImplLayoutRuns::AddRun( int nCharPos0, int nCharPos1, bool bRTL )
return true;
}
-// -----------------------------------------------------------------------
+
bool ImplLayoutRuns::PosIsInRun( int nCharPos ) const
{
@@ -441,7 +441,7 @@ bool ImplLayoutRuns::PosIsInAnyRun( int nCharPos ) const
}
-// -----------------------------------------------------------------------
+
bool ImplLayoutRuns::GetNextPos( int* nCharPos, bool* bRightToLeft )
{
@@ -487,7 +487,7 @@ bool ImplLayoutRuns::GetNextPos( int* nCharPos, bool* bRightToLeft )
return true;
}
-// -----------------------------------------------------------------------
+
bool ImplLayoutRuns::GetRun( int* nMinRunPos, int* nEndRunPos, bool* bRightToLeft ) const
{
@@ -583,7 +583,7 @@ ImplLayoutArgs::ImplLayoutArgs( const sal_Unicode* pStr, int nLen,
maRuns.ResetPos();
}
-// -----------------------------------------------------------------------
+
// add a run after splitting it up to get rid of control chars
void ImplLayoutArgs::AddRun( int nCharPos0, int nCharPos1, bool bRTL )
@@ -616,7 +616,7 @@ void ImplLayoutArgs::AddRun( int nCharPos0, int nCharPos1, bool bRTL )
maRuns.AddRun( nCharPos0, nCharPos1, bRTL );
}
-// -----------------------------------------------------------------------
+
bool ImplLayoutArgs::PrepareFallback()
{
@@ -665,7 +665,7 @@ bool ImplLayoutArgs::PrepareFallback()
return true;
}
-// -----------------------------------------------------------------------
+
bool ImplLayoutArgs::GetNextRun( int* nMinRunPos, int* nEndRunPos, bool* bRTL )
{
@@ -686,12 +686,12 @@ SalLayout::SalLayout()
maDrawOffset( 0, 0 )
{}
-// -----------------------------------------------------------------------
+
SalLayout::~SalLayout()
{}
-// -----------------------------------------------------------------------
+
void SalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
{
@@ -701,7 +701,7 @@ void SalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
mnOrientation = rArgs.mnOrientation;
}
-// -----------------------------------------------------------------------
+
void SalLayout::Release() const
{
@@ -712,7 +712,7 @@ void SalLayout::Release() const
delete const_cast<SalLayout*>(this);
}
-// -----------------------------------------------------------------------
+
Point SalLayout::GetDrawPosition( const Point& rRelative ) const
{
@@ -744,7 +744,7 @@ Point SalLayout::GetDrawPosition( const Point& rRelative ) const
return aPos;
}
-// -----------------------------------------------------------------------
+
// returns asian kerning values in quarter of character width units
// to enable automatic halfwidth substitution for fullwidth punctuation
@@ -787,7 +787,7 @@ int SalLayout::CalcAsianKerning( sal_UCS4 c, bool bLeft, bool /*TODO:? bVertical
return nResult;
}
-// -----------------------------------------------------------------------
+
bool SalLayout::GetOutline( SalGraphics& rSalGraphics,
::basegfx::B2DPolyPolygonVector& rVector ) const
@@ -823,7 +823,7 @@ bool SalLayout::GetOutline( SalGraphics& rSalGraphics,
return (bAllOk && bOneOk);
}
-// -----------------------------------------------------------------------
+
bool SalLayout::GetBoundRect( SalGraphics& rSalGraphics, Rectangle& rRect ) const
{
@@ -854,7 +854,7 @@ bool SalLayout::GetBoundRect( SalGraphics& rSalGraphics, Rectangle& rRect ) cons
return bRet;
}
-// -----------------------------------------------------------------------
+
bool SalLayout::IsSpacingGlyph( sal_GlyphId nGlyph ) const
{
@@ -877,19 +877,19 @@ bool SalLayout::IsSpacingGlyph( sal_GlyphId nGlyph ) const
GenericSalLayout::GenericSalLayout()
{}
-// -----------------------------------------------------------------------
+
GenericSalLayout::~GenericSalLayout()
{}
-// -----------------------------------------------------------------------
+
void GenericSalLayout::AppendGlyph( const GlyphItem& rGlyphItem )
{
m_GlyphItems.push_back(rGlyphItem);
}
-// -----------------------------------------------------------------------
+
bool GenericSalLayout::GetCharWidths( sal_Int32* pCharWidths ) const
{
@@ -965,7 +965,7 @@ bool GenericSalLayout::GetCharWidths( sal_Int32* pCharWidths ) const
return true;
}
-// -----------------------------------------------------------------------
+
long GenericSalLayout::FillDXArray( sal_Int32* pCharWidths ) const
{
@@ -977,7 +977,7 @@ long GenericSalLayout::FillDXArray( sal_Int32* pCharWidths ) const
return nWidth;
}
-// -----------------------------------------------------------------------
+
// the text width is the maximum logical extent of all glyphs
long GenericSalLayout::GetTextWidth() const
@@ -1004,7 +1004,7 @@ long GenericSalLayout::GetTextWidth() const
return nWidth;
}
-// -----------------------------------------------------------------------
+
void GenericSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
{
@@ -1016,7 +1016,7 @@ void GenericSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
Justify( rArgs.mnLayoutWidth );
}
-// -----------------------------------------------------------------------
+
// This DXArray thing is one of the stupidest ideas I have ever seen (I've been
// told that it probably a one-to-one mapping of some Windows 3.1 API, which is
@@ -1144,7 +1144,7 @@ void GenericSalLayout::ApplyDXArray( ImplLayoutArgs& rArgs )
}
}
-// -----------------------------------------------------------------------
+
void GenericSalLayout::Justify( long nNewWidth )
{
@@ -1222,7 +1222,7 @@ void GenericSalLayout::Justify( long nNewWidth )
}
}
-// -----------------------------------------------------------------------
+
void GenericSalLayout::ApplyAsianKerning( const sal_Unicode* pStr, int nLength )
{
@@ -1264,7 +1264,7 @@ void GenericSalLayout::ApplyAsianKerning( const sal_Unicode* pStr, int nLength )
}
}
-// -----------------------------------------------------------------------
+
void GenericSalLayout::KashidaJustify( long nKashidaIndex, int nKashidaWidth )
{
@@ -1317,7 +1317,7 @@ void GenericSalLayout::KashidaJustify( long nKashidaIndex, int nKashidaWidth )
}
}
-// -----------------------------------------------------------------------
+
void GenericSalLayout::GetCaretPositions( int nMaxIndex, sal_Int32* pCaretXArray ) const
{
@@ -1349,7 +1349,7 @@ void GenericSalLayout::GetCaretPositions( int nMaxIndex, sal_Int32* pCaretXArray
}
}
-// -----------------------------------------------------------------------
+
sal_Int32 GenericSalLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const
{
@@ -1370,7 +1370,7 @@ sal_Int32 GenericSalLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int n
return -1;
}
-// -----------------------------------------------------------------------
+
int GenericSalLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphs, Point& rPos,
int& nStart, sal_Int32* pGlyphAdvAry, int* pCharPosAry,
@@ -1458,7 +1458,7 @@ int GenericSalLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphs, Point& rPos
return nCount;
}
-// -----------------------------------------------------------------------
+
void GenericSalLayout::MoveGlyph( int nStart, long nNewXPos )
{
@@ -1485,7 +1485,7 @@ void GenericSalLayout::MoveGlyph( int nStart, long nNewXPos )
}
}
-// -----------------------------------------------------------------------
+
void GenericSalLayout::DropGlyph( int nStart )
{
@@ -1498,7 +1498,7 @@ void GenericSalLayout::DropGlyph( int nStart )
pG->mnCharPos = -1;
}
-// -----------------------------------------------------------------------
+
void GenericSalLayout::Simplify( bool bIsBase )
{
@@ -1520,7 +1520,7 @@ void GenericSalLayout::Simplify( bool bIsBase )
m_GlyphItems.erase(m_GlyphItems.begin() + j, m_GlyphItems.end());
}
-// -----------------------------------------------------------------------
+
// make sure GlyphItems are sorted left to right
void GenericSalLayout::SortGlyphItems()
@@ -1576,7 +1576,7 @@ void MultiSalLayout::SetInComplete(bool bInComplete)
maFallbackRuns[mnLevel-1] = ImplLayoutRuns();
}
-// -----------------------------------------------------------------------
+
MultiSalLayout::~MultiSalLayout()
{
@@ -1584,7 +1584,7 @@ MultiSalLayout::~MultiSalLayout()
mpLayouts[ i ]->Release();
}
-// -----------------------------------------------------------------------
+
bool MultiSalLayout::AddFallback( SalLayout& rFallback,
ImplLayoutRuns& rFallbackRuns, const PhysicalFontFace* pFallbackFont )
@@ -1599,7 +1599,7 @@ bool MultiSalLayout::AddFallback( SalLayout& rFallback,
return true;
}
-// -----------------------------------------------------------------------
+
bool MultiSalLayout::LayoutText( ImplLayoutArgs& rArgs )
{
@@ -1610,7 +1610,7 @@ bool MultiSalLayout::LayoutText( ImplLayoutArgs& rArgs )
return true;
}
-// -----------------------------------------------------------------------
+
void MultiSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
{
@@ -1979,7 +1979,7 @@ void MultiSalLayout::AdjustLayout( ImplLayoutArgs& rArgs )
mpLayouts[n]->DisableGlyphInjection( false );
}
-// -----------------------------------------------------------------------
+
void MultiSalLayout::InitFont() const
{
@@ -1987,7 +1987,7 @@ void MultiSalLayout::InitFont() const
mpLayouts[0]->InitFont();
}
-// -----------------------------------------------------------------------
+
void MultiSalLayout::DrawText( SalGraphics& rGraphics ) const
{
@@ -2004,7 +2004,7 @@ void MultiSalLayout::DrawText( SalGraphics& rGraphics ) const
// NOTE: now the baselevel font is active again
}
- // -----------------------------------------------------------------------
+
sal_Int32 MultiSalLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFactor ) const
{
@@ -2043,7 +2043,7 @@ sal_Int32 MultiSalLayout::GetTextBreak( long nMaxWidth, long nCharExtra, int nFa
return -1;
}
-// -----------------------------------------------------------------------
+
long MultiSalLayout::FillDXArray( sal_Int32* pCharWidths ) const
{
@@ -2091,7 +2091,7 @@ long MultiSalLayout::FillDXArray( sal_Int32* pCharWidths ) const
return nMaxWidth;
}
-// -----------------------------------------------------------------------
+
void MultiSalLayout::GetCaretPositions( int nMaxIndex, sal_Int32* pCaretXArray ) const
{
@@ -2117,7 +2117,7 @@ void MultiSalLayout::GetCaretPositions( int nMaxIndex, sal_Int32* pCaretXArray )
}
}
-// -----------------------------------------------------------------------
+
int MultiSalLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphIdxAry, Point& rPos,
int& nStart, sal_Int32* pGlyphAdvAry, int* pCharPosAry,
@@ -2167,7 +2167,7 @@ int MultiSalLayout::GetNextGlyphs( int nLen, sal_GlyphId* pGlyphIdxAry, Point& r
return 0;
}
-// -----------------------------------------------------------------------
+
bool MultiSalLayout::GetOutline( SalGraphics& rGraphics,
::basegfx::B2DPolyPolygonVector& rPPV ) const
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx
index 2602dbc3d7f8..2d774a58b7f9 100644
--- a/vcl/source/gdi/virdev.cxx
+++ b/vcl/source/gdi/virdev.cxx
@@ -122,7 +122,7 @@ void VirtualDevice::ImplInitVirDev( const OutputDevice* pOutDev,
pSVData->maGDIData.mpFirstVirDev = this;
}
-// -----------------------------------------------------------------------
+
VirtualDevice::VirtualDevice( sal_uInt16 nBitCount )
: mpVirDev( NULL ),
@@ -135,7 +135,7 @@ VirtualDevice::VirtualDevice( sal_uInt16 nBitCount )
ImplInitVirDev( Application::GetDefaultDevice(), 1, 1, nBitCount );
}
-// -----------------------------------------------------------------------
+
VirtualDevice::VirtualDevice( const OutputDevice& rCompDev, sal_uInt16 nBitCount )
: mpVirDev( NULL ),
@@ -148,7 +148,7 @@ VirtualDevice::VirtualDevice( const OutputDevice& rCompDev, sal_uInt16 nBitCount
ImplInitVirDev( &rCompDev, 1, 1, nBitCount );
}
-// -----------------------------------------------------------------------
+
VirtualDevice::VirtualDevice( const OutputDevice& rCompDev, sal_uInt16 nBitCount, sal_uInt16 nAlphaBitCount )
: mpVirDev( NULL ),
@@ -165,7 +165,7 @@ VirtualDevice::VirtualDevice( const OutputDevice& rCompDev, sal_uInt16 nBitCount
mnAlphaDepth = sal::static_int_cast<sal_Int8>(nAlphaBitCount);
}
-// -----------------------------------------------------------------------
+
VirtualDevice::VirtualDevice( const SystemGraphicsData *pData, sal_uInt16 nBitCount )
: mpVirDev( NULL ),
@@ -176,7 +176,7 @@ VirtualDevice::VirtualDevice( const SystemGraphicsData *pData, sal_uInt16 nBitCo
ImplInitVirDev( Application::GetDefaultDevice(), 1, 1, nBitCount, pData );
}
-// -----------------------------------------------------------------------
+
VirtualDevice::~VirtualDevice()
{
@@ -201,7 +201,7 @@ VirtualDevice::~VirtualDevice()
pSVData->maGDIData.mpLastVirDev = mpPrev;
}
-// -----------------------------------------------------------------------
+
bool VirtualDevice::InnerImplSetOutputSizePixel( const Size& rNewSize, bool bErase, const basebmp::RawMemorySharedArray &pBuffer )
{
@@ -303,7 +303,7 @@ bool VirtualDevice::InnerImplSetOutputSizePixel( const Size& rNewSize, bool bEra
return bRet;
}
-// -----------------------------------------------------------------------
+
// #i32109#: Fill opaque areas correctly (without relying on
// fill/linecolor state)
@@ -319,7 +319,7 @@ void VirtualDevice::ImplFillOpaqueRectangle( const Rectangle& rRect )
Pop();
}
-// -----------------------------------------------------------------------
+
bool VirtualDevice::ImplSetOutputSizePixel( const Size& rNewSize, bool bErase, const basebmp::RawMemorySharedArray &pBuffer )
{
@@ -373,7 +373,7 @@ bool VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer( const Size& rNewSize
return ImplSetOutputSizePixel( rNewSize, true, pBuffer);
}
-// -----------------------------------------------------------------------
+
void VirtualDevice::SetReferenceDevice( RefDevMode i_eRefDevMode )
{
@@ -455,13 +455,13 @@ void VirtualDevice::ImplSetReferenceDevice( RefDevMode i_eRefDevMode, sal_Int32
mpFontCache = new ImplFontCache();
}
-// -----------------------------------------------------------------------
+
void VirtualDevice::Compat_ZeroExtleadBug()
{
meRefDevMode = (sal_uInt8)meRefDevMode | REFDEV_FORCE_ZERO_EXTLEAD;
}
-// -----------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/gdi/wall.cxx b/vcl/source/gdi/wall.cxx
index 7c08e016b5cb..af7a3a0f20b6 100644
--- a/vcl/source/gdi/wall.cxx
+++ b/vcl/source/gdi/wall.cxx
@@ -28,7 +28,7 @@
#include <vcl/dibtools.hxx>
#include <vcl/settings.hxx>
-// -----------------------------------------------------------------------
+
ImplWallpaper::ImplWallpaper() :
maColor( COL_TRANSPARENT )
@@ -41,7 +41,7 @@ ImplWallpaper::ImplWallpaper() :
meStyle = WALLPAPER_NULL;
}
-// -----------------------------------------------------------------------
+
ImplWallpaper::ImplWallpaper( const ImplWallpaper& rImplWallpaper ) :
maColor( rImplWallpaper.maColor )
@@ -67,7 +67,7 @@ ImplWallpaper::ImplWallpaper( const ImplWallpaper& rImplWallpaper ) :
mpRect = NULL;
}
-// -----------------------------------------------------------------------
+
ImplWallpaper::~ImplWallpaper()
{
@@ -77,7 +77,7 @@ ImplWallpaper::~ImplWallpaper()
delete mpRect;
}
-// -----------------------------------------------------------------------
+
void ImplWallpaper::ImplSetCachedBitmap( BitmapEx& rBmp )
{
@@ -87,7 +87,7 @@ void ImplWallpaper::ImplSetCachedBitmap( BitmapEx& rBmp )
*mpCache = rBmp;
}
-// -----------------------------------------------------------------------
+
void ImplWallpaper::ImplReleaseCachedBitmap()
{
@@ -95,7 +95,7 @@ void ImplWallpaper::ImplReleaseCachedBitmap()
mpCache = NULL;
}
-// -----------------------------------------------------------------------
+
SvStream& ReadImplWallpaper( SvStream& rIStm, ImplWallpaper& rImplWallpaper )
{
@@ -150,7 +150,7 @@ SvStream& ReadImplWallpaper( SvStream& rIStm, ImplWallpaper& rImplWallpaper )
return rIStm;
}
-// -----------------------------------------------------------------------
+
SvStream& WriteImplWallpaper( SvStream& rOStm, const ImplWallpaper& rImplWallpaper )
{
@@ -182,7 +182,7 @@ SvStream& WriteImplWallpaper( SvStream& rOStm, const ImplWallpaper& rImplWallpap
return rOStm;
}
-// -----------------------------------------------------------------------
+
inline void Wallpaper::ImplMakeUnique( bool bReleaseCache )
{
@@ -198,7 +198,7 @@ inline void Wallpaper::ImplMakeUnique( bool bReleaseCache )
mpImplWallpaper->ImplReleaseCachedBitmap();
}
-// -----------------------------------------------------------------------
+
Wallpaper::Wallpaper()
{
@@ -209,7 +209,7 @@ Wallpaper::Wallpaper()
mpImplWallpaper = &aStaticImplWallpaper;
}
-// -----------------------------------------------------------------------
+
Wallpaper::Wallpaper( const Wallpaper& rWallpaper )
{
@@ -222,7 +222,7 @@ Wallpaper::Wallpaper( const Wallpaper& rWallpaper )
mpImplWallpaper->mnRefCount++;
}
-// -----------------------------------------------------------------------
+
Wallpaper::Wallpaper( const Color& rColor )
{
@@ -232,7 +232,7 @@ Wallpaper::Wallpaper( const Color& rColor )
mpImplWallpaper->meStyle = WALLPAPER_TILE;
}
-// -----------------------------------------------------------------------
+
Wallpaper::Wallpaper( const BitmapEx& rBmpEx )
{
@@ -242,7 +242,7 @@ Wallpaper::Wallpaper( const BitmapEx& rBmpEx )
mpImplWallpaper->meStyle = WALLPAPER_TILE;
}
-// -----------------------------------------------------------------------
+
Wallpaper::Wallpaper( const Gradient& rGradient )
{
@@ -252,7 +252,7 @@ Wallpaper::Wallpaper( const Gradient& rGradient )
mpImplWallpaper->meStyle = WALLPAPER_TILE;
}
-// -----------------------------------------------------------------------
+
Wallpaper::~Wallpaper()
{
@@ -267,7 +267,7 @@ Wallpaper::~Wallpaper()
}
}
-// -----------------------------------------------------------------------
+
void Wallpaper::SetColor( const Color& rColor )
{
@@ -279,7 +279,7 @@ void Wallpaper::SetColor( const Color& rColor )
mpImplWallpaper->meStyle = WALLPAPER_TILE;
}
-// -----------------------------------------------------------------------
+
const Color& Wallpaper::GetColor() const
{
@@ -287,7 +287,7 @@ const Color& Wallpaper::GetColor() const
return mpImplWallpaper->maColor;
}
-// -----------------------------------------------------------------------
+
void Wallpaper::SetStyle( WallpaperStyle eStyle )
{
@@ -302,7 +302,7 @@ void Wallpaper::SetStyle( WallpaperStyle eStyle )
mpImplWallpaper->meStyle = eStyle;
}
-// -----------------------------------------------------------------------
+
WallpaperStyle Wallpaper::GetStyle() const
{
@@ -310,7 +310,7 @@ WallpaperStyle Wallpaper::GetStyle() const
return mpImplWallpaper->meStyle;
}
-// -----------------------------------------------------------------------
+
void Wallpaper::SetBitmap( const BitmapEx& rBitmap )
{
@@ -337,7 +337,7 @@ void Wallpaper::SetBitmap( const BitmapEx& rBitmap )
mpImplWallpaper->meStyle = WALLPAPER_TILE;
}
-// -----------------------------------------------------------------------
+
BitmapEx Wallpaper::GetBitmap() const
{
@@ -351,7 +351,7 @@ BitmapEx Wallpaper::GetBitmap() const
}
}
-// -----------------------------------------------------------------------
+
bool Wallpaper::IsBitmap() const
{
@@ -360,7 +360,7 @@ bool Wallpaper::IsBitmap() const
}
-// -----------------------------------------------------------------------
+
void Wallpaper::SetGradient( const Gradient& rGradient )
{
@@ -376,7 +376,7 @@ void Wallpaper::SetGradient( const Gradient& rGradient )
mpImplWallpaper->meStyle = WALLPAPER_TILE;
}
-// -----------------------------------------------------------------------
+
Gradient Wallpaper::GetGradient() const
{
@@ -392,7 +392,7 @@ Gradient Wallpaper::GetGradient() const
}
}
-// -----------------------------------------------------------------------
+
bool Wallpaper::IsGradient() const
{
@@ -401,7 +401,7 @@ bool Wallpaper::IsGradient() const
}
-// -----------------------------------------------------------------------
+
Gradient Wallpaper::ImplGetApplicationGradient() const
{
@@ -417,7 +417,7 @@ Gradient Wallpaper::ImplGetApplicationGradient() const
return g;
}
-// -----------------------------------------------------------------------
+
void Wallpaper::SetRect( const Rectangle& rRect )
{
@@ -441,7 +441,7 @@ void Wallpaper::SetRect( const Rectangle& rRect )
}
}
-// -----------------------------------------------------------------------
+
Rectangle Wallpaper::GetRect() const
{
@@ -455,7 +455,7 @@ Rectangle Wallpaper::GetRect() const
}
}
-// -----------------------------------------------------------------------
+
bool Wallpaper::IsRect() const
{
@@ -464,7 +464,7 @@ bool Wallpaper::IsRect() const
}
-// -----------------------------------------------------------------------
+
bool Wallpaper::IsFixed() const
{
@@ -474,7 +474,7 @@ bool Wallpaper::IsFixed() const
return (!mpImplWallpaper->mpBitmap && !mpImplWallpaper->mpGradient);
}
-// -----------------------------------------------------------------------
+
bool Wallpaper::IsScrollable() const
{
@@ -488,7 +488,7 @@ bool Wallpaper::IsScrollable() const
return false;
}
-// -----------------------------------------------------------------------
+
Wallpaper& Wallpaper::operator=( const Wallpaper& rWallpaper )
{
@@ -513,7 +513,7 @@ Wallpaper& Wallpaper::operator=( const Wallpaper& rWallpaper )
return *this;
}
-// -----------------------------------------------------------------------
+
bool Wallpaper::operator==( const Wallpaper& rWallpaper ) const
{
@@ -546,7 +546,7 @@ bool Wallpaper::operator==( const Wallpaper& rWallpaper ) const
return true;
}
-// -----------------------------------------------------------------------
+
SvStream& ReadWallpaper( SvStream& rIStm, Wallpaper& rWallpaper )
{
@@ -554,7 +554,7 @@ SvStream& ReadWallpaper( SvStream& rIStm, Wallpaper& rWallpaper )
return ReadImplWallpaper( rIStm, *rWallpaper.mpImplWallpaper );
}
-// -----------------------------------------------------------------------
+
SvStream& WriteWallpaper( SvStream& rOStm, const Wallpaper& rWallpaper )
{
diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx
index 4ded993eb491..61b5763f6646 100644
--- a/vcl/source/window/accel.cxx
+++ b/vcl/source/window/accel.cxx
@@ -95,7 +95,7 @@ sal_uInt16 ImplAccelEntryGetIndex( ImplAccelList* pList, sal_uInt16 nId,
return ACCELENTRY_NOTFOUND;
}
-// -----------------------------------------------------------------------
+
static void ImplAccelEntryInsert( ImplAccelList* pList, ImplAccelEntry* pEntry )
{
@@ -134,7 +134,7 @@ static void ImplAccelEntryInsert( ImplAccelList* pList, ImplAccelEntry* pEntry )
}
}
-// -----------------------------------------------------------------------
+
static sal_uInt16 ImplAccelEntryGetFirstPos( ImplAccelList* pList, sal_uInt16 nId )
{
@@ -165,7 +165,7 @@ void Accelerator::ImplInit()
mpDel = NULL;
}
-// -----------------------------------------------------------------------
+
ImplAccelEntry* Accelerator::ImplGetAccelData( const KeyCode& rKeyCode ) const
{
@@ -176,7 +176,7 @@ ImplAccelEntry* Accelerator::ImplGetAccelData( const KeyCode& rKeyCode ) const
return NULL;
}
-// -----------------------------------------------------------------------
+
void Accelerator::ImplCopyData( ImplAccelData& rAccelData )
{
@@ -199,7 +199,7 @@ void Accelerator::ImplCopyData( ImplAccelData& rAccelData )
}
}
-// -----------------------------------------------------------------------
+
void Accelerator::ImplDeleteData()
{
@@ -214,7 +214,7 @@ void Accelerator::ImplDeleteData()
mpData->maIdList.clear();
}
-// -----------------------------------------------------------------------
+
void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const KeyCode& rKeyCode,
bool bEnable, Accelerator* pAutoAccel )
@@ -269,7 +269,7 @@ void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const KeyCode& rKeyCode,
ImplAccelEntryInsert( &(mpData->maIdList), pEntry );
}
-// -----------------------------------------------------------------------
+
Accelerator::Accelerator()
{
@@ -278,7 +278,7 @@ Accelerator::Accelerator()
mpData = new ImplAccelData;
}
-// -----------------------------------------------------------------------
+
Accelerator::Accelerator( const Accelerator& rAccel ) :
Resource(),
@@ -291,7 +291,7 @@ Accelerator::Accelerator( const Accelerator& rAccel ) :
ImplCopyData( *((ImplAccelData*)(rAccel.mpData)) );
}
-// -----------------------------------------------------------------------
+
Accelerator::Accelerator( const ResId& rResId )
{
@@ -302,7 +302,7 @@ Accelerator::Accelerator( const ResId& rResId )
ImplLoadRes( rResId );
}
-// -----------------------------------------------------------------------
+
void Accelerator::ImplLoadRes( const ResId& rResId )
{
@@ -318,7 +318,7 @@ void Accelerator::ImplLoadRes( const ResId& rResId )
}
}
-// -----------------------------------------------------------------------
+
Accelerator::~Accelerator()
{
@@ -331,35 +331,35 @@ Accelerator::~Accelerator()
delete mpData;
}
-// -----------------------------------------------------------------------
+
void Accelerator::Activate()
{
maActivateHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void Accelerator::Deactivate()
{
maDeactivateHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void Accelerator::Select()
{
maSelectHdl.Call( this );
}
-// -----------------------------------------------------------------------
+
void Accelerator::InsertItem( sal_uInt16 nItemId, const KeyCode& rKeyCode )
{
ImplInsertAccel( nItemId, rKeyCode, true, NULL );
}
-// -----------------------------------------------------------------------
+
void Accelerator::InsertItem( const ResId& rResId )
{
@@ -393,7 +393,7 @@ void Accelerator::InsertItem( const ResId& rResId )
ImplInsertAccel( nAccelKeyId, aKeyCode, !bDisable, pAutoAccel );
}
-// -----------------------------------------------------------------------
+
sal_uInt16 Accelerator::GetItemCount() const
{
@@ -401,7 +401,7 @@ sal_uInt16 Accelerator::GetItemCount() const
return (sal_uInt16)mpData->maIdList.size();
}
-// -----------------------------------------------------------------------
+
KeyCode Accelerator::GetKeyCode( sal_uInt16 nItemId ) const
{
@@ -413,7 +413,7 @@ KeyCode Accelerator::GetKeyCode( sal_uInt16 nItemId ) const
return KeyCode();
}
-// -----------------------------------------------------------------------
+
sal_uInt16 Accelerator::GetItemId( sal_uInt16 nPos ) const
{
@@ -425,7 +425,7 @@ sal_uInt16 Accelerator::GetItemId( sal_uInt16 nPos ) const
return 0;
}
-// -----------------------------------------------------------------------
+
Accelerator* Accelerator::GetAccel( sal_uInt16 nItemId ) const
{
@@ -437,7 +437,7 @@ Accelerator* Accelerator::GetAccel( sal_uInt16 nItemId ) const
return NULL;
}
-// -----------------------------------------------------------------------
+
Accelerator& Accelerator::operator=( const Accelerator& rAccel )
{
diff --git a/vcl/source/window/accmgr.cxx b/vcl/source/window/accmgr.cxx
index 5fe29c0e3341..66ce04be9c19 100644
--- a/vcl/source/window/accmgr.cxx
+++ b/vcl/source/window/accmgr.cxx
@@ -35,7 +35,7 @@ ImplAccelManager::~ImplAccelManager()
delete mpSequenceList;
}
-// -----------------------------------------------------------------------
+
bool ImplAccelManager::InsertAccel( Accelerator* pAccel )
{
@@ -53,7 +53,7 @@ bool ImplAccelManager::InsertAccel( Accelerator* pAccel )
return true;
}
-// -----------------------------------------------------------------------
+
void ImplAccelManager::RemoveAccel( Accelerator* pAccel )
{
@@ -90,7 +90,7 @@ void ImplAccelManager::RemoveAccel( Accelerator* pAccel )
}
}
-// -----------------------------------------------------------------------
+
void ImplAccelManager::EndSequence( bool bCancel )
{
@@ -118,7 +118,7 @@ void ImplAccelManager::EndSequence( bool bCancel )
mpSequenceList = NULL;
}
-// -----------------------------------------------------------------------
+
bool ImplAccelManager::IsAccelKey( const KeyCode& rKeyCode, sal_uInt16 nRepeat )
{
diff --git a/vcl/source/window/brdwin.cxx b/vcl/source/window/brdwin.cxx
index b68b4ab9ae51..27eafacfaac5 100644
--- a/vcl/source/window/brdwin.cxx
+++ b/vcl/source/window/brdwin.cxx
@@ -79,7 +79,7 @@ static void ImplGetPinImage( sal_uInt16 nStyle, bool bPinIn, Image& rImage )
rImage = pSVData->maCtrlData.mpPinImgList->GetImage( nId );
}
-// -----------------------------------------------------------------------
+
void Window::ImplCalcSymbolRect( Rectangle& rRect )
{
@@ -99,7 +99,7 @@ void Window::ImplCalcSymbolRect( Rectangle& rRect )
rRect.Bottom() -= nExtraHeight;
}
-// -----------------------------------------------------------------------
+
static void ImplDrawBrdWinSymbol( OutputDevice* pDev,
const Rectangle& rRect, SymbolType eSymbol )
@@ -112,7 +112,7 @@ static void ImplDrawBrdWinSymbol( OutputDevice* pDev,
pDev->GetSettings().GetStyleSettings().GetButtonTextColor(), 0 );
}
-// -----------------------------------------------------------------------
+
static void ImplDrawBrdWinSymbolButton( OutputDevice* pDev,
const Rectangle& rRect,
@@ -151,50 +151,50 @@ static void ImplDrawBrdWinSymbolButton( OutputDevice* pDev,
// =======================================================================
-// ------------------------
+
// - ImplBorderWindowView -
-// ------------------------
+
ImplBorderWindowView::~ImplBorderWindowView()
{
}
-// -----------------------------------------------------------------------
+
bool ImplBorderWindowView::MouseMove( const MouseEvent& )
{
return false;
}
-// -----------------------------------------------------------------------
+
bool ImplBorderWindowView::MouseButtonDown( const MouseEvent& )
{
return false;
}
-// -----------------------------------------------------------------------
+
bool ImplBorderWindowView::Tracking( const TrackingEvent& )
{
return false;
}
-// -----------------------------------------------------------------------
+
OUString ImplBorderWindowView::RequestHelp( const Point&, Rectangle& )
{
return OUString();
}
-// -----------------------------------------------------------------------
+
Rectangle ImplBorderWindowView::GetMenuRect() const
{
return Rectangle();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindowView::ImplInitTitle( ImplBorderFrameData* pData )
{
@@ -230,7 +230,7 @@ void ImplBorderWindowView::ImplInitTitle( ImplBorderFrameData* pData )
}
}
-// -----------------------------------------------------------------------
+
sal_uInt16 ImplBorderWindowView::ImplHitTest( ImplBorderFrameData* pData, const Point& rPos )
{
@@ -309,7 +309,7 @@ sal_uInt16 ImplBorderWindowView::ImplHitTest( ImplBorderFrameData* pData, const
return 0;
}
-// -----------------------------------------------------------------------
+
bool ImplBorderWindowView::ImplMouseMove( ImplBorderFrameData* pData, const MouseEvent& rMEvt )
{
@@ -351,7 +351,7 @@ bool ImplBorderWindowView::ImplMouseMove( ImplBorderFrameData* pData, const Mous
return true;
}
-// -----------------------------------------------------------------------
+
bool ImplBorderWindowView::ImplMouseButtonDown( ImplBorderFrameData* pData, const MouseEvent& rMEvt )
{
@@ -471,7 +471,7 @@ bool ImplBorderWindowView::ImplMouseButtonDown( ImplBorderFrameData* pData, cons
return true;
}
-// -----------------------------------------------------------------------
+
bool ImplBorderWindowView::ImplTracking( ImplBorderFrameData* pData, const TrackingEvent& rTEvt )
{
@@ -924,7 +924,7 @@ bool ImplBorderWindowView::ImplTracking( ImplBorderFrameData* pData, const Track
return true;
}
-// -----------------------------------------------------------------------
+
OUString ImplBorderWindowView::ImplRequestHelp( ImplBorderFrameData* pData,
const Point& rPos,
@@ -995,7 +995,7 @@ OUString ImplBorderWindowView::ImplRequestHelp( ImplBorderFrameData* pData,
return aHelpStr;
}
-// -----------------------------------------------------------------------
+
long ImplBorderWindowView::ImplCalcTitleWidth( const ImplBorderFrameData* pData ) const
{
@@ -1018,21 +1018,21 @@ long ImplBorderWindowView::ImplCalcTitleWidth( const ImplBorderFrameData* pData
// =======================================================================
-// --------------------------
+
// - ImplNoBorderWindowView -
-// --------------------------
+
ImplNoBorderWindowView::ImplNoBorderWindowView( ImplBorderWindow* )
{
}
-// -----------------------------------------------------------------------
+
void ImplNoBorderWindowView::Init( OutputDevice*, long, long )
{
}
-// -----------------------------------------------------------------------
+
void ImplNoBorderWindowView::GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const
@@ -1043,14 +1043,14 @@ void ImplNoBorderWindowView::GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopB
rBottomBorder = 0;
}
-// -----------------------------------------------------------------------
+
long ImplNoBorderWindowView::CalcTitleWidth() const
{
return 0;
}
-// -----------------------------------------------------------------------
+
void ImplNoBorderWindowView::DrawWindow( sal_uInt16, OutputDevice*, const Point* )
{
@@ -1058,9 +1058,9 @@ void ImplNoBorderWindowView::DrawWindow( sal_uInt16, OutputDevice*, const Point*
// =======================================================================
-// -----------------------------
+
// - ImplSmallBorderWindowView -
-// -----------------------------
+
// =======================================================================
@@ -1073,7 +1073,7 @@ ImplSmallBorderWindowView::ImplSmallBorderWindowView( ImplBorderWindow* pBorderW
{
}
-// -----------------------------------------------------------------------
+
void ImplSmallBorderWindowView::Init( OutputDevice* pDev, long nWidth, long nHeight )
{
@@ -1234,7 +1234,7 @@ void ImplSmallBorderWindowView::Init( OutputDevice* pDev, long nWidth, long nHei
}
}
-// -----------------------------------------------------------------------
+
void ImplSmallBorderWindowView::GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const
@@ -1245,14 +1245,14 @@ void ImplSmallBorderWindowView::GetBorder( sal_Int32& rLeftBorder, sal_Int32& rT
rBottomBorder = mnBottomBorder;
}
-// -----------------------------------------------------------------------
+
long ImplSmallBorderWindowView::CalcTitleWidth() const
{
return 0;
}
-// -----------------------------------------------------------------------
+
void ImplSmallBorderWindowView::DrawWindow( sal_uInt16 nDrawFlags, OutputDevice*, const Point* )
{
@@ -1416,9 +1416,9 @@ void ImplSmallBorderWindowView::DrawWindow( sal_uInt16 nDrawFlags, OutputDevice*
// =======================================================================
-// ---------------------------
+
// - ImplStdBorderWindowView -
-// ---------------------------
+
ImplStdBorderWindowView::ImplStdBorderWindowView( ImplBorderWindow* pBorderWindow )
{
@@ -1438,7 +1438,7 @@ ImplStdBorderWindowView::ImplStdBorderWindowView( ImplBorderWindow* pBorderWindo
mpDTitleVirDev = NULL;
}
-// -----------------------------------------------------------------------
+
ImplStdBorderWindowView::~ImplStdBorderWindowView()
{
@@ -1446,42 +1446,42 @@ ImplStdBorderWindowView::~ImplStdBorderWindowView()
delete mpDTitleVirDev;
}
-// -----------------------------------------------------------------------
+
bool ImplStdBorderWindowView::MouseMove( const MouseEvent& rMEvt )
{
return ImplMouseMove( &maFrameData, rMEvt );
}
-// -----------------------------------------------------------------------
+
bool ImplStdBorderWindowView::MouseButtonDown( const MouseEvent& rMEvt )
{
return ImplMouseButtonDown( &maFrameData, rMEvt );
}
-// -----------------------------------------------------------------------
+
bool ImplStdBorderWindowView::Tracking( const TrackingEvent& rTEvt )
{
return ImplTracking( &maFrameData, rTEvt );
}
-// -----------------------------------------------------------------------
+
OUString ImplStdBorderWindowView::RequestHelp( const Point& rPos, Rectangle& rHelpRect )
{
return ImplRequestHelp( &maFrameData, rPos, rHelpRect );
}
-// -----------------------------------------------------------------------
+
Rectangle ImplStdBorderWindowView::GetMenuRect() const
{
return maFrameData.maMenuRect;
}
-// -----------------------------------------------------------------------
+
void ImplStdBorderWindowView::Init( OutputDevice* pDev, long nWidth, long nHeight )
{
@@ -1629,7 +1629,7 @@ void ImplStdBorderWindowView::Init( OutputDevice* pDev, long nWidth, long nHeigh
}
}
-// -----------------------------------------------------------------------
+
void ImplStdBorderWindowView::GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const
@@ -1640,14 +1640,14 @@ void ImplStdBorderWindowView::GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTop
rBottomBorder = maFrameData.mnBottomBorder;
}
-// -----------------------------------------------------------------------
+
long ImplStdBorderWindowView::CalcTitleWidth() const
{
return ImplCalcTitleWidth( &maFrameData );
}
-// -----------------------------------------------------------------------
+
void ImplStdBorderWindowView::DrawWindow( sal_uInt16 nDrawFlags, OutputDevice* pOutDev, const Point* pOffset )
{
@@ -1943,7 +1943,7 @@ ImplBorderWindow::ImplBorderWindow( Window* pParent,
ImplInit( pParent, nStyle, nTypeStyle, pSystemParentData );
}
-// -----------------------------------------------------------------------
+
ImplBorderWindow::ImplBorderWindow( Window* pParent, WinBits nStyle ,
sal_uInt16 nTypeStyle ) :
@@ -1952,35 +1952,35 @@ ImplBorderWindow::ImplBorderWindow( Window* pParent, WinBits nStyle ,
ImplInit( pParent, nStyle, nTypeStyle, ::com::sun::star::uno::Any() );
}
-// -----------------------------------------------------------------------
+
ImplBorderWindow::~ImplBorderWindow()
{
delete mpBorderView;
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::MouseMove( const MouseEvent& rMEvt )
{
mpBorderView->MouseMove( rMEvt );
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::MouseButtonDown( const MouseEvent& rMEvt )
{
mpBorderView->MouseButtonDown( rMEvt );
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::Tracking( const TrackingEvent& rTEvt )
{
mpBorderView->Tracking( rTEvt );
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::Paint( const Rectangle& )
{
@@ -1992,7 +1992,7 @@ void ImplBorderWindow::Draw( const Rectangle&, OutputDevice* pOutDev, const Poin
mpBorderView->DrawWindow( BORDERWINDOW_DRAW_ALL, pOutDev, &rPos );
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::Activate()
{
@@ -2000,7 +2000,7 @@ void ImplBorderWindow::Activate()
Window::Activate();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::Deactivate()
{
@@ -2011,7 +2011,7 @@ void ImplBorderWindow::Deactivate()
Window::Deactivate();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::RequestHelp( const HelpEvent& rHEvt )
{
@@ -2037,7 +2037,7 @@ void ImplBorderWindow::RequestHelp( const HelpEvent& rHEvt )
Window::RequestHelp( rHEvt );
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::Resize()
{
@@ -2091,7 +2091,7 @@ void ImplBorderWindow::Resize()
Window::Resize();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::StateChanged( StateChangedType nType )
{
@@ -2111,7 +2111,7 @@ void ImplBorderWindow::StateChanged( StateChangedType nType )
Window::StateChanged( nType );
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -2127,7 +2127,7 @@ void ImplBorderWindow::DataChanged( const DataChangedEvent& rDCEvt )
Window::DataChanged( rDCEvt );
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::InitView()
{
@@ -2148,7 +2148,7 @@ void ImplBorderWindow::InitView()
mpBorderView->Init( this, aSize.Width(), aSize.Height() );
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::UpdateView( bool bNewView, const Size& rNewOutSize )
{
@@ -2191,7 +2191,7 @@ void ImplBorderWindow::UpdateView( bool bNewView, const Size& rNewOutSize )
}
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::InvalidateBorder()
{
@@ -2224,7 +2224,7 @@ void ImplBorderWindow::InvalidateBorder()
}
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetDisplayActive( bool bActive )
{
@@ -2236,7 +2236,7 @@ void ImplBorderWindow::SetDisplayActive( bool bActive )
}
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetTitleType( sal_uInt16 nTitleType, const Size& rSize )
{
@@ -2244,7 +2244,7 @@ void ImplBorderWindow::SetTitleType( sal_uInt16 nTitleType, const Size& rSize )
UpdateView( false, rSize );
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetBorderStyle( sal_uInt16 nStyle )
{
@@ -2255,7 +2255,7 @@ void ImplBorderWindow::SetBorderStyle( sal_uInt16 nStyle )
}
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetPin( bool bPin )
{
@@ -2263,7 +2263,7 @@ void ImplBorderWindow::SetPin( bool bPin )
InvalidateBorder();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetRollUp( bool bRollUp, const Size& rSize )
{
@@ -2272,7 +2272,7 @@ void ImplBorderWindow::SetRollUp( bool bRollUp, const Size& rSize )
UpdateView( false, rSize );
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetCloser()
{
@@ -2282,7 +2282,7 @@ void ImplBorderWindow::SetCloser()
InvalidateBorder();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetDockButton( bool bDockButton )
{
@@ -2292,7 +2292,7 @@ void ImplBorderWindow::SetDockButton( bool bDockButton )
InvalidateBorder();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetHideButton( bool bHideButton )
{
@@ -2302,7 +2302,7 @@ void ImplBorderWindow::SetHideButton( bool bHideButton )
InvalidateBorder();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetMenuButton( bool bMenuButton )
{
@@ -2312,14 +2312,14 @@ void ImplBorderWindow::SetMenuButton( bool bMenuButton )
InvalidateBorder();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::UpdateMenuHeight()
{
Resize();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetMenuBarWindow( Window* pWindow )
{
@@ -2329,7 +2329,7 @@ void ImplBorderWindow::SetMenuBarWindow( Window* pWindow )
pWindow->Show();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::SetMenuBarMode( bool bHide )
{
@@ -2337,7 +2337,7 @@ void ImplBorderWindow::SetMenuBarMode( bool bHide )
UpdateMenuHeight();
}
-// -----------------------------------------------------------------------
+
void ImplBorderWindow::GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
sal_Int32& rRightBorder, sal_Int32& rBottomBorder ) const
@@ -2347,7 +2347,7 @@ void ImplBorderWindow::GetBorder( sal_Int32& rLeftBorder, sal_Int32& rTopBorder,
rTopBorder += mpMenuBarWindow->GetSizePixel().Height();
}
-// -----------------------------------------------------------------------
+
long ImplBorderWindow::CalcTitleWidth() const
{
diff --git a/vcl/source/window/cmdevt.cxx b/vcl/source/window/cmdevt.cxx
index 9f1b4677403a..9c7f010931c7 100644
--- a/vcl/source/window/cmdevt.cxx
+++ b/vcl/source/window/cmdevt.cxx
@@ -39,7 +39,7 @@ CommandExtTextInputData::CommandExtTextInputData( const OUString& rText,
mbOnlyCursor = bOnlyCursor;
}
-// -----------------------------------------------------------------------
+
CommandExtTextInputData::CommandExtTextInputData( const CommandExtTextInputData& rData ) :
maText( rData.maText )
@@ -56,7 +56,7 @@ CommandExtTextInputData::CommandExtTextInputData( const CommandExtTextInputData&
mbOnlyCursor = rData.mbOnlyCursor;
}
-// -----------------------------------------------------------------------
+
CommandExtTextInputData::~CommandExtTextInputData()
{
diff --git a/vcl/source/window/cursor.cxx b/vcl/source/window/cursor.cxx
index 64c3ee9b2e8f..bfd3cb5ea2c0 100644
--- a/vcl/source/window/cursor.cxx
+++ b/vcl/source/window/cursor.cxx
@@ -120,7 +120,7 @@ static void ImplCursorInvert( ImplCursorData* pData )
pWindow->EnableMapMode( bMapMode );
}
-// -----------------------------------------------------------------------
+
void Cursor::ImplDraw()
{
@@ -150,7 +150,7 @@ void Cursor::ImplDraw()
}
}
-// -----------------------------------------------------------------------
+
void Cursor::ImplRestore()
{
@@ -260,7 +260,7 @@ void Cursor::ImplNew()
}
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(Cursor, ImplTimerHdl)
{
@@ -285,7 +285,7 @@ Cursor::Cursor()
mbVisible = false;
}
-// -----------------------------------------------------------------------
+
Cursor::Cursor( const Cursor& rCursor ) :
maSize( rCursor.maSize ),
@@ -300,7 +300,7 @@ Cursor::Cursor( const Cursor& rCursor ) :
mbVisible = rCursor.mbVisible;
}
-// -----------------------------------------------------------------------
+
Cursor::~Cursor()
{
@@ -313,7 +313,7 @@ Cursor::~Cursor()
}
}
-// -----------------------------------------------------------------------
+
void Cursor::SetStyle( sal_uInt16 nStyle )
{
@@ -324,7 +324,7 @@ void Cursor::SetStyle( sal_uInt16 nStyle )
}
}
-// -----------------------------------------------------------------------
+
void Cursor::Show()
{
@@ -335,7 +335,7 @@ void Cursor::Show()
}
}
-// -----------------------------------------------------------------------
+
void Cursor::Hide()
{
@@ -346,7 +346,7 @@ void Cursor::Hide()
}
}
-// -----------------------------------------------------------------------
+
void Cursor::SetWindow( Window* pWindow )
{
@@ -357,7 +357,7 @@ void Cursor::SetWindow( Window* pWindow )
}
}
-// -----------------------------------------------------------------------
+
void Cursor::SetPos( const Point& rPoint )
{
@@ -368,7 +368,7 @@ void Cursor::SetPos( const Point& rPoint )
}
}
-// -----------------------------------------------------------------------
+
void Cursor::SetSize( const Size& rSize )
{
@@ -379,7 +379,7 @@ void Cursor::SetSize( const Size& rSize )
}
}
-// -----------------------------------------------------------------------
+
void Cursor::SetWidth( long nNewWidth )
{
@@ -390,7 +390,7 @@ void Cursor::SetWidth( long nNewWidth )
}
}
-// -----------------------------------------------------------------------
+
void Cursor::SetOrientation( short nNewOrientation )
{
@@ -401,7 +401,7 @@ void Cursor::SetOrientation( short nNewOrientation )
}
}
-// -----------------------------------------------------------------------
+
void Cursor::SetDirection( unsigned char nNewDirection )
{
@@ -412,7 +412,7 @@ void Cursor::SetDirection( unsigned char nNewDirection )
}
}
-// -----------------------------------------------------------------------
+
Cursor& Cursor::operator=( const Cursor& rCursor )
{
@@ -427,7 +427,7 @@ Cursor& Cursor::operator=( const Cursor& rCursor )
return *this;
}
-// -----------------------------------------------------------------------
+
bool Cursor::operator==( const Cursor& rCursor ) const
{
diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx
index 169aeb2dea96..adcc3bd49292 100644
--- a/vcl/source/window/decoview.cxx
+++ b/vcl/source/window/decoview.cxx
@@ -830,7 +830,7 @@ void ImplDrawFrame( OutputDevice *const pDev, Rectangle& rRect,
}
-// -----------------------------------------------------------------------
+
void DecorationView::DrawSymbol( const Rectangle& rRect, SymbolType eType,
const Color& rColor, sal_uInt16 nStyle )
@@ -1056,7 +1056,7 @@ Rectangle DecorationView::DrawButton( const Rectangle& rRect, sal_uInt16 nStyle
return aRect;
}
-// -----------------------------------------------------------------------
+
void DecorationView::DrawSeparator( const Point& rStart, const Point& rStop, bool bVertical )
{
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index e2a18ba7f977..334a155a5f80 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -108,7 +108,7 @@ static bool ImplIsMnemonicCtrl( Window* pWindow )
return false;
}
-// -----------------------------------------------------------------------
+
// Called by native error dialog popup implementations
void ImplHideSplash()
@@ -182,7 +182,7 @@ Window * firstLogicalChildOfParent(Window *pTopLevel)
return pChild;
}
-// -----------------------------------------------------------------------
+
void ImplWindowAutoMnemonic( Window* pWindow )
{
@@ -281,7 +281,7 @@ static PushButton* ImplGetDefaultButton( Dialog* pDialog )
return NULL;
}
-// -----------------------------------------------------------------------
+
static PushButton* ImplGetOKButton( Dialog* pDialog )
{
@@ -297,7 +297,7 @@ static PushButton* ImplGetOKButton( Dialog* pDialog )
return NULL;
}
-// -----------------------------------------------------------------------
+
static PushButton* ImplGetCancelButton( Dialog* pDialog )
{
@@ -314,7 +314,7 @@ static PushButton* ImplGetCancelButton( Dialog* pDialog )
return NULL;
}
-// -----------------------------------------------------------------------
+
static void ImplMouseAutoPos( Dialog* pDialog )
{
@@ -371,7 +371,7 @@ void Dialog::ImplInitDialogData()
maLayoutTimer.SetTimeoutHdl( LINK( this, Dialog, ImplHandleLayoutTimerHdl ) );
}
-// -----------------------------------------------------------------------
+
void Dialog::ImplInit( Window* pParent, WinBits nStyle )
{
@@ -456,7 +456,7 @@ void Dialog::ImplInit( Window* pParent, WinBits nStyle )
ImplInitSettings();
}
-// -----------------------------------------------------------------------
+
void Dialog::ImplInitSettings()
{
@@ -474,7 +474,7 @@ void Dialog::ImplInitSettings()
SetBackground( GetSettings().GetStyleSettings().GetDialogColor() );
}
-// -----------------------------------------------------------------------
+
Dialog::Dialog( WindowType nType )
: SystemWindow( nType )
@@ -537,7 +537,7 @@ Dialog::Dialog(Window* pParent, const OString& rID, const OUString& rUIXMLDescri
}
-// -----------------------------------------------------------------------
+
Dialog::Dialog( Window* pParent, WinBits nStyle )
: SystemWindow( WINDOW_DIALOG )
@@ -577,7 +577,7 @@ void Dialog::set_content_area(VclBox* pContentArea)
mpContentArea = pContentArea;
}
-// -----------------------------------------------------------------------
+
Dialog::~Dialog()
{
@@ -586,7 +586,7 @@ Dialog::~Dialog()
mpDialogImpl = NULL;
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(Dialog, ImplAsyncCloseHdl)
{
@@ -594,7 +594,7 @@ IMPL_LINK_NOARG(Dialog, ImplAsyncCloseHdl)
return 0;
}
-// -----------------------------------------------------------------------
+
bool Dialog::Notify( NotifyEvent& rNEvt )
{
@@ -698,7 +698,7 @@ void Dialog::setOptimalLayoutSize()
setPosSizeOnContainee(aSize, *pBox);
}
-// -----------------------------------------------------------------------
+
void Dialog::StateChanged( StateChangedType nType )
{
@@ -737,7 +737,7 @@ void Dialog::StateChanged( StateChangedType nType )
}
}
-// -----------------------------------------------------------------------
+
void Dialog::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -751,7 +751,7 @@ void Dialog::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
bool Dialog::Close()
{
@@ -801,7 +801,7 @@ bool Dialog::Close()
}
}
-// -----------------------------------------------------------------------
+
bool Dialog::ImplStartExecuteModal()
{
@@ -880,7 +880,7 @@ bool Dialog::ImplStartExecuteModal()
return true;
}
-// -----------------------------------------------------------------------
+
void Dialog::ImplEndExecuteModal()
{
@@ -888,7 +888,7 @@ void Dialog::ImplEndExecuteModal()
pSVData->maAppData.mnModalMode--;
}
-// -----------------------------------------------------------------------
+
short Dialog::Execute()
{
@@ -989,7 +989,7 @@ short Dialog::Execute()
#endif
}
-// -----------------------------------------------------------------------
+
// virtual
void Dialog::StartExecuteModal( const Link& rEndDialogHdl )
@@ -1001,7 +1001,7 @@ void Dialog::StartExecuteModal( const Link& rEndDialogHdl )
mpDialogImpl->mbStartedModal = true;
}
-// -----------------------------------------------------------------------
+
void Dialog::EndDialog( long nResult )
{
@@ -1059,14 +1059,14 @@ void Dialog::EndDialog( long nResult )
}
}
-// -----------------------------------------------------------------------
+
long Dialog::GetResult() const
{
return mpDialogImpl->mnResult;
}
-// -----------------------------------------------------------------------
+
void Dialog::EndAllDialogs( Window* pParent )
{
@@ -1085,7 +1085,7 @@ void Dialog::EndAllDialogs( Window* pParent )
}
}
-// -----------------------------------------------------------------------
+
void Dialog::SetModalInputMode( bool bModal )
{
@@ -1153,7 +1153,7 @@ void Dialog::SetModalInputMode( bool bModal )
}
}
-// -----------------------------------------------------------------------
+
void Dialog::SetModalInputMode( bool bModal, bool bSubModalDialogs )
{
@@ -1172,7 +1172,7 @@ void Dialog::SetModalInputMode( bool bModal, bool bSubModalDialogs )
SetModalInputMode( bModal );
}
-// -----------------------------------------------------------------------
+
void Dialog::GrabFocusToFirstControl()
{
@@ -1345,7 +1345,7 @@ VclBuilderContainer::~VclBuilderContainer()
delete m_pUIBuilder;
}
-// -----------------------------------------------------------------------
+
ModelessDialog::ModelessDialog( Window* pParent, const ResId& rResId ) :
Dialog( WINDOW_MODELESSDIALOG )
@@ -1371,7 +1371,7 @@ ModalDialog::ModalDialog( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
ModalDialog::ModalDialog( Window* pParent, const ResId& rResId ) :
Dialog( WINDOW_MODALDIALOG )
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx
index 0fc9c9617f89..5874e24dc603 100644
--- a/vcl/source/window/dlgctrl.cxx
+++ b/vcl/source/window/dlgctrl.cxx
@@ -50,7 +50,7 @@ static bool ImplHasIndirectTabParent( Window* pWindow )
&& ( pNonLayoutParent->ImplGetWindow()->GetStyle() & WB_CHILDDLGCTRL ) );
}
-// -----------------------------------------------------------------------
+
static Window* ImplGetTopParentOfTabHierarchy( Window* pParent )
{
@@ -73,7 +73,7 @@ static Window* ImplGetTopParentOfTabHierarchy( Window* pParent )
return pResult;
}
-// -----------------------------------------------------------------------
+
static Window* ImplGetSubChildWindow( Window* pParent, sal_uInt16 n, sal_uInt16& nIndex )
{
@@ -149,7 +149,7 @@ static Window* ImplGetSubChildWindow( Window* pParent, sal_uInt16 n, sal_uInt16&
return pFoundWindow;
}
-// -----------------------------------------------------------------------
+
static Window* ImplGetChildWindow( Window* pParent, sal_uInt16 n, sal_uInt16& nIndex, bool bTestEnable )
{
@@ -183,7 +183,7 @@ static Window* ImplGetChildWindow( Window* pParent, sal_uInt16 n, sal_uInt16& nI
return pWindow;
}
-// -----------------------------------------------------------------------
+
static Window* ImplGetNextWindow( Window* pParent, sal_uInt16 n, sal_uInt16& nIndex, bool bTestEnable )
{
@@ -196,7 +196,7 @@ static Window* ImplGetNextWindow( Window* pParent, sal_uInt16 n, sal_uInt16& nIn
return pWindow;
}
-// -----------------------------------------------------------------------
+
Window* Window::ImplGetDlgWindow( sal_uInt16 nIndex, sal_uInt16 nType,
sal_uInt16 nFormStart, sal_uInt16 nFormEnd,
@@ -302,7 +302,7 @@ Window* Window::ImplGetDlgWindow( sal_uInt16 nIndex, sal_uInt16 nType,
return pWindow;
}
-// -----------------------------------------------------------------------
+
static Window* ImplFindDlgCtrlWindow( Window* pParent, Window* pWindow, sal_uInt16& rIndex,
sal_uInt16& rFormStart, sal_uInt16& rFormEnd )
@@ -400,7 +400,7 @@ static Window* ImplFindDlgCtrlWindow( Window* pParent, Window* pWindow, sal_uInt
return pSWindow;
}
-// -----------------------------------------------------------------------
+
static Window* ImplFindAccelWindow( Window* pParent, sal_uInt16& rIndex, sal_Unicode cCharCode,
sal_uInt16 nFormStart, sal_uInt16 nFormEnd, bool bCheckEnable = true )
@@ -492,7 +492,7 @@ static Window* ImplFindAccelWindow( Window* pParent, sal_uInt16& rIndex, sal_Uni
return NULL;
}
-// -----------------------------------------------------------------------
+
void Window::ImplControlFocus( sal_uInt16 nFlags )
{
@@ -535,7 +535,7 @@ void Window::ImplControlFocus( sal_uInt16 nFlags )
}
}
-// -----------------------------------------------------------------------
+
namespace
{
@@ -969,7 +969,7 @@ bool Window::ImplDlgCtrl( const KeyEvent& rKEvt, bool bKeyInput )
return false;
}
-// -----------------------------------------------------------------------
+
// checks if this window has dialog control
bool Window::ImplHasDlgCtrl()
@@ -1020,7 +1020,7 @@ if ( !pDlgCtrlParent || (GetStyle() & WB_NODIALOGCONTROL) || ((pDlgCtrlParent->G
pWindow->ImplControlFocus();
}
-// -----------------------------------------------------------------------
+
static void ImplDlgCtrlUpdateDefButton( Window* pParent, Window* pFocusWindow,
bool bGetFocus )
@@ -1079,7 +1079,7 @@ static void ImplDlgCtrlUpdateDefButton( Window* pParent, Window* pFocusWindow,
}
}
-// -----------------------------------------------------------------------
+
void Window::ImplDlgCtrlFocusChanged( Window* pWindow, bool bGetFocus )
{
@@ -1092,7 +1092,7 @@ void Window::ImplDlgCtrlFocusChanged( Window* pWindow, bool bGetFocus )
ImplDlgCtrlUpdateDefButton( this, pWindow, bGetFocus );
}
-// -----------------------------------------------------------------------
+
Window* Window::ImplFindDlgCtrlWindow( Window* pWindow )
{
@@ -1105,21 +1105,21 @@ Window* Window::ImplFindDlgCtrlWindow( Window* pWindow )
}
-// -----------------------------------------------------------------------
+
Window* Window::GetParentLabelFor( const Window* ) const
{
return NULL;
}
-// -----------------------------------------------------------------------
+
Window* Window::GetParentLabeledBy( const Window* ) const
{
return NULL;
}
-// -----------------------------------------------------------------------
+
static sal_Unicode getAccel( const OUString& rStr )
{
@@ -1222,7 +1222,7 @@ Window* Window::getLegacyNonLayoutAccessibleRelationLabelFor() const
return pWindow;
}
-// -----------------------------------------------------------------------
+
static Window* ImplGetLabeledBy( Window* pFrameWindow, WindowType nMyType, Window* pLabeled )
{
@@ -1364,7 +1364,7 @@ Window* Window::getLegacyNonLayoutAccessibleRelationMemberOf() const
return pWindow;
}
-// -----------------------------------------------------------------------
+
KeyEvent Window::GetActivationKey() const
{
diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx
index 13bca4abecd9..22d91bdf9ab0 100644
--- a/vcl/source/window/dockingarea.cxx
+++ b/vcl/source/window/dockingarea.cxx
@@ -96,7 +96,7 @@ DockingAreaWindow::~DockingAreaWindow()
delete mpImplData;
}
-// -----------------------------------------------------------------------
+
void DockingAreaWindow::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -109,7 +109,7 @@ void DockingAreaWindow::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-// -----------------------------------------------------------------------
+
static void ImplInvalidateMenubar( DockingAreaWindow* pThis )
{
@@ -138,7 +138,7 @@ void DockingAreaWindow::StateChanged( StateChangedType nType )
ImplInvalidateMenubar( this );
}
-// -----------------------------------------------------------------------
+
bool DockingAreaWindow::IsHorizontal() const
{
@@ -160,7 +160,7 @@ WindowAlign DockingAreaWindow::GetAlign() const
return mpImplData->meAlign;
}
-// -----------------------------------------------------------------------
+
void DockingAreaWindow::Paint( const Rectangle& )
{
@@ -263,6 +263,6 @@ void DockingAreaWindow::Resize()
Invalidate();
}
-// -----------------------------------------------------------------------
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx
index cb5fd3334170..0e80b6dbb827 100644
--- a/vcl/source/window/dockmgr.cxx
+++ b/vcl/source/window/dockmgr.cxx
@@ -110,7 +110,7 @@ ImplDockFloatWin2::ImplDockFloatWin2( Window* pParent, WinBits nWinBits,
maEndDockTimer.SetTimeout( 50 );
}
-// -----------------------------------------------------------------------
+
ImplDockFloatWin2::~ImplDockFloatWin2()
{
@@ -118,7 +118,7 @@ ImplDockFloatWin2::~ImplDockFloatWin2()
Application::RemoveUserEvent( mnLastUserEvent );
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ImplDockFloatWin2, DockTimerHdl)
{
@@ -240,7 +240,7 @@ IMPL_LINK_NOARG(ImplDockFloatWin2, DockingHdl)
mbInMove = false;
return 0;
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin2::Move()
{
@@ -264,7 +264,7 @@ void ImplDockFloatWin2::Move()
mnLastUserEvent = Application::PostUserEvent( LINK( this, ImplDockFloatWin2, DockingHdl ) );
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin2::Resize()
{
@@ -284,7 +284,7 @@ void ImplDockFloatWin2::setPosSizePixel( long nX, long nY,
FloatingWindow::setPosSizePixel( nX, nY, nWidth, nHeight, nFlags );
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin2::TitleButtonClick( sal_uInt16 nButton )
@@ -293,7 +293,7 @@ void ImplDockFloatWin2::TitleButtonClick( sal_uInt16 nButton )
mpDockWin->TitleButtonClick( nButton );
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin2::Pin()
{
@@ -301,7 +301,7 @@ void ImplDockFloatWin2::Pin()
mpDockWin->Pin();
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin2::Roll()
{
@@ -309,7 +309,7 @@ void ImplDockFloatWin2::Roll()
mpDockWin->Roll();
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin2::PopupModeEnd()
{
@@ -317,7 +317,7 @@ void ImplDockFloatWin2::PopupModeEnd()
mpDockWin->PopupModeEnd();
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin2::Resizing( Size& rSize )
{
@@ -325,7 +325,7 @@ void ImplDockFloatWin2::Resizing( Size& rSize )
mpDockWin->Resizing( rSize );
}
-// -----------------------------------------------------------------------
+
bool ImplDockFloatWin2::Close()
{
@@ -437,7 +437,7 @@ bool DockingManager::IsInPopupMode( const Window *pWindow )
return false;
}
-// -----------------------------------------------------------------------
+
void DockingManager::EndPopupMode( const Window *pWin )
{
@@ -446,7 +446,7 @@ void DockingManager::EndPopupMode( const Window *pWin )
pWrapper->GetFloatingWindow()->EndPopupMode();
}
-// -----------------------------------------------------------------------
+
void DockingManager::AddWindow( const Window *pWindow )
{
@@ -866,7 +866,7 @@ ImplDockingWindowWrapper::~ImplDockingWindowWrapper()
}
}
-// -----------------------------------------------------------------------
+
bool ImplDockingWindowWrapper::ImplStartDocking( const Point& rPos )
{
@@ -943,7 +943,7 @@ void ImplDockingWindowWrapper::ImplInitData()
maMaxOutSize = Size( SHRT_MAX, SHRT_MAX );
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::Tracking( const TrackingEvent& rTEvt )
{
@@ -1035,7 +1035,7 @@ void ImplDockingWindowWrapper::Tracking( const TrackingEvent& rTEvt )
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::StartDocking( const Point& rPoint, Rectangle& rRect )
{
@@ -1045,7 +1045,7 @@ void ImplDockingWindowWrapper::StartDocking( const Point& rPoint, Rectangle& rRe
mbDocking = true;
}
-// -----------------------------------------------------------------------
+
bool ImplDockingWindowWrapper::Docking( const Point& rPoint, Rectangle& rRect )
{
@@ -1056,7 +1056,7 @@ bool ImplDockingWindowWrapper::Docking( const Point& rPoint, Rectangle& rRect )
return data.mbFloating;
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::EndDocking( const Rectangle& rRect, bool bFloatMode )
{
@@ -1097,7 +1097,7 @@ void ImplDockingWindowWrapper::EndDocking( const Rectangle& rRect, bool bFloatMo
mbStartDockingEnabled = false;
}
-// -----------------------------------------------------------------------
+
bool ImplDockingWindowWrapper::PrepareToggleFloatingMode()
{
@@ -1106,7 +1106,7 @@ bool ImplDockingWindowWrapper::PrepareToggleFloatingMode()
return bFloating;
}
-// -----------------------------------------------------------------------
+
bool ImplDockingWindowWrapper::Close()
{
@@ -1114,7 +1114,7 @@ bool ImplDockingWindowWrapper::Close()
return true;
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::ToggleFloatingMode()
{
@@ -1131,7 +1131,7 @@ void ImplDockingWindowWrapper::ToggleFloatingMode()
mbStartDockingEnabled = false;
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::TitleButtonClick( sal_uInt16 nType )
{
@@ -1149,28 +1149,28 @@ void ImplDockingWindowWrapper::TitleButtonClick( sal_uInt16 nType )
}
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::Pin()
{
// TODO: send event
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::Roll()
{
// TODO: send event
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::PopupModeEnd()
{
// TODO: send event
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::Resizing( Size& rSize )
{
@@ -1180,7 +1180,7 @@ void ImplDockingWindowWrapper::Resizing( Size& rSize )
pDockingWindow->Resizing( rSize );
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::ShowTitleButton( sal_uInt16 nButton, bool bVisible )
{
@@ -1195,7 +1195,7 @@ void ImplDockingWindowWrapper::ShowTitleButton( sal_uInt16 nButton, bool bVisibl
}
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::StartPopupMode( ToolBox *pParentToolBox, sal_uLong nFlags )
{
@@ -1299,7 +1299,7 @@ bool ImplDockingWindowWrapper::IsInPopupMode() const
return false;
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::SetFloatingMode( bool bFloatMode )
{
@@ -1414,21 +1414,21 @@ void ImplDockingWindowWrapper::SetFloatingMode( bool bFloatMode )
}
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::SetFloatStyle( WinBits nStyle )
{
mnFloatBits = nStyle;
}
-// -----------------------------------------------------------------------
+
WinBits ImplDockingWindowWrapper::GetFloatStyle() const
{
return mnFloatBits;
}
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::setPosSizePixel( long nX, long nY,
long nWidth, long nHeight,
@@ -1440,7 +1440,7 @@ void ImplDockingWindowWrapper::setPosSizePixel( long nX, long nY,
GetWindow()->setPosSizePixel( nX, nY, nWidth, nHeight, nFlags );
}
-// -----------------------------------------------------------------------
+
Point ImplDockingWindowWrapper::GetPosPixel() const
{
@@ -1450,7 +1450,7 @@ Point ImplDockingWindowWrapper::GetPosPixel() const
return mpDockingWindow->GetPosPixel();
}
-// -----------------------------------------------------------------------
+
Size ImplDockingWindowWrapper::GetSizePixel() const
{
@@ -1460,9 +1460,9 @@ Size ImplDockingWindowWrapper::GetSizePixel() const
return mpDockingWindow->GetSizePixel();
}
-// -----------------------------------------------------------------------
+
// old inlines from DockingWindow
-// -----------------------------------------------------------------------
+
void ImplDockingWindowWrapper::SetMinOutputSizePixel( const Size& rSize )
{
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index 3346751b751c..f733b53b4ed6 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -41,7 +41,7 @@
// =======================================================================
-// -----------------------------------------------------------------------
+
class DockingWindow::ImplData
{
@@ -63,7 +63,7 @@ DockingWindow::ImplData::~ImplData()
{
}
-// -----------------------------------------------------------------------
+
class ImplDockFloatWin : public FloatingWindow
{
@@ -121,7 +121,7 @@ ImplDockFloatWin::ImplDockFloatWin( Window* pParent, WinBits nWinBits,
maDockTimer.SetTimeout( 50 );
}
-// -----------------------------------------------------------------------
+
ImplDockFloatWin::~ImplDockFloatWin()
{
@@ -129,7 +129,7 @@ ImplDockFloatWin::~ImplDockFloatWin()
Application::RemoveUserEvent( mnLastUserEvent );
}
-// -----------------------------------------------------------------------
+
IMPL_LINK_NOARG(ImplDockFloatWin, DockTimerHdl)
{
@@ -196,7 +196,7 @@ IMPL_LINK_NOARG(ImplDockFloatWin, DockingHdl)
mbInMove = false;
return 0;
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin::Move()
{
@@ -220,7 +220,7 @@ void ImplDockFloatWin::Move()
mnLastUserEvent = Application::PostUserEvent( LINK( this, ImplDockFloatWin, DockingHdl ) );
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin::Resize()
{
@@ -229,7 +229,7 @@ void ImplDockFloatWin::Resize()
mpDockWin->ImplPosSizeWindow( 0, 0, aSize.Width(), aSize.Height(), WINDOW_POSSIZE_POSSIZE );
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin::TitleButtonClick( sal_uInt16 nButton )
{
@@ -237,7 +237,7 @@ void ImplDockFloatWin::TitleButtonClick( sal_uInt16 nButton )
mpDockWin->TitleButtonClick( nButton );
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin::Pin()
{
@@ -245,7 +245,7 @@ void ImplDockFloatWin::Pin()
mpDockWin->Pin();
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin::Roll()
{
@@ -253,7 +253,7 @@ void ImplDockFloatWin::Roll()
mpDockWin->Roll();
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin::PopupModeEnd()
{
@@ -261,7 +261,7 @@ void ImplDockFloatWin::PopupModeEnd()
mpDockWin->PopupModeEnd();
}
-// -----------------------------------------------------------------------
+
void ImplDockFloatWin::Resizing( Size& rSize )
{
@@ -269,7 +269,7 @@ void ImplDockFloatWin::Resizing( Size& rSize )
mpDockWin->Resizing( rSize );
}
-// -----------------------------------------------------------------------
+
bool ImplDockFloatWin::Close()
{
@@ -349,7 +349,7 @@ void DockingWindow::ImplInitDockingWindowData()
mbHideBtn = false;
}
-// -----------------------------------------------------------------------
+
void DockingWindow::ImplInit( Window* pParent, WinBits nStyle )
{
@@ -368,7 +368,7 @@ void DockingWindow::ImplInit( Window* pParent, WinBits nStyle )
ImplInitSettings();
}
-// -----------------------------------------------------------------------
+
void DockingWindow::ImplInitSettings()
{
@@ -389,7 +389,7 @@ void DockingWindow::ImplInitSettings()
}
}
-// -----------------------------------------------------------------------
+
void DockingWindow::ImplLoadRes( const ResId& rResId )
{
@@ -429,7 +429,7 @@ void DockingWindow::ImplLoadRes( const ResId& rResId )
}
}
-// -----------------------------------------------------------------------
+
DockingWindow::DockingWindow( WindowType nType ) :
Window( nType )
@@ -437,7 +437,7 @@ DockingWindow::DockingWindow( WindowType nType ) :
ImplInitDockingWindowData();
}
-// -----------------------------------------------------------------------
+
DockingWindow::DockingWindow( Window* pParent, WinBits nStyle ) :
Window( WINDOW_DOCKINGWINDOW )
@@ -446,7 +446,7 @@ DockingWindow::DockingWindow( Window* pParent, WinBits nStyle ) :
ImplInit( pParent, nStyle );
}
-// -----------------------------------------------------------------------
+
DockingWindow::DockingWindow( Window* pParent, const ResId& rResId ) :
Window( WINDOW_DOCKINGWINDOW )
@@ -461,7 +461,7 @@ DockingWindow::DockingWindow( Window* pParent, const ResId& rResId ) :
Show();
}
-// -----------------------------------------------------------------------
+
DockingWindow::~DockingWindow()
{
@@ -473,7 +473,7 @@ DockingWindow::~DockingWindow()
delete mpImplData;
}
-// -----------------------------------------------------------------------
+
void DockingWindow::Tracking( const TrackingEvent& rTEvt )
{
@@ -595,7 +595,7 @@ void DockingWindow::Tracking( const TrackingEvent& rTEvt )
}
}
-// -----------------------------------------------------------------------
+
bool DockingWindow::Notify( NotifyEvent& rNEvt )
{
@@ -649,21 +649,21 @@ bool DockingWindow::Notify( NotifyEvent& rNEvt )
return Window::Notify( rNEvt );
}
-// -----------------------------------------------------------------------
+
void DockingWindow::StartDocking()
{
mbDocking = true;
}
-// -----------------------------------------------------------------------
+
bool DockingWindow::Docking( const Point&, Rectangle& )
{
return IsFloatingMode();
}
-// -----------------------------------------------------------------------
+
void DockingWindow::EndDocking( const Rectangle& rRect, sal_Bool bFloatMode )
{
@@ -691,14 +691,14 @@ void DockingWindow::EndDocking( const Rectangle& rRect, sal_Bool bFloatMode )
mbDocking = false;
}
-// -----------------------------------------------------------------------
+
bool DockingWindow::PrepareToggleFloatingMode()
{
return true;
}
-// -----------------------------------------------------------------------
+
bool DockingWindow::Close()
{
@@ -716,43 +716,43 @@ bool DockingWindow::Close()
return true;
}
-// -----------------------------------------------------------------------
+
void DockingWindow::ToggleFloatingMode()
{
}
-// -----------------------------------------------------------------------
+
void DockingWindow::TitleButtonClick( sal_uInt16 )
{
}
-// -----------------------------------------------------------------------
+
void DockingWindow::Pin()
{
}
-// -----------------------------------------------------------------------
+
void DockingWindow::Roll()
{
}
-// -----------------------------------------------------------------------
+
void DockingWindow::PopupModeEnd()
{
}
-// -----------------------------------------------------------------------
+
void DockingWindow::Resizing( Size& )
{
}
-// -----------------------------------------------------------------------
+
void DockingWindow::StateChanged( StateChangedType nType )
{
@@ -774,7 +774,7 @@ void DockingWindow::StateChanged( StateChangedType nType )
Window::StateChanged( nType );
}
-// -----------------------------------------------------------------------
+
void DockingWindow::DataChanged( const DataChangedEvent& rDCEvt )
{
@@ -788,7 +788,7 @@ void DockingWindow::DataChanged( const DataChangedEvent& rDCEvt )
Window::DataChanged( rDCEvt );
}
-// -----------------------------------------------------------------------
<