diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/aqua/source/gdi/salgdi.cxx | 6 | ||||
-rw-r--r-- | vcl/generic/fontmanager/fontcache.cxx | 4 | ||||
-rw-r--r-- | vcl/generic/fontmanager/fontmanager.cxx | 13 | ||||
-rw-r--r-- | vcl/inc/vcl/settings.hxx | 11 | ||||
-rw-r--r-- | vcl/inc/vcl/vclevent.hxx | 14 | ||||
-rw-r--r-- | vcl/source/control/ilstbox.cxx | 21 | ||||
-rw-r--r-- | vcl/source/gdi/outdev6.cxx | 5 | ||||
-rw-r--r-- | vcl/source/gdi/region.cxx | 4 |
8 files changed, 0 insertions, 78 deletions
diff --git a/vcl/aqua/source/gdi/salgdi.cxx b/vcl/aqua/source/gdi/salgdi.cxx index e21c30aa8a6c..933b139dcae9 100644 --- a/vcl/aqua/source/gdi/salgdi.cxx +++ b/vcl/aqua/source/gdi/salgdi.cxx @@ -355,12 +355,6 @@ AquaSalGraphics::AquaSalGraphics() AquaSalGraphics::~AquaSalGraphics() { -/* - if( mnUpdateGraphicsEvent ) - { - Application::RemoveUserEvent( mnUpdateGraphicsEvent ); - } -*/ CGPathRelease( mxClipPath ); ATSUDisposeStyle( maATSUStyle ); diff --git a/vcl/generic/fontmanager/fontcache.cxx b/vcl/generic/fontmanager/fontcache.cxx index be9df03ee07e..2c3bc31be069 100644 --- a/vcl/generic/fontmanager/fontcache.cxx +++ b/vcl/generic/fontmanager/fontcache.cxx @@ -59,10 +59,6 @@ using ::rtl::OString; using ::rtl::OUStringToOString; /* - * static helpers - */ - -/* * FontCache constructor */ diff --git a/vcl/generic/fontmanager/fontmanager.cxx b/vcl/generic/fontmanager/fontmanager.cxx index ddb2fdba1703..a53d283b10aa 100644 --- a/vcl/generic/fontmanager/fontmanager.cxx +++ b/vcl/generic/fontmanager/fontmanager.cxx @@ -481,19 +481,6 @@ bool PrintFontManager::TrueTypeFontFile::queryMetricPage( int nPage, MultiAtomPr aPair.kern_x = (int)nKern * 1000 / pImplTTFont->unitsPerEm; aPair.kern_y = 0; m_pMetrics->m_aXKernPairs.push_back( aPair ); - -/* switch( nCoverage & 1 ) - { - case 1: - aPair.kern_x = (int)nKern * 1000 / pImplTTFont->unitsPerEm; - m_pMetrics->m_aXKernPairs.push_back( aPair ); - break; - case 0: - aPair.kern_y = (int)nKern * 1000 / pImplTTFont->unitsPerEm; - m_pMetrics->m_aYKernPairs.push_back( aPair ); - break; - } -*/ } } } diff --git a/vcl/inc/vcl/settings.hxx b/vcl/inc/vcl/settings.hxx index 580bba264083..37d8b51001b4 100644 --- a/vcl/inc/vcl/settings.hxx +++ b/vcl/inc/vcl/settings.hxx @@ -1051,17 +1051,6 @@ public: const LocaleDataWrapper& GetUILocaleDataWrapper() const; const vcl::I18nHelper& GetLocaleI18nHelper() const; const vcl::I18nHelper& GetUILocaleI18nHelper() const; -/* - const CollatorWrapper& GetCollatorWrapper() const; - const CollatorWrapper& GetUICollatorWrapper() const; - sal_Unicode GetMnemonicMatchChar( sal_Unicode c ) const; - String GetMatchString( const String& rStr ) const; - String GetUIMatchString( const String& rStr ) const; - int MatchString( const String& rStr1, xub_StrLen nPos1, xub_StrLen nCount1, - const String& rStr2, xub_StrLen nPos2, xub_StrLen nCount2 ) const; - int MatchUIString( const String& rStr1, xub_StrLen nPos1, xub_StrLen nCount1, - const String& rStr2, xub_StrLen nPos2, xub_StrLen nCount2 ) const; -*/ void SetSystemUpdate( sal_uLong nUpdate ) { CopyData(); mpData->mnSystemUpdate = nUpdate; } diff --git a/vcl/inc/vcl/vclevent.hxx b/vcl/inc/vcl/vclevent.hxx index 002391b45458..6829f973af2e 100644 --- a/vcl/inc/vcl/vclevent.hxx +++ b/vcl/inc/vcl/vclevent.hxx @@ -222,20 +222,6 @@ public: void* GetData() const { return pData; } }; -/* -class VclMouseEvent : public VclWindowEvent -{ -private: - MouseEvent aEvent; - -public: - VclMouseEvent( Window* pWin, sal_uLong n, const MouseEvent& rEvent ) : VclWindowEvent( pWin, n ), aEvent(rEvent) { ; } - TYPEINFO(); - - const MouseEvent& GetEvent() const { return aEvent; } -}; -*/ - class VCL_DLLPUBLIC VclMenuEvent : public VclSimpleEvent { private: diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx index 6c502be33bc2..84c30f29b3be 100644 --- a/vcl/source/control/ilstbox.cxx +++ b/vcl/source/control/ilstbox.cxx @@ -2044,18 +2044,6 @@ void ImplListBoxWindow::LoseFocus() // ----------------------------------------------------------------------- -/* -void ImplListBoxWindow::RequestHelp( const HelpEvent& rHEvt ) -{ - if ( rHEvt.GetMode() & HELPMODE_BALLOON ) - Help::ShowBalloon( this, rHEvt.GetMousePosPixel(), String() ); - - Window::RequestHelp( rHEvt ); -} -*/ - -// ----------------------------------------------------------------------- - void ImplListBoxWindow::SetTopEntry( sal_uInt16 nTop ) { if( mpEntryList->GetEntryCount() == 0 ) @@ -2590,8 +2578,6 @@ void ImplListBox::StateChanged( StateChangedType nType ) { sal_Bool bUpdate = IsUpdateMode(); maLBWindow.SetUpdateMode( bUpdate ); -// mpHScrollBar->SetUpdateMode( bUpdate ); -// mpVScrollBar->SetUpdateMode( bUpdate ); if ( bUpdate && IsReallyVisible() ) ImplCheckScrollBars(); } @@ -2634,13 +2620,6 @@ void ImplListBox::StateChanged( StateChangedType nType ) void ImplListBox::DataChanged( const DataChangedEvent& rDCEvt ) { -// if ( (rDCEvt.GetType() == DATACHANGED_SETTINGS) && -// (rDCEvt.GetFlags() & SETTINGS_STYLE) ) -// { -// maLBWindow.SetSettings( GetSettings() ); -// Resize(); -// } -// else Control::DataChanged( rDCEvt ); } diff --git a/vcl/source/gdi/outdev6.cxx b/vcl/source/gdi/outdev6.cxx index cb82500a2cc4..768aba91084c 100644 --- a/vcl/source/gdi/outdev6.cxx +++ b/vcl/source/gdi/outdev6.cxx @@ -1042,11 +1042,6 @@ void OutputDevice::ImplDrawGradientWallpaper( long nX, long nY, const sal_Bool bOldMap = mbMap; sal_Bool bNeedGradient = sal_True; -/* - if ( rWallpaper.IsRect() ) - aBound = LogicToPixel( rWallpaper.GetRect() ); - else -*/ aBound = Rectangle( Point( nX, nY ), Size( nWidth, nHeight ) ); mpMetaFile = NULL; diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx index ee975d04ba8b..11eed095468b 100644 --- a/vcl/source/gdi/region.cxx +++ b/vcl/source/gdi/region.cxx @@ -2261,10 +2261,6 @@ sal_Bool Region::IsInside( const Point& rPoint ) const // PolyPolygon data im Imp structure? ((Region*)this)->ImplPolyPolyRegionToBandRegion(); -/* - if ( mpImplRegion->mpPolyPoly ) - return mpImplRegion->mpPolyPoly->IsInside( rPoint ); -*/ // no instance data? -> not inside if ( (mpImplRegion == &aImplEmptyRegion) || (mpImplRegion == &aImplNullRegion) ) |