From 226dd312e17fd3b97db17a131b703bbb9ab009f2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 18 Dec 2014 13:24:05 +0100 Subject: extensions: Use appropriate OUString functions on string constants Change-Id: I4f117b3339753af254768724c38167f3595fbe69 --- extensions/source/propctrlr/propcontroller.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/source/propctrlr/propcontroller.cxx') 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(); } -- cgit