Kaydet (Commit) f16362fb authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Pass by const reference.

Change-Id: Iead2319a5283af69bf0edd12c639f14ddeb402ad
üst 03720cfb
......@@ -191,7 +191,7 @@ public:
void CreateTempFile( sal_Bool bReplace = sal_True );
void CreateTempFileNoCopy();
::rtl::OUString SwitchDocumentToTempFile();
sal_Bool SwitchDocumentToFile( ::rtl::OUString aURL );
sal_Bool SwitchDocumentToFile( const rtl::OUString& aURL );
::rtl::OUString GetBaseURL( bool bForSaving=false );
......
......@@ -3646,7 +3646,7 @@ sal_Bool SfxMedium::CallApproveHandler( const uno::Reference< task::XInteraction
return aResult;
}
sal_Bool SfxMedium::SwitchDocumentToFile( ::rtl::OUString aURL )
sal_Bool SfxMedium::SwitchDocumentToFile( const rtl::OUString& aURL )
{
// the method is only for storage based documents
bool bResult = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment