diff options
author | Andras Timar <atimar@suse.com> | 2011-07-22 21:53:52 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2011-07-22 21:53:52 +0200 |
commit | 255401622e4eea28a46c496de245c7318180598c (patch) | |
tree | cde44a82e9c00c6d40a0e114dd0241fd7c4bb0a6 /sd/source | |
parent | a8ef97f13b16a984d48450b05e4cb337f53a03a1 (diff) |
take strings from sfx<lang>.res, don't duplicate them in sd<lang>.res
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/dlg/TemplateScanner.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/TemplateScanner.cxx b/sd/source/ui/dlg/TemplateScanner.cxx index 0dd67622852e..e98618856fab 100644 --- a/sd/source/ui/dlg/TemplateScanner.cxx +++ b/sd/source/ui/dlg/TemplateScanner.cxx @@ -32,7 +32,7 @@ #include "TemplateScanner.hxx" #include <sfx2/templatelocnames.hrc> -#include "sdresid.hxx" +#include <sfx2/sfxresid.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/documentconstants.hxx> @@ -504,9 +504,9 @@ const TemplateEntry* TemplateScanner::GetLastAddedEntry (void) const { for( int i = 0; i < nCount; ++i ) { - if( rString == ResId::toString( (const ResId)SdResId( (sal_uInt16)(nSourceResIds + i) ) ) ) + if( rString == ResId::toString( (const ResId)SfxResId( (sal_uInt16)(nSourceResIds + i) ) ) ) { - return ResId::toString( (const ResId)SdResId( (sal_uInt16)(nDestResIds + i) ) ); + return ResId::toString( (const ResId)SfxResId( (sal_uInt16)(nDestResIds + i) ) ); } } return rString; |