summaryrefslogtreecommitdiffstats
path: root/svx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-01-24 15:12:43 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-01-24 22:26:40 +0100
commit2dab78ee2199d70b951aee86b80aab4374cc7c4f (patch)
tree40e1d3652242d7edd900b5d3f73002e77954e92f /svx
parentadd mnemonic widgets to table columns page (diff)
downloadcore-2dab78ee2199d70b951aee86b80aab4374cc7c4f.tar.gz
core-2dab78ee2199d70b951aee86b80aab4374cc7c4f.zip
Change GetSavedValue() to return OUString
removed temporarily added OUString(...GetSavedValue()...) constructs again Change-Id: I11477654d217a5ae127c1ef1b19cbff56ed052a6
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/rubydialog.cxx4
-rw-r--r--svx/source/form/tbxform.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index 708f52b69ebb..7f0fd525c9ed 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -409,8 +409,8 @@ void SvxRubyDialog::GetText()
for(int i = 0; i < 8; i+=2)
{
if(aEditArr[i]->IsEnabled() &&
- (aEditArr[i]->GetText() != OUString(aEditArr[i]->GetSavedValue()) ||
- aEditArr[i + 1]->GetText() != OUString(aEditArr[i + 1]->GetSavedValue())))
+ (aEditArr[i]->GetText() != aEditArr[i]->GetSavedValue() ||
+ aEditArr[i + 1]->GetText() != aEditArr[i + 1]->GetSavedValue()))
{
Sequence<PropertyValues>& aRubyValues = pImpl->GetRubyValues();
DBG_ASSERT(aRubyValues.getLength() > (i / 2 + nTempLastPos), "wrong index" );
diff --git a/svx/source/form/tbxform.cxx b/svx/source/form/tbxform.cxx
index 42dd0335b94b..8ac388c91cf2 100644
--- a/svx/source/form/tbxform.cxx
+++ b/svx/source/form/tbxform.cxx
@@ -73,7 +73,7 @@ SvxFmAbsRecWin::~SvxFmAbsRecWin()
// -----------------------------------------------------------------------
void SvxFmAbsRecWin::FirePosition( sal_Bool _bForce )
{
- if ( _bForce || ( GetText() != OUString(GetSavedValue()) ) )
+ if ( _bForce || ( GetText() != GetSavedValue() ) )
{
sal_Int64 nRecord = GetValue();
if (nRecord < GetMin() || nRecord > GetMax())