summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-09-27 15:06:29 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-09-28 08:48:55 +0100
commitfac4bed44bb22d4ccdab1dd08fac597b39ea2ba4 (patch)
treef452a324f98e1d1255e65dcfc2143761d6e5ba6e /vcl
parentadapt ThumbnailView::ImplInitScrollBar (diff)
downloadcore-fac4bed44bb22d4ccdab1dd08fac597b39ea2ba4.tar.gz
core-fac4bed44bb22d4ccdab1dd08fac597b39ea2ba4.zip
fix up merge
Change-Id: I1ce7e72c2c0d1a2cf56df66197510e6870c18047
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/layout.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index b125c2dab2af..c6761c04e063 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -128,10 +128,6 @@ Size VclBox::calculateRequisition() const
void VclBox::setAllocation(const Size &rAllocation)
{
- //SetBackground( Color(0x00, 0xFF, 0x00) );
-
- rtl::OString sExpand(RTL_CONSTASCII_STRINGPARAM("expand"));
-
sal_uInt16 nVisibleChildren = 0, nExpandChildren = 0;
for (Window *pChild = GetWindow(WINDOW_FIRSTCHILD); pChild; pChild = pChild->GetWindow(WINDOW_NEXT))
{
@@ -160,10 +156,6 @@ void VclBox::setAllocation(const Size &rAllocation)
nExtraSpace = (getPrimaryDimension(rAllocation) - getPrimaryDimension(aRequisition)) / nExpandChildren;
}
- rtl::OString sPadding(RTL_CONSTASCII_STRINGPARAM("padding"));
- rtl::OString sPackType(RTL_CONSTASCII_STRINGPARAM("pack-type"));
- rtl::OString sFill(RTL_CONSTASCII_STRINGPARAM("fill"));
-
for (sal_Int32 ePackType = VCL_PACK_START; ePackType <= VCL_PACK_END; ++ePackType)
{
Point aPos(0, 0);