diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-04-27 23:04:15 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-04-27 23:04:15 +0200 |
commit | f8231a9765b63ef57d4e099936b94357267ac9b3 (patch) | |
tree | fac7889e20954a10e5dd0865a9f110dc5833b7c1 /cui | |
parent | 9e0502f27d4a3069540eaf6090ed0b5936889fb2 (diff) |
some eco-activism
Change-Id: Ib447cd8633c3102ee78c919cfbeabcc88018b130
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/hyphen.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/thesdlg_impl.hxx | 2 | ||||
-rw-r--r-- | cui/source/inc/hyphen.hxx | 10 | ||||
-rw-r--r-- | cui/source/inc/thesdlg.hxx | 11 |
4 files changed, 10 insertions, 15 deletions
diff --git a/cui/source/dialogs/hyphen.cxx b/cui/source/dialogs/hyphen.cxx index 26326647096a..e7bfc03a3d5c 100644 --- a/cui/source/dialogs/hyphen.cxx +++ b/cui/source/dialogs/hyphen.cxx @@ -35,6 +35,8 @@ #define CUR_HYPH_POS_CHAR '-' +using namespace css; + HyphenEdit::HyphenEdit(Window* pParent) : Edit(pParent, WB_LEFT|WB_VCENTER|WB_BORDER|WB_3DLOOK|WB_TABSTOP) { diff --git a/cui/source/dialogs/thesdlg_impl.hxx b/cui/source/dialogs/thesdlg_impl.hxx index 2e06c45d6379..8d911b285ad5 100644 --- a/cui/source/dialogs/thesdlg_impl.hxx +++ b/cui/source/dialogs/thesdlg_impl.hxx @@ -42,8 +42,6 @@ #include <map> #include <algorithm> -using namespace ::com::sun::star; - class SvTreeListEntry; class ThesaurusAlternativesCtrl; diff --git a/cui/source/inc/hyphen.hxx b/cui/source/inc/hyphen.hxx index 816a00464696..c1924d7c0b77 100644 --- a/cui/source/inc/hyphen.hxx +++ b/cui/source/inc/hyphen.hxx @@ -29,8 +29,6 @@ #include <com/sun/star/linguistic2/XHyphenator.hpp> #include <com/sun/star/linguistic2/XPossibleHyphens.hpp> -using namespace ::com::sun::star; - class SvxSpellWrapper; class HyphenEdit : public Edit @@ -54,8 +52,8 @@ class SvxHyphenWordDialog : public SfxModalDialog CloseButton* m_pCloseBtn; String aLabel; SvxSpellWrapper* pHyphWrapper; - uno::Reference< linguistic2::XHyphenator > xHyphenator; - uno::Reference< linguistic2::XPossibleHyphens > xPossHyph; + css::uno::Reference< css::linguistic2::XHyphenator > xHyphenator; + css::uno::Reference< css::linguistic2::XPossibleHyphens > xPossHyph; String aEditWord; // aEditWord and aWordEdit.GetText() differ only by the character for the current selected hyphenation position String aActWord; // actual word to be hyphenated LanguageType nActLanguage; // and its language @@ -67,7 +65,7 @@ class SvxHyphenWordDialog : public SfxModalDialog void EnableLRBtn_Impl(); - String EraseUnusableHyphens_Impl( uno::Reference< linguistic2::XPossibleHyphens > &rxPossHyph, sal_uInt16 nMaxHyphenationPos ); + String EraseUnusableHyphens_Impl( css::uno::Reference< css::linguistic2::XPossibleHyphens > &rxPossHyph, sal_uInt16 nMaxHyphenationPos ); void InitControls_Impl(); void ContinueHyph_Impl( sal_uInt16 nInsPos = 0 ); @@ -85,7 +83,7 @@ class SvxHyphenWordDialog : public SfxModalDialog public: SvxHyphenWordDialog( const String &rWord, LanguageType nLang, Window* pParent, - uno::Reference< linguistic2::XHyphenator > &xHyphen, + css::uno::Reference< css::linguistic2::XHyphenator > &xHyphen, SvxSpellWrapper* pWrapper ); virtual ~SvxHyphenWordDialog(); diff --git a/cui/source/inc/thesdlg.hxx b/cui/source/inc/thesdlg.hxx index 1b1a58688433..a3b36dcb0fcf 100644 --- a/cui/source/inc/thesdlg.hxx +++ b/cui/source/inc/thesdlg.hxx @@ -19,7 +19,6 @@ #ifndef _SVX_THESDLG_HXX #define _SVX_THESDLG_HXX - #include <com/sun/star/linguistic2/XThesaurus.hpp> #include <svx/checklbx.hxx> @@ -30,8 +29,6 @@ #include <memory> -using namespace ::com::sun::star; - class SvxThesaurusDialog; class LookUpComboBox : public ComboBox @@ -132,7 +129,7 @@ class SvxThesaurusDialog : public SvxStandardDialog OUString m_aErrStr; - uno::Reference< linguistic2::XThesaurus > xThesaurus; + css::uno::Reference< css::linguistic2::XThesaurus > xThesaurus; OUString aLookUpText; LanguageType nLookUpLanguage; std::stack< OUString > aLookUpHistory; @@ -153,8 +150,8 @@ public: DECL_STATIC_LINK( SvxThesaurusDialog, SelectFirstHdl_Impl, SvxCheckListBox * ); - uno::Sequence< uno::Reference< linguistic2::XMeaning > > - queryMeanings_Impl( OUString& rTerm, const lang::Locale& rLocale, const beans::PropertyValues& rProperties ) throw(lang::IllegalArgumentException, uno::RuntimeException); + css::uno::Sequence< css::uno::Reference< css::linguistic2::XMeaning > > + queryMeanings_Impl( OUString& rTerm, const css::lang::Locale& rLocale, const css::beans::PropertyValues& rProperties ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException); bool UpdateAlternativesBox_Impl(); void LookUp( const String &rText ); @@ -163,7 +160,7 @@ public: public: SvxThesaurusDialog( Window* pParent, - uno::Reference< linguistic2::XThesaurus > xThesaurus, + css::uno::Reference< css::linguistic2::XThesaurus > xThesaurus, const String &rWord, LanguageType nLanguage ); ~SvxThesaurusDialog(); |