diff options
author | Bjoern Michaelsen <bjoern.michaelsen@sun.com> | 2009-12-08 17:15:57 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@sun.com> | 2009-12-08 17:15:57 +0100 |
commit | 51c064bac31111cf33e17486120980fa41f3f85e (patch) | |
tree | ee161cbd588da41297d43410ae8fcda260e162d8 /sw/source/ui/docvw/edtwin.cxx | |
parent | 4b8dcfb1c1aa01e0770631cc0d80f662513057c1 (diff) |
cbosdo02: #i33737# removing unused defines, moving remaining ones into vnd.oasis.opendocument namespace
----------------
cbosdo02: #i33737# renaming defines from ECMA to ODF
----------------
cbosdo02: #i33737# removing ecma namespace
----------------
cbosdo02: #i33737# removing ecma var
----------------
cbosdo02: #i33737# ecma -> odf
----------------
cbosdo02: #i33737# ecma -> odf
HG: Enter commit message. Lines beginning with 'HG:' are removed.
HG: Remove all lines to abort the collapse operation.
Diffstat (limited to 'sw/source/ui/docvw/edtwin.cxx')
-rw-r--r-- | sw/source/ui/docvw/edtwin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index 9da3ab8e5e7a..c7fc7239caa4 100644 --- a/sw/source/ui/docvw/edtwin.cxx +++ b/sw/source/ui/docvw/edtwin.cxx @@ -151,7 +151,7 @@ #include <IMark.hxx> #include <doc.hxx> -#include <xmloff/ecmaflds.hxx> +#include <xmloff/odffields.hxx> #include "PostItMgr.hxx" #include "postit.hxx" @@ -4218,13 +4218,13 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt) IFieldmark *fieldBM = const_cast< IFieldmark* > ( aCntntAtPos.aFnd.pFldmark ); //SwDocShell* pDocSh = rView.GetDocShell(); //SwDoc *pDoc=pDocSh->GetDoc(); - if (fieldBM->GetFieldname( ).equalsAscii( ECMA_FORMCHECKBOX ) ) + if (fieldBM->GetFieldname( ).equalsAscii( ODF_FORMCHECKBOX ) ) { ICheckboxFieldmark* pCheckboxFm = dynamic_cast<ICheckboxFieldmark*>(fieldBM); pCheckboxFm->SetChecked(!pCheckboxFm->IsChecked()); pCheckboxFm->Invalidate(); rSh.InvalidateWindows( rView.GetVisArea() ); - } else if (fieldBM->GetFieldname().equalsAscii( ECMA_FORMDROPDOWN) ) { + } else if (fieldBM->GetFieldname().equalsAscii( ODF_FORMDROPDOWN) ) { rView.ExecFieldPopup( aDocPt, fieldBM ); fieldBM->Invalidate(); rSh.InvalidateWindows( rView.GetVisArea() ); |