summaryrefslogtreecommitdiff
path: root/svtools/source/svhtml
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-09 01:50:21 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-09 02:01:45 +0900
commit9b979c8bf13593175391efcab461a146d6f1331e (patch)
tree84f91da7d847d5e95e502432611ced55e3cb3a29 /svtools/source/svhtml
parent62e8dfa072d78c18464db9a43ffc3f7b287032b2 (diff)
Replaced String by rtl::OUString in SvxMacro
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r--svtools/source/svhtml/htmlout.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx
index 3ba059030387..3544a0dd5c5a 100644
--- a/svtools/source/svhtml/htmlout.cxx
+++ b/svtools/source/svhtml/htmlout.cxx
@@ -917,7 +917,7 @@ SvStream& HTMLOutFuncs::Out_Events( SvStream& rStrm,
const SvxMacro *pMacro =
rMacroTable.Get( pEventTable[i].nEvent );
- if( pMacro && pMacro->GetMacName().Len() &&
+ if( pMacro && pMacro->HasMacro() &&
( JAVASCRIPT == pMacro->GetScriptType() || bOutStarBasic ))
{
const sal_Char *pStr = STARBASIC == pMacro->GetScriptType()