diff options
Diffstat (limited to 'wizards')
-rw-r--r-- | wizards/com/sun/star/wizards/document/Control.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/wizards/com/sun/star/wizards/document/Control.java b/wizards/com/sun/star/wizards/document/Control.java index 9ff4691d2760..5731aa7cf26f 100644 --- a/wizards/com/sun/star/wizards/document/Control.java +++ b/wizards/com/sun/star/wizards/document/Control.java @@ -185,21 +185,21 @@ public class Control extends Shape else { Size aPeerSize = getPeerSize(); - int aWidth; + int nWidth; if (aPeerSize == null) - aWidth = 0; + nWidth = 0; else - aWidth = aPeerSize.Width; + nWidth = aPeerSize.Width; // We increase the preferred Width a bit so that the control does not become too small // when we change the border from "3D" to "Flat" if (getControlType() == FormHandler.SOCHECKBOX) { - return aWidth * oFormHandler.getXPixelFactor(); + return nWidth * oFormHandler.getXPixelFactor(); } else { - return (aWidth * oFormHandler.getXPixelFactor()) + 200; + return (nWidth * oFormHandler.getXPixelFactor()) + 200; } } } @@ -213,11 +213,11 @@ public class Control extends Shape else { Size aPeerSize = getPeerSize(); - int nHeight = aPeerSize.Height; + int nHeight; if (aPeerSize == null) - nHeight = 0; + nHeight = 0; else - nHeight = aPeerSize.Height; + nHeight = aPeerSize.Height; // We increase the preferred Height a bit so that the control does not become too small // when we change the border from "3D" to "Flat" |