summaryrefslogtreecommitdiff
path: root/svx/source/dialog/orienthelper.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 14:24:40 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 14:24:40 +0000
commit2d404457d6b2d94d41ff3374f0c19c979fae86f7 (patch)
tree644f26e0adc2c487ed0dd3bc57950962bcccd6a6 /svx/source/dialog/orienthelper.cxx
parent0d5e62caf6c5b6d372929a065bccfb7d16bd76a5 (diff)
INTEGRATION: CWS warnings01 (1.3.222); FILE MERGED
2006/05/04 14:47:00 os 1.3.222.1: warnings removed
Diffstat (limited to 'svx/source/dialog/orienthelper.cxx')
-rw-r--r--svx/source/dialog/orienthelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/orienthelper.cxx b/svx/source/dialog/orienthelper.cxx
index 65fa55c2c7d6..7cdcb46fbb9a 100644
--- a/svx/source/dialog/orienthelper.cxx
+++ b/svx/source/dialog/orienthelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: orienthelper.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 21:49:20 $
+ * last change: $Author: hr $ $Date: 2006-06-19 15:24:40 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -97,7 +97,6 @@ void OrientationHelper_Impl::AddDependentWindow( Window& rWindow, TriState eDisa
void OrientationHelper_Impl::EnableDependentWindows()
{
- TriState eStacked = mrCbStacked.GetState();
for( WindowVec::iterator aIt = maWinVec.begin(), aEnd = maWinVec.end(); aIt != aEnd; ++aIt )
EnableWindow( *aIt->first, aIt->second );
}
@@ -112,6 +111,7 @@ void OrientationHelper_Impl::EnableWindow( Window& rWindow, TriState eDisableIfS
case STATE_CHECK: bDisableOnStacked = (mrCbStacked.GetState() != STATE_NOCHECK); break;
// STATE_NOCHECK: Disable window, if stacked text is turned off or "don't know".
case STATE_NOCHECK: bDisableOnStacked = (mrCbStacked.GetState() != STATE_CHECK); break;
+ default: ;//prevent warning
}
rWindow.Enable( bEnabled && !bDisableOnStacked );
}