summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-11-13 11:29:03 +0000
committerjp <jp@openoffice.org>2000-11-13 11:29:03 +0000
commit840f7369edd27c7825d3c40d9943c3c54cf24147 (patch)
treeb21fc13fc49f5213b21d31aeab12be64a8aa2c11 /sw
parentd9065f44b1788156ef4c4e74d2f9fb052b6e3aee (diff)
use GetAttr method instead of the GetXX method
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/txtnode/txtatr2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/txtnode/txtatr2.cxx b/sw/source/core/txtnode/txtatr2.cxx
index 061d3e2ef5a4..84577afdb395 100644
--- a/sw/source/core/txtnode/txtatr2.cxx
+++ b/sw/source/core/txtnode/txtatr2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtatr2.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: jp $ $Date: 2000-11-06 10:43:55 $
+ * last change: $Author: jp $ $Date: 2000-11-13 12:29:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -652,7 +652,7 @@ SwTxtLanguage::SwTxtLanguage( const SvxLanguageItem& rAttr,
void SwTxtLanguage::ChgFnt( SwFont *pFont )
{
ePrevLang = pFont->GetLanguage( nScript );
- pFont->SetLanguage( GetLanguage().GetLanguage(), nScript );
+ pFont->SetLanguage( ((SvxLanguageItem&)GetAttr()).GetLanguage(), nScript );
}
void SwTxtLanguage::RstFnt( SwFont *pFont )