summaryrefslogtreecommitdiff
path: root/include/oox/vml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:23:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:36:00 +0100
commit6a161173803a4ba619a95b9c8da1f00e376819bb (patch)
tree7994105fc88f709a34822681c7dc57471adaf60b /include/oox/vml
parente59c048e1172998efe363f8e51932f15a44c5405 (diff)
loplugin:deletedspecial
Change-Id: I37eb6c976779aeec829d312920ab1d18884c0f2f
Diffstat (limited to 'include/oox/vml')
-rw-r--r--include/oox/vml/vmlformatting.hxx23
1 files changed, 9 insertions, 14 deletions
diff --git a/include/oox/vml/vmlformatting.hxx b/include/oox/vml/vmlformatting.hxx
index 070fb2a7e41f..daaaef965cbc 100644
--- a/include/oox/vml/vmlformatting.hxx
+++ b/include/oox/vml/vmlformatting.hxx
@@ -44,19 +44,18 @@ typedef ::std::pair< double, double > DoublePair;
-class OOX_DLLPUBLIC ConversionHelper
+namespace ConversionHelper
{
-public:
/** Returns two values contained in rValue separated by cSep.
*/
- static bool separatePair(
+ OOX_DLLPUBLIC bool separatePair(
OUString& orValue1, OUString& orValue2,
const OUString& rValue, sal_Unicode cSep );
/** Returns the boolean value from the passed string of a VML attribute.
Supported values: 'f', 't', 'false', 'true'. False for anything else.
*/
- static bool decodeBool( const OUString& rValue );
+ OOX_DLLPUBLIC bool decodeBool( const OUString& rValue );
/** Converts the passed VML percentage measure string to a normalized
floating-point value.
@@ -67,7 +66,7 @@ public:
is present, the value will be divided by 100. If the 'f' sign is present,
the value will be divided by 65536.
*/
- static double decodePercent(
+ OOX_DLLPUBLIC double decodePercent(
const OUString& rValue,
double fDefValue );
@@ -89,7 +88,7 @@ public:
@param bDefaultAsPixel Set to true if omitted measure unit means
pixel. Set to false if omitted measure unit means EMU.
*/
- static sal_Int64 decodeMeasureToEmu(
+ OOX_DLLPUBLIC sal_Int64 decodeMeasureToEmu(
const GraphicHelper& rGraphicHelper,
const OUString& rValue,
sal_Int32 nRefValue,
@@ -104,7 +103,7 @@ public:
@param bPixelX See above.
@param bDefaultAsPixel See above.
*/
- static sal_Int32 decodeMeasureToHmm(
+ OOX_DLLPUBLIC sal_Int32 decodeMeasureToHmm(
const GraphicHelper& rGraphicHelper,
const OUString& rValue,
sal_Int32 nRefValue,
@@ -133,7 +132,7 @@ public:
@return The resulting DrawingML color.
*/
- static ::oox::drawingml::Color decodeColor(
+ OOX_DLLPUBLIC ::oox::drawingml::Color decodeColor(
const GraphicHelper& rGraphicHelper,
const OptValue< OUString >& roVmlColor,
const OptValue< double >& roVmlOpacity,
@@ -152,15 +151,11 @@ public:
@param rGraphicHelper See above.
*/
- static void decodeVmlPath(
+ OOX_DLLPUBLIC void decodeVmlPath(
::std::vector< ::std::vector< ::com::sun::star::awt::Point > >& rPoints,
::std::vector< ::std::vector< ::com::sun::star::drawing::PolygonFlags > >& rFlags,
const OUString& rPath );
-
-private:
- ConversionHelper();
- ~ConversionHelper();
-};
+}