diff options
author | Eike Rathke <erack@redhat.com> | 2016-08-03 15:14:34 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-08-03 15:16:50 +0200 |
commit | 4afd35f691ffbf369e90e031b17379f52a31c510 (patch) | |
tree | 4b09406762b7c2af31becbc4d77150ac2de0b562 /sc/source/ui/unoobj/fmtuno.cxx | |
parent | f21a73bc5b1f13708e0f3ccd2c9d654c3ddc76be (diff) |
use GRAM_API instead of GRAM_PODF_A1 in API context
... which right now is identical but may get corrections in future.
Change-Id: Id4e1707afb32a3d8e073705072e5e65105f2a14a
Diffstat (limited to 'sc/source/ui/unoobj/fmtuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/fmtuno.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/fmtuno.cxx b/sc/source/ui/unoobj/fmtuno.cxx index 417c97bb3900..edc5e48a3aa7 100644 --- a/sc/source/ui/unoobj/fmtuno.cxx +++ b/sc/source/ui/unoobj/fmtuno.cxx @@ -182,8 +182,8 @@ FormulaGrammar::Grammar lclResolveGrammar( FormulaGrammar::Grammar eExtGrammar, { if( eExtGrammar != FormulaGrammar::GRAM_UNSPECIFIED ) return eExtGrammar; - OSL_ENSURE( eIntGrammar != FormulaGrammar::GRAM_UNSPECIFIED, "lclResolveGrammar - unspecified grammar, using GRAM_PODF_A1" ); - return (eIntGrammar == FormulaGrammar::GRAM_UNSPECIFIED) ? FormulaGrammar::GRAM_PODF_A1 : eIntGrammar; + OSL_ENSURE( eIntGrammar != FormulaGrammar::GRAM_UNSPECIFIED, "lclResolveGrammar - unspecified grammar, using GRAM_API" ); + return (eIntGrammar == FormulaGrammar::GRAM_UNSPECIFIED) ? FormulaGrammar::GRAM_API : eIntGrammar; } } // namespace |