To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=72979
Issue #|72979
Summary|exception without description when saving document wit
|h same filename
Component|api
Version|OOo 2.1
Platform|All
URL|
OS/Version|Windows XP
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|code
Assigned to|jsc
Reported by|rpavelic
------- Additional comments from [EMAIL PROTECTED] Thu Dec 28 11:18:02 -0800
2006 -------
Hi!
I'm receiving exception without description when trying to save
opened document.
I'm using .NET 2.0 and uno with OO 2.1
I can workaround this by saving to another filename.. ("temp" in commented line)
try
{
XStorable xSave = (XStorable)xTextDocument;
//xSave.store();
PropertyValue[] pv = new PropertyValue[2];
pv[0] = new PropertyValue();
pv[0].Name = "FilterName";
pv[0].Value = new uno.Any("StarOffice XML (Writer)");
pv[1] = new PropertyValue();
pv[1].Name = "Overwrite";
pv[1].Value = new uno.Any("true");
string fajl=xSave.getLocation();
xSave.storeToURL(fajl.Replace('\\', '/'), pv);
//xSave.storeToURL(fajl.Replace('\\', '/') + "temp", pv);
}
catch(unoidl.com.sun.star.uno.Exception ex)
{
Console.WriteLine(ex.ToString());
return false;
}
xSave.store() and
xSave.storeToURL(xSave.getLocation(), pv);
shows the same behaviour
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]