summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-08-13 23:01:07 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-08-14 13:49:09 +0400
commitdcbad1b3bfe719f4eecdfafe8c78dd01f34b6605 (patch)
treeae7364a355c25d1537b5db19e229958503227441 /basctl
parentfb0238d276e5835dbb316a6f4ae383988ed62aee (diff)
convert GetSelectionText... methods to OUString and bool
Change-Id: I77726f009338ae49877c5f58fe6c14d386089bbe
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basides2.cxx4
-rw-r--r--basctl/source/inc/basidesh.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/basides2.cxx b/basctl/source/basicide/basides2.cxx
index 8e1daa86b62b..052486ce22b4 100644
--- a/basctl/source/basicide/basides2.cxx
+++ b/basctl/source/basicide/basides2.cxx
@@ -63,9 +63,9 @@ sal_Bool Shell::HasSelection( sal_Bool /* bText */ ) const
return false;
}
-String Shell::GetSelectionText( sal_Bool bWholeWord )
+OUString Shell::GetSelectionText( bool bWholeWord )
{
- String aText;
+ OUString aText;
if (ModulWindow* pMCurWin = dynamic_cast<ModulWindow*>(pCurWin))
{
if (TextView* pEditView = pMCurWin->GetEditView())
diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx
index b16f535f873a..1945d8afc390 100644
--- a/basctl/source/inc/basidesh.hxx
+++ b/basctl/source/inc/basidesh.hxx
@@ -179,7 +179,7 @@ public:
// virtual sal_uInt16 Print( SfxProgress &rProgress, sal_Bool bIsAPI, PrintDialog *pPrintDialog = 0 );
virtual SfxPrinter* GetPrinter( sal_Bool bCreate );
virtual sal_uInt16 SetPrinter( SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false );
- virtual String GetSelectionText( sal_Bool bCompleteWords );
+ virtual OUString GetSelectionText( bool bCompleteWords );
virtual sal_Bool HasSelection( sal_Bool bText ) const;
void GetState( SfxItemSet& );