summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2012-09-11 16:03:31 +0100
committerNoel Power <noel.power@suse.com>2012-09-11 16:04:12 +0100
commite27fc9b6c2f3d7c01a2d1477f740cbc548aa874a (patch)
tree30038471473ec5f706ceeea7ff2fc948e386517d /oox
parent7c7267e88691ce354ed0cf116315952ceae555ad (diff)
disable scrollable Frame ( not working well )
Change-Id: I09dc7b656c7ff19b937936e0b8436022d287cc87
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ole/axcontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/ole/axcontrol.cxx b/oox/source/ole/axcontrol.cxx
index affd9d7659b0..3ec46c8349dc 100644
--- a/oox/source/ole/axcontrol.cxx
+++ b/oox/source/ole/axcontrol.cxx
@@ -2445,8 +2445,9 @@ void AxFrameModel::convertProperties( PropertyMap& rPropMap, const ControlConver
{
rPropMap.setProperty( PROP_Label, maCaption );
rPropMap.setProperty( PROP_Enabled, getFlag( mnFlags, AX_CONTAINER_ENABLED ) );
- printf("Frame, converting scroll bits\n");
+#if SCROLLABLEFRAME
rConv.convertScrollabilitySettings( rPropMap, maScrollPos, maLogicalSize, mnScrollBars );
+#endif
AxContainerModelBase::convertProperties( rPropMap, rConv );
}
@@ -2509,7 +2510,6 @@ void AxUserFormModel::convertProperties( PropertyMap& rPropMap, const ControlCon
rPropMap.setProperty( PROP_Title, maCaption );
rConv.convertColor( rPropMap, PROP_BackgroundColor, mnBackColor );
rConv.convertAxPicture( rPropMap, maPictureData, AX_PICPOS_CENTER );
- printf("UserForm, converting scroll bits\n");
rConv.convertScrollabilitySettings( rPropMap, maScrollPos, maLogicalSize, mnScrollBars );
AxContainerModelBase::convertProperties( rPropMap, rConv );
}