summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-03-14 00:35:29 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-03-16 09:39:14 +0100
commit2f2255cf1ea9e9b32d9d01308deaccec5e5b34b7 (patch)
tree65bd0cb5fcbd9670cea92caf9f00f08e3cb62ffd /sw
parente6405ba66233ee0a138e6c623e6a36158026c58b (diff)
bLoadLowResGrf is never read
Change-Id: I1dd1b1ccf0981f118ac66d867f75528d15017ffe
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/ndgrf.hxx1
-rw-r--r--sw/source/core/graphic/ndgrf.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx
index 1485d483d810..c83b7970ff5c 100644
--- a/sw/inc/ndgrf.hxx
+++ b/sw/inc/ndgrf.hxx
@@ -47,7 +47,6 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTxtNode
sal_Bool bGraphicArrived :1;
sal_Bool bChgTwipSize :1;
sal_Bool bChgTwipSizeFromPixel :1;
- sal_Bool bLoadLowResGrf :1;
sal_Bool bFrameInPaint :1; ///< To avoid Start-/EndActions in Paint via SwapIn.
sal_Bool bScaleImageMap :1; ///< Scale image map in SetTwipSize.
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index c7da2f1a2b88..a4bcbaeb3ddf 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -70,7 +70,7 @@ SwGrfNode::SwGrfNode(
mbIsStreamReadOnly( sal_False )
{
maGrfObj.SetSwapStreamHdl( LINK(this, SwGrfNode, SwapGraphic) );
- bInSwapIn = bChgTwipSize = bChgTwipSizeFromPixel = bLoadLowResGrf =
+ bInSwapIn = bChgTwipSize = bChgTwipSizeFromPixel =
bFrameInPaint = bScaleImageMap = sal_False;
bGraphicArrived = sal_True;
@@ -97,7 +97,7 @@ SwGrfNode::SwGrfNode( const SwNodeIndex & rWhere,
maGrfObj.SetSwapStreamHdl( LINK(this, SwGrfNode, SwapGraphic) );
if( rGrfObj.HasUserData() && rGrfObj.IsSwappedOut() )
maGrfObj.SetSwapState();
- bInSwapIn = bChgTwipSize = bChgTwipSizeFromPixel= bLoadLowResGrf =
+ bInSwapIn = bChgTwipSize = bChgTwipSizeFromPixel =
bFrameInPaint = bScaleImageMap = sal_False;
bGraphicArrived = sal_True;
}
@@ -124,7 +124,7 @@ SwGrfNode::SwGrfNode( const SwNodeIndex & rWhere,
Graphic aGrf; aGrf.SetDefaultType();
maGrfObj.SetGraphic( aGrf, rGrfName );
- bInSwapIn = bChgTwipSize = bChgTwipSizeFromPixel = bLoadLowResGrf =
+ bInSwapIn = bChgTwipSize = bChgTwipSizeFromPixel =
bFrameInPaint = bScaleImageMap = sal_False;
bGraphicArrived = sal_True;