diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 13:24:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 14:12:26 +0100 |
commit | 226dd312e17fd3b97db17a131b703bbb9ab009f2 (patch) | |
tree | 4ada21bcafb3af89f3ee2f6c01ec9feaedfc1a6a /extensions/source/propctrlr/propcontroller.cxx | |
parent | 9f806fcad27f96ad4530478ec4a4fdce69e20c8e (diff) |
extensions: Use appropriate OUString functions on string constants
Change-Id: I4f117b3339753af254768724c38167f3595fbe69
Diffstat (limited to 'extensions/source/propctrlr/propcontroller.cxx')
-rw-r--r-- | extensions/source/propctrlr/propcontroller.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/propcontroller.cxx b/extensions/source/propctrlr/propcontroller.cxx index 188bdefdf7e3..77b518878526 100644 --- a/extensions/source/propctrlr/propcontroller.cxx +++ b/extensions/source/propctrlr/propcontroller.cxx @@ -650,7 +650,7 @@ namespace pcr return; OUString sOldSelection = m_sPageSelection; - m_sPageSelection = ""; + m_sPageSelection.clear(); const sal_uInt16 nCurrentPage = m_pView->getActivaPage(); if ( (sal_uInt16)-1 != nCurrentPage ) @@ -1373,7 +1373,7 @@ namespace pcr OUString sPlcHolder = PcrRes(RID_EMBED_IMAGE_PLACEHOLDER).toString(); bool bIsPlaceHolderValue = false; - if ( rName.equals( PROPERTY_IMAGE_URL ) ) + if ( rName == PROPERTY_IMAGE_URL ) { // if the prop value is the PlaceHolder // can ignore it @@ -1421,7 +1421,7 @@ namespace pcr OSL_FAIL("OPropertyBrowserController::Commit : caught an exception !"); } - m_sCommittingProperty = ""; + m_sCommittingProperty.clear(); } |