summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/tree/treecontrolpeer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/tree/treecontrolpeer.cxx')
-rw-r--r--toolkit/source/controls/tree/treecontrolpeer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/tree/treecontrolpeer.cxx b/toolkit/source/controls/tree/treecontrolpeer.cxx
index 78b93b9bb9fc..94390ceed15a 100644
--- a/toolkit/source/controls/tree/treecontrolpeer.cxx
+++ b/toolkit/source/controls/tree/treecontrolpeer.cxx
@@ -1188,7 +1188,7 @@ css::awt::Size TreeControlPeer::getMinimumSize()
/* todo
MultiLineEdit* pEdit = (MultiLineEdit*) GetWindow();
if ( pEdit )
- aSz = AWTSize(pEdit->CalcMinimumSize());
+ aSz = VCLUnoHelper::ConvertToAWTSize(pEdit->CalcMinimumSize());
*/
return aSz;
}
@@ -1206,7 +1206,7 @@ css::awt::Size TreeControlPeer::calcAdjustedSize( const css::awt::Size& rNewSize
/* todo
MultiLineEdit* pEdit = (MultiLineEdit*) GetWindow();
if ( pEdit )
- aSz = AWTSize(pEdit->CalcAdjustedSize( VCLSize(rNewSize )));
+ aSz = VCLUnoHelper::ConvertToAWTSize(pEdit->CalcAdjustedSize(VCLUnoHelper::ConvertToVCLSize(rNewSize)));
*/
return aSz;
}