[Libreoffice-commits] core.git: 2 commits - include/vcl unusedcode.easy

Caolán McNamara caolanm at redhat.com
Sat Mar 29 07:55:58 PDT 2014


 include/vcl/outdev.hxx |    4 ++--
 include/vcl/virdev.hxx |    4 ++--
 unusedcode.easy        |    4 ++++
 3 files changed, 8 insertions(+), 4 deletions(-)

New commits:
commit 917e6eba1358deeb09eab4adcc2c7a979adbbe9c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Mar 29 14:51:59 2014 +0000

    callcatcher: update unused code
    
    Change-Id: If3ef0f2134a15960fa1a14da0bec13cbd6019049

diff --git a/unusedcode.easy b/unusedcode.easy
index e60422b..df93e10 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -6,6 +6,8 @@ DocxSdrExport::getFlyFrameGraphic()
 DocxSdrExport::setFlyFrameGraphic(bool)
 DocxSdrExport::setFrameBtLr(bool)
 EditEngine::IsIdleFormatterActive() const
+FillAttributes::FillAttributes()
+FillAttributes::getFillGradientAttribute() const
 GDriveDocument::GDriveDocument(GDriveSession*)
 GDriveFolder::GDriveFolder(GDriveSession*)
 GDriveProperty::GDriveProperty()
@@ -66,6 +68,8 @@ VCLXGraphics::getLineColor()
 VCLXGraphics::getRasterOp()
 VCLXGraphics::getTextColor()
 VCLXGraphics::getTextFillColor()
+XFillStyleItem::XFillStyleItem(XFillStyle, unsigned short)
+XGradient::VclGradient() const
 apitest::CellProperties::testRotateReference()
 apitest::CellProperties::testVertJustify()
 apitest::DataPilotField::testAutoShowInfo()
commit e2294dbff8fa0969760b772e9536259c3367ae66
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Mar 29 14:51:31 2014 +0000

    I realy think these should be virtual
    
    Change-Id: Ie95ab47d0252d21391e51116ca5e2c424fba1b59

diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 8f5fd38..363cdbf 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1420,7 +1420,7 @@ public:
                                                   sal_Int32* pKashidaPosDropped // invalid kashida positions (out)
                                                 ) const;
 
-    sal_uInt16                  GetBitCount() const;
+    virtual sal_uInt16          GetBitCount() const;
 
     bool                        GetTextIsRTL( const OUString&, sal_Int32 nIndex, sal_Int32 nLen ) const;
 
@@ -1429,7 +1429,7 @@ public:
         @return 0, if no alpha channel available, and the bit depth of
         the alpha channel otherwise.
      */
-    sal_uInt16                  GetAlphaBitCount() const;
+    virtual sal_uInt16          GetAlphaBitCount() const;
     sal_uLong                   GetColorCount() const;
 
     void                        Push( sal_uInt16 nFlags = PUSH_ALL );
diff --git a/include/vcl/virdev.hxx b/include/vcl/virdev.hxx
index 5b25b72..0436b5d 100644
--- a/include/vcl/virdev.hxx
+++ b/include/vcl/virdev.hxx
@@ -134,8 +134,8 @@ public:
 
     void                SetReferenceDevice( sal_Int32 i_nDPIX, sal_Int32 i_nDPIY );
 
-    sal_uInt16          GetBitCount() const;
-    sal_uInt16          GetAlphaBitCount() const;
+    virtual sal_uInt16  GetBitCount() const SAL_OVERRIDE;
+    virtual sal_uInt16  GetAlphaBitCount() const SAL_OVERRIDE;
 
 private:
     SAL_DLLPRIVATE void ImplSetReferenceDevice( RefDevMode, sal_Int32 i_nDPIX, sal_Int32 i_nDPIY );


More information about the Libreoffice-commits mailing list