summaryrefslogtreecommitdiff
path: root/filter/source/graphicfilter/ieps/ieps.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/graphicfilter/ieps/ieps.cxx')
-rw-r--r--filter/source/graphicfilter/ieps/ieps.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/graphicfilter/ieps/ieps.cxx b/filter/source/graphicfilter/ieps/ieps.cxx
index 954668bdea92..133b0e666411 100644
--- a/filter/source/graphicfilter/ieps/ieps.cxx
+++ b/filter/source/graphicfilter/ieps/ieps.cxx
@@ -232,7 +232,7 @@ static bool RenderAsEMF(const sal_uInt8* pBuf, sal_uInt32 nBytesRead, Graphic &r
oslFileHandle pErr = nullptr;
oslProcessError eErr = runProcessWithPathSearch(
"pstoedit" EXESUFFIX,
- args, sizeof(args)/sizeof(rtl_uString *),
+ args, SAL_N_ELEMENTS(args),
&aProcess, &pIn, &pOut, &pErr);
if (eErr!=osl_Process_E_None)
@@ -360,7 +360,7 @@ static bool RenderAsBMPThroughConvert(const sal_uInt8* pBuf, sal_uInt32 nBytesRe
return RenderAsBMPThroughHelper(pBuf, nBytesRead, rGraphic,
("convert" EXESUFFIX),
args,
- sizeof(args)/sizeof(rtl_uString *));
+ SAL_N_ELEMENTS(args));
}
static bool RenderAsBMPThroughGS(const sal_uInt8* pBuf, sal_uInt32 nBytesRead,
@@ -390,7 +390,7 @@ static bool RenderAsBMPThroughGS(const sal_uInt8* pBuf, sal_uInt32 nBytesRead,
"gs" EXESUFFIX,
#endif
args,
- sizeof(args)/sizeof(rtl_uString *));
+ SAL_N_ELEMENTS(args));
}
static bool RenderAsBMP(const sal_uInt8* pBuf, sal_uInt32 nBytesRead, Graphic &rGraphic)