View | Details | Raw Unified | Return to issue 5226
Collapse All | Expand All

(-)sfx2/source/doc/guisaveas.cxx (-2 / +3 lines)
Lines 679-686 Link Here
679
		GetMediaDescr() = aAcceptedArgs;
679
		GetMediaDescr() = aAcceptedArgs;
680
680
681
    // the document must be modified
681
    // the document must be modified
682
    if ( !GetModifiable()->isModified() && !bVersInfoNeedsStore )
682
// always allow save (kohei)
683
		return STATUS_NO_ACTION;
683
//  if ( !GetModifiable()->isModified() && !bVersInfoNeedsStore )
684
//      return STATUS_NO_ACTION;
684
685
685
    // if the document is readonly or a new one a SaveAs operation must be used
686
    // if the document is readonly or a new one a SaveAs operation must be used
686
    if ( !GetStorable()->hasLocation() || GetStorable()->isReadonly() )
687
    if ( !GetStorable()->hasLocation() || GetStorable()->isReadonly() )
(-)sfx2/source/doc/objserv.cxx (-2 / +3 lines)
Lines 1058-1065 Link Here
1058
					if ( !bMediumRO && GetMedium() && IsModified() )
1058
					if ( !bMediumRO && GetMedium() && IsModified() )
1059
						rSet.Put(SfxStringItem(
1059
						rSet.Put(SfxStringItem(
1060
							nWhich, String(SfxResId(STR_SAVEDOC))));
1060
							nWhich, String(SfxResId(STR_SAVEDOC))));
1061
					else
1061
// always allow save (kohei)
1062
                    	rSet.DisableItem(nWhich);
1062
//                  else
1063
//                      rSet.DisableItem(nWhich);
1063
				}
1064
				}
1064
				break;
1065
				break;
1065
1066

Return to issue 5226