diff options
Diffstat (limited to 'toolkit/source/controls/unocontrols.cxx')
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index 6c01ea0736be..7fe06b1119ef 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -313,7 +313,7 @@ void UnoEditControl::setText( const OUString& aText ) { maText = aText; mbSetTextInPeer = true; - uno::Reference < awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY ); + uno::Reference < awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY ); if ( xText.is() ) xText->setText( maText ); } @@ -382,7 +382,7 @@ OUString UnoEditControl::getText() OUString UnoEditControl::getSelectedText() { OUString sSelected; - uno::Reference< awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY ); + uno::Reference< awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY ); if ( xText.is() ) sSelected = xText->getSelectedText(); @@ -391,7 +391,7 @@ OUString UnoEditControl::getSelectedText() void UnoEditControl::setSelection( const awt::Selection& aSelection ) { - uno::Reference< awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY ); + uno::Reference< awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY ); if ( xText.is() ) xText->setSelection( aSelection ); } @@ -399,7 +399,7 @@ void UnoEditControl::setSelection( const awt::Selection& aSelection ) awt::Selection UnoEditControl::getSelection() { awt::Selection aSel; - uno::Reference< awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY ); + uno::Reference< awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY ); if ( xText.is() ) aSel = xText->getSelection(); return aSel; @@ -435,7 +435,7 @@ void UnoEditControl::setMaxTextLen( sal_Int16 nLen ) { mnMaxTextLen = nLen; mbSetMaxTextLenInPeer = true; - uno::Reference < awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY ); + uno::Reference < awt::XTextComponent > xText( getPeer(), uno::UNO_QUERY ); if ( xText.is() ) xText->setMaxTextLen( mnMaxTextLen ); } |