summaryrefslogtreecommitdiff
path: root/svtools
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 /svtools
parent0057803c228e10bc1247ebb35c28cfc9ffc4cc5c (diff)
Change GetSavedValue() to return OUString
removed temporarily added OUString(...GetSavedValue()...) constructs again Change-Id: I11477654d217a5ae127c1ef1b19cbff56ed052a6
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/ebbcontrols.cxx2
-rw-r--r--svtools/source/dialogs/addresstemplate.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/brwbox/ebbcontrols.cxx b/svtools/source/brwbox/ebbcontrols.cxx
index fa081b743ad0..022bc730b732 100644
--- a/svtools/source/brwbox/ebbcontrols.cxx
+++ b/svtools/source/brwbox/ebbcontrols.cxx
@@ -129,7 +129,7 @@ namespace svt
//------------------------------------------------------------------
sal_Bool ComboBoxCellController::IsModified() const
{
- return OUString(GetComboBox().GetSavedValue()) != GetComboBox().GetText();
+ return GetComboBox().GetSavedValue() != GetComboBox().GetText();
}
//------------------------------------------------------------------
diff --git a/svtools/source/dialogs/addresstemplate.cxx b/svtools/source/dialogs/addresstemplate.cxx
index b42d81b52b42..3d85f3e1e4df 100644
--- a/svtools/source/dialogs/addresstemplate.cxx
+++ b/svtools/source/dialogs/addresstemplate.cxx
@@ -1175,7 +1175,7 @@ void AssignmentPersistentData::Commit()
// -------------------------------------------------------------------
IMPL_LINK(AddressBookSourceDialog, OnComboLoseFocus, ComboBox*, _pBox)
{
- if (OUString(_pBox->GetSavedValue()) != _pBox->GetText())
+ if (_pBox->GetSavedValue() != _pBox->GetText())
{
if (_pBox == &m_aDatasource)
resetTables();