diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-12 12:53:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-14 07:35:58 +0000 |
commit | 1987a5c7772fafc1e863deeead9081fd747f7713 (patch) | |
tree | eb7e7f1c8ffddd7faaafe709695d83efa1e3a85c /svx | |
parent | a2fc48ea649c341a9cfc96c6f3e16ba56ae4fa19 (diff) |
callcatcher: remove unused code
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/dlgctrl.hxx | 1 | ||||
-rw-r--r-- | svx/inc/svx/gallery.hxx | 2 | ||||
-rw-r--r-- | svx/inc/svx/paraprev.hxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 7 | ||||
-rw-r--r-- | svx/source/dialog/paraprev.cxx | 9 | ||||
-rw-r--r-- | svx/source/gallery2/galexpl.cxx | 22 |
6 files changed, 0 insertions, 43 deletions
diff --git a/svx/inc/svx/dlgctrl.hxx b/svx/inc/svx/dlgctrl.hxx index 2ed5e7ebe698..02fa0d2215de 100644 --- a/svx/inc/svx/dlgctrl.hxx +++ b/svx/inc/svx/dlgctrl.hxx @@ -220,7 +220,6 @@ public: Color GetPixelColor() const { return aPixelColor; } Color GetBackgroundColor() const { return aBackgroundColor; } - sal_uInt16 GetBitmapPixel( const sal_uInt16 nPixelNumber ); sal_uInt16* GetBitmapPixelPtr() { return pPixel; } void SetPaintable( sal_Bool bTmp ) { bPaintable = bTmp; } diff --git a/svx/inc/svx/gallery.hxx b/svx/inc/svx/gallery.hxx index 236216da4ff4..c8ca0218d770 100644 --- a/svx/inc/svx/gallery.hxx +++ b/svx/inc/svx/gallery.hxx @@ -243,8 +243,6 @@ public: static sal_Bool InsertURL( sal_uIntPtr nThemeId, const String& rURL, const sal_uIntPtr nSgaFormat /* = SGA_FORMAT_ALL */ ); - static sal_uIntPtr GetObjCount( const String& rThemeName ); - static sal_Bool GetGraphicObj( const String& rThemeName, sal_uIntPtr nPos, Graphic* pGraphic = NULL, Bitmap* pThumb = NULL, sal_Bool bProgess = sal_False ); diff --git a/svx/inc/svx/paraprev.hxx b/svx/inc/svx/paraprev.hxx index 8dc7c61e2bee..452f56e89b39 100644 --- a/svx/inc/svx/paraprev.hxx +++ b/svx/inc/svx/paraprev.hxx @@ -105,8 +105,6 @@ public: String GetText() const { return aText; } Size GetSize() const { return aSize; } - void OutputSizeChanged(); - void Draw( sal_Bool bAll ) { DrawParagraph( bAll ); } }; diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index 10e7ea5d73b4..847bb06e5ed1 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -938,13 +938,6 @@ void SvxPixelCtl::SetXBitmap( const XOBitmap& rXBmp ) } } -// Returns a specific pixel - -sal_uInt16 SvxPixelCtl::GetBitmapPixel( const sal_uInt16 nPixel ) -{ - return( *( pPixel + nPixel ) ); -} - // Resets to the original state of the control void SvxPixelCtl::Reset() diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx index ab1c5411069b..406c56bec2bb 100644 --- a/svx/source/dialog/paraprev.cxx +++ b/svx/source/dialog/paraprev.cxx @@ -228,13 +228,4 @@ void SvxParaPrevWindow::DrawParagraph( sal_Bool bAll ) #undef DEF_MARGIN -// ----------------------------------------------------------------------- - -void SvxParaPrevWindow::OutputSizeChanged() -{ - aWinSize = GetOutputSizePixel(); - aWinSize = PixelToLogic( aWinSize ); - Invalidate(); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/source/gallery2/galexpl.cxx b/svx/source/gallery2/galexpl.cxx index ccf9b00d7535..2dac30d73759 100644 --- a/svx/source/gallery2/galexpl.cxx +++ b/svx/source/gallery2/galexpl.cxx @@ -231,28 +231,6 @@ sal_Bool GalleryExplorer::InsertURL( sal_uIntPtr nThemeId, const String& rURL, c // ------------------------------------------------------------------------ -sal_uIntPtr GalleryExplorer::GetObjCount( const String& rThemeName ) -{ - Gallery* pGal = ImplGetGallery(); - sal_uIntPtr nRet = 0; - - if( pGal ) - { - SfxListener aListener; - GalleryTheme* pTheme = pGal->AcquireTheme( rThemeName, aListener ); - - if( pTheme ) - { - nRet = pTheme->GetObjectCount(); - pGal->ReleaseTheme( pTheme, aListener ); - } - } - - return nRet; -} - -// ------------------------------------------------------------------------ - sal_Bool GalleryExplorer::GetGraphicObj( const String& rThemeName, sal_uIntPtr nPos, Graphic* pGraphic, Bitmap* pThumb, sal_Bool bProgress ) |