[Libreoffice-commits] .: svx/inc svx/source

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Jan 18 13:44:53 PST 2012


 svx/inc/svx/svdograf.hxx       |    3 ---
 svx/source/svdraw/svdograf.cxx |    1 -
 2 files changed, 4 deletions(-)

New commits:
commit b5a2242ff6fd3136daec04a46d2780d425740398
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date:   Wed Jan 18 16:44:30 2012 -0500

    This aCropRect data member is no longer used.

diff --git a/svx/inc/svx/svdograf.hxx b/svx/inc/svx/svdograf.hxx
index 6aef6bd..28f784d 100644
--- a/svx/inc/svx/svdograf.hxx
+++ b/svx/inc/svx/svdograf.hxx
@@ -100,8 +100,6 @@ protected:
     void                    ImpSetAttrToGrafInfo(); // Werte vom Pool kopieren
     GraphicAttr             aGrafInfo;
 
-    Rectangle               aCropRect;          // Wenn aCropRect nicht Empty ist, dann enthaelt es den sichtbaren
-                                                // Ausschnitt der Grafik in logischen Eingeiten der Grafik! Also Bitmap->=Pixel
     String                  aFileName;          // Wenn es sich um einen Link handelt, steht hier der Dateiname drin.
     String                  aFilterName;
     GraphicObject*          pGraphic;           // Zur Beschleunigung von Bitmapausgaben, besonders von gedrehten.
@@ -125,7 +123,6 @@ protected:
                             DECL_LINK( ImpSwapHdl, GraphicObject* );
 
 public:
-
                             TYPEINFO();
 
                             SdrGrafObj();
diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index c82b5fe..8686211 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -818,7 +818,6 @@ SdrGrafObj& SdrGrafObj::operator=( const SdrGrafObj& rObj )
     SdrRectObj::operator=( rObj );
 
     pGraphic->SetGraphic( rObj.GetGraphic(), &rObj.GetGraphicObject() );
-    aCropRect = rObj.aCropRect;
     aFileName = rObj.aFileName;
     aFilterName = rObj.aFilterName;
     bMirrored = rObj.bMirrored;


More information about the Libreoffice-commits mailing list