summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorZsolt Bölöny <bolony.zsolt@gmail.com>2015-01-10 17:49:34 +0100
committerNoel Grandin <noelgrandin@gmail.com>2015-01-12 06:44:04 +0000
commitbabe4ab629d476bbddbacb85c33436ba09655aea (patch)
tree52ca6d5e61d1bf392525bfbdc86909c7fb9da00a /basegfx
parent673c59936c037999ffef2dc45854f795a3b63216 (diff)
Removed lcl_putNumberChar() from basegfx.
It just calls OUStringBuffer.append() and doesn't do anything special. Change-Id: Ie59a797a8d0d24cfab826516e2b5c4e58f90dd01 Reviewed-on: https://gerrit.libreoffice.org/13850 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/inc/stringconversiontools.hxx6
-rw-r--r--basegfx/source/polygon/b2dsvgpolypolygon.cxx4
-rw-r--r--basegfx/source/tools/stringconversiontools.cxx2
3 files changed, 3 insertions, 9 deletions
diff --git a/basegfx/source/inc/stringconversiontools.hxx b/basegfx/source/inc/stringconversiontools.hxx
index d759bbb8385e..04b9f8344819 100644
--- a/basegfx/source/inc/stringconversiontools.hxx
+++ b/basegfx/source/inc/stringconversiontools.hxx
@@ -71,12 +71,6 @@ namespace basegfx
void lcl_skipDouble(sal_Int32& io_rPos,
const OUString& rStr);
- inline void lcl_putNumberChar( OUStringBuffer& rStr,
- double fValue )
- {
- rStr.append( fValue );
- }
-
void lcl_putNumberCharWithSpace( OUStringBuffer& rStr,
double fValue,
double fOldValue,
diff --git a/basegfx/source/polygon/b2dsvgpolypolygon.cxx b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
index 5b0c3c8e5601..fac3b78b8e28 100644
--- a/basegfx/source/polygon/b2dsvgpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dsvgpolypolygon.cxx
@@ -679,9 +679,9 @@ namespace basegfx
aResult.append(' ');
}
- ::basegfx::internal::lcl_putNumberChar(aResult, aPoint.getX());
+ aResult.append(aPoint.getX());
aResult.append(',');
- ::basegfx::internal::lcl_putNumberChar(aResult, aPoint.getY());
+ aResult.append(aPoint.getY());
}
return aResult.makeStringAndClear();
diff --git a/basegfx/source/tools/stringconversiontools.cxx b/basegfx/source/tools/stringconversiontools.cxx
index df37126a1854..040c358337b2 100644
--- a/basegfx/source/tools/stringconversiontools.cxx
+++ b/basegfx/source/tools/stringconversiontools.cxx
@@ -176,7 +176,7 @@ namespace basegfx
}
}
- lcl_putNumberChar(rStr, fValue);
+ rStr.append(fValue);
}
} // namespace internal