summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDieter Loeschky <dl@openoffice.org>2000-09-29 07:57:32 +0000
committerDieter Loeschky <dl@openoffice.org>2000-09-29 07:57:32 +0000
commit1ba3177bc550c308d33635190f8d08b97300c510 (patch)
tree7e2750d4a5bc06f724ef9b546d575c0b0c71c995
parente86cbe9caa7614a704a735d8d5db163be49f250b (diff)
#78654# TakeStr(): call ForceUndirty() first
-rw-r--r--svx/source/svdraw/svdtrans.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx
index 4f6af43c5b89..8a93c84237c4 100644
--- a/svx/source/svdraw/svdtrans.cxx
+++ b/svx/source/svdraw/svdtrans.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: svdtrans.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:01:26 $
+ * last change: $Author: dl $ $Date: 2000-09-29 08:57:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -999,11 +999,12 @@ void SdrFormatter::TakeStr(long nVal, XubString& rStr) const
// Hier fallen trotzdem evtl. Nachkommastellen weg, wg. MulDiv statt Real
BOOL bNeg(nVal < 0);
International aInter(GetpApp()->GetAppInternational());
- xub_StrLen nK(nKomma_);
- XubString aStr;
ForceUndirty();
+ xub_StrLen nK(nKomma_);
+ XubString aStr;
+
if(bNeg)
nVal = -nVal;