[Libreoffice-commits] core.git: vcl/inc

Chris Sherlock chris.sherlock79 at gmail.com
Mon Jan 25 02:21:30 PST 2016


 vcl/inc/impgraph.hxx |   38 ++++++++++++++++----------------------
 1 file changed, 16 insertions(+), 22 deletions(-)

New commits:
commit de148e861882524f7e8736c89508aa80bcd5125a
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Mon Jan 25 21:20:26 2016 +1100

    vcl: remove entirely useless comments, fix tab spacing of impgraph.hxx
    
    Change-Id: Id66ebb7c20b2f5cf03cb8e0e676a3467fbee3b4b

diff --git a/vcl/inc/impgraph.hxx b/vcl/inc/impgraph.hxx
index c0e0689..957fa12 100644
--- a/vcl/inc/impgraph.hxx
+++ b/vcl/inc/impgraph.hxx
@@ -27,19 +27,15 @@
 #include <vcl/graph.hxx>
 #include <vcl/svgdata.hxx>
 
-// - ImpSwapInfo -
-
 struct ImpSwapInfo
 {
     MapMode     maPrefMapMode;
     Size        maPrefSize;
 };
 
-// - ImpGraphic -
-
-class   OutputDevice;
-class   GfxLink;
-struct  ImpSwapFile;
+class OutputDevice;
+class GfxLink;
+struct ImpSwapFile;
 class GraphicConversionParameters;
 
 class ImpGraphic
@@ -58,10 +54,9 @@ private:
     GraphicType         meType;
     mutable sal_uLong   mnSizeBytes;
     sal_uLong           mnRefCount;
-    bool            mbSwapOut;
-    bool            mbSwapUnderway;
+    bool                mbSwapOut;
+    bool                mbSwapUnderway;
 
-    // SvgData support
     SvgDataPtr          maSvgData;
 
 private:
@@ -86,15 +81,15 @@ private:
     void                ImplSetDefaultType();
     bool                ImplIsSupportedGraphic() const;
 
-    bool            ImplIsTransparent() const;
-    bool            ImplIsAlpha() const;
-    bool            ImplIsAnimated() const;
-    bool            ImplIsEPS() const;
+    bool                ImplIsTransparent() const;
+    bool                ImplIsAlpha() const;
+    bool                ImplIsAnimated() const;
+    bool                ImplIsEPS() const;
 
-    Bitmap                  ImplGetBitmap(const GraphicConversionParameters& rParameters) const;
-    BitmapEx                ImplGetBitmapEx(const GraphicConversionParameters& rParameters) const;
-    Animation               ImplGetAnimation() const;
-    const GDIMetaFile&      ImplGetGDIMetaFile() const;
+    Bitmap              ImplGetBitmap(const GraphicConversionParameters& rParameters) const;
+    BitmapEx            ImplGetBitmapEx(const GraphicConversionParameters& rParameters) const;
+    Animation           ImplGetAnimation() const;
+    const GDIMetaFile&  ImplGetGDIMetaFile() const;
 
     Size                ImplGetPrefSize() const;
     void                ImplSetPrefSize( const Size& rPrefSize );
@@ -102,7 +97,7 @@ private:
     MapMode             ImplGetPrefMapMode() const;
     void                ImplSetPrefMapMode( const MapMode& rPrefMapMode );
 
-    sal_uLong               ImplGetSizeBytes() const;
+    sal_uLong           ImplGetSizeBytes() const;
 
     void                ImplDraw( OutputDevice* pOutDev,
                                   const Point& rDestPt ) const;
@@ -119,7 +114,7 @@ private:
                                            long nExtraData = 0 );
 
     void                ImplSetAnimationNotifyHdl( const Link<Animation*,void>& rLink );
-    Link<Animation*,void>  ImplGetAnimationNotifyHdl() const;
+    Link<Animation*,void> ImplGetAnimationNotifyHdl() const;
 
     sal_uLong           ImplGetAnimationLoopCount() const;
 
@@ -152,8 +147,7 @@ private:
     friend SvStream&    WriteImpGraphic( SvStream& rOStm, const ImpGraphic& rImpGraphic );
     friend SvStream&    ReadImpGraphic( SvStream& rIStm, ImpGraphic& rImpGraphic );
 
-    // SvgData support
-    const SvgDataPtr& getSvgData() const { return maSvgData;}
+    const SvgDataPtr&   getSvgData() const { return maSvgData; }
 };
 
 #endif // INCLUDED_VCL_INC_IMPGRAPH_HXX


More information about the Libreoffice-commits mailing list