summaryrefslogtreecommitdiff
path: root/vbahelper/source/msforms/vbatextbox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper/source/msforms/vbatextbox.cxx')
-rw-r--r--vbahelper/source/msforms/vbatextbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/msforms/vbatextbox.cxx b/vbahelper/source/msforms/vbatextbox.cxx
index 583ad8b530ca..004b9d1d1838 100644
--- a/vbahelper/source/msforms/vbatextbox.cxx
+++ b/vbahelper/source/msforms/vbatextbox.cxx
@@ -133,7 +133,7 @@ sal_Int32 SAL_CALL ScVbaTextBox::getTextLength() throw (uno::RuntimeException, s
uno::Reference< msforms::XNewFont > SAL_CALL ScVbaTextBox::getFont() throw (uno::RuntimeException, std::exception)
{
- return new VbaNewFont( this, mxContext, m_xProps );
+ return new VbaNewFont( m_xProps );
}
sal_Int32 SAL_CALL ScVbaTextBox::getBackColor() throw (uno::RuntimeException, std::exception)