fix bug 2746 caused by poor parameter naming in pd_Document::_syncFileTypes
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/text/ptbl/xp/pd_Document.cpp
CVS: src/text/ptbl/xp/pd_Document.h
CVS: ----------------------------------------------------------------------
Hint: calling variables bOpenedFromSaved is bad and can lead to reversed
if conditions; the fixed code is:
if (bReadSaveWriteOpen)
szSuffixes = IE_Exp::suffixesForFileType(m_lastSavedAsType);
else
szSuffixes = IE_Imp::suffixesForFileType(m_lastOpenedType);
This makes it clear (at least to me) that this method is to take input
from the m_lastSavedAsType and write its output to m_lastOpenedType.
pat