summaryrefslogtreecommitdiff
path: root/sw/source/core/view/vdraw.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 08:42:24 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 08:42:24 +0000
commit63f066a9cb05ebf27a5f3700340e9e05577d72d5 (patch)
tree00a9ca43b65b826e9648428826d7d2ae6c667435 /sw/source/core/view/vdraw.cxx
parent5327e4ec1d9adc357c0a2235c14ef1cf0c80e503 (diff)
INTEGRATION: CWS swwarnings (1.20.126); FILE MERGED
2007/03/09 16:07:00 fme 1.20.126.1: #i69287# Warning free code
Diffstat (limited to 'sw/source/core/view/vdraw.cxx')
-rw-r--r--sw/source/core/view/vdraw.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx
index f918c8a5efb1..832a276a5e5c 100644
--- a/sw/source/core/view/vdraw.cxx
+++ b/sw/source/core/view/vdraw.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: vdraw.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: kz $ $Date: 2006-12-12 16:28:50 $
+ * last change: $Author: hr $ $Date: 2007-09-27 09:42:24 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -216,7 +216,7 @@ void SwViewImp::UnlockPaint()
// outliner of the draw view for painting layers <hell> and <heaven>.
// OD 25.06.2003 #108784# - correct type of 1st parameter
void SwViewImp::PaintLayer( const SdrLayerID _nLayerID,
- const SwRect& _rRect,
+ const SwRect& ,
const Color* _pPageBackgrdColor,
const bool _bIsPageRightToLeft ) const
{
@@ -240,7 +240,7 @@ void SwViewImp::PaintLayer( const SdrLayerID _nLayerID,
Color aOldOutlinerBackgrdColor;
// OD 09.12.2002 #103045# - set default horizontal text direction on
// painting <hell> or <heaven>.
- EEHorizontalTextDirection aOldEEHoriTextDir;
+ EEHorizontalTextDirection aOldEEHoriTextDir = EE_HTEXTDIR_L2R;
const IDocumentDrawModelAccess* pIDDMA = GetShell()->getIDocumentDrawModelAccess();
if ( (_nLayerID == pIDDMA->GetHellId()) ||
(_nLayerID == pIDDMA->GetHeavenId()) )