Kaydet (Commit) 0aab2230 authored tarafından Caolán McNamara's avatar Caolán McNamara

gagh, NULL is an acceptable OString ctor argument

Change-Id: I592af9986a0512f4dc4cb0aea4cd78f675f4fead
üst 9b7aa16a
...@@ -283,7 +283,7 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq ) ...@@ -283,7 +283,7 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq )
sal_False, &pItem )) sal_False, &pItem ))
sParent = ((const SfxStringItem*)pItem)->GetValue(); sParent = ((const SfxStringItem*)pItem)->GetValue();
nRet = Edit( sName, sParent, nFamily, nMask, sal_True, 0, 0, rReq.IsAPI() ); nRet = Edit( sName, sParent, nFamily, nMask, sal_True, OString(), 0, rReq.IsAPI() );
} }
break; break;
...@@ -445,7 +445,7 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq ) ...@@ -445,7 +445,7 @@ void SwDocShell::ExecStyleSheet( SfxRequest& rReq )
switch(nSlot) switch(nSlot)
{ {
case SID_STYLE_EDIT: case SID_STYLE_EDIT:
nRet = Edit(aParam, aEmptyStr, nFamily, nMask, sal_False, 0, pActShell ); nRet = Edit(aParam, aEmptyStr, nFamily, nMask, sal_False, OString(), pActShell );
break; break;
case SID_STYLE_DELETE: case SID_STYLE_DELETE:
nRet = Delete(aParam, nFamily); nRet = Delete(aParam, nFamily);
......
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